Commit Graph

67860 Commits

Author SHA1 Message Date
Mark Murray
d3f6a11798 Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
Mark Murray
d20f95e121 Minor style stuff, use __FBSDID(), remove to-be-default WARNS=2. 2001-12-12 23:23:52 +00:00
Bruce A. Mah
0312bfaed9 Move some notes inside the paragraphs for the hardware they describe. 2001-12-12 23:22:34 +00:00
Mark Murray
e74bf75f1c WARNS=2 partial fix; use NO_WERROR to protect against some hard-to-fix warnings.
Use __FBSDID(), kill register keyword.
2001-12-12 23:20:16 +00:00
Mark Murray
f1d37c20c0 WARNS=2 fixes, use __FBSDID, remove GCC-specific flags. 2001-12-12 23:09:07 +00:00
Mark Murray
b093d3e0e9 WARNS=2 fixes, Use __FBSDID(), kill register keyword. 2001-12-12 23:02:30 +00:00
Mark Murray
5584ad32ad Fix the time of an intmax_t calculation; it is unsigned. Also print
it with the correct formatting (%ju, not %lld). GCC's -Wformat does
not understand this, so turn on NO_WERROR.
2001-12-12 22:46:56 +00:00
John Baldwin
b0492e310b Catch up to the globaldata -> pcpu changes. 2001-12-12 21:15:30 +00:00
Mike Heffner
8080703a26 Print the path with the shortest absolute length, rather than
arbitrarily selecting one.

PR:		bin/14361
Approved by:	wosch
MFC after:	1 week
2001-12-12 20:38:07 +00:00
Warner Losh
ebc7a029f4 Sync to pccarddevs 1.25 2001-12-12 20:06:29 +00:00
Warner Losh
a7958b9d73 Move LINKSYS2 to its correct numerical location.
Add BONDWELL B236 Game Card Joystick.  A PC Card joystick card.
2001-12-12 20:05:48 +00:00
Philippe Charnier
a9c9a0d15f Make clear that -w gets an argument. Add __FBSDID and remove unused
#include
2001-12-12 18:25:53 +00:00
Philippe Charnier
93b3633be5 Remove unused #includes. lex -> Lex, yacc -> Yacc, ... Some .Nm to .Em
conversions. Sort #includes. Spelling. use errx() instead of err() when
explicit message is given.
2001-12-12 18:24:42 +00:00
Philippe Charnier
b0a2f60daf Start option definition with: ``The following options are available''
Use .Ev for env variables.
Remove unused #includes, and sort others.
2001-12-12 18:22:09 +00:00
Maxim Sobolev
1f891ff9ef Add DIVA USB mp3 player.
Submitted by:	Olexander Kunytsa <kunia@x-telecom.net>
MFC after:	3 days
2001-12-12 15:58:23 +00:00
Robert Watson
3b4fff26f3 o Various language and style tweaks.
Submitted by:	ru
2001-12-12 15:58:04 +00:00
Mike Heffner
864be88825 I'm working on cleaning this up, however it probably won't be done for
awhile. Turn off WARNS so that this doesn't break the build when WARNS
is turned on higher up. Also add $FreeBSD$.
2001-12-12 15:42:19 +00:00
Alexey Zelkin
19e4b807f6 * style(9)'ify
* add K&R support to langinfo.h

Requested by:	bde (2)
2001-12-12 15:41:08 +00:00
Bruce A. Mah
ede55da024 New release note: jail sysctl variables moved.
Submitted by:	arr
2001-12-12 15:31:19 +00:00
Ruslan Ermilov
108c9afc50 mdoc(7) police: remove the debugging stuff I use to prevent
hyphenation (so that the output could be spell-checked).
2001-12-12 15:15:46 +00:00
Ruslan Ermilov
6184d98a2a mdoc(7) police: minor markup nits. 2001-12-12 15:02:32 +00:00
Ruslan Ermilov
f7475de715 mdoc(7) police: fix markup, bump document date. 2001-12-12 14:53:51 +00:00
Ruslan Ermilov
f0cc88ffed mdoc(7) police: kill HSBs, add missing comma. 2001-12-12 14:41:53 +00:00
Ruslan Ermilov
9a05e59078 mdoc(7) police: fix markup. 2001-12-12 14:40:09 +00:00
Ruslan Ermilov
2554caf28c mdoc(7) police: Minor formatting nits and optimizations to rev. 1.34. 2001-12-12 14:36:28 +00:00
Yoshihiro Takahashi
c47b0cd2c6 MFi386: revision 1.35 (Add support for writing to BIOS disks) 2001-12-12 13:47:04 +00:00
Ruslan Ermilov
de400a7b97 mdoc(7) police: use no-break space. 2001-12-12 13:46:15 +00:00
Ruslan Ermilov
f079ab33c6 mdoc(7) police: use no-break space, fix markup. 2001-12-12 13:45:35 +00:00
Ruslan Ermilov
5411c22ae5 mdoc(7) police: use non-break space, remove whitespace at EOL, fix markup. 2001-12-12 13:42:25 +00:00
Yoshihiro Takahashi
f169825e02 MFi386: revision 1.485 (the previous commit is not completely) 2001-12-12 12:27:59 +00:00
Peter Pentchev
1e106575d2 Set the script_name_sep variable to a safe value if it is not
already set (e.g. a failed/skipped mergemaster run during an upgrade).
Without this, if script_name_sep was not set in the rc.conf files,
local scripts will not be executed on startup or shutdown.

