Commit Graph

100284 Commits

Author SHA1 Message Date
Don Lewis
ec0791be40 Change len pararmeter from u_int to size_t.
Document vslock() return values.
2004-03-15 10:05:27 +00:00
Don Lewis
bb734798af Make overflow/wraparound checking more robust and unbreak len=0 in
vslock(), mlock(), and munlock().

Reviewed by:	bde
2004-03-15 09:11:23 +00:00
Dag-Erling Smørgrav
4705e3da6a Make this compile with -O2. A proper fix would use a struct to represent
vectors, instead of requiring the caller to keep track of element size
and count and pass them in by reference.
2004-03-15 08:14:35 +00:00
Dag-Erling Smørgrav
2fb05f85d5 Whitespace nits. 2004-03-15 08:03:10 +00:00
Ruslan Ermilov
51a23805f8 gasp(1) isn't linked with -lgnuregex, and it doesn't need <gnu/regex.h>
either.

Reviewed by:	obrien
2004-03-15 07:19:41 +00:00
Don Lewis
f0ea4612ef Style(9) changes.
Pointed out by:	bde
2004-03-15 06:43:51 +00:00
Don Lewis
ce8660e395 Revert to the original vslock() and vsunlock() API with the following
exceptions:
	Retain the recently added vslock() error return.

	The type of the len argument should be size_t, not u_int.

Suggested by:	bde
2004-03-15 06:42:40 +00:00
Don Lewis
be4c5ad025 Remove redundant suser() check. 2004-03-15 06:36:55 +00:00
Juli Mallett
c83afe7be9 static and const. 2004-03-15 04:10:29 +00:00
Juli Mallett
9c4c393a74 Validate argument to -i. 2004-03-15 03:41:07 +00:00
Robert Watson
5e71a73b7b Lock down global variables in if_tap (primarily, the tap softc list);
add tapmtx, which protects globale variables.

Notes:

- The EBUSY check in MOD_UNLOAD may be subject to a race.  Moving the
  event handler unregister inside the mutex grab may prevent that race.

- Locking of global variables safely is now possible because tapclones
  is only modified when the module is loading or unloading, thanks to
  phk's recent chang to clone_setup().

- softc locking to follow.
2004-03-15 01:52:00 +00:00
David E. O'Brien
a5b0d49470 Shorten a long comment. 2004-03-15 00:49:40 +00:00
Bruce A. Mah
1352f6f491 Grammar nits.
Move a SGML comment to a more meaningful (and correct) place in this
file.
2004-03-15 00:24:27 +00:00
Bruce A. Mah
312cabac15 Mention ubser(4) devices, fix a minor punctuation nit. 2004-03-15 00:11:27 +00:00
Bruce A. Mah
39cccd7ea2 New release notes: acpi_toshiba(4), acpi_video(4), ubser(4),
FreeBSD/i386 can be compiled with icc, ng_atmllc(4), logins(1), GNU
grep 2.4.2.
2004-03-15 00:07:19 +00:00
Robert Watson
0ff34b5e1c Don't reject FAT file systems with a number of "Heads" greater than
255; USB keychains exist that use 256 as the number of heads.  This
check has also been removed in Darwin (along with most of the other
head/sector sanity checks).
2004-03-14 23:28:12 +00:00
Hiroki Sato
22937d6049 Update release note:
The gsc driver removed.
2004-03-14 23:26:06 +00:00
Warner Losh
69ef3621a2 Remove isa compat stuff.
Only cy, bs and wd in the tree still use it.  I have a replacement for
cy that I need to test on ISA and PCI cards.  bs and wd are pc98 only
drivers that appear to no longer be necessary.  I'll be removing them
when I hear back from the pc98 people.
2004-03-14 23:03:57 +00:00
Warner Losh
26b74a3cdb comment out bs and wd entries in the hints 2004-03-14 23:02:07 +00:00
Bruce A. Mah
5366d3a281 Remove entries for the following devices as their drivers are gone:
rdp(4), le(4), stl(4), stli(4), ctx(4), spigot(4).

