]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoMerge from master (crypto) telnet. WARNS fixes for alpha.
Mark Murray [Mon, 3 Dec 2001 12:41:19 +0000 (12:41 +0000)]
Merge from master (crypto) telnet. WARNS fixes for alpha.

22 years agoMore help for alpha WARNS=2. This code is, erm, unusual. Anyone who
Mark Murray [Mon, 3 Dec 2001 12:16:40 +0000 (12:16 +0000)]
More help for alpha WARNS=2. This code is, erm, unusual. Anyone who
feels like rewriting it will meet no objection from me.

22 years agohelp the alphas out with the WARNS=2 stuff.
Mark Murray [Mon, 3 Dec 2001 12:13:18 +0000 (12:13 +0000)]
help the alphas out with the WARNS=2 stuff.

22 years agoRemove unused filed.
Daniel C. Sobral [Mon, 3 Dec 2001 12:07:05 +0000 (12:07 +0000)]
Remove unused filed.

PR: kern/32395
Submitted by: Jonathan Mini <mini@haikugeek.com>

22 years agoReapply rev 1.37 (hide the __attribute__ gcc keyword) into RELENG_4 even
David E. O'Brien [Mon, 3 Dec 2001 11:29:01 +0000 (11:29 +0000)]
Reapply rev 1.37 (hide the __attribute__ gcc keyword) into RELENG_4 even
though it was backed out.
With out this change the TenDRA compiler is not bootstrapable.

22 years agoThe named.conf file should refer to named.conf(5) in addition to
Crist J. Clark [Mon, 3 Dec 2001 08:05:52 +0000 (08:05 +0000)]
The named.conf file should refer to named.conf(5) in addition to
named(8) in the comments.

PR: 32459
Submitted by: "Gary W. Swearingen" <swear@blarg.net>
MFC after: 2 days

22 years agoFix typo.
Murray Stokely [Mon, 3 Dec 2001 06:00:24 +0000 (06:00 +0000)]
Fix typo.

PR: 32455
Submitted by: "Gary W. Swearingen" <swear@blarg.net>

22 years agoMove the code merging ACL_USER and ACL_GROUP objects from under
Chris D. Faulhaber [Mon, 3 Dec 2001 02:24:24 +0000 (02:24 +0000)]
Move the code merging ACL_USER and ACL_GROUP objects from under
two nested while loops into a separate function.

Obtained from:  TrustedBSD Project

22 years agoAdd defines for access and default ACLs (ACCESS_ACL/DEFAULT_ACL)
Chris D. Faulhaber [Mon, 3 Dec 2001 01:20:52 +0000 (01:20 +0000)]
Add defines for access and default ACLs (ACCESS_ACL/DEFAULT_ACL)
to enhance readability.

Obtained from: TrustedBSD Project

22 years agoUse __FBSDID().
Mark Murray [Mon, 3 Dec 2001 01:15:28 +0000 (01:15 +0000)]
Use __FBSDID().

22 years agoReorder Makefile for style.
Mark Murray [Mon, 3 Dec 2001 01:09:17 +0000 (01:09 +0000)]
Reorder Makefile for style.

22 years agoDo not pass user-defined environmental variables to /usr/bin/login.
Jacques Vidrine [Mon, 3 Dec 2001 00:51:47 +0000 (00:51 +0000)]
Do not pass user-defined environmental variables to /usr/bin/login.

Obtained from: OpenBSD
Approved by: green

22 years agostyle(9) cleanups mostly consisting of:
Chris D. Faulhaber [Mon, 3 Dec 2001 00:51:36 +0000 (00:51 +0000)]
style(9) cleanups mostly consisting of:
o explicitly check return values and variables against a value
o return x; -> return (x);
o fix inconsistent sysexits usage by nuking it (partially
  suggested by bde)

Obtained from: TrustedBSD Project

22 years agoCorrect example to remove *all* extended ACL entries and
Chris D. Faulhaber [Mon, 3 Dec 2001 00:27:15 +0000 (00:27 +0000)]
Correct example to remove *all* extended ACL entries and
clarify description.

22 years agoMore kernel vfs docco.
Alfred Perlstein [Mon, 3 Dec 2001 00:25:04 +0000 (00:25 +0000)]
More kernel vfs docco.

Xref vfs_mount(9) from vfs_mount(9)

