Commit graph

24151 commits

Author SHA1 Message Date
Garrett Wollman fa48aded4c Mention the multicast ping fix and changes to finger, fetch, and netstat. 1997-09-14 17:46:42 +00:00
Garrett Wollman bdf9cff82b Talk a little bit about some of the networking changes in the kernel. 1997-09-14 17:35:30 +00:00
Poul-Henning Kamp 27262cac33 Add __getcwd() syscall, and have getcwd() take a shot at it.
If your kernel doesn't support __getcwd() or if __getcwd() cannot
deliver because of cache expiry, it does the canonical thing.
1997-09-14 16:57:27 +00:00
Poul-Henning Kamp 7822f1c624 Add a __getcwd() syscall. This is intentionally undocumented, but all
it does is to try to figure the pwd out from the vfs namecache, and
return a reversed string to it.  libc:getcwd() is responsible for
flipping it back.
1997-09-14 16:51:31 +00:00
KATO Takenori e70ee0f24b Synchronize with sys/i386/isa/mse.c, pcaudio.c, sio.c and syscons.c
revisions 1.34, 1.37, 1.181 and 1.232, respectively.
1997-09-14 16:27:37 +00:00
Wolfram Schneider 5227e33604 Add some UUCP manpages. 1997-09-14 13:04:26 +00:00
Jordan K. Hubbard 4ba534c963 DTRT with ${viddev} in the same way as the other vidcontrol entries.
Reminded by:	bde
1997-09-14 12:16:36 +00:00
Peter Wemm cf41704c63 Bruce wants the warning. 1997-09-14 11:28:30 +00:00
Peter Wemm 535db1806c Call poll(2) from within the resolver but adapt to older kernels without it
if necessary.  This removes the need to malloc large fd_set's for selecting
on high fd's (larger than FD_SETSIZE at libc compile time).

The syscall adaptive stuff only happens on the very first call.  SIGSYS
is masked, and if the call to poll fails with ENOSYS, then we use select
for the life of the program.  If poll does not fail with ENOSYS, then we
always use poll and skip the once-off signal masking gunk.

This may be overkill, but it saved my neck a few times while working on
multiple different sets of kernel sources, some with poll, some without.
1997-09-14 09:44:34 +00:00
Peter Wemm 387dcb61ff When calling strip, temporarily close the file, call strip and then
reopen it after strip has finished.  This makes it work when
/usr/bin/strip replaces the file rather than doing an in-place edit
(such as the binutils-2.8 strip, which is a variation of objcopy).
This is necessary if install(1) and strip(1) are going to cooperate
on an ELF system.
1997-09-14 08:21:44 +00:00
Peter Wemm 87963de0e4 Some updates for 3.0: mention changes for poll(2), issetugid(2),
async IO, getsid(2), setpgid(2), nanosleep(2), signanosleep(2),
fixes to sleep(3) and usleep(3), the a.out in-kernel linker.
1997-09-14 07:31:12 +00:00
Joerg Wunsch 81be6c75ba Explain a little more about the piping feature.
PR:		4122
1997-09-14 06:55:15 +00:00
Peter Wemm 16115af153 A poll(2) manpage.
Obtained from: NetBSD
1997-09-14 05:44:35 +00:00
Peter Wemm ce234528d8 oops, I accidently committed a version without INFTIM at the last moment.
I'm not sure that this is the right place to put it, it is 'supposed' to
live in stropts.h.
1997-09-14 05:38:03 +00:00
Jordan K. Hubbard 2110cdc5e4 XFree86 3.3.1 updates
Document new media flag in lieu of links.
1997-09-14 04:18:42 +00:00
Peter Wemm c4ea5f72e6 SYSV has both <poll.h> and <sys/poll.h>. (poll.h merely #includes
sys/poll.h).  Just provide a link, it's close enough. :-)  In an ideal
world the prototype for poll() would be in <poll.h> but some code seems
to expect it in <sys/poll.h>, so we can't win there.
1997-09-14 03:32:44 +00:00
Peter Wemm b52c91dd7e Generate poll syscall stub 1997-09-14 03:29:55 +00:00
Peter Wemm 35b8b2ddab Update select -> poll in drivers. 1997-09-14 03:19:42 +00:00
Peter Wemm ea8ef05f7e Update select -> poll.
I am not particularly happy with this stuff, I have no way to test it.
1997-09-14 03:12:54 +00:00
Peter Wemm f8f6cbba92 Update network code to use poll support. 1997-09-14 03:10:42 +00:00
Peter Wemm e0e8ed506f Update select -> poll 1997-09-14 03:09:01 +00:00
Peter Wemm 243ac7d85a select -> poll
Obtained from: NetBSD (I think)
1997-09-14 03:03:05 +00:00
Peter Wemm f5d6cf0d60 select -> poll
flag missing vnode op table entries
1997-09-14 03:00:44 +00:00
Peter Wemm a6aeade2c4 Convert select -> poll.
Delete 'always succeed' select/poll handlers, replaced with generic call.
Flag missing vnode op table entries.
1997-09-14 02:58:12 +00:00
Peter Wemm 51338ea83c Various select -> poll changes 1997-09-14 02:52:18 +00:00
Peter Wemm a2f9bc72c1 vn_select -> vn_poll 1997-09-14 02:51:16 +00:00
Peter Wemm d87652c3de Zap nxselect and noselect. 1997-09-14 02:50:28 +00:00
Peter Wemm 7fab77996c Provide a 'return true' poll vnode op rather than duplicating the
'do nothing' case all over the various filesystems.
1997-09-14 02:49:06 +00:00
Peter Wemm 1514b90f2d Extend select hook to support poll 1997-09-14 02:46:44 +00:00
Peter Wemm d080b0b0be Implement the poll backend for the pipe file type. 1997-09-14 02:43:25 +00:00
Peter Wemm 659ffb486a Convert select handler to poll style 1997-09-14 02:42:03 +00:00
Peter Wemm 6183953301 Extend to use poll backend. If memory serves correctly, most of this was
adapted from NetBSD..  However, there are some differences in the tty
system that are big enough to cause their code to not fit comfortably.