Take a guess that the following devices correspond to removed drivers
and blow their entries away too: "Genius and Mustek hand scanners"
(gsc(4)?)  and "GPB and Transputer drivers" (gpib(4)?).
2004-03-14 22:56:06 +00:00
Warner Losh
289e7650eb Comment out the cy driver until I can make sure that the new cy driver
I have for it works.
2004-03-14 22:50:49 +00:00
Warner Losh
2c87f688cd The gsc driver has been retired, so retire its control program. 2004-03-14 22:47:02 +00:00
Warner Losh
bfbc84bff3 Retire gsc man page after driver retirement 2004-03-14 22:43:51 +00:00
Warner Losh
e9dd5834c6 The gsc driver uses the old COMPAT_ISA api. Retire it so we can
retire the COMPAT_ISA shims.  If someone were to redo this driver with
the new APIs and test it, it can return.
2004-03-14 22:42:54 +00:00
Hiroki Sato
cfd3634f23 Update release note:
rdp and spigot driver removed.
2004-03-14 22:42:02 +00:00
Warner Losh
e96cc4a8a3 Hints for the le driver are no longer necessary here.
Noticed by: ru
2004-03-14 22:38:18 +00:00
Warner Losh
1ec6878636 rdp has been retired, retire its man page too 2004-03-14 22:36:54 +00:00
Hiroki Sato
3ce68bad1c Update release note:
The le driver removed.
2004-03-14 22:35:48 +00:00
Warner Losh
721745e356 The rdp driver uses the COMPAT_OLD api. This is being retired, so
this driver is being retired.  Remove it from the tree.  If someone
wants to update it to the latest APIs and can test the hardware, it
can return to the tree.
2004-03-14 22:35:29 +00:00
Warner Losh
1cf01aa3f4 The spigot driver uses the old COMPAT_ISA interface. Retire it since
that's going away soon.  Should someone reimplement it using modern
APIs and can test the driver, it can return.
2004-03-14 22:31:49 +00:00
Warner Losh
41f6b59381 le driver is gone, retire its man page 2004-03-14 22:26:12 +00:00
Warner Losh
974f74fce4 The le driver uses ISA_COMPAT, which is going away soon. Retire it
and releated files.  If someone wants to fix it to use the new APIs
and test it, it can be brought back.
2004-03-14 22:25:19 +00:00
Warner Losh
8cc469f2d6 Really remove asc man page this time 2004-03-14 22:15:38 +00:00
Josef Karthauser
6909422ddd Regen. 2004-03-14 21:57:35 +00:00
Josef Karthauser
295964d6a9 Add support for Handspring TREO 600.
Submitted by:	Tuc <tuc@ttsg.com>
MFC after:	1 week
2004-03-14 21:56:51 +00:00
Doug Barton
0a54defb08 1. Remove the named_rcng variable. Mike's caution in this area was a good
thing, but we're ready to move on.

2. Remove the -g default argument in named_flags. It doesn't actually do
what most users think it does, and what most users want it to do is already
accomplished with a proper default group for the bind user, which we have.
Also, the -g knob does something entirely different in BIND 9, which leads
to a lot of needless confusion/aggravation.

3. In the rc.d script, don't bogusly override $command, or $rc_flags. Both
are adequately handled in rc.conf[.local].

4. DO properly override $rc_flags if user has named_chrootdir set.
This may need to be revisited, but should be ok for now.

5. Protect all chrootdir-related bits under that variable, instead of
named_rcng.

There is more work to be done here, especially in the area of BIND 9
compatibility, but this is a start at least.

Prompted in part by (legitmate) grousing from: kuriyama, Randy Bush
2004-03-14 19:10:06 +00:00
Ruslan Ermilov
920fa8dcbd I believe most of /boot/device.hints out there are based (if not
identical) on GENERIC.hints, hence the following change:

Moved the creation of /boot/device.hints where it belongs.  This
should aid in merging GENERIC.hints changes to /boot/device.hints,
using mergemaster(8) or a similar approach.
2004-03-14 17:18:39 +00:00
Ruslan Ermilov
125499e595 Don't scare non-root users attempting to build world. 2004-03-14 16:44:27 +00:00
Brian Feldman
6fedf94775 When taking event callbacks (like process_exit) out from under Giant, those
which do not lock Giant themselves will be exposed.  Unbreak pfs_exit().
2004-03-14 15:57:45 +00:00
Poul-Henning Kamp
bcfe6d8b26 Annual NTP kernel code spring-cleaning:
Use int64_t rather than long long for the fixpoint type.

Don't discard fractional nanosecond frequency correction.
2004-03-14 15:23:05 +00:00
Ruslan Ermilov
1a490c95d2 Catch up with the removal of the wt(4) driver. 2004-03-14 12:09:43 +00:00
Yoshihiro Takahashi
eba504ff39 MFi386: Remove the stl and stli drivers. 2004-03-14 09:46:36 +00:00
Yoshihiro Takahashi
f213e50a57 MFi386: revision 1.29. 2004-03-14 09:43:15 +00:00
Yoshihiro Takahashi
3136cf2d73 MFi386: revision 1.76. 2004-03-14 09:41:57 +00:00
Hiroki Sato
3e5d21d84c New release note:
old ISA drivers (asc, ctx, gp, stl, stli, wt) removed.
	nologin(8) moved to /usr/sbin/nologin.

Update release note:
	nologin(8) always reports login attempts[1].

Suggested by:	cperciva[1]
2004-03-14 08:47:20 +00:00
Ruslan Ermilov
6df1b14fa1 Removed duplicate __FBSDID(). Keep the one that style(9) likes. 2004-03-14 08:43:55 +00:00
Matthew N. Dodd
e3bbbec2ca Announce ethernet MAC addresss in ether_ifattach(). 2004-03-14 07:12:25 +00:00
Warner Losh
f1e5dca6e0 These go along with the stl and stli drivers, recently removed. 2004-03-14 06:52:22 +00:00
Warner Losh
a0988ce1a8 stl and stli use the old COMPAT_ISA api. slt also uses the really old
COMPAT_PCI api.  This API is going away, so this driver is going away
also.

If users are interested in updating this, please contact the author
since he has some preliminary work to move this to newer APIs.
2004-03-14 06:48:36 +00:00
Juli Mallett
8714ee5954 Add multiple inclusion guards. Mostly this is for extern.h, which was
included twice by lprint.c, which included both finger.h and extern.h.
finger.h, in turn, includes extern.h.  The redundant include of extern.h
was removed from lprint.c, as part of this change, but the include guards
were added anyway out of spite.
2004-03-14 06:43:34 +00:00