Commit Graph

35072 Commits

Author SHA1 Message Date
peter
b7582e7b10 Update userref handling after discussion with submitter of previous
patch.  lf can't be dereferenced after the unload attempt, in case it
was freed.  Instead, decrement first and back it out if the unload failed.
This should be relatively immune to races caused by the user since the
userref count will be zero for the duration of the actual unloading and
will stop further kldunload attempts.

Submitted by:   Ustimenko Semen <semen@iclub.nsu.ru>
1999-01-23 03:45:22 +00:00
peter
b7c31cb2be Make the -I paths closer to what happens when compiling as part of the
kernel where #include "filename.h" has been disabled.
1999-01-23 01:32:44 +00:00
peter
e7255168da Minor tweak to fix 'pseudo-device vinum'. One of these got lost before,
the other is a new file.
1999-01-23 01:29:05 +00:00
peter
4d96be76c8 Add vinumdaemon.c; sort vinum entries. 1999-01-23 01:25:59 +00:00
peter
47bbcd6b80 Oops, got my #ifdef's mixed up. Fix an unused variable warning. 1999-01-23 00:28:56 +00:00
peter
612b8563be Remove stray Makefile that Greg initially imported. 1999-01-23 00:09:07 +00:00
msmith
d10da21643 Add EXCEPTION word set.
Make TIB handling use buffer size to conform with ANS Forth.

Add ANS MEMORY-ALLOC word set.

See the PRs for extensive details.

PR:		kern/9412 kern/9442 kern/9514
Submitted by:	PRs from Daniel Sobral <dcs@newsguy.com>
1999-01-22 23:52:59 +00:00
msmith
264d58c629 bootstrap.h
help.common
interp.c
	Rename the 'source' command to 'include' in order to avoid conflict
	with the ANS Forth command of the same name. (kern/9473)

interp_forth.c:
	Changes from kern/9412 (EXCEPTION word), kern/9442 (TIB buffer
	sizing) and an improved version of kern/9460 (set
	version numbers).

load_aout.c:
	Trim some obsolete #if 0'ed cruft.

pnp.c:
	Tidy the pnpscan output, turn off the module scanning until we
	sort out how to do it right.

