Commit Graph

67435 Commits

Author SHA1 Message Date
Peter Wemm 6464bbfa03 Use the merged strtod.c everywhere. This has been tested on alpha and
ia64.
2001-12-02 18:27:40 +00:00
Chris D. Faulhaber 405c561518 o Correct error message forgotten in the last commit (malloc() -> calloc())
o Fix style nits

Submitted by:	bde
2001-12-02 18:15:53 +00:00
Robert Watson 4f5a4612d3 o Uniformly copy uap arguments into local variables before grabbing
giant, and make whitespace more consistent around giant-frobbing.
2001-12-02 15:22:56 +00:00
Robert Watson f605567c24 o Remove KSE race in setuid() in which oldcred was preserved before giant
was grabbed.  This was introduced in 1.101 when the giant pushdown
  for kern_prot.c was originally performed.
2001-12-02 15:15:29 +00:00
Robert Watson eb725b4e6a o General style, formatting, etc, improvements:
- uid's -> uids
	- whitespace improvements, linewrap improvements
	- reorder copyright more appropriately
	- remove redundant MP SAFE comments, add one "NOT MPSAFE?"
	  for setgroups(), which seems to be the sole un-changed system
	  call in the file.
	- clean up securelevel_g?() functions, improve comments.

Largely submitted by:	bde
2001-12-02 15:07:10 +00:00
Mark Murray 9b3e907904 WARNS=2 fixup. 2001-12-02 13:55:09 +00:00
Mark Murray ef0ea716d2 WARNS=2 fixup 2001-12-02 13:48:40 +00:00
Mark Murray acd1ad8825 WARNS=2 fixup. 2001-12-02 13:36:14 +00:00
Mark Murray cb08795bb0 WARNS=2 fix and 'register' removal. 2001-12-02 13:31:22 +00:00
Mark Murray bcdc82df70 WARNS=2 fixup. 2001-12-02 13:18:59 +00:00
Mark Murray 3fa15ce5d8 WARNS=2 fixup.
kill 'register' keyword.
2001-12-02 12:54:40 +00:00
Alfred Perlstein 59aff5fcf3 make LOCKF_DEBUG kernel option work (sorta)
Submitted by: Maxim Konovalov <maxim@macomnet.ru>
PR: kern/32267
2001-12-02 12:47:25 +00:00
Mark Murray 865eb33a74 WARNS=2 fixup. 2001-12-02 12:36:35 +00:00
Andrey A. Chernov e3a3c468a5 Remove specific reference to ASCII space (' '), it is true for localized
spaces too
2001-12-02 12:31:44 +00:00
Mark Murray 3ce6c35745 WARNS=2 fixup. 2001-12-02 12:26:18 +00:00
Mark Murray 3e9203d750 Style. Use __P() macro (Yuk!). 2001-12-02 12:19:26 +00:00
Søren Schmidt f609857c68 ARG! committed the wrong patch!! I need more sleep :( 2001-12-02 12:19:16 +00:00
Søren Schmidt 71a6a4da18 Oops, lost a line in the previous commit. 2001-12-02 12:17:51 +00:00
Mark Murray 13ac0cdca3 WARNS=2 fixup.
Turn on YP (NIS) while I'm about it.
2001-12-02 12:17:20 +00:00
Mark Murray c38cc7439c WARNS=2 fixups. 2001-12-02 12:09:41 +00:00
Wolfram Schneider dc2e599970 Added OpenBSD 3.0. 2001-12-02 11:19:24 +00:00
Wolfram Schneider 1da2e589f6 NetBSD 1.4 branch and NetBSD 1.5 branch are still alive.
Submitted by: jhawk@netbsd.org, itojun@iijlab.net
2001-12-02 11:16:30 +00:00
Alfred Perlstein 815ac49626 prototype functions and fix some line wrapping 2001-12-02 11:10:46 +00:00
Søren Schmidt 7c5a0723d7 Initial support for the newer SiS chipsets, based on docs we finally
got from SiS.

This should also close PR 32421 which has patches which seem
to set the timing registers wrongly according to SiS...
2001-12-02 10:48:52 +00:00
Andrey A. Chernov 4bd71a3c89 Make it works for non ASCII compatible encodings too.
The only assumption left is that 'A'..'Z' 'a'..'z' both are contiguous
2001-12-02 09:15:54 +00:00
Boris Popov 2985f5726b Enable build of smbfs. It works now as before on both UP and MP machines. 2001-12-02 09:01:35 +00:00
Boris Popov b1c996c40b Catch up with KSE changes.
Submitted by:	Max Khon <fjoe@iclub.nsu.ru>
2001-12-02 08:56:58 +00:00
Matthew Dillon 262c1c1a4e Fix a bug with transmitter restart after receiving a 0 window. The
receiver was not sending an immediate ack with delayed acks turned on
when the input buffer is drained, preventing the transmitter from
restarting immediately.

Propogate the TCP_NODELAY option to accept()ed sockets.  (Helps tbench and
is a good idea anyway).

Some cleanup.  Identify additonal issues in comments.

MFC after:	1 day
2001-12-02 08:49:29 +00:00
Boris Popov fce6fbfa4d Pull netsmb requester from the pre-KSE world. This update mostly based
on the patches submitted by Max Khon <fjoe@iclub.nsu.ru>
2001-12-02 08:47:29 +00:00
Prafulla Deuskar 1ac88dc08f Adding man page for the em driver.
Submitted by:Prafulla Deuskar
Reviewed by:Paul Saab
MFC after:1 week
2001-12-02 07:45:22 +00:00
Prafulla Deuskar e6770f4c46 This is the first commit of the Intel gigabit driver for
PRO/1000 cards.

Submitted by:Prafulla Deuskar
Reviewed by: Paul Saab
MFC after:1 week
2001-12-02 07:37:17 +00:00
Mike Smith bd21bbea4b Re-enable the ciss driver, now that it should be building again. 2001-12-02 06:19:15 +00:00
Mike Smith d3e4392c83 Catch up with the proc -> d_thread_t change. 2001-12-02 06:17:16 +00:00
Makoto Matsushita 57c307da7c Forget to remove fsck from src/release/{alpha,pc98}/boot_crunch.conf,
which should be done with src/release/i386/boot_crunch.conf rev 1.51
and src/usr.sbin/sysinstall/install.c rev 1.311.

Spotted by:	nyan (via ReichaNet)
2001-12-02 04:58:40 +00:00
Makoto Matsushita bbcb3e0620 Sysinstall cleanups for installation:
1) Use devfs to mount filesystems.  If mounting devfs is fail,
           fallback to old code.
        2) When fscking filesystems, use 'fsck_ffs' explicitly.  As a
           result, we no longer need 'fsck' the wrapper program.

