Commit Graph

56664 Commits

Author SHA1 Message Date
cracauer
5718f93166 Fix child's SIGSTOP behaviour in scripts.
When a child is receiving SIGSTOP, eval continues with the next
command.  While that is correct for the interactive case (Control-Z
and you get the prompt back), it is wrong for a shellscript, which
just continues with the next command, never again waiting for the
stopped child.  Noted when childs from cronjobs were stopped, just to
make more processes (by wosch).

The fix is not to return from a job wait when the wait returned for a
stopped child while in non-interactive mode.  This bahaviour seems to
be what bash2 and ksh implement.  I tested for correct behaviour for
finnaly killing the child with and without forgrounding it first.
When not foregrouding before killing, the shell continues with the
script, which is what the other shells do as well.

Reviewed by:	Silence on -current
2001-02-06 10:29:34 +00:00
asmodai
8b30734248 Fix typo: depricated -> deprecated. 2001-02-06 10:22:22 +00:00
phk
35fa86c971 Convert if_multiaddrs from LIST to TAILQ so that it can be traversed
backwards in the three drivers which want to do that.

Reviewed by:    mikeh
2001-02-06 10:12:15 +00:00
asmodai
bd4658fe52 Fix typo: wierd -> weird.
There is no such thing as wierd in the english language.
2001-02-06 09:32:26 +00:00
asmodai
2023a68909 Fix typo: wierd -> weird.
There is no such thing as wierd in the english language.
2001-02-06 09:25:10 +00:00
asmodai
100413d33c Fix typo: wierd -> weird. 2001-02-06 09:20:17 +00:00
asmodai
c4c3f1eeed Fix typo: teh -> the. 2001-02-06 09:18:39 +00:00
asmodai
6ae2f86e97 Add vcount.9 / count_dev.9.
Touched up a bit and added some consistency to the text by your's truly.

PR:		23745
Submitted by:	Andrew Stevenson <andrew@ugh.net.au>
2001-02-06 09:04:52 +00:00
jkh
0ccd295af4 Ack, that will teach me to grep for "symbolic link" as well as "symlink" in
the commit logs - I just found the reason for the self-pointing symlink, as
documented in revision 1.517 by phk, who committed the change over a year
ago.  Accordingly, put the feature back and drop all plans to MFC the previous
"fix".
2001-02-06 08:36:00 +00:00
jkh
5bc82b8a2d Remove the annoying ftp area symlink pointing at ourselves - people keep
asking what it's for and I can't answer since I can't see any conceivable
use for it.  Unless someone corrects that impression, I'll also MFC this
change in a few days.
2001-02-06 08:27:56 +00:00
wes
5f462ab099 Add package signing utilities; somebody might actually want them.
These are not enabled in the pkg_install Makefile as of yet;
adding the "sign" directory to the SUBDIR list will enable
building of sign.

Submitted by:	Wes Peters
Obtained from:	Original framework from OpenBSD 2.7, X.509 bits from DoBox.
2001-02-06 06:46:42 +00:00
rwatson
cb42d37eac o Introduce automated log rotation for /var/log/console, the
default syslog target for console messages (when enabled in
  syslog.conf).  Use the same rotation defaults as with
  /var/log/messages -- every 100kb of log, compress back logs,
  and keep five rotated logs.
o Note: phk also thought it would be useful to force rotation
  each boot.  This commit does not introduce such a rotation.