PR:		kern/9412 kern/9442 kern/9460 kern/9473
Submitted by:	PRs from Daniel Sobral <dcs@newsguy.com>
1999-01-22 23:50:14 +00:00
peter
125b9804ee Convert ccd to a proper module vs. something started by PSEUDO_SET(). 1999-01-22 22:38:28 +00:00
n_hibma
f97f34be4e add LEGSUP to uhci_dumpregs 1999-01-22 21:52:46 +00:00
rnordier
3dbd26cd87 Fix extraneous free() on error. 1999-01-22 21:33:52 +00:00
wollman
15566e2961 A slight bit of code and doco cleanup, but mostly:
Add the much-needed and long-desired ability to force the log rotation
to take place on a specific day or time, and document same.  This works
by extending the syntax of the `when' field to allow a restricted
ISO 8601 time specification, and performing the log rotation if newsyslog
is run during the same hour as is specified.
1999-01-22 19:38:39 +00:00
jkh
655c2f271a swap support is actually pretty important; put it back
CVS: ----------------------------------------------------------------------
1999-01-22 19:11:37 +00:00
rnordier
825d5b5ecb Fix read error not being detected. 1999-01-22 18:32:52 +00:00
wollman
595d9cd39f Don't forward unicast packets received via link-layer multicast.
Suggested by: fenner
Original complaint: Shiva Shenoy <Shiva.Shenoy@yagosys.com>
1999-01-22 16:50:45 +00:00
brandon
9b8af3190b Added support for multiple hash formats, and new salt generation code.
It selects which hash format to use by checking /etc/auth.conf for
auth_default.  Leaving auth_default disabled will give the current
behaviour (use the same format as is currently used in the password,
or if a new password default to what crypt likes best--des if it exists).
Now you can set it to one of: des, best, md5 or sha1.  best is a synonym
for sha1, currently.
1999-01-22 15:33:54 +00:00
brandon
bba17288ce Added comment about how auth_default is used by passwd. 1999-01-22 15:31:25 +00:00
wpaul
00719ee91c Multicast code isn't quite correct. The RealTek wants the upper six bits
of the CRC as the multicast hash table bit, not the lower six bits. Plus
we have to flip on all bits in the table for multicast mode.

Pointed out by: Kazushi SUGYO <k-sugyou@nwsl.mesh.ad.jp>
1999-01-22 15:25:04 +00:00
brandon
e4c0668e85 One more fix to remove secure/lib/libcrypt from the build (both
cases are now handled in lib/libcrypt, depending upon if
secure/lib/libcrypt/crypt-des.c exists)

Reviewed by:	Mark Murray
1999-01-22 15:10:05 +00:00
rnordier
b0e496076e Push version numbers up to 1.00. This is just intended to reflect
that the BTX code can be regarded as stable: there are no associated
code changes.

Suggested by: obrien
1999-01-22 13:07:17 +00:00
jdp
4e18751937 Use the new variable NEED_LIBNAMES instead of including
<bsd.libnames.mk> explicitly.
1999-01-22 12:45:27 +00:00
jdp
3a0d4493e6 Force <bsd.libnames.mk> to be included, regardless of the object
format.  This fixes the undefined symbols when building login for
a.out.
1999-01-22 12:44:55 +00:00
jdp
5c57d9e900 Fix breakage for the static a.out case. The a.out linker doesn't
consider a linker set definition to be sufficient reason to pull an
object module from an archive library.  This caused undefined
symbols when linking with libpam.a using a.out.  I solved it by
linking in the object that references the linker set in the "ld -r"
step.
1999-01-22 12:43:42 +00:00
jdp
2e0a611404 Introduce a new variable NEED_LIBNAMES. If it is defined,
<bsd.libnames.mk> is included regardless of the object file format.

This is needed to fix the a.out PAM breakage that manifests itself
when trying to build login.
1999-01-22 12:41:27 +00:00
rnordier
d9e299cef5 Add a -b option as a simple way to rewrite the mbr code
(eg. replacing a boot manager with a standard mbr)
1999-01-22 11:54:17 +00:00
dillon
457f999361 Make top use new kvm_getswapinfo() call. 1999-01-22 11:09:41 +00:00
obrien
2bcf4d98df Update __FreeBSD__ and __FreeBSD_cc_version to be consistant with
__FreeBSD_version

Forgotten by: Eivind and Some anonymous release engineer
1999-01-22 11:09:00 +00:00
dillon
5cbc2f5184 Fix type-o's in manual 1999-01-22 11:03:55 +00:00
dillon
d408edf826 Fix labeling bug 1999-01-22 10:57:50 +00:00
dillon
69560742ae Fix formatting bug with [NFS swap] vs /dev/DEVNAME 1999-01-22 10:57:22 +00:00
dillon
e806c85973 Add SWIF_DEV_PREFIX flag to add "/dev/..." to device name. 1999-01-22 10:57:03 +00:00
dillon
8ba3cd01dc Make systat -swap use new kvm_swapinfo() function 1999-01-22 10:53:13 +00:00
dillon
edecc779e5 Make pstat use new kvm_getswapinfo() libkvm call. 1999-01-22 10:36:48 +00:00
dillon
36541cbd36 Implement kvm_getswapinfo() libkvm function. Will be used by
pstat, top, and systat.
1999-01-22 10:36:04 +00:00
dg
b2ee04d692 Gutted softdep_deallocate_dependencies and replaced it with a panic. It
turns out to not be useful to unwind the dependencies and continue in
the face of a fatal error.
Also changed the log() to a printf() in softdep_error() so that it will
be output in the case of a impending panic.
Submitted by:	Kirk McKusick <mckusick@mckusick.com>
1999-01-22 09:07:32 +00:00
dg
c939795666 Don't throw away the buffer contents on a fatal write error; just mark
the buffer as still being dirty. This isn't a perfect solution, but
throwing away the buffer contents will often result in filesystem
corruption and this solution will at least correctly deal with transient
errors.
Submitted by:	Kirk McKusick <mckusick@mckusick.com>
1999-01-22 08:59:05 +00:00
eivind
569369fad2 __FreeBSD_version -> 400000
Forgotten by:	Some anonymous release engineer
Reminded by:	bde
1999-01-22 08:39:58 +00:00
archie
528086704d Fix bug where 'ipfw list' would choke if there were a large number of rules. 1999-01-22 01:46:32 +00:00
brian
271301aaa5 Typo police. 1999-01-22 01:43:25 +00:00
n_hibma
3d146c5d05 forgotten in previous commit: Lowered default debug level 1999-01-22 01:02:24 +00:00
n_hibma
ed554c7c0f Fixed disconnect for umouse 1999-01-22 00:59:52 +00:00
n_hibma
e1b38346c9 Make uhub mandatory in usb config (msmith) 1999-01-22 00:57:47 +00:00
n_hibma
aa2d8e7cc5 Textual changes 1999-01-22 00:51:12 +00:00
n_hibma
fac5996c0d Fixed bug in disconnect handling in uhub.c 1999-01-22 00:44:31 +00:00
n_hibma
50b111ed9b Added OPTi FireLink and NEC (Toshiba and others) to OHCI ID's 1999-01-22 00:36:46 +00:00
n_hibma
40a66fb19c Fixed bug that made UHCI controllers fail to start. 1999-01-21 23:31:58 +00:00
wollman
9eef44f059 Update for 4.0 by adding the first two major changes and deleting a lot
of irrelevant (2.x/3.x) content.
1999-01-21 23:26:34 +00:00
n_hibma
33dd13875f Cleaning up, improving _detach, removing ominous warning (msmith) 1999-01-21 23:06:02 +00:00
n_hibma
a9c6288912 Added ioctl interface 1999-01-21 22:56:10 +00:00
msmith
5d28ad9742 Add 'set tunables' help, list the kernel tunable values that can currently
be overridden.
1999-01-21 22:03:16 +00:00