]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoMore kernel vfs docco.
alfred [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
green [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
markm [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().
markm [Mon, 3 Dec 2001 00:07:59 +0000 (00:07 +0000)]
Use __FBSDID().

22 years agoStyle fixes.
markm [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().
markm [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().
markm [Sun, 2 Dec 2001 23:52:47 +0000 (23:52 +0000)]
Use __FBSDID().

22 years agoFix typos getpeerid -> getpeereid.
tobez [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.
markm [Sun, 2 Dec 2001 23:44:42 +0000 (23:44 +0000)]
Style stuff.
Sort includes.
Remove 'register'
Use __FBSDID().

22 years agoWARNS=2 fixup.
markm [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().
markm [Sun, 2 Dec 2001 23:34:16 +0000 (23:34 +0000)]
Use __FBSDID().

22 years agoTurn on WARNS=2.
markm [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.
markm [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
markm [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.
markm [Sun, 2 Dec 2001 23:09:09 +0000 (23:09 +0000)]
Turn on WARNS=2. this compiles cleanly.

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

Use __FBSDID().

22 years agoUse __FBSDID().
markm [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)
markm [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().
markm [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
markm [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().
markm [Sun, 2 Dec 2001 20:45:24 +0000 (20:45 +0000)]
Use __FBSDID().

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

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

22 years agoWARNS=2 fix, remove 'register' and use __FBSDID().
markm [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
jedgar [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 [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())
jedgar [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
rwatson [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
rwatson [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:
rwatson [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.
markm [Sun, 2 Dec 2001 13:55:09 +0000 (13:55 +0000)]
WARNS=2 fixup.

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

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

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

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

22 years agoWARNS=2 fixup.
markm [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 [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.
markm [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
ache [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.
markm [Sun, 2 Dec 2001 12:26:18 +0000 (12:26 +0000)]
WARNS=2 fixup.

22 years agoStyle. Use __P() macro (Yuk!).
markm [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 :(
sos [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.
sos [Sun, 2 Dec 2001 12:17:51 +0000 (12:17 +0000)]
Oops, lost a line in the previous commit.

22 years agoWARNS=2 fixup.
markm [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.
markm [Sun, 2 Dec 2001 12:09:41 +0000 (12:09 +0000)]
WARNS=2 fixups.

22 years agoAdded OpenBSD 3.0.
wosch [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.
wosch [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 [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
sos [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.
ache [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.
bp [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.
bp [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
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
bp [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.
pdeuskar [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
pdeuskar [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.
msmith [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.
msmith [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,
matusita [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:
matusita [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.
jedgar [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
scottl [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 [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.
jedgar [Sun, 2 Dec 2001 01:52:34 +0000 (01:52 +0000)]
Use calloc(3) instead of rolling our own.

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

22 years agoStyle fixups.
markm [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
bde [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.
markm [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
markm [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.
markm [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.
markm [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//.
markm [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.
obrien [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.
ru [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.
matusita [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.
matusita [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)
sheldonh [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
sheldonh [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).
jkoshy [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 [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 [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 [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.
markm [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
markm [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
markm [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.
markm [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.

22 years agoo Update sysctl.8 to reflect renaming of various security-related
rwatson [Fri, 30 Nov 2001 21:55:22 +0000 (21:55 +0000)]
o Update sysctl.8 to reflect renaming of various security-related
  sysctls, and to introduce new ones.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

22 years agoInvoke the new 'unifdef:' target, and make this lib a complete subset
markm [Fri, 30 Nov 2001 21:55:10 +0000 (21:55 +0000)]
Invoke the new 'unifdef:' target, and make this lib a complete subset
of the crypto (master) code.

22 years agoo Introduce kern.security.bsd.unprivileged_read_msgbuf, which allows
rwatson [Fri, 30 Nov 2001 21:40:52 +0000 (21:40 +0000)]
o Introduce kern.security.bsd.unprivileged_read_msgbuf, which allows
  the administrator to restrict access to the kernel message buffer.
  It defaults to '1', which permits access, but if set to '0', requires
  that the process making the sysctl() have appropriate privilege.
o Note that for this to be effective, access to this data via system
  logs derived from /dev/klog must also be limited.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

22 years agoNew release note: send-pr(1) -a (+ MFC).
bmah [Fri, 30 Nov 2001 21:37:25 +0000 (21:37 +0000)]
New release note:  send-pr(1) -a (+ MFC).

MFC noted:  Increased TCP sndspace/rcvspace defaults.

22 years agoDiff-reduce WRT src/secure/*telnet*/Makefile.
markm [Fri, 30 Nov 2001 21:34:51 +0000 (21:34 +0000)]
Diff-reduce WRT src/secure/*telnet*/Makefile.

Also, add an "unifdef:" target, so that the telnet sources can
be remade from the crypto sources in src/crypto/telnet.

22 years agoThe transmit burst limit for newreno completely breaks TCP's performance
dillon [Fri, 30 Nov 2001 21:33:39 +0000 (21:33 +0000)]
The transmit burst limit for newreno completely breaks TCP's performance
if the receive side is using delayed acks.  Temporarily remove it.

MFC after: 0 days

22 years agoo Further sysctl name simplification, generally stripping 'permitted',
rwatson [Fri, 30 Nov 2001 21:33:16 +0000 (21:33 +0000)]
o Further sysctl name simplification, generally stripping 'permitted',
  using '_'s more consistently.

Discussed with: bde, jhb
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

22 years agoStyle clean-up, and diff-reduce WRT src/secure/*telnet*/Makefile
markm [Fri, 30 Nov 2001 21:14:44 +0000 (21:14 +0000)]
Style clean-up, and diff-reduce WRT src/secure/*telnet*/Makefile

Lost in this commit - KerberosIV compatability. This will be
re-added later.

22 years agoStyle clean-up, and diff-reduce WRT src/secure/*/telnet/Makefile
markm [Fri, 30 Nov 2001 21:12:31 +0000 (21:12 +0000)]
Style clean-up, and diff-reduce WRT src/secure/*/telnet/Makefile

22 years agoClean up makefiles, and turn on WARNS=2. Take into account the telnet
markm [Fri, 30 Nov 2001 21:10:58 +0000 (21:10 +0000)]
Clean up makefiles, and turn on WARNS=2. Take into account the telnet
#if cleanup.

22 years agoForced commit.
markm [Fri, 30 Nov 2001 21:09:11 +0000 (21:09 +0000)]
Forced commit.

This file was taken from the Heimdal implementation of Kerberos 5, done
by KTH.

22 years agoVery large style makeover.
markm [Fri, 30 Nov 2001 21:06:38 +0000 (21:06 +0000)]
Very large style makeover.

1) ANSIfy.
2) Clean up ifdefs so that
   a) ones that never/always apply are appropriately either
      fully removed, or just the #if junk is removed.
   b) change #if defined(FOO) for appropiate values of FOO.
      (currently AUTHENTICATION and ENCRYPTION)
3) WARNS=2 fixing
4) GC other unused stuff

This code can now be unifdef(1)ed to make non-crypto telnet.

22 years agoo Move current inhabitants of kern.security to kern.security.bsd, so
rwatson [Fri, 30 Nov 2001 20:58:31 +0000 (20:58 +0000)]
o Move current inhabitants of kern.security to kern.security.bsd, so
  that new models can inhabit kern.security.<modelname>.
o While I'm there, shorten somewhat excessive variable names, and clean
  things up a little.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

22 years agoo Improve consistency of style by fixing tabs around _PATH_AUTHCONF.
rwatson [Fri, 30 Nov 2001 16:25:09 +0000 (16:25 +0000)]
o Improve consistency of style by fixing tabs around _PATH_AUTHCONF.