Submitted by: Chad David <davidc@acns.ab.ca>
PR: docs/32431

22 years agoSplit out NAI Labs license and BSD license to prevent the accidental
Brian Feldman [Mon, 3 Dec 2001 00:21:18 +0000 (00:21 +0000)]
Split out NAI Labs license and BSD license to prevent the accidental
violation of either.

22 years agoWARNS=2 and -Wall are not both needed. (The second is a subset of the
Mark Murray [Mon, 3 Dec 2001 00:16:52 +0000 (00:16 +0000)]
WARNS=2 and -Wall are not both needed. (The second is a subset of the
first)

22 years agoUse __FBSDID().
Mark Murray [Mon, 3 Dec 2001 00:07:59 +0000 (00:07 +0000)]
Use __FBSDID().

22 years agoStyle fixes.
Mark Murray [Mon, 3 Dec 2001 00:00:22 +0000 (00:00 +0000)]
Style fixes.
Use __FBSDID().
Be consistent WRT ANSI use.

OK'ed by: obrien

22 years agoUse __FBSDID().
Mark Murray [Sun, 2 Dec 2001 23:58:38 +0000 (23:58 +0000)]
Use __FBSDID().
Use a better choice than size_t for vertain variables.
Fix some comment alignment.

22 years agoUse __FBSDID().
Mark Murray [Sun, 2 Dec 2001 23:52:47 +0000 (23:52 +0000)]
Use __FBSDID().

22 years agoFix typos getpeerid -> getpeereid.
Anton Berezin [Sun, 2 Dec 2001 23:50:40 +0000 (23:50 +0000)]
Fix typos getpeerid -> getpeereid.

PR: docs/32442
Reviewed by: dd

22 years agoStyle stuff.
Mark Murray [Sun, 2 Dec 2001 23:44:42 +0000 (23:44 +0000)]
Style stuff.
Sort includes.
Remove 'register'
Use __FBSDID().

22 years agoWARNS=2 fixup.
Mark Murray [Sun, 2 Dec 2001 23:40:46 +0000 (23:40 +0000)]
WARNS=2 fixup.
Use __FBSDID().
Set NO_WERROR because this would rely on some lex(1) fixes that
cannot be committed yet.

22 years agoUse __FBSDID().
Mark Murray [Sun, 2 Dec 2001 23:34:16 +0000 (23:34 +0000)]
Use __FBSDID().

22 years agoTurn on WARNS=2.
Mark Murray [Sun, 2 Dec 2001 23:29:26 +0000 (23:29 +0000)]
Turn on WARNS=2.
Use __FBSDID().

22 years agoWARNS=2 fixes. Also, use __FBSDID(), and sort includes.
Mark Murray [Sun, 2 Dec 2001 23:12:33 +0000 (23:12 +0000)]
WARNS=2 fixes. Also, use __FBSDID(), and sort includes.

22 years agoProtect "make world", as I am doing some (potentially) dangerous
Mark Murray [Sun, 2 Dec 2001 23:10:57 +0000 (23:10 +0000)]
Protect "make world", as I am doing some (potentially) dangerous
WARNS=2 fixes.

Add a commented out WARNS=2 to indicate future intentions.

22 years agoTurn on WARNS=2. this compiles cleanly.
Mark Murray [Sun, 2 Dec 2001 23:09:09 +0000 (23:09 +0000)]
Turn on WARNS=2. this compiles cleanly.

22 years agoSlight makefile style.
Mark Murray [Sun, 2 Dec 2001 23:04:14 +0000 (23:04 +0000)]
Slight makefile style.

Use __FBSDID().

22 years agoUse __FBSDID().
Mark Murray [Sun, 2 Dec 2001 22:46:47 +0000 (22:46 +0000)]
Use __FBSDID().

22 years agoWARNS=2 fixup (mostly. Some are Hard To Fix(tm), so NO_WERROR is set)
Mark Murray [Sun, 2 Dec 2001 22:44:14 +0000 (22:44 +0000)]
WARNS=2 fixup (mostly. Some are Hard To Fix(tm), so NO_WERROR is set)
Use __FBSDID().
Sort some headers.

22 years agoUse __FBSDID().
Mark Murray [Sun, 2 Dec 2001 21:24:03 +0000 (21:24 +0000)]
Use __FBSDID().

22 years agoUse __FBSDID(). Also do a bit of cosmetic #if and header-order
Mark Murray [Sun, 2 Dec 2001 20:54:57 +0000 (20:54 +0000)]
Use __FBSDID(). Also do a bit of cosmetic #if and header-order
cleaning-up.

22 years agoUse __FBSDID().
Mark Murray [Sun, 2 Dec 2001 20:45:24 +0000 (20:45 +0000)]
Use __FBSDID().

22 years agoUse __FBSDID().
Mark Murray [Sun, 2 Dec 2001 20:40:22 +0000 (20:40 +0000)]
Use __FBSDID().

22 years agoUse __FBSDID()
Mark Murray [Sun, 2 Dec 2001 20:23:02 +0000 (20:23 +0000)]
Use __FBSDID()

22 years agoWARNS=2 fix, remove 'register' and use __FBSDID().
Mark Murray [Sun, 2 Dec 2001 20:13:42 +0000 (20:13 +0000)]
WARNS=2 fix, remove 'register' and use __FBSDID().

22 years agoo Expand the explaination of the -b option WRT the resulting
Chris D. Faulhaber [Sun, 2 Dec 2001 18:46:33 +0000 (18:46 +0000)]
o Expand the explaination of the -b option WRT the resulting
  group ACL entry in relation to the existing group and mask
  ACL entries.
o Move the explanation of multiple ACL entries on the command
  line to the ACL ENTRIES section.

Obtained from: TrustedBSD Project

22 years agoUse the merged strtod.c everywhere. This has been tested on alpha and
Peter Wemm [Sun, 2 Dec 2001 18:27:40 +0000 (18:27 +0000)]
Use the merged strtod.c everywhere.  This has been tested on alpha and
ia64.

22 years agoo Correct error message forgotten in the last commit (malloc() -> calloc())
Chris D. Faulhaber [Sun, 2 Dec 2001 18:15:53 +0000 (18:15 +0000)]
o Correct error message forgotten in the last commit (malloc() -> calloc())
o Fix style nits

Submitted by: bde

22 years agoo Uniformly copy uap arguments into local variables before grabbing
Robert Watson [Sun, 2 Dec 2001 15:22:56 +0000 (15:22 +0000)]
o Uniformly copy uap arguments into local variables before grabbing
  giant, and make whitespace more consistent around giant-frobbing.

22 years agoo Remove KSE race in setuid() in which oldcred was preserved before giant
Robert Watson [Sun, 2 Dec 2001 15:15:29 +0000 (15:15 +0000)]
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.

22 years agoo General style, formatting, etc, improvements:
Robert Watson [Sun, 2 Dec 2001 15:07:10 +0000 (15:07 +0000)]
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

22 years agoWARNS=2 fixup.
Mark Murray [Sun, 2 Dec 2001 13:55:09 +0000 (13:55 +0000)]
WARNS=2 fixup.

22 years agoWARNS=2 fixup
Mark Murray [Sun, 2 Dec 2001 13:48:40 +0000 (13:48 +0000)]
WARNS=2 fixup

22 years agoWARNS=2 fixup.
Mark Murray [Sun, 2 Dec 2001 13:36:14 +0000 (13:36 +0000)]
WARNS=2 fixup.

22 years agoWARNS=2 fix and 'register' removal.
Mark Murray [Sun, 2 Dec 2001 13:31:22 +0000 (13:31 +0000)]
WARNS=2 fix and 'register' removal.

22 years agoWARNS=2 fixup.
Mark Murray [Sun, 2 Dec 2001 13:18:59 +0000 (13:18 +0000)]
WARNS=2 fixup.

22 years agoWARNS=2 fixup.
Mark Murray [Sun, 2 Dec 2001 12:54:40 +0000 (12:54 +0000)]
WARNS=2 fixup.
kill 'register' keyword.

22 years agomake LOCKF_DEBUG kernel option work (sorta)
Alfred Perlstein [Sun, 2 Dec 2001 12:47:25 +0000 (12:47 +0000)]
make LOCKF_DEBUG kernel option work (sorta)

Submitted by: Maxim Konovalov <maxim@macomnet.ru>
PR: kern/32267

22 years agoWARNS=2 fixup.
Mark Murray [Sun, 2 Dec 2001 12:36:35 +0000 (12:36 +0000)]
WARNS=2 fixup.

22 years agoRemove specific reference to ASCII space (' '), it is true for localized
Andrey A. Chernov [Sun, 2 Dec 2001 12:31:44 +0000 (12:31 +0000)]
Remove specific reference to ASCII space (' '), it is true for localized
spaces too

22 years agoWARNS=2 fixup.
Mark Murray [Sun, 2 Dec 2001 12:26:18 +0000 (12:26 +0000)]
WARNS=2 fixup.

22 years agoStyle. Use __P() macro (Yuk!).
Mark Murray [Sun, 2 Dec 2001 12:19:26 +0000 (12:19 +0000)]
Style. Use __P() macro (Yuk!).

22 years agoARG! committed the wrong patch!! I need more sleep :(
Søren Schmidt [Sun, 2 Dec 2001 12:19:16 +0000 (12:19 +0000)]
ARG! committed the wrong patch!! I need more sleep :(

22 years agoOops, lost a line in the previous commit.
Søren Schmidt [Sun, 2 Dec 2001 12:17:51 +0000 (12:17 +0000)]
Oops, lost a line in the previous commit.

22 years agoWARNS=2 fixup.
Mark Murray [Sun, 2 Dec 2001 12:17:20 +0000 (12:17 +0000)]
WARNS=2 fixup.

Turn on YP (NIS) while I'm about it.

22 years agoWARNS=2 fixups.
Mark Murray [Sun, 2 Dec 2001 12:09:41 +0000 (12:09 +0000)]
WARNS=2 fixups.

22 years agoAdded OpenBSD 3.0.
Wolfram Schneider [Sun, 2 Dec 2001 11:19:24 +0000 (11:19 +0000)]
Added OpenBSD 3.0.

22 years agoNetBSD 1.4 branch and NetBSD 1.5 branch are still alive.
Wolfram Schneider [Sun, 2 Dec 2001 11:16:30 +0000 (11:16 +0000)]
NetBSD 1.4 branch and NetBSD 1.5 branch are still alive.

Submitted by: jhawk@netbsd.org, itojun@iijlab.net

22 years agoprototype functions and fix some line wrapping
Alfred Perlstein [Sun, 2 Dec 2001 11:10:46 +0000 (11:10 +0000)]
prototype functions and fix some line wrapping

22 years agoInitial support for the newer SiS chipsets, based on docs we finally
Søren Schmidt [Sun, 2 Dec 2001 10:48:52 +0000 (10:48 +0000)]
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...

22 years agoMake it works for non ASCII compatible encodings too.
Andrey A. Chernov [Sun, 2 Dec 2001 09:15:54 +0000 (09:15 +0000)]
Make it works for non ASCII compatible encodings too.
The only assumption left is that 'A'..'Z' 'a'..'z' both are contiguous

22 years agoEnable build of smbfs. It works now as before on both UP and MP machines.
Boris Popov [Sun, 2 Dec 2001 09:01:35 +0000 (09:01 +0000)]
Enable build of smbfs. It works now as before on both UP and MP machines.

22 years agoCatch up with KSE changes.
Boris Popov [Sun, 2 Dec 2001 08:56:58 +0000 (08:56 +0000)]
Catch up with KSE changes.

Submitted by: Max Khon <fjoe@iclub.nsu.ru>

22 years agoFix a bug with transmitter restart after receiving a 0 window. The
Matthew Dillon [Sun, 2 Dec 2001 08:49:29 +0000 (08:49 +0000)]
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

22 years agoPull netsmb requester from the pre-KSE world. This update mostly based
Boris Popov [Sun, 2 Dec 2001 08:47:29 +0000 (08:47 +0000)]
Pull netsmb requester from the pre-KSE world. This update mostly based
on the patches submitted by Max Khon <fjoe@iclub.nsu.ru>

22 years agoAdding man page for the em driver.
Prafulla Deuskar [Sun, 2 Dec 2001 07:45:22 +0000 (07:45 +0000)]
Adding man page for the em driver.

Submitted by:Prafulla Deuskar
Reviewed by:Paul Saab
MFC after:1 week

22 years agoThis is the first commit of the Intel gigabit driver for
Prafulla Deuskar [Sun, 2 Dec 2001 07:37:17 +0000 (07:37 +0000)]
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

22 years agoRe-enable the ciss driver, now that it should be building again.
Mike Smith [Sun, 2 Dec 2001 06:19:15 +0000 (06:19 +0000)]
Re-enable the ciss driver, now that it should be building again.

22 years agoCatch up with the proc -> d_thread_t change.
Mike Smith [Sun, 2 Dec 2001 06:17:16 +0000 (06:17 +0000)]
Catch up with the proc -> d_thread_t change.

22 years agoForget to remove fsck from src/release/{alpha,pc98}/boot_crunch.conf,
Makoto Matsushita [Sun, 2 Dec 2001 04:58:40 +0000 (04:58 +0000)]
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)

22 years agoSysinstall cleanups for installation:
Makoto Matsushita [Sun, 2 Dec 2001 04:47:46 +0000 (04:47 +0000)]
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

22 years agoo Update copyright.
Chris D. Faulhaber [Sun, 2 Dec 2001 04:27:13 +0000 (04:27 +0000)]
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

22 years agoAdd functionality and fix bugs so the driver will work with soon-to-be
Scott Long [Sun, 2 Dec 2001 03:47:33 +0000 (03:47 +0000)]
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

22 years agoAdd manpages describing various vfs and vm APIs.
Alfred Perlstein [Sun, 2 Dec 2001 02:13:35 +0000 (02:13 +0000)]
Add manpages describing various vfs and vm APIs.

Submitted by: Chad David <davidc@acns.ab.ca>

22 years agoUse calloc(3) instead of rolling our own.
Chris D. Faulhaber [Sun, 2 Dec 2001 01:52:34 +0000 (01:52 +0000)]
Use calloc(3) instead of rolling our own.

22 years agoSort includes.
Mark Murray [Sun, 2 Dec 2001 00:06:22 +0000 (00:06 +0000)]
Sort includes.

22 years agoStyle fixups.
Mark Murray [Sat, 1 Dec 2001 21:12:04 +0000 (21:12 +0000)]
Style fixups.

Sort function declarations, includes. Make consistent WRT use of _P()
macro (ugh!)

Inspired by: bde

22 years agoWork around world breakage in previous commit. The bug is in
Bruce Evans [Sat, 1 Dec 2001 19:48:59 +0000 (19:48 +0000)]
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.

22 years agoFix namespace pollution by protecting names used as arguments.
Mark Murray [Sat, 1 Dec 2001 19:32:18 +0000 (19:32 +0000)]
Fix namespace pollution by protecting names used as arguments.

Reported by: bde

22 years agoProtect names that are used elsewhere. This fixes WARNS=2 breakage
Mark Murray [Sat, 1 Dec 2001 18:48:36 +0000 (18:48 +0000)]
Protect names that are used elsewhere. This fixes WARNS=2 breakage
in crypto telnet.

22 years agoWARNS=2 fixes.
Mark Murray [Sat, 1 Dec 2001 17:46:46 +0000 (17:46 +0000)]
WARNS=2 fixes.

Reviewed by: bde (a while back)

22 years agoRemove the 'irq' string from the irqN part of the "interrupts" display.
Mark Murray [Sat, 1 Dec 2001 17:41:37 +0000 (17:41 +0000)]
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.

22 years agoWARNS=2 and s/register//.
Mark Murray [Sat, 1 Dec 2001 17:34:42 +0000 (17:34 +0000)]
WARNS=2 and s/register//.

Set NO_WERROR=true because there are some flex(1) issues that need
to be dealt with.

22 years agoUse tabs where possible.
David E. O'Brien [Sat, 1 Dec 2001 17:14:34 +0000 (17:14 +0000)]
Use tabs where possible.

22 years agoAllow for ip_output() to be called with a NULL route pointer.
Ruslan Ermilov [Sat, 1 Dec 2001 13:48:16 +0000 (13:48 +0000)]
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.

22 years agoForget to remove kget.c, since kget feature is already gone.
Makoto Matsushita [Sat, 1 Dec 2001 13:15:40 +0000 (13:15 +0000)]
Forget to remove kget.c, since kget feature is already gone.

22 years agoRemove kget() feature, which is removed from 5-current kernel.
Makoto Matsushita [Sat, 1 Dec 2001 13:13:27 +0000 (13:13 +0000)]
Remove kget() feature, which is removed from 5-current kernel.

Since userconfig feature is implemented by tweaking variables (hint.*)
with loader(8), we can put back an equivalent feature.  Maybe the first
step for this is to commit yokota-san's patch (add userconfig command
for loader).

Approved by: jkh

22 years ago(null commit)
Sheldon Hearn [Sat, 1 Dec 2001 13:13:21 +0000 (13:13 +0000)]
(null commit)

The log for the previous revision misattributed the Hart list to
Heckenbach.  Craig Hart doesn't know where I got the name Heckenbach
from. :-)