PR:		misc/32687
Submitted by:	Nicholas Paufler <echofox@discordia.ca> (the problem)
		Sheldon Hearn (the idea behind the fix)
Reviewed by:	sheldonh
MFC after:	1 week
2001-12-12 10:12:20 +00:00
Sheldon Hearn
0e3b6d50d4 Connect libiconv to the build.
Recent work by fjoe and bp has fixed smbfs.  The smbfs module
can now be loaded once libiconv and libmchain have been loaded,
and works!
2001-12-12 10:11:16 +00:00
Wilko Bulte
aa84159a86 Unix: Just Say No..
Obtained from:	Jan.Hendriks@Compaq.com
MFC after:	3 days
2001-12-12 09:49:02 +00:00
Alfred Perlstein
118fdf009f Fix select on named pipes without a reader.
PR: kern/19871
MFC after: 1 month
2001-12-12 09:35:33 +00:00
Ruslan Ermilov
7f96dac84d More "const" poisoning, and only use NO_WERROR if we're bootstrapping. 2001-12-12 08:49:51 +00:00
John Baldwin
341260fb20 Axe an unneeded PCPU_SET(spinlocks, NULL) that I missed earlier. 2001-12-12 08:07:41 +00:00
Alfred Perlstein
a9ee9c593d Fix a number of subtle and evil bugs in the libc_r wrapping of sendfile(2).
o) Since we unwrap the sendfile syscall, check the return value of
   writev(2) to see if it didn't complete all the data.
   Previously if only a partial writev() succeeded, it would proceed
   to sendfile(2) even though the headers weren't completely sent.

o) Properly adjust the "bytes to send" to take into account sendfile(2)'s
   behaviour of counting the headers against the bytes to be transfered
   from the file.

o) Correct the problem where EAGAIN was being returned from _sys_sendfile(2)
   however the wrapper didn't update the 'sent bytes' parameter to take into
   account for it.  This is because sendfile can return EAGAIN even though
   it has actually transfered data.

Special thanks to Justin Erenkrantz <jerenkrantz@apache.org> for bringing
this to my attention and giving an excellent way to reproduce the problem.

PR: kern/32684
MFC After: 1 week
2001-12-12 08:02:24 +00:00
Andrew R. Reiter
3a3dc2523a - Fix sysctl mib examples in order to reflect the recent changes in
kern_jail.c

Approved by: 	rwatson
Reviewed by:	rwatson
2001-12-12 05:28:42 +00:00
Andrew R. Reiter
94b3b598b9 - Update the sysctl mibs in order to reflect the recent kern_jail.c
changes.

Approved by:	rwatson
Reviewed by:	rwatson
2001-12-12 05:24:50 +00:00
Andrew R. Reiter
83aee5a8d5 - Move _jail sysctl node underneath _kern_security in order to standardize
where our security related sysctl tuneables are located.  Also, this
  will help if/when we move _security node out from under _kern as to help
  make _kern less cluttered.

Approved by:	rwatson
Review by:	rwatson
2001-12-12 05:23:20 +00:00
Mark Murray
9ff712b0f5 WARNS=2 fixes with NO_WERROR set, as there are some header issues
with namelists. use __FBSDID().
2001-12-12 00:13:37 +00:00
Mark Murray
131f7ce586 Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
Mark Murray
19964b3233 Protect this against the coming WARNS=2 default. 2001-12-12 00:05:16 +00:00
Mark Murray
814e3a92a9 WARNS=2 fixes, use __FBSDID(). 2001-12-12 00:01:16 +00:00
Bruce A. Mah
e581388480 Make manpage links for 5.0-CURRENT release documents explicitly access the
FreeBSD 5.0-CURRENT manpages on the Web site, instead of pointing at
the (possibly wrong) default manpages.

MFC after:	3 days
2001-12-11 23:55:41 +00:00
Mark Murray
caa648017b WARNS=2 fixes with NO_WERROR set because of system-header originating
warnings. Use __FBSDID().
2001-12-11 23:51:14 +00:00
Mark Murray
ed155aba4a WARNS=2 fixes. use __FBSDID(). 2001-12-11 23:44:53 +00:00
Mark Murray
8049f797e3 WARNS=2 fixes. NO_WERROR set as there are some hard-to-fix
signed/unsigned comparisons. Use __FBSDID().
2001-12-11 23:43:15 +00:00
Mark Murray
34ec24f029 WARNS=2 fixes, use __FBSDID(). 2001-12-11 23:39:38 +00:00
Mark Murray
1a9e1c9da1 WARNS=2 is going to be the default, so don't specify it. Use __FBSDID(). 2001-12-11 23:38:24 +00:00