Obtained from:  NetBSD (I think)
1997-09-14 02:40:46 +00:00
Peter Wemm 6b8e64f55f Change VOP_SELECT to VOP_POLL 1997-09-14 02:35:25 +00:00
Peter Wemm e25aa68e0c Extend select backend for sockets to work with a poll interface (more
detail is passed back and forwards).  This mostly came from NetBSD, except
that our interfaces have changed a lot and this funciton is in a different
part of the kernel.

Obtained from: NetBSD
1997-09-14 02:34:14 +00:00
Peter Wemm 42d1175732 Implement poll(2). This is mostly taken from the NetBSD implementation
(from some time ago) but with a few tweaks along the way.

Obtained from: NetBSD
1997-09-14 02:30:32 +00:00
Peter Wemm 3a74593f48 Update interfaces for poll() 1997-09-14 02:25:41 +00:00
Peter Wemm 818661c8f6 Regenerate (added poll etc) 1997-09-14 02:23:46 +00:00
Peter Wemm 8cb0553a7c Activate poll(2) syscall 1997-09-14 02:22:05 +00:00
Peter Wemm c68021f907 Add sys/poll.h 1997-09-14 02:20:56 +00:00
KATO Takenori b4bf5f5176 Synchronize with sys/i386/isa/wd.c revision 1.138. 1997-09-14 01:44:17 +00:00
Wolfram Schneider 7126e7d523 Add some UUCP manpages. 1997-09-13 21:44:49 +00:00
Brian Somers 343c2ee05e Change the not-specified-default for inetd & cron
to "enabled".  This will avoid breaking things for
idiots like me who update /etc/rc without paying
attention and updating rc.conf too.
1997-09-13 21:07:12 +00:00
Joerg Wunsch 50b75476f0 Mention SA_NOCLDWAIT as a new feature. 1997-09-13 19:45:51 +00:00
Joerg Wunsch dbf4898f6c Document SA_NOCLDWAIT.
Make all the SA_* flags go into a tagged list, to improve readability.
1997-09-13 19:43:24 +00:00
Joerg Wunsch 245f17d43c Implement SA_NOCLDWAIT.
The implementation is done (unlike what i've originally been
contemplating) by reparenting kids of processes that have the
appropriate bit set to PID 1, and let PID 1 handle the zombie.  This
is far less problematical than what would seem to be ``doing it
right'', for a number of reasons.

Of our currently shipping PID-1-intended programs, 50 % fail the above
assumption. ;-)  (Read this: sysinstall doesn't do it right.  This is
no problem as long as no program called by sysinstall actually uses
SA_NOCLDWAIT.)

ToDo:		. clarify the correct SA_* flag inheritance, compared
		  to other systems,
		. decide whether the compat cruft (osigvec(9)) should
		  deal with new system additions or not,
		. merge OpenBSD's SA_SIGINFO implementation. ;)
Reviewed by:	bde
1997-09-13 19:42:29 +00:00
Jordan K. Hubbard 6ae8628b06 MF22: If moused started, also enable it for console vty.
PR:		4525
1997-09-13 18:03:41 +00:00
Masafumi Max NAKANE a1138a1695 Typo. 1997-09-13 17:55:43 +00:00
Wolfram Schneider 439edf13e0 PR: docs/3979
better wording

Submitted by: Tim Vanderhoek <hoek@hwcn.org>, Gary Howland <gary@hotlava.net>
1997-09-13 17:52:36 +00:00
Wolfram Schneider a9cf19e2fa PR: docs/4347
Makefile doesn't support cleandepend
Submitted by: wlr@furball.wellsfargo.com
1997-09-13 17:49:21 +00:00
Wolfram Schneider fab8812d17 PR: docs/4383
su manpage ambiguous regarding command prompt

Submitted by: sheldonh@iafrica.com
1997-09-13 17:44:20 +00:00