Reviewed by:	jkh
2001-12-02 04:47:46 +00:00
Chris D. Faulhaber 8a2d4f5134 o Update copyright.
o Updates content to reflect the changes to acl.h for
  internal/external acl_t representations.

Approved by:	rwatson
Obtained from:	TrustedBSD Project
2001-12-02 04:27:13 +00:00
Scott Long b3457b5173 Add functionality and fix bugs so the driver will work with soon-to-be
released management apps.

1.  Implement poll().  This will check for queued aif's so that a
    subsequent ioctl call to retrieve the next aif will not block.
2.  Don't catch signals when sleeping on a fib sent from userland.  This
    causes a race and panic due to the pthread context switcher waking
    up the tsleep at inopportune times.
3.  Fix some whitespace nits.

MFC after:	3 days
2001-12-02 03:47:33 +00:00
Alfred Perlstein 2164257702 Add manpages describing various vfs and vm APIs.
Submitted by: Chad David <davidc@acns.ab.ca>
2001-12-02 02:13:35 +00:00
Chris D. Faulhaber d0b8d0fdfc Use calloc(3) instead of rolling our own. 2001-12-02 01:52:34 +00:00
Mark Murray a9648779a5 Sort includes. 2001-12-02 00:06:22 +00:00
Mark Murray d2f6cd8fd5 Style fixups.
Sort function declarations, includes. Make consistent WRT use of _P()
macro (ugh!)

Inspired by:	bde
2001-12-01 21:12:04 +00:00
Bruce Evans 42f9157b63 Work around world breakage in previous commit. The bug is in
<security/pam_misc.h>.  It declares a function parameter named 'send',
so nothing that includes both <unistd.h> (which declares send(2)) and
<security/pam_misc.h> be compiled with WARNS=2 unless NO_WERRROR is
set.

Fixed order of WARNS.
2001-12-01 19:48:59 +00:00
Mark Murray 0a4814ee9a Fix namespace pollution by protecting names used as arguments.
Reported by:	bde
2001-12-01 19:32:18 +00:00
Mark Murray 5a12e441eb Protect names that are used elsewhere. This fixes WARNS=2 breakage
in crypto telnet.
2001-12-01 18:48:36 +00:00
Mark Murray e317b97026 WARNS=2 fixes.
Reviewed by:	bde (a while back)
2001-12-01 17:46:46 +00:00
Mark Murray 4b0ef38df3 Remove the 'irq' string from the irqN part of the "interrupts" display.
This allows us to see the irq number when device names ate too long.
2001-12-01 17:41:37 +00:00
Mark Murray f906e265a6 WARNS=2 and s/register//.
Set NO_WERROR=true because there are some flex(1) issues that need
to be dealt with.
2001-12-01 17:34:42 +00:00
David E. O'Brien ec0f8380d3 Use tabs where possible. 2001-12-01 17:14:34 +00:00
Ruslan Ermilov 04d59553b2 Allow for ip_output() to be called with a NULL route pointer.
This fixes a panic I introduced yesterday in ip_icmp.c,v 1.64.
2001-12-01 13:48:16 +00:00
Makoto Matsushita 5d74fa2432 Forget to remove kget.c, since kget feature is already gone. 2001-12-01 13:15:40 +00:00