Commit Graph

71516 Commits

Author SHA1 Message Date
imp
9d8760ae3f o MAXPATHLEN is the correct constant to use for path names, it includes
the NULL.
o use snprintf in preference to unchecked strcat in a couple of places that
  likely can't overflow.  Makes it easier to grep for strcpy :-)
2002-03-18 07:14:59 +00:00
imp
1d49c4d8ce o __P
o Strict ANSI declarations.
o return (foo);
o main (int, char *[])
2002-03-18 06:59:15 +00:00
imp
90cb51f87f o remove __P
o Use ANSI function definitions
o const poison
o remove register
2002-03-18 06:17:50 +00:00
mckusick
46c2fbbf1f Cannot release vnode underlying the nullfs vnode in null_inactive
as it leaves the nullfs vnode allocated, but with no identity. The
effect is that a null mount can slowly accumulate all the vnodes
in the system, reclaiming them only when it is unmounted. Thus
the null_inactive state instead accelerates the release of the
null vnode by calling vrecycle which will in turn call the
null_reclaim operator. The null_reclaim routine then does the
freeing actions previosuly (incorrectly) done in null_inactive.
2002-03-18 05:39:04 +00:00
imp
2b7d5c14c7 o __P removal.
o Use ANSI function definitions.
o main(int, char *[])
2002-03-18 05:00:52 +00:00
imp
14abf0fdfc o Use real prototypes and ANSI function definitions.
o Remove __P.
2002-03-18 04:57:08 +00:00
imp
c1e6d4399a o Use real prototypes
o Remove __P.
o main(int, char *[])
2002-03-18 04:55:09 +00:00
imp
f078679ab4 Note comment about DP-1 2002-03-18 04:52:24 +00:00
imp
03c47eb035 Home Wireless Network Airway wireless card 2002-03-18 04:51:01 +00:00
bde
c067f67769 Fixed some style bugs (mainly ones not fixed or made worse by rev.1.44).
Don't use ISO string concatentation to obfuscate long single-line
messages...
2002-03-18 03:04:58 +00:00
bde
a527d17772 Fixed some style bugs (mainly ones not fixed or made worse by rev.1.41).
Old code obfuscates long (but single-line) messages by printing them in
pieces using %s.  Rev.1.41 obfuscated some new long messages using ISO
string concatenation.  This commit only fixes the new obfuscations.
2002-03-18 02:43:14 +00:00
dd
3cef136cbb mdoc(7) police: bump document date to the date of the last interface
change (revision 1.2 of devname.c on 1999/07/18), don't put quotes
around a path, and use .Dv where appropriate.
2002-03-18 02:36:43 +00:00
dd
23cc51ea4e Update to reflect reality; devname(3) hasn't returned NULL on failure
since revision 1.2 of devname.c (1999/07/18).  While I'm here, note,
in the BUGS section, that the returned pointer is to a static buffer.
2002-03-18 02:32:53 +00:00
bde
bb14f0993b Removed vestiges of mount_mfs. Sorted the Makefile a bit. 2002-03-18 02:23:43 +00:00
cjc
0b0823a755 It was possible for an unprivileged user to tie up the password
information (no one else can vipw(8), chpass(1), or even passwd(1)),
either on purpose or by accident, until an administrator manually
intervened. Instead, do not lock the master.passwd file while a user
is editing his information. But once we go to write the new
information, check that the modified user's information has not
changed in the password database since we started. Abort the changes
if it has.

Add a $FreeBSD$ to pw_copy.h.

PR:		i386/35816
Obtained from:	NetBSD
MFC after:	1 week
2002-03-18 02:22:53 +00:00
bde
8996107d71 Fixed 2 layers of breakage of WARNS. Setting WARNS unconditionally to
0 was bad and setting it unconditionally to 2 was worse.
2002-03-18 02:13:38 +00:00
bmah
483528030e Updated release notes: Perl 5.6.1, one-true-awk 2002-02-10. 2002-03-18 02:04:47 +00:00
bmah
8d0a13d8c2 Updated release notes: ACPI 20020308, OpenPAM Centaury. 2002-03-18 02:01:08 +00:00
dd
71725fae82 Features are deprecated, not depreciated.
PR:		35987
Submitted by:	shill@free.fr
2002-03-18 01:52:19 +00:00
dougb
32d9bca362 Make sure that rc.syctl gets its own version of positional parameters
Submitted by:	cjc
2002-03-18 00:56:51 +00:00
cjc
f0579987d3 Add hooks for very basic IPFilter support in bridging. Set,
# sysctl net.link.ether.bdg_ipf=1

To enable. Just like ipfw(8) bridging, only input packets are filtered
in the bridge. Filtering works just like in the IP layer, ipf(8)
first, then ipfw(8). And just like in the IP layer, both are
independent, one need not be run to use the other. (Note: This will
not work in, but doesn't break, the bridge.ko module. The ipl.ko
module would need to be fixed before that is worth worrying about.)

Reviewed by:	luigi
2002-03-18 00:55:23 +00:00
benno
8a25a0011e Changes and fixes in preparation for UMA:
- Bootstrap pvo entries are now allocated by stealing pages.
- Just return if we're pmap_enter'ing a mapping that's already there.  Don't
  remove it and re-enter it.
