Commit Graph

47033 Commits

Author SHA1 Message Date
sheldonh
7889147802 IgnoreUserKnownHosts is a boolean flag, not an integer value.
The fix submitted in the attributed PR is identical to the one
adopted by OpenBSD.

PR:		17027
Submitted by:	David Malone <dwmalone@maths.tcd.ie>
Obtained from:	OpenBSD
2000-03-22 09:36:35 +00:00
phk
1b817afc6d Fix one place which knew that B_WRITE was zero.
Fix a stylistic mistake of mine while here.

Found by:	Stephen Hocking <shocking@prth.pgs.com>
2000-03-22 08:40:13 +00:00
nyan
c7896c447c Added the joy driver (commented out).
Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
2000-03-22 03:19:37 +00:00
brian
b192194923 Correct the parent notification diagnostic emitted from the child
process in -background mode (it should report failure if appropriate).
2000-03-22 03:02:01 +00:00
brian
76f86d4850 If a links LCP FSM has reached TLF and it's the last link,
don't bother to re-initialise the NCPs.  Instead wait for
bundle_LinkClosed() to be called - IFF it actually is called.

By initialising the NCPs at this point, ppp was recursing
back into the fsm_Down() routing for the link, and losing
track of the reason that the link was being brought down.
The end result was that ``set reconnect'' would never do
anything.

Patiently pointed out by: ru
2000-03-22 03:02:00 +00:00
brian
1ae09dfce5 Don't bother setting the dial timer if we've closed a
background/foreground/direct and zero'd the redial/reconnect
counts.
2000-03-22 03:01:56 +00:00
brian
5bda7f13ae Do some vfork() trickery so that the parent can determine
if the childs exec() has succeeded or failed by taking advantage
of the fact that both processes share the same memory.

FWIW:
  I tried to implement this by doing a pipe(), setting the
  write desciptors close-on-exec flag in the child and writing
  errno to the descriptor if the exec() fails.  The parent can
  then ``if (read()) got errno else exec worked''.

  This didn't work though - the child could write() to fd[1] on
  exec failure, but the parent got 0 trying to read() from fd[0] !
  Is this a bug in execve() ?
2000-03-22 03:01:53 +00:00
brian
b47896e800 Call bundle_CleanDatalinks() after UpdateSet() in case we're
dropping out of background/foreground/direct mode.

This avoids either having to wait for the redial timer before
exiting or jaming up in select() waiting for something that'll
never happen.
2000-03-22 03:01:48 +00:00
green
08e4f07002 in6_pcb.c:
Remove a bogus (redundant, just weird, etc.) key_freeso(so).
	There are no consumers of it now, nor does it seem there
	ever will be.

in6?_pcb.c:
	Add an if (inp->in6?p_sp != NULL) before the call to
	ipsec[46]_delete_pcbpolicy(inp).  In low-memory conditions
	this can cause a crash because in6?_sp can be NULL...
2000-03-22 02:27:30 +00:00
nik
c6413e4804 Add the DOC_LANG variable, and associated documentary comments. 2000-03-22 00:49:20 +00:00
wosch
b77682649c Added NetBSD 1.4.2 2000-03-21 20:17:17 +00:00
phk
177c479a11 Whine at users who still have block devices in /dev, give them until
june 1st to fix their system.
2000-03-21 19:25:56 +00:00
imp
c91cd7ffb5 Massive gut. We're not into 5.0 so remove all 4.x entries from this
file and start over.

Also note that we're in the traditional whack-a-ball kernel model/api
reorg for 5.0 and that one needs to be extra careful about making sure
models and kernels are in sync.
2000-03-21 19:19:47 +00:00
jkh
0d11ddfc5e Adapt to the crypto distribution. 2000-03-21 19:13:31 +00:00
asmodai
09344fa4cd Remove trailing comma. 2000-03-21 17:34:56 +00:00
dan
63caa5bd5a Include a space between hash ('#') and 'Berkeley packet filter' like
all the other comments have.
2000-03-21 17:00:58 +00:00
asmodai
9ac7e48ff7 As bde was kind to point out:
"Man pages shouldn't refer to higher level interfaces
built using the interfaces in the man pages."

Submitted by:	bde
2000-03-21 16:38:19 +00:00
wpaul
7734cbcfd6 Regenerate usbdevs files.
Also add device entry in if_kue.c for the LINKSYS USB10T adapter.