Reviewed by:	phk
2001-02-06 06:07:00 +00:00
bde
dd93a83d78 Don't set a bad example by putting the function type in ".Fo". 2001-02-06 01:42:56 +00:00
bde
3008b243a8 Debogotified #includes in synopsis. Paths beginning with /sys were
only required when dev/ppbus wasn't installed, and they should not
been delimited by <> even then.
2001-02-06 01:39:11 +00:00
bde
314563c286 Fixed missing include in synopsis. <sys/types.h> is still a prerequisite
for almost everything.
2001-02-06 01:33:08 +00:00
bde
0d721a234a Fixed missing #include and wrong prototypes. Most of these bugs were
duplicated in libc_r/man/*.3 but were fixed years ago there.  Here
they were hiding under mdoc errors.
2001-02-06 01:31:04 +00:00
bde
e28fa0be39 Fixed missing include of <unistd.h> and wrong prototype for setkey(). 2001-02-06 01:17:59 +00:00
bde
5d0f874d9e Declare strunvisx(). 2001-02-06 01:15:32 +00:00
bde
b8b373d382 Fixed prototype of logout() (const poisoning). 2001-02-06 01:06:25 +00:00
bde
546e5e3868 Fixed prototypes. About half of them were wrong (mainly due to const
poisoning having not reached here).
2001-02-06 01:02:59 +00:00
bde
38b385c160 Added used include of <sys/cdefs.h>.
Declare all the interfaces documented in usb.3 (2 were missing).
2001-02-06 00:54:00 +00:00
bde
abbd7f8f84 Fixed C error(s) in synopsis. 2001-02-06 00:02:32 +00:00
bde
50b193269a Fixed wrong return type for ftpLoginAf() in synopsis. 2001-02-05 23:58:59 +00:00
bde
3549f6cba3 Fixed bitrot in prototype(s) in synopsis. 2001-02-05 23:56:05 +00:00
bmah
15a96be818 Note that find -empty works on files, not just directories.
Submitted by:	olgeni
2001-02-05 22:06:33 +00:00
bmah
8899a8a214 New release notes: ipfilter 3.4.16, pcm(4) updates including kobj and
new drivers, pkg_info(1) -g, tftp(1)/tftpd(8) large file transfers.

MFCs noted:  pkg_create(1)/pkg_install(1) and bzip2-ed packages.
2001-02-05 21:56:58 +00:00
julian
8572ebca89 Fix bad patch from a few days ago. It broke some bridging. 2001-02-05 21:25:27 +00:00
julian
7334e5e710 Add a dummy disconnect function so that the socket code doesn't leap into
space when it calls the disconnect PRU function without checking that it
there.
2001-02-05 20:48:04 +00:00
jhb
b52100c18a - Minimize the amount of duplicated code for the PREEMPTION #ifdef, it now
only covers about 3-4 lines.
- Don't lower the IPL while we are on the interrupt stack.  Instead, save
  the raised IPL and change the saved IPL in sched_lock to IPL_0 before
  calling mi_switch().  When we are resumed, restore the saved IPL in
  sched_lock to the saved raised IPL so that when we release sched_lock
  we won't lower the IPL.  Without this, we would get nested interrupts
  that would overflow the kernel stack.

Tested by:	mjacob
2001-02-05 19:34:25 +00:00
julian
47594b44e9 Make netgraph modules refuse to link with modules of a different ABI version.
also try implement teh documented behaviour in socket nodes
so that when there is only one hook, an unaddressed write/send
will DTRT and send the data to that hook.
2001-02-05 18:57:11 +00:00
ru
964ef0887f mdoc(7) police: modifiers should be marked with .Cm, not .Ar. 2001-02-05 17:01:07 +00:00
ru
24810105f7 Make the ``arp -d hostname proxy'' really do something useful.
Specifically, ``proxy'' modifier tells the code to delete only
Proxy ARP entry for the ``hostname''; the usual ARP entry will
be unaffected by this operation.
2001-02-05 16:57:56 +00:00
bde
2d077151d0 Fixed errors in prototypes. Many were hiding under mdoc errors. 2001-02-05 15:24:34 +00:00
bde
c206f12afe Fixed C error(s) in synopsis. Many were hiding under mdoc errors. 2001-02-05 15:19:56 +00:00
bde
be087bf2eb Fixed errors in prototypes. Many were hiding under mdoc errors. 2001-02-05 15:11:09 +00:00
bde
bde0930270 Fixed C error(s) in synopsis. Many were hiding under mdoc errors. 2001-02-05 15:00:21 +00:00
bde
06dc5a28ea Don't install links for crypt.3 here. There is no crypt.3 here...
Forgotten in:	rev.1.58, which was not Submitted by: bde (I requested
                untangling parts of the crypto mess).
2001-02-05 14:55:14 +00:00
n_hibma
2a38a410d0 Regen. 2001-02-05 11:03:21 +00:00
n_hibma
b07f5a70d3 Add some ids from NetBSD. 2001-02-05 11:02:50 +00:00
n_hibma
8a785498ef Regen. 2001-02-05 11:00:35 +00:00
n_hibma
9496d14de1 * Correct a broken entry
* Add the id for the Rio 800 USB.
Submitted by:	Wesley Morgan <morganw@chemikals.org>
2001-02-05 11:00:13 +00:00
sobomax
5e6b32613d -pedantic mode:
- Add a missed prototype for the recently added show_cksum() function;
- put in "explicit braces to avoid ambitious else" suggested by gcc(1).
2001-02-05 09:56:52 +00:00
dougb
b3eb150748 Introduce the option of running fsck -y if the initial preen fails.
Defaults to off.

Obtained from:	Yahoo!
2001-02-05 04:54:42 +00:00
dillon
443802a504 Finish draining any input prior to closing the pipe, to prevent unsightly
'Broken pipe' messages from gzcat.
2001-02-05 01:24:40 +00:00
cg
6d220065ed add forgotten makefile 2001-02-05 01:16:12 +00:00
brian
c191dd1965 Add a ``Usable'' function to the ccp switch. The function
is called prior to sending a CCP configure request for a
given protocol.  The default is to send the request, but
this is overridden for MPPE which checks to see if the lcp
negotiations agreed CHAP81, and if not fails.

Use the same function to decide if we should reject peer
requests for MPPE.

This should get rid of those boring messages about not being
able to initialise MPPE when we don't negotiate CHAP81.
2001-02-04 22:53:11 +00:00
green
0d037651fe Correctly fill in the sun_len for a sockaddr_sun.
Submitted by:	Alexander Leidinger <Alexander@leidinger.net>
2001-02-04 20:23:17 +00:00
green
db1cf40a27 MFS: Don't use the canonical hostname here, too. 2001-02-04 20:16:14 +00:00
green
5a0414c3f3 MFF: Make ConnectionsPerPeriod usage a warning, not fatal. 2001-02-04 20:15:53 +00:00
green
e8b35a659a It is _DEFINITELY_ not okay to change shmseg on a running system. 2001-02-04 20:10:32 +00:00