2002-03-17 23:58:12 +00:00
benno
fbae892608 Lowercase all of the trap names. 2002-03-17 23:55:11 +00:00
benno
a0491766e6 Clean up and fix up copyin and copyout. 2002-03-17 23:54:55 +00:00
des
a1c0657941 s/options\t\t/options \t/ 2002-03-17 23:48:24 +00:00
cjc
ac7c887068 Spelling: s/guesst/guessed/ 2002-03-17 22:02:05 +00:00
dougb
7a16363815 Distinguish between first and last passes of rc.sysctl, and only set
mibs whose values are not already what is specified in sysctl.conf.
2002-03-17 20:14:11 +00:00
phk
5b7a8620de Some necesary fixups to cope with new location and FreeBSD CVS keyword. 2002-03-17 19:16:14 +00:00
phk
b60e218719 Need a different #include for the userland regression test. 2002-03-17 19:15:28 +00:00
phk
ba5c53eef8 Make this compile in the userland-regression testsuite again. 2002-03-17 18:57:49 +00:00
phk
804ad7989b Add the GEOM regression test framework.
This is a set of userland shims in which GEOM can be run through simple
tests.

The simulation of kernel synchronization primitives is very primitive
and consequently some times tests will fail because of races.

Data/ contains a number of files in XML format which describe the
key sectors for a number of disk images

This is a very handy tool for people developing GEOM methods.  The
"simdisk" method can be told to read from a "real disk" and afterwards
dump the accessed sectors in XML format for further use.

I hope future method writes will see the benefit of this test
collection and add to it when they write methods for GEOM.

You will need ports/textproc/expat for the XML parser.

Sponsored by:   DARPA, NAI Labs.
2002-03-17 18:53:58 +00:00
alc
ca0b316694 Remove vm_object_count: It's unused, incorrectly maintained and duplicates
information maintained by the zone allocator.
2002-03-17 18:37:37 +00:00
kuriyama
a8a08faa5a Translate SA-02:13 entry. 2002-03-17 16:02:56 +00:00
ue
a2a9942de3 MFen: release.prev.stable 2002-03-17 16:01:52 +00:00
kuriyama
4237b65137 MFen. 2002-03-17 15:55:31 +00:00
jhay
09c9c9c1fa Add one more dependency, graphics/jbigkit. 2002-03-17 15:40:01 +00:00
ru
6fcd506b6d mdoc(7) police: tidy up. 2002-03-17 15:02:20 +00:00
murray
d19e78bcfc Spell analogous properly.
Found by:	ispell(1)
2002-03-17 15:01:28 +00:00
ru
e479dfac7a mdoc(7) police: tidy up. 2002-03-17 14:52:54 +00:00
dwmalone
675bb4eaa8 Describe the format of the allow and deny files. This is more-or-less
the patch Matthew submitted, but I broke the lines in a more FreeBSD
way and made one small wording change.

PR:		31265
Submitted by:	Matthew D. Fuller <fullermd@over-yonder.net>
MFC after:	3 weeks
2002-03-17 14:03:17 +00:00
ru
b758d2d813 mdoc(7) police: fix a typo in rev. 1.36 and markup nit in rev. 1.37. 2002-03-17 13:14:14 +00:00
ru
7be85e43cd mdoc(7) police: misc fixes. 2002-03-17 13:09:35 +00:00
ue
04a86d73db MFbed: language fixes after the mailing list change 2002-03-17 12:35:19 +00:00
sobomax
2eb9266532 (forced)
Splitfs is subject of:

MFC after:	2 weeks
2002-03-17 12:25:49 +00:00
sobomax
7069dbebf0 Add splitfs vfs layer into libstand, which allows loading big kernels and
modules split across several physical medias. Following is how it works:

The splitfs code, when asked to open "foo" looks for a file "foo.split"
which is a text file containing a list of filenames and media names, e.g.

	foo.aa "Kernel floppy 1"
	foo.ab "Kernel floppy 2"
	foo.ac "Kernel and modules floppy"

For each file segment, the process is:

- try to open the file
- prompt "Insert the disk labelled <whatever> and press any key..."
- try to open the file
- return error if file could not be located

RE team is free to use this feature in the upcoming 5.0-DP1.

Reviewed by:	msmith, dcs
2002-03-17 12:18:05 +00:00
markm
3e33a8bc6b Allow "make lint" to mostly work. Our sources are very unclean WRT
lint, so this is turned off by default. Setting WANT_LINT will turn
on generation of lint libraries for /usr/libdata/lint/*.ln.

Reviewd by:	silence in -audit.
2002-03-17 10:05:57 +00:00
markm
d3ef203db2 Build lint libraries. 2002-03-17 10:00:56 +00:00
bde
4f66fb01f3 Fixed some style bugs. Mainly, don't use ${.ALLSRC} in implicit rules.
This change should have been in rev.1.37.
2002-03-17 09:53:21 +00:00
hm
740f230117 Clean up the i4b kernel part: remove unmaintained #if(def)s for NetBSD,
OpenBSD and BSD/OS and respective code, remove pre $FreeBSD CVS id's,
remove #if(def)s and respective code for FreeBSD versions < 5 .
2002-03-17 09:33:15 +00:00
cjc
c41e06e49a Add documentation for rc.early(8).
PR:		misc/35992
MFC after:	3 days
2002-03-17 09:14:54 +00:00