Also add calls to bpfdetach() in detach routines.
2000-03-21 15:20:41 +00:00
wpaul
305ad48765 Add device ID for LinkSys USB10T ethernet adapter (0x2202). 2000-03-21 15:18:51 +00:00
dmlb
354e76b2f3 For version 0.9 change DNET output 2000-03-21 14:39:36 +00:00
dmlb
864348db9d Added user level updates and reading of parameters. 2000-03-21 14:27:46 +00:00
dmlb
efbea7dcdb Typo. 2000-03-21 14:26:38 +00:00
asmodai
0cdc6910f4 Fix lameness I introduced by typing the Xr as a filename, sigh. 2000-03-21 13:46:57 +00:00
sos
3326256bf0 Make ATAPI CD changer devices work, hopefully better than before. 2000-03-21 13:26:54 +00:00
asmodai
da862b0d61 Fix EXAMPLE -> EXAMPLES.
Add Xr's for SPLASSERT and CONDSPLASSERT.
2000-03-21 13:21:36 +00:00
asmodai
103cdcbbac Assorted bag o' fixes:
fix Jonathan's name, fix copyright date, man -> manual,
	add const before char *msg, add email address.
2000-03-21 13:18:40 +00:00
luigi
5485a32a23 Fix bogus reporting of interface names, the field returned
in sdl_data is not 0-terminated
2000-03-21 12:09:23 +00:00
jasone
d7816647ef Add a man page for aio_waitcomplete(). Update the aio_cancel() man page to
reflect the fact that aio_cancel() works now.

Submitted by:	Christopher Sedore <cmsedore@maxwell.syr.edu>
2000-03-21 10:25:22 +00:00
obrien
d9acd189c2 Add a knob to turn off the mostly static docs (src/share/doc/).
On a K6-2/450 with fairly fast SCSI disks, building+installing src/share/
takes 2m51.3s, where src/share/doc/ is 1m9.9s of that.

However on a slow Alpha (233MHz) the times are 7m39.3s and 4m58.3s
respectively.

This commit allows one to speed up their build time, without not getting
any important and required changes if one used "NOSHARE".
2000-03-21 09:24:09 +00:00
ps
111d9e3e61 Add sysctl kern.coredump to enable/disable core dumps system wide. 2000-03-21 07:10:42 +00:00
shin
9158e5fe47 Remove references to man pages that don't exist.
PR: docs/17506
2000-03-21 02:46:28 +00:00
archie
1773c43543 Call bpfdetach() before going away. 2000-03-21 01:42:56 +00:00
imp
dab1eb80fd Bogusly returned zero always. Return 1 if we pass the checksum. 2000-03-20 23:29:27 +00:00
green
68d5f97eed Make memcontrol(8) able to delete the segments starting at a base of 0
which it can create..
2000-03-20 22:53:32 +00:00
green
f38843e936 Uncorrupt the SCCS id (s/ From: / /).
Put a tab before the comment for "rflags".

Submitted by:	bde
2000-03-20 21:31:30 +00:00
n_hibma
1e8b33b368 Add entry for the Microtech USB to SCSI cable. 2000-03-20 20:33:09 +00:00
bde
f14ba97315 Actually install KASSERT.9. 2000-03-20 20:23:43 +00:00
bde
0465507783 Fixed style bugs in rev.1.28. Rev.1.28 was not submitted by bde. 2000-03-20 20:07:28 +00:00
n_hibma
718e84298f Add entry for Y-E Data floppy drive. 2000-03-20 20:03:52 +00:00
n_hibma
eb26a82e8c Add an entry on the Y-E Data floppy drive 2000-03-20 19:55:08 +00:00
billf
042cd9478f Make syslogd boot -s by default, which prevents Bad People from filling up
your diskspace.

PR:		conf/15737
Submitted by:	Kevin Day <toasty@dragondata.com> (PR)
		Nick Johnson <freebsd@spatula.net> (on -current)
2000-03-20 19:53:56 +00:00
gehenna
7777030bf3 Regen. 2000-03-20 19:49:50 +00:00
gehenna
da51afc18d Add 22 vendor IDs. 2000-03-20 19:49:20 +00:00
guido
11b9017514 Add '-L' option to usage(). 2000-03-20 18:33:11 +00:00
gehenna
aa77a09480 Regen. 2000-03-20 18:30:34 +00:00
gehenna
a680e52b62 Add 80 vendor IDs. 2000-03-20 18:30:04 +00:00
phk
a6fcf56263 B_READ is gone, check for BIO_READ instead.
Not tested.
2000-03-20 17:12:45 +00:00
dan
1785dcce70 Wrap building of uucp related programs around NOUUCP knob. 2000-03-20 17:10:16 +00:00
dan
d58a7ce7d9 Document NOUUCP switch 2000-03-20 17:08:30 +00:00
green
8d6ef72626 Split the logic of
static int setrootbyname(char *name);
out into
   dev_t getdiskbyname(char *name);

This makes it easy to create a new DDB command, which is the big reason
for the change.  You can now do the following in DDB:

Example rc.conf entry:
dumpdev="/dev/ad0s1b"   # Device name to crashdump to (if enabled).

db> show disk/ad0s1b
dev_t = 0xc0b7ea00
db> p *dumpdev
c0b7ea00
2000-03-20 16:28:35 +00:00