Commit Graph

24310 Commits

Author SHA1 Message Date
peter
1a4a67a50c Update network code to use poll support. 1997-09-14 03:10:42 +00:00
peter
0550686456 Update select -> poll 1997-09-14 03:09:01 +00:00
peter
5297821349 select -> poll
Obtained from: NetBSD (I think)
1997-09-14 03:03:05 +00:00
peter
d0648ea067 select -> poll
flag missing vnode op table entries
1997-09-14 03:00:44 +00:00
peter
ce7feabb13 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
13141f4b23 Various select -> poll changes 1997-09-14 02:52:18 +00:00
peter
fe8263de9d vn_select -> vn_poll 1997-09-14 02:51:16 +00:00
peter
2d9590ddc9 Zap nxselect and noselect. 1997-09-14 02:50:28 +00:00
peter
1ffbda9a9e 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
4a2b1a3ff1 Extend select hook to support poll 1997-09-14 02:46:44 +00:00
peter
84169dafe1 Implement the poll backend for the pipe file type. 1997-09-14 02:43:25 +00:00
peter
222aa7e6ff Convert select handler to poll style 1997-09-14 02:42:03 +00:00
peter
fbe30e0a2c 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
28a822ce34 Change VOP_SELECT to VOP_POLL 1997-09-14 02:35:25 +00:00
peter
0fc35eb0c2 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
e44c10ddd2 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
a29a9749e5 Update interfaces for poll() 1997-09-14 02:25:41 +00:00
peter
75f4997c44 Regenerate (added poll etc) 1997-09-14 02:23:46 +00:00
peter
639925b1c4 Activate poll(2) syscall 1997-09-14 02:22:05 +00:00
peter
5cd1b913f7 Add sys/poll.h 1997-09-14 02:20:56 +00:00
kato
83559c1de3 Synchronize with sys/i386/isa/wd.c revision 1.138. 1997-09-14 01:44:17 +00:00
wosch
a4edfd01f0 Add some UUCP manpages. 1997-09-13 21:44:49 +00:00
brian
408c12b8a2 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
234748494c Mention SA_NOCLDWAIT as a new feature. 1997-09-13 19:45:51 +00:00
joerg
96e44a0ac2 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
b3004b96f0 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
jkh
1fe98f376a MF22: If moused started, also enable it for console vty.
PR:		4525
1997-09-13 18:03:41 +00:00
max
b6275222a0 Typo. 1997-09-13 17:55:43 +00:00
wosch
ad4deae37e 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
wosch
8c817c1608 PR: docs/4347
Makefile doesn't support cleandepend
Submitted by: wlr@furball.wellsfargo.com
1997-09-13 17:49:21 +00:00
wosch
46932ae52e PR: docs/4383
su manpage ambiguous regarding command prompt

Submitted by: sheldonh@iafrica.com
1997-09-13 17:44:20 +00:00
wosch
bb524100fb PR: docs/4449
The -c flag is not documented in the sh(1) manapge.

Submitted by: adrian@virginia.edu
1997-09-13 17:40:00 +00:00
joerg
5167b81f67 Revert the logic behind my last change, and use a function called
`is_physical_memory()' now for the decision whether to dump some
region of memory or not.

Suggested by:	davidg
1997-09-13 16:12:15 +00:00
wosch
fde8a8ec46 spelling corrections.
PR: docs/4450
Submitted by: josh@quick.net
1997-09-13 16:01:53 +00:00
peter
bc0f53c63a Patch up some more undefined symbols when compiling under ELF. 1997-09-13 16:00:30 +00:00
peter
0ea6081105 Some mbuf -> sockaddr changes seem to have been missed here. 1997-09-13 15:40:55 +00:00
wosch
6508f8ef4b typo
PR:		docs/4523
Submitted by:	Takahiro Yugawa <yugawa@orleans.rim.or.jp>
1997-09-13 15:35:00 +00:00
peter
0de5b6fcc3 Fix a warning. 1997-09-13 15:28:30 +00:00
peter
0a52445cc3 Print correct function name in panics 1997-09-13 15:04:52 +00:00
peter
723553368e print correct function name in a panic (vop_nolock -> vop_sharedlock) 1997-09-13 15:02:28 +00:00
wosch
aca2488187 Add manpage links ypchpass.1, ypchfn.1, ypchsh.1 1997-09-13 12:21:25 +00:00
peter
763b84b296 Some tweaks to get this to cope with ELF where the address space starts
higher up in memory (0x0800000 upwards) rather than near zero (0x1000
for our qmagic a.out format).  The method that mount_mfs uses to allocate
the memory within data size rlimits for the ram disk is entirely too much
of a kludge for my liking.  I mean, if it's run as root, surely it makes
sense to just raise the resource limits to infinity or something, and if
it's a non-root user mount (do these work? with mfs?) it could just fail
if it's outside limits.
1997-09-13 11:41:50 +00:00
brian
feaeba35cd Don't redirect "mount -t -o nfs" to null 1997-09-13 09:29:21 +00:00
jmb
0db42117ac add an initialization file for the default editor "ee"
configure ee to use emacs key-bindings
             do not expand tabs into spaces
	     dont truncate lines at the right margin
Submitted by:	Aled Morris <aledm@routers.co.uk>
Reviewed by:	jkh
1997-09-12 19:38:32 +00:00
jlemon
551d6af699 If a host in an export line in /etc/exports (or within a netgroup on
an export line) is unresolvable, make a note of it via syslog and skip
that individual host instead of skipping the entire line.

PR:	1981, 815
Perused by:	joerg
1997-09-12 16:25:24 +00:00
jlemon
0eba88d0be Do not consider VM_PROT_OVERRIDE_WRITE to be part of the protection
entry when handling a fault.  This is set by procfs whenever it wants
to write to a page, as a means of overriding `r-x COW' entries, but
causes failures in the `rwx' case.

Submitted by:	 bde
1997-09-12 15:58:47 +00:00
jkh
df823fc604 This command doesn't need to be setuid root, it's only asking
for potential trouble.
Reviewed by:	security officers.
Noted by:	OpenBSD
1997-09-12 15:00:06 +00:00
danny
bd7f6921c9 Fix typo in comment. 1997-09-12 10:52:49 +00:00
msmith
3502721d04 Support Intel EtherExpress Pro 10+
PR:		kern/4335
Reviewed by:	Stephen Roznowski (sjr@home.net)
1997-09-12 08:30:57 +00:00
asami
accee3da78 Revert back to 1.28. 1997-09-12 05:44:11 +00:00