22 years agoCorrect misattribution of the Hart list, which I had mistakenly
Sheldon Hearn [Sat, 1 Dec 2001 13:08:20 +0000 (13:08 +0000)]
Correct misattribution of the Hart list, which I had mistakenly
attributed to Heckenbach.

22 years agoAdd support for sysconf(_SC_NPROCESSORS_CONF) and sysconf(_SC_NPROCESSORS_ONLN).
Joseph Koshy [Sat, 1 Dec 2001 12:07:42 +0000 (12:07 +0000)]
Add support for sysconf(_SC_NPROCESSORS_CONF) and sysconf(_SC_NPROCESSORS_ONLN).
This API is supported in SVR4.0MP, Solaris, Linux, AIX and Tru64 Unix.

PR: bin/27489
Submitted by: Arun Sharma <arun@sharma-home.net>
Reviewed by: bde (prior version)

22 years agoAdd a missing underscore.
Mike Barcroft [Sat, 1 Dec 2001 03:48:15 +0000 (03:48 +0000)]
Add a missing underscore.

Submitted by: fenner

22 years agoo Stop abusing MD headers with non-MD types.
Mike Barcroft [Sat, 1 Dec 2001 03:43:01 +0000 (03:43 +0000)]
o Stop abusing MD headers with non-MD types.
o Hide nonstandard functions and types in <netinet/in.h> when
  _POSIX_SOURCE is defined.
o Add some missing types (required by POSIX.1-200x) to <netinet/in.h>.
o Restore vendor ID from Rev 1.1 in <netinet/in.h> and make use of new
  __FBSDID() macro.
o Fix some miscellaneous issues in <arpa/inet.h>.
o Correct final argument for the inet_ntop() function (POSIX.1-200x).
o Get rid of the namespace pollution from <sys/types.h> in
  <arpa/inet.h>.

Reviewed by: fenner
Partially submitted by: bde

22 years agovm/vm_kern.c: rate limit (to once per second) diagnostic printf when
Luigi Rizzo [Sat, 1 Dec 2001 00:21:30 +0000 (00:21 +0000)]
vm/vm_kern.c: rate limit (to once per second) diagnostic printf when
you run out of mbuf address space.

kern/subr_mbuf.c: print a warning message when mb_alloc fails, again
rate-limited to at most once per second. This covers other
cases of mbuf allocation failures. Probably it also overlaps the
one handled in vm/vm_kern.c, so maybe the latter should go away.

This warning will let us gradually remove the printf that are scattered
across most network drivers to report mbuf allocation failures.
Those are potentially dangerous, in that they are not rate-limited and
can easily cause systems to panic.

Unless there is disagreement (which does not seem to be the case
judging from the discussion on -net so far), and because this is
sort of a safety bugfix, I plan to commit a similar change to STABLE
during the weekend (it affects kern/uipc_mbuf.c there).

Discussed-with: jlemon, silby and -net

22 years agoMerge the (in)complete ANSIfication work from src/crypto/telnet.
Mark Murray [Fri, 30 Nov 2001 22:37:28 +0000 (22:37 +0000)]
Merge the (in)complete ANSIfication work from src/crypto/telnet.

22 years agoDamn. The previous mega-commit was incomplete WRT ANSIfication. This
Mark Murray [Fri, 30 Nov 2001 22:28:07 +0000 (22:28 +0000)]
Damn. The previous mega-commit was incomplete WRT ANSIfication. This
fixes that.

22 years agoAfter running "make unifdef", commit the result. This code is now
Mark Murray [Fri, 30 Nov 2001 22:09:10 +0000 (22:09 +0000)]
After running "make unifdef", commit the result. This code is now
a complete subset of the crypto (master) code.

22 years agoAfter running a "make unifdef", commit the resultant diffs.
Mark Murray [Fri, 30 Nov 2001 22:03:20 +0000 (22:03 +0000)]
After running a "make unifdef", commit the resultant diffs.

This code is now a complete sunset of the crypto (master) code.