]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoo NetBSD rev. 1.60
Mike Makonnen [Thu, 26 Feb 2004 12:43:43 +0000 (12:43 +0000)]
o NetBSD rev. 1.60
  Add "*,v" to the list of scratch files to skip.
  Suggested by Johnny Lam / Alistair Crooks

o Update NetBSD rcsid

Obtained From: NetBSD

20 years agoNetBSD rev. 1.57
Mike Makonnen [Thu, 26 Feb 2004 12:35:58 +0000 (12:35 +0000)]
NetBSD rev. 1.57
  run_rc_command(): when checking if ${command} exists before executing it,
  be sure to check under ${name_chroot} (if set).
  Fix from Ed Ravin in [bin/18523]

Obtained From: NetBSD

20 years agoNetBSD rev. 1.56
Mike Makonnen [Thu, 26 Feb 2004 12:30:38 +0000 (12:30 +0000)]
NetBSD rev. 1.56
  Use more concise shell syntax:
  1. for i in $* -> for i
  2. foo=$* -> foo="$@"

Obtained From: NetBSD

20 years agoNetBSD rev. 1.53, 1.54 and 1.55:
Mike Makonnen [Thu, 26 Feb 2004 12:19:48 +0000 (12:19 +0000)]
NetBSD rev. 1.53, 1.54 and 1.55:
  Change how internal boolean variables are used to:
if ! ${_somevar:-false}; then
_somevar=true
fi
  (Consisent, slightly quicker, and slightly cleaner)

Obtained from: NetBSD

20 years agoMention the recent sshd configuration changes.
Dag-Erling Smørgrav [Thu, 26 Feb 2004 12:00:41 +0000 (12:00 +0000)]
Mention the recent sshd configuration changes.

20 years agoUpdate VersionAddendum in config files and man pages.
Dag-Erling Smørgrav [Thu, 26 Feb 2004 11:54:03 +0000 (11:54 +0000)]
Update VersionAddendum in config files and man pages.

20 years agoUpdate for 3.8p1, including workaround for a bug in gss-genr.c.
Dag-Erling Smørgrav [Thu, 26 Feb 2004 11:26:46 +0000 (11:26 +0000)]
Update for 3.8p1, including workaround for a bug in gss-genr.c.

20 years agoDefine HAVE_GSSAPI_H.
Dag-Erling Smørgrav [Thu, 26 Feb 2004 11:06:29 +0000 (11:06 +0000)]
Define HAVE_GSSAPI_H.

20 years agoRegenerate.
Dag-Erling Smørgrav [Thu, 26 Feb 2004 10:57:38 +0000 (10:57 +0000)]
Regenerate.

20 years agoDocument recently changed configuration defaults.
Dag-Erling Smørgrav [Thu, 26 Feb 2004 10:57:28 +0000 (10:57 +0000)]
Document recently changed configuration defaults.

20 years agoResolve conflicts.
Dag-Erling Smørgrav [Thu, 26 Feb 2004 10:52:33 +0000 (10:52 +0000)]
Resolve conflicts.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r126274,
Dag-Erling Smørgrav [Thu, 26 Feb 2004 10:38:49 +0000 (10:38 +0000)]
This commit was generated by cvs2svn to compensate for changes in r126274,
which included commits to RCS files with non-trunk default branches.

20 years agoVendor import of OpenSSH 3.8p1.
Dag-Erling Smørgrav [Thu, 26 Feb 2004 10:38:49 +0000 (10:38 +0000)]
Vendor import of OpenSSH 3.8p1.

20 years agoMerge OpenSSH 3.8p1.
Dag-Erling Smørgrav [Thu, 26 Feb 2004 10:38:38 +0000 (10:38 +0000)]
Merge OpenSSH 3.8p1.

20 years agoPrepare for upcoming 3.8p1 import.
Dag-Erling Smørgrav [Thu, 26 Feb 2004 10:37:34 +0000 (10:37 +0000)]
Prepare for upcoming 3.8p1 import.

20 years agoPull asbesthos underpants on and disable protocol version 1 by default.
Dag-Erling Smørgrav [Thu, 26 Feb 2004 10:24:07 +0000 (10:24 +0000)]
Pull asbesthos underpants on and disable protocol version 1 by default.

20 years agoMerge from NetBSD rev. 1.3 (drochner): Use getifaddrs(3) instead of
Tim J. Robbins [Thu, 26 Feb 2004 08:49:19 +0000 (08:49 +0000)]
Merge from NetBSD rev. 1.3 (drochner): Use getifaddrs(3) instead of
SIOCGIFCONF.

20 years agoRremoved bogus -static from CFLAGS. Makeworld will add -static in the
Bruce Evans [Thu, 26 Feb 2004 07:50:56 +0000 (07:50 +0000)]
Rremoved bogus -static from CFLAGS.  Makeworld will add -static in the
correct place if needed and possible.  Self-hosted builds can just use
the system default.

20 years agoBacked out rev.1.6 and subsequent copying of it (bogus addition of
Bruce Evans [Thu, 26 Feb 2004 07:44:37 +0000 (07:44 +0000)]
Backed out rev.1.6 and subsequent copying of it (bogus addition of
-static to CFLAGS).  It just turned rev.1.5 into an obfuscated no-op.
As explained in the log for rev.1.5, testing should be done in the
host environment but there is a problem in cross-compilation environments.
As not explained in the log for rev.1.6, there was apparently a practical
problem with cross-compiling (makeworld should have set -static in
LDFLAGS but apparently didn't).  Cross-compilation was especially
complicated because the relevant programs are test programs that were
run at beforeinstall time -- dynamic libraries might or might not exist
depending on the build options.  The complications became moot in
rev.1.8 when beforeinstall was renamed "test".

20 years agoBacked out the residue of rev.1.13 (bogus addition of -static to CFLAGS).
Bruce Evans [Thu, 26 Feb 2004 07:08:33 +0000 (07:08 +0000)]
Backed out the residue of rev.1.13 (bogus addition of -static to CFLAGS).
Makeworld will add -static in the correct place if needed and possible.
Self-hosted builds can just use the system default.

Fixed some nearby style bugs (code unrelated to its comment, and comment
formatting).

20 years agoBacked out previous commit (bogus addition of -static to CFLAGS).
Bruce Evans [Thu, 26 Feb 2004 06:33:18 +0000 (06:33 +0000)]
Backed out previous commit (bogus addition of -static to CFLAGS).

Sorted macros (in build order).

20 years agoBring eventhandler callbacks for pf.
Max Laier [Thu, 26 Feb 2004 04:27:55 +0000 (04:27 +0000)]
Bring eventhandler callbacks for pf.
This enables pf to track dynamic address changes on interfaces (dailup) with
the "on (<ifname>)"-syntax. This also brings hooks in anticipation of
tracking cloned interfaces, which will be in future versions of pf.

Approved by: bms(mentor)

20 years agoTweak existing header and other build infrastructure to be able to build
Max Laier [Thu, 26 Feb 2004 03:53:54 +0000 (03:53 +0000)]
Tweak existing header and other build infrastructure to be able to build
pf/pflog/pfsync as modules. Do not list them in NOTES or modules/Makefile
(i.e. do not connect it to any (automatic) builds - yet).

Approved by: bms(mentor)

20 years agoMove inet and inet6 related MAC Framework entry points from mac_net.c
Robert Watson [Thu, 26 Feb 2004 03:51:04 +0000 (03:51 +0000)]
Move inet and inet6 related MAC Framework entry points from mac_net.c
to a new mac_inet.c.  This code is now conditionally compiled based
on inet support being compiled into the kernel.

Move socket related MAC Framework entry points from mac_net.c to a new
mac_socket.c.

To do this, some additional _enforce MIB variables are now non-static.
In addition, mbuf_to_label() is now mac_mbuf_to_label() and non-static.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, McAfee Research

20 years agoBring diff from the security/pf port. This has code been tested as a port
Max Laier [Thu, 26 Feb 2004 02:34:12 +0000 (02:34 +0000)]
Bring diff from the security/pf port. This has code been tested as a port
for a long time and is run in production use. This is the code present in
portversion 2.03 with some additional tweaks.

The rather extensive diff accounts for:
 - locking (to enable pf to work with a giant-free netstack)
 - byte order difference between OpenBSD and FreeBSD for ip_len/ip_off
 - conversion from pool(9) to zone(9)
 - api differences etc.

Approved by: bms(mentor) (in general)

20 years agoThis commit was generated by cvs2svn to compensate for changes in r126258,
Max Laier [Thu, 26 Feb 2004 02:04:28 +0000 (02:04 +0000)]
This commit was generated by cvs2svn to compensate for changes in r126258,
which included commits to RCS files with non-trunk default branches.

20 years agoVendor import of OpenBSD's packet filter (pf) as of OpenBSD 3.4
Max Laier [Thu, 26 Feb 2004 02:04:28 +0000 (02:04 +0000)]
Vendor import of OpenBSD's packet filter (pf) as of OpenBSD 3.4

Approved by: bms(mentor), core (in general)

20 years agoTest data before using it.
Eric Melville [Thu, 26 Feb 2004 01:52:39 +0000 (01:52 +0000)]
Test data before using it.

Of course, libdialog is still chock-full of similar bugs, but it's been
multiple years and no one has any better suggestions so the bugs will just
be dealt with case-by-case.

PR: 28221

20 years agoUpdate copyright on mac.9 for 2004. Use "-" for copyright year
Robert Watson [Thu, 26 Feb 2004 01:18:46 +0000 (01:18 +0000)]
Update copyright on mac.9 for 2004.  Use "-" for copyright year
ranges.

Add additional credits for contributions to the MAC Framework.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, McAfee Research

20 years agoAdd a "-l" parameter to mdmfs so that memory file systems can be
Robert Watson [Thu, 26 Feb 2004 01:15:47 +0000 (01:15 +0000)]
Add a "-l" parameter to mdmfs so that memory file systems can be
created with the multilabel flag from inception.  This simply
passes the "-l" flag on to newfs(8).

Obtained from: TrustedBSD Project
Sponsored by: DARPA, McAfee Research

20 years agoAdd a "-l" flag to newfs, which sets the FS_MULTILABEL flag. This
Robert Watson [Thu, 26 Feb 2004 01:14:27 +0000 (01:14 +0000)]
Add a "-l" flag to newfs, which sets the FS_MULTILABEL flag.  This
permits users of newfs to set the multilabel flag on UFS1 and UFS2
file systems from inception without using tunefs.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, McAfee Research

20 years agoSplit the mlock() kernel code into two parts, mlock(), which unpacks
Don Lewis [Thu, 26 Feb 2004 00:27:04 +0000 (00:27 +0000)]
Split the mlock() kernel code into two parts, mlock(), which unpacks
the syscall arguments and does the suser() permission check, and
kern_mlock(), which does the resource limit checking and calls
vm_map_wire().  Split munlock() in a similar way.

Enable the RLIMIT_MEMLOCK checking code in kern_mlock().

Replace calls to vslock() and vsunlock() in the sysctl code with
calls to kern_mlock() and kern_munlock() so that the sysctl code
will obey the wired memory limits.

Nuke the vslock() and vsunlock() implementations, which are no
longer used.

Add a member to struct sysctl_req to track the amount of memory
that is wired to handle the request.

Modify sysctl_wire_old_buffer() to return an error if its call to
kern_mlock() fails.  Only wire the minimum of the length specified
in the sysctl request and the length specified in its argument list.
It is recommended that sysctl handlers that use sysctl_wire_old_buffer()
should specify reasonable estimates for the amount of data they
want to return so that only the minimum amount of memory is wired
no matter what length has been specified by the request.

Modify the callers of sysctl_wire_old_buffer() to look for the
error return.

Modify sysctl_old_user to obey the wired buffer length and clean up
its implementation.

Reviewed by: bms

20 years agoAssert pipe mutex in pipeselwakeup(), as we manipulate pipe_state
Robert Watson [Thu, 26 Feb 2004 00:18:22 +0000 (00:18 +0000)]
Assert pipe mutex in pipeselwakeup(), as we manipulate pipe_state
in a non-atomic manner.  It appears to always be called with the
mutex (good).

20 years agoAdd a note about the routed update breaking compatibility (for MD5
Bruce M Simpson [Wed, 25 Feb 2004 23:56:30 +0000 (23:56 +0000)]
Add a note about the routed update breaking compatibility (for MD5
authentication only) with older versions of FreeBSD's routed.

20 years agoSync HEAD sources to vendor branch import of routed v2.27 from rhyolite.com.
Bruce M Simpson [Wed, 25 Feb 2004 23:45:57 +0000 (23:45 +0000)]
Sync HEAD sources to vendor branch import of routed v2.27 from rhyolite.com.
Update <protocols/routed.h> for the MD5 changes requested in bin/35843.
Preserve local changes.

Education by: obrien, markm, pointy-stick
PR: bin/35843 (and doubtless others)

20 years agoUpdate comment regarding MAC labels: we no longer pass endpoints
Robert Watson [Wed, 25 Feb 2004 23:30:56 +0000 (23:30 +0000)]
Update comment regarding MAC labels: we no longer pass endpoints
into the MAC Framework, just the pipe pair.

GC 'hadpeer' used in pipedestroy(), which is no longer needed as
we check pipe_present flags on the pair.

20 years agoVirgin import of rhyolite.com routed v2.27
Bruce M Simpson [Wed, 25 Feb 2004 23:20:22 +0000 (23:20 +0000)]
Virgin import of rhyolite.com routed v2.27

20 years agoSince we don't use PG_NX yet, don't turn on EFER_NXE quite yet. This needs
Peter Wemm [Wed, 25 Feb 2004 23:12:39 +0000 (23:12 +0000)]
Since we don't use PG_NX yet, don't turn on EFER_NXE quite yet.  This needs
to be done based on the cpuid bits.  AMD says that we should test the cpuid
features bits for certain things, such as this.

20 years agoFix endianes bug
Maksim Yevmenkin [Wed, 25 Feb 2004 22:43:43 +0000 (22:43 +0000)]
Fix endianes bug

20 years agoUse the -H option instead of the deprecated -follow predicate.
Dag-Erling Smørgrav [Wed, 25 Feb 2004 21:45:41 +0000 (21:45 +0000)]
Use the -H option instead of the deprecated -follow predicate.

20 years agoMake the resolver(3) and many associated interfaces much more reentrant.
Brian Feldman [Wed, 25 Feb 2004 21:03:46 +0000 (21:03 +0000)]
Make the resolver(3) and many associated interfaces much more reentrant.
The getaddrinfo(3), getipnodebyname(3) and resolver(3) can coincide now
with what should be totally reentrant, and h_errno values will now
be preserved correctly, but this does not affect interfaces such as
gethostbyname(3) which are still mostly non-reentrant.

In all of these relevant functions, the thread-safety has been pushed
down as far as it seems possible right now.  This means that operations
that are selected via nsdispatch(3) (i.e. files, yp, dns) are protected
still under global locks that getaddrinfo(3) defines, but where possible
the locking is greatly reduced.  The most noticeable improvement is
that multiple DNS lookups can now be run at the same time, and this
shows major improvement in performance of DNS-lookup threaded programs,
and solves the "Mozilla tab serialization" problem.

No single-threaded applications need to be recompiled.  Multi-threaded
applications that reference "_res" to change resolver(3) options will
need to be recompiled, and ones which reference "h_errno" will also
if they desire the correct h_errno values.  If the applications already
understood that _res and h_errno were not thread-safe and had their own
locking, they will see no performance improvement but will not
actually break in any way.

Please note that when NSS modules are used, or when nsdispatch(3)
defaults to adding any lookups of its own to the individual libc
_nsdispatch() calls, those MUST be reentrant as well.

20 years agoAccording to source code, under certain conditions, logging goes to the
Philippe Charnier [Wed, 25 Feb 2004 20:31:00 +0000 (20:31 +0000)]
According to source code, under certain conditions, logging goes to the
"auth" facility not "daemon".
Submitted by: "Bill Richter (7X22KEY)" <richterb@binkley.foothill.net>

20 years agoRe-remove MT_TAGs. The problems with dummynet have been fixed now.
Max Laier [Wed, 25 Feb 2004 19:55:29 +0000 (19:55 +0000)]
Re-remove MT_TAGs. The problems with dummynet have been fixed now.

Tested by: -current, bms(mentor), me
Approved by: bms(mentor), sam

20 years agoRemove freebsd-update -- it breaks the Alpha, sparc64, ia64, and amd64
David E. O'Brien [Wed, 25 Feb 2004 19:05:47 +0000 (19:05 +0000)]
Remove freebsd-update -- it breaks the Alpha, sparc64, ia64, and amd64
release bulds.

20 years agoDo not depend on existence of _end symbol in obj_from_addr, use
Alexander Kabaev [Wed, 25 Feb 2004 17:06:16 +0000 (17:06 +0000)]
Do not depend on existence of _end symbol in obj_from_addr, use
obj->mapbase and obj->mapsize instead.

Prompted by:  OpenOffice debugging session at last BSDCon.

20 years agoAdd FreeBSD 5.2.1
Wolfram Schneider [Wed, 25 Feb 2004 15:58:14 +0000 (15:58 +0000)]
Add FreeBSD 5.2.1

20 years agoUpdate manual page.
Poul-Henning Kamp [Wed, 25 Feb 2004 13:55:56 +0000 (13:55 +0000)]
Update manual page.

Give 8" example for the heck of it.

20 years agoAdd SiI3512.
Christian Brueffer [Wed, 25 Feb 2004 13:48:48 +0000 (13:48 +0000)]
Add SiI3512.

20 years agoMake mode setting with fdcontrol(8) stick.
Poul-Henning Kamp [Wed, 25 Feb 2004 13:44:58 +0000 (13:44 +0000)]
Make mode setting with fdcontrol(8) stick.

Recognize when configured for "auto".

20 years agoRecognize "auto" format.
Poul-Henning Kamp [Wed, 25 Feb 2004 13:43:39 +0000 (13:43 +0000)]
Recognize "auto" format.

Be more verbose when asked to.

20 years agoSet size field correctly, it is number of sectors on the device, not
Poul-Henning Kamp [Wed, 25 Feb 2004 13:43:17 +0000 (13:43 +0000)]
Set size field correctly, it is number of sectors on the device, not
number of 512 bytes sectors.

Recognize size == -1 as meaning "auto".

20 years agoDemangled vendor ids. Fixed misplaced FreeBSD id.
Bruce Evans [Wed, 25 Feb 2004 13:26:53 +0000 (13:26 +0000)]
Demangled vendor ids.  Fixed misplaced FreeBSD id.

20 years agoFix style bug in last commit,
Johan Karlsson [Wed, 25 Feb 2004 13:12:51 +0000 (13:12 +0000)]
Fix style bug in last commit,
add a tab after WARNS?=.

While I'm here fix other style bugs.

Submitted by: bde (libbdf/Makefile)

20 years agoBacked out rev.1.6. A bogus include was added to work around breakage of
Bruce Evans [Wed, 25 Feb 2004 13:11:48 +0000 (13:11 +0000)]
Backed out rev.1.6.  A bogus include was added to work around breakage of
<netinet/tcp_var.h>'s prerequisites.  Prerequistes should not grow for
userland headers, and <netinet/tcp_var.h> is unfortunately still needed
in userland.

20 years agoFixed namespace pollution in rev.1.74. Implementation of the syncache
Bruce Evans [Wed, 25 Feb 2004 13:03:01 +0000 (13:03 +0000)]
Fixed namespace pollution in rev.1.74.  Implementation of the syncache
increased <netinet/tcp_var>'s already large set of prerequisites, and
this was handled badly.  Just don't declare the complete syncache struct
unless <netinet/pcb.h> is included before <netinet/tcp_var.h>.

Approved by: jlemon (years ago, for a more invasive fix)

20 years agoDon't use the negatively-opaque type uma_zone_t or be chummy with
Bruce Evans [Wed, 25 Feb 2004 11:53:19 +0000 (11:53 +0000)]
Don't use the negatively-opaque type uma_zone_t or be chummy with
<vm/uma.h>'s idempotency indentifier or its misspelling.

20 years agoChange warning hint to be more useful
Andrey A. Chernov [Wed, 25 Feb 2004 10:56:54 +0000 (10:56 +0000)]
Change warning hint to be more useful

20 years agoAdd support for the sii3512 SATA chip.
Søren Schmidt [Wed, 25 Feb 2004 09:55:49 +0000 (09:55 +0000)]
Add support for the sii3512 SATA chip.

20 years agoFixed some insertion sort errors.
Bruce Evans [Wed, 25 Feb 2004 09:35:35 +0000 (09:35 +0000)]
Fixed some insertion sort errors.

20 years agoFixed some style bugs in previous commit (unsorting of the DDB_* options,
Bruce Evans [Wed, 25 Feb 2004 08:57:33 +0000 (08:57 +0000)]
Fixed some style bugs in previous commit (unsorting of the DDB_* options,
misofrmatting, and English usage errors).

20 years agoRelax a KASSERT condition to allow for a valid corner case where
Jeffrey Hsu [Wed, 25 Feb 2004 08:53:17 +0000 (08:53 +0000)]
Relax a KASSERT condition to allow for a valid corner case where
the FIN on the last segment consumes an extra sequence number.

Spurious panic reported by Mike Silbersack <silby@silby.com>.

20 years agoRevert the last commit. I don't know what I was thinking, but this change
Scott Long [Wed, 25 Feb 2004 05:41:44 +0000 (05:41 +0000)]
Revert the last commit.  I don't know what I was thinking, but this change
definitely doesn't help any thing.

20 years agoAdd an 'add' command to ugidfw(8), which permits specifying a new
Robert Watson [Wed, 25 Feb 2004 03:59:56 +0000 (03:59 +0000)]
Add an 'add' command to ugidfw(8), which permits specifying a new
rule without explicitly specifying a new rule number.

Update copyrights, remove license clause three.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, McAfee Research

20 years agoAdd bsde_add_rule(), which is similar to bsde_set_rule() except that
Robert Watson [Wed, 25 Feb 2004 03:24:39 +0000 (03:24 +0000)]
Add bsde_add_rule(), which is similar to bsde_set_rule() except that
the caller does not specify the rule number -- instead, the kernel
module is probed for the next available rule, which is then used.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, McAfee Research

20 years agoBack out getopt* adding here per maintainer request
Andrey A. Chernov [Wed, 25 Feb 2004 03:10:14 +0000 (03:10 +0000)]
Back out getopt* adding here per maintainer request

20 years agoAdd upgrade instructions
Andrey A. Chernov [Wed, 25 Feb 2004 02:59:26 +0000 (02:59 +0000)]
Add upgrade instructions

20 years agoAdd "posix" subdir to "gnu"
Andrey A. Chernov [Wed, 25 Feb 2004 02:51:37 +0000 (02:51 +0000)]
Add "posix" subdir to "gnu"

20 years agoUpgrade to regex from grep 2.4.2
Andrey A. Chernov [Wed, 25 Feb 2004 02:41:15 +0000 (02:41 +0000)]
Upgrade to regex from grep 2.4.2

20 years agoMerge conflicts
Andrey A. Chernov [Wed, 25 Feb 2004 02:39:10 +0000 (02:39 +0000)]
Merge conflicts

20 years agoThis commit was generated by cvs2svn to compensate for changes in r126209,
Andrey A. Chernov [Wed, 25 Feb 2004 02:27:50 +0000 (02:27 +0000)]
This commit was generated by cvs2svn to compensate for changes in r126209,
which included commits to RCS files with non-trunk default branches.

20 years agoVirgin import (trimmed) of GNU regex, from GNU grep 2.4.2
Andrey A. Chernov [Wed, 25 Feb 2004 02:27:50 +0000 (02:27 +0000)]
Virgin import (trimmed) of GNU regex, from GNU grep 2.4.2

20 years agoBump FreeBSD_version for getopt_long_only() adding
Andrey A. Chernov [Wed, 25 Feb 2004 01:27:32 +0000 (01:27 +0000)]
Bump FreeBSD_version for getopt_long_only() adding

20 years agoNo reason to disable this test on powerpc.
Peter Grehan [Wed, 25 Feb 2004 00:53:06 +0000 (00:53 +0000)]
No reason to disable this test on powerpc.

20 years agoUse signed char cast to avoid out-of-range error on PowerPC (which has
Peter Grehan [Wed, 25 Feb 2004 00:52:14 +0000 (00:52 +0000)]
Use signed char cast to avoid out-of-range error on PowerPC (which has
unsigned char by default). This is a no-op on all other current arches.

Tested by: md5 sum before/after same on i386

20 years agoo Use `I-O DATA' instead of `IO DATA' as the vendor uses the former
Noriaki Mitsunaga [Wed, 25 Feb 2004 00:13:43 +0000 (00:13 +0000)]
o Use `I-O DATA' instead of `IO DATA' as the vendor uses the former
  on its own site (http://www.iodata.jp/).
o Add a missing cross reference to cardbus(4).

Submitted by: rushani

20 years agoAdd DDB_NUMSYM option which in addition to the symbolic representation
Poul-Henning Kamp [Tue, 24 Feb 2004 22:51:42 +0000 (22:51 +0000)]
Add DDB_NUMSYM option which in addition to the symbolic representation
also prints the actual numerical value of the symbol in question.

Users of addr2line(1) will be less proficient in hex arithmetic as a
consequence.

This amongst other things means that traceback lines change from:
   siointr1(c4016800,c073bda0,0,c06b699c,69f) at siointr1+0xc5
to
   siointr1(c4016800,c073bda0,0,c06b699c,69f) at 0xc062b0bd = siointr1+0xc5

I made this an option to avoid bikesheds.
~
~
~

20 years agoUnconst. Somebody didn't compile LINT.
Poul-Henning Kamp [Tue, 24 Feb 2004 22:16:40 +0000 (22:16 +0000)]
Unconst.  Somebody didn't compile LINT.

20 years ago- Clarify ambiguous statement about not being able to both slock and xlock
John Baldwin [Tue, 24 Feb 2004 21:36:39 +0000 (21:36 +0000)]
- Clarify ambiguous statement about not being able to both slock and xlock
  a single lock at the same time.
- Avoid using "own" to refer to holding either a shared or exclusive lock
  as it is only really correct for exclusive locks.
- Reword the sentence about sleep-ability to read easier.

Requested by: truckman (1)

20 years agoHave edquota honour MAXLOGNAME rather than hardcoding the maximum
Ceri Davies [Tue, 24 Feb 2004 20:58:16 +0000 (20:58 +0000)]
Have edquota honour MAXLOGNAME rather than hardcoding the maximum
username length to 29 characters.

PR: misc/62944
Submitted by: David Hill <david@wmol.com>
Approved by: ru
MFC after: 1 week

20 years agostyle.Makefile(5):
Johan Karlsson [Tue, 24 Feb 2004 20:52:58 +0000 (20:52 +0000)]
style.Makefile(5):
Use WARNS?= instead of WARNS=.

20 years agostyle.Makefile(5):
Johan Karlsson [Tue, 24 Feb 2004 20:51:20 +0000 (20:51 +0000)]
style.Makefile(5):
Use WARNS?= instead of WARNS=.

While I'm here,
use INTERNALPROG, instead if overriding install
remove emty lines

20 years agoWhitespace cleanup
Dag-Erling Smørgrav [Tue, 24 Feb 2004 19:31:30 +0000 (19:31 +0000)]
Whitespace cleanup

20 years agostyle.Makefile(5):
Johan Karlsson [Tue, 24 Feb 2004 19:23:33 +0000 (19:23 +0000)]
style.Makefile(5):
Use WARNS?= instead of WARNS=

For this to work properly for all part is the subdirectories
the WARNS assignments in Makefile.inc0 are moved to the correspondning
Makefile.inc.

Approved by: obrien (binutils maintainer)
Tested by: make universe

20 years agoCheck that a pointer is non-NULL before dereferencing it, not after.
Colin Percival [Tue, 24 Feb 2004 18:01:43 +0000 (18:01 +0000)]
Check that a pointer is non-NULL before dereferencing it, not after.

Reported by: "Ted Unangst" <tedu@coverity.com>
Approved by: rwatson (mentor)

20 years agoNote change of sizeof(struct tcpcb) and libkvm recompile.
Andre Oppermann [Tue, 24 Feb 2004 16:12:09 +0000 (16:12 +0000)]
Note change of sizeof(struct tcpcb) and libkvm recompile.

20 years agoin icmp6_mtudisc_update(), use ND link mtu to detect if the path MTU
Hajimu UMEMOTO [Tue, 24 Feb 2004 15:40:55 +0000 (15:40 +0000)]
in icmp6_mtudisc_update(), use ND link mtu to detect if the path MTU
should be updated.

Helped by: andre

20 years agoConvert the tcp segment reassembly queue to UMA and limit the maximum
Andre Oppermann [Tue, 24 Feb 2004 15:27:41 +0000 (15:27 +0000)]
Convert the tcp segment reassembly queue to UMA and limit the maximum
amount of segments it will hold.

The following tuneables and sysctls control the behaviour of the tcp
segment reassembly queue:

 net.inet.tcp.reass.maxsegments (loader tuneable)
  specifies the maximum number of segments all tcp reassemly queues can
  hold (defaults to 1/16 of nmbclusters).

 net.inet.tcp.reass.maxqlen
  specifies the maximum number of segments any individual tcp session queue
  can hold (defaults to 48).

 net.inet.tcp.reass.cursegments (readonly)
  counts the number of segments currently in all reassembly queues.

 net.inet.tcp.reass.overflows (readonly)
  counts how often either the global or local queue limit has been reached.

Tested by: bms, silby
Reviewed by: bms, silby

20 years agoWordsmithing
Christian Brueffer [Tue, 24 Feb 2004 15:00:03 +0000 (15:00 +0000)]
Wordsmithing

20 years agoDo not attempt to open NODEV
Poul-Henning Kamp [Tue, 24 Feb 2004 09:59:35 +0000 (09:59 +0000)]
Do not attempt to open NODEV

20 years agoAdd getopt_long_only()
Andrey A. Chernov [Tue, 24 Feb 2004 08:09:20 +0000 (08:09 +0000)]
Add getopt_long_only()

20 years agoAdd getopt_long_only() from OpenBSD and other OpenBSD cleanups
Andrey A. Chernov [Tue, 24 Feb 2004 08:07:26 +0000 (08:07 +0000)]
Add getopt_long_only() from OpenBSD and other OpenBSD cleanups

PR:             63173
Submitted by:   Marius Strobl <marius@alchemy.franken.de>

20 years agoDon't set d_flags twice. The second setting clobbered D_NOGIANT.
Bruce Evans [Tue, 24 Feb 2004 04:35:44 +0000 (04:35 +0000)]
Don't set d_flags twice.  The second setting clobbered D_NOGIANT.

20 years agoFixed the latest unsortings of CPU_ENABLE_*.
Bruce Evans [Tue, 24 Feb 2004 04:18:07 +0000 (04:18 +0000)]
Fixed the latest unsortings of CPU_ENABLE_*.

20 years agoFixed missing libraries. This unbreaks the -DNO_DYNAMIC_ROOT and
Bruce Evans [Tue, 24 Feb 2004 03:46:12 +0000 (03:46 +0000)]
Fixed missing libraries.  This unbreaks the -DNO_DYNAMIC_ROOT and
-DNOSHARED=yes cases.

20 years agoSend birthday presents to Wadham College, Oxford. :)
Colin Percival [Tue, 24 Feb 2004 01:44:47 +0000 (01:44 +0000)]
Send birthday presents to Wadham College, Oxford. :)

Approved by: rwatson (mentor)

20 years agoFix array overflow: If len=128, don't access [16] of a 16-byte IPv6
Colin Percival [Tue, 24 Feb 2004 01:20:51 +0000 (01:20 +0000)]
Fix array overflow: If len=128, don't access [16] of a 16-byte IPv6
address, even if we subsequently ignore its value by applying a >>8
to it.

Reported by: "Ted Unangst" <tedu@coverity.com>
Approved by: rwatson (mentor), {ume, suz} (KAME)

20 years agoPAO's work has been merged into FreeBSD not removed.
Noriaki Mitsunaga [Mon, 23 Feb 2004 23:47:50 +0000 (23:47 +0000)]
PAO's work has been merged into FreeBSD not removed.
So remove the line.

Reviewed by: trhodes

20 years agoFix typo.
Poul-Henning Kamp [Mon, 23 Feb 2004 23:39:42 +0000 (23:39 +0000)]
Fix typo.

Found by: imp

20 years agoFix typo
Christian Brueffer [Mon, 23 Feb 2004 22:00:44 +0000 (22:00 +0000)]
Fix typo

20 years agoApply style(9).
Brian Feldman [Mon, 23 Feb 2004 20:42:03 +0000 (20:42 +0000)]
Apply style(9).

Submitted by: "Christian S.J. Peron" <maneo@bsdpro.com>
PR: bin/63283