]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoFix typo in the BSD copyright: s/withough/without/
schweikh [Sun, 2 Jun 2002 20:05:59 +0000 (20:05 +0000)]
Fix typo in the BSD copyright: s/withough/without/

Spotted and suggested by: des
MFC after: 3 weeks

22 years ago o Style fixes to vm_map_split(), including the elimination of one variable
alc [Sun, 2 Jun 2002 19:32:05 +0000 (19:32 +0000)]
 o Style fixes to vm_map_split(), including the elimination of one variable
   declaration that shadows another.

Note: This function should really be vm_object_split(), not vm_map_split().

Reviewed by: md5

22 years agoFix breakage caused by allocating the I/O buffer. There was a
marcel [Sun, 2 Jun 2002 19:20:37 +0000 (19:20 +0000)]
Fix breakage caused by allocating the I/O buffer. There was a
sizeof(buf) lurking around that I missed.

PR: 38811
Submitted by: Adrian Colley <aecolley@spamcop.net>

22 years agoTurn on the math function stub stubs.
obrien [Sun, 2 Jun 2002 17:49:08 +0000 (17:49 +0000)]
Turn on the math function stub stubs.

Submitted by: Martin Blapp <mb@imp.ch>
I believe OK with: peter

22 years agoTwo markup fixes in sendmail section, add a missing word.
bmah [Sun, 2 Jun 2002 16:24:23 +0000 (16:24 +0000)]
Two markup fixes in sendmail section, add a missing word.

22 years agoFix error in ls -h relnote.
bmah [Sun, 2 Jun 2002 16:20:36 +0000 (16:20 +0000)]
Fix error in ls -h relnote.

Submitted by: Kurashina Hideyuki <ac14806t@st.nagaoka-ct.ac.jp>,
Ross Lippert <ripper@eskimo.com>

22 years agoAdd NCURSES_OSPEED replace command to MANFILTER
ache [Sun, 2 Jun 2002 16:11:57 +0000 (16:11 +0000)]
Add NCURSES_OSPEED replace command to MANFILTER

22 years agoDon't send a RAD_NAS_IP_ADDRESS attribute as RAD_NAS_IDENTIFIER is
brian [Sun, 2 Jun 2002 14:27:02 +0000 (14:27 +0000)]
Don't send a RAD_NAS_IP_ADDRESS attribute as RAD_NAS_IDENTIFIER is
sufficient.

In fact, using both breaks the radiator RADIUS daemon when used with
a db as it maps both attributes to the same field value and then
fails the insert.

I decided to remove RAD_NAS_IP_ADDRESS on the basis that rfc2138 says:

      An Access-Request MUST contain a User-Name attribute.  It SHOULD
      contain either a NAS-IP-Address attribute or NAS-Identifier
      attribute (or both, although that is not recommended).  It MUST

despite the fact that this not recommended bit was removed from the
updated rfc.

22 years agoSupport the SysV-style -exec utility args.. {} + function, required by
tjr [Sun, 2 Jun 2002 12:57:41 +0000 (12:57 +0000)]
Support the SysV-style -exec utility args.. {} + function, required by
SUSv3. This is similar to find foo -print0 | xargs -0 utility args.

22 years agoFix spelling errors: minumum, overriden, inheritted
schweikh [Sun, 2 Jun 2002 10:41:43 +0000 (10:41 +0000)]
Fix spelling errors: minumum, overriden, inheritted

MFC after: 3 weeks

22 years agoCorrect a bunch of typos. Translators can ignore this commit.
schweikh [Sun, 2 Jun 2002 10:27:41 +0000 (10:27 +0000)]
Correct a bunch of typos. Translators can ignore this commit.

MFC after: 3 weeks

22 years agoRemove a URL from the middle of the BSD copyright (a clicko? a pasto?).
schweikh [Sun, 2 Jun 2002 10:05:55 +0000 (10:05 +0000)]
Remove a URL from the middle of the BSD copyright (a clicko? a pasto?).
Fix typos:
s/evironment/environment
s/cont/const
s/_lonjmp/_longjmp

MFC after:  3 weeks

22 years agoDon't exit immediately if an error occurs, continue but exit non-zero.
tjr [Sun, 2 Jun 2002 09:32:39 +0000 (09:32 +0000)]
Don't exit immediately if an error occurs, continue but exit non-zero.

22 years agoFix typo causing ``fc -e'' to not work correctly. getopt() sets optarg,
tjr [Sun, 2 Jun 2002 08:34:09 +0000 (08:34 +0000)]
Fix typo causing ``fc -e'' to not work correctly. getopt() sets optarg,
not shoptarg.

22 years agoAdding an entry to the history with H_ENTER moves libedit's internal
tjr [Sun, 2 Jun 2002 08:27:04 +0000 (08:27 +0000)]
Adding an entry to the history with H_ENTER moves libedit's internal
history cursor. Reset the cursor after adding the entry to the history
when doing ``fc -s'' so the output is correct.

22 years ago o Condition vm_object_pmap_copy_1()'s compilation on the kernel
alc [Sun, 2 Jun 2002 06:31:41 +0000 (06:31 +0000)]
 o Condition vm_object_pmap_copy_1()'s compilation on the kernel
   option ENABLE_VFS_IOOPT.  Unless this option is in effect,
   vm_object_pmap_copy_1() is not used.

22 years agobde noticed that SOMAXCONN breaks pretty badly as an option for LINT.
alfred [Sun, 2 Jun 2002 04:32:52 +0000 (04:32 +0000)]
bde noticed that SOMAXCONN breaks pretty badly as an option for LINT.
so back it out.

22 years ago o Remove GIANT_REQUIRED from vm_map_zfini(), vm_map_zinit(),
alc [Sat, 1 Jun 2002 22:41:43 +0000 (22:41 +0000)]
 o Remove GIANT_REQUIRED from vm_map_zfini(), vm_map_zinit(),
   vm_map_create(), and vm_map_submap().
 o Make further use of a local variable in vm_map_entry_splay()
   that caches a reference to one of a vm_map_entry's children.
   (This reduces code size somewhat.)
 o Revert a part of revision 1.66, deinlining vmspace_pmap().
   (This function is MPSAFE.)

22 years agoFinish removing the share/man/tools/directory.
bde [Sat, 1 Jun 2002 21:38:39 +0000 (21:38 +0000)]
Finish removing the share/man/tools/directory.

22 years agoBe more strict about namespaces.
mike [Sat, 1 Jun 2002 21:07:10 +0000 (21:07 +0000)]
Be more strict about namespaces.

Submitted by: wollman (mostly)

22 years agoBackout/modify previous revision:
alfred [Sat, 1 Jun 2002 20:54:21 +0000 (20:54 +0000)]
Backout/modify previous revision:
  "empty default cases shouldn't be removed, they should have a break;
  statement added to them."

Requested by: billf

22 years agoSilence warnings, remove some empty 'default' switch cases.
alfred [Sat, 1 Jun 2002 20:40:42 +0000 (20:40 +0000)]
Silence warnings, remove some empty 'default' switch cases.

22 years agoDeclare a variable sized array within a structure using [] rather than [0]
alfred [Sat, 1 Jun 2002 20:40:05 +0000 (20:40 +0000)]
Declare a variable sized array within a structure using [] rather than [0]
to silence warnings.

22 years agoSilence preprocessor warning, No need to use CONCAT with "," and "word".
alfred [Sat, 1 Jun 2002 20:22:33 +0000 (20:22 +0000)]
Silence preprocessor warning, No need to use CONCAT with "," and "word".

22 years agoUnbreak LINT by compensating for the
alfred [Sat, 1 Jun 2002 19:54:21 +0000 (19:54 +0000)]
Unbreak LINT by compensating for the
ng_parse_struct_info -> ng_parse_struct_field change.

22 years agoSkip duplicated prefixes in get_prefix().
ume [Sat, 1 Jun 2002 19:16:13 +0000 (19:16 +0000)]
Skip duplicated prefixes in get_prefix().

Obtained from: KAME

22 years agoFix some, but not all style bugs.
mike [Sat, 1 Jun 2002 18:58:02 +0000 (18:58 +0000)]
Fix some, but not all style bugs.

22 years agoFix warnings.
alfred [Sat, 1 Jun 2002 18:50:35 +0000 (18:50 +0000)]
Fix warnings.
There's no need to use concatination when you have 'something.macro_arg'.
Comment out comment following #endif.

22 years agoGet rid of warnings, there's no need to do preprocessor concatination of
alfred [Sat, 1 Jun 2002 18:45:33 +0000 (18:45 +0000)]
Get rid of warnings, there's no need to do preprocessor concatination of
things with commas and equal signs.

22 years agoAdd mdoc bits for the new waitpid() WCONTINUED option, and
mike [Sat, 1 Jun 2002 18:38:58 +0000 (18:38 +0000)]
Add mdoc bits for the new waitpid() WCONTINUED option, and
WIFCONTINUED macro.

22 years agoAdd POSIX.1-2001 WCONTINUED option for waitpid(2). A proc flag
mike [Sat, 1 Jun 2002 18:37:46 +0000 (18:37 +0000)]
Add POSIX.1-2001 WCONTINUED option for waitpid(2).  A proc flag
(P_CONTINUED) is set when a stopped process receives a SIGCONT and
cleared after it has notified a parent process that has requested
notification via waitpid(2) with WCONTINUED specified in its options
operand.  The status value can be checked with the new WIFCONTINUED()
macro.

Reviewed by: jake

22 years agoFixed the return value of fpsetmask(). The API requires inversion of the
bde [Sat, 1 Jun 2002 17:39:46 +0000 (17:39 +0000)]
Fixed the return value of fpsetmask().  The API requires inversion of the
mask on both input and output to fpsetmask(), but this was only done for
input, so fpsetmask() returned the complement of the old mask (ANDed with
the mask bitfield).

PR: 38170
MFC after: 4 weeks

22 years agoKNF
ume [Sat, 1 Jun 2002 17:28:12 +0000 (17:28 +0000)]
KNF

Obtained from: KAME

22 years agoFixed style bugs in rev.1.9.
bde [Sat, 1 Jun 2002 17:27:16 +0000 (17:27 +0000)]
Fixed style bugs in rev.1.9.

22 years ago o Revert a part of revision 1.66, contrary to what that commit message says,
alc [Sat, 1 Jun 2002 16:59:30 +0000 (16:59 +0000)]
 o Revert a part of revision 1.66, contrary to what that commit message says,
   deinlining vm_map_entry_behavior() and vm_map_entry_set_behavior()
   actually increases the kernel's size.
 o Make vm_map_entry_set_behavior() static and add a comment describing
   its purpose.
 o Remove an unnecessary initialization statement from vm_map_entry_splay().

22 years agosprintf -> snprintf
ume [Sat, 1 Jun 2002 16:50:21 +0000 (16:50 +0000)]
sprintf -> snprintf

Obtained from: KAME

22 years agoFix a couple of places where preprocessor concatination was misused and
alfred [Sat, 1 Jun 2002 16:21:26 +0000 (16:21 +0000)]
Fix a couple of places where preprocessor concatination was misused and
something wound up grafted to a comma.

22 years agoSilence warning.
alfred [Sat, 1 Jun 2002 16:20:27 +0000 (16:20 +0000)]
Silence warning.

When casting a "const void *" to a "struct foo **" you want to actually
cast it to "struct foo * const *" not simply "const struct foo **".

22 years agoBrush up descriptions of sendmail menu last added.
matusita [Sat, 1 Jun 2002 15:47:49 +0000 (15:47 +0000)]
Brush up descriptions of sendmail menu last added.

Submitted by: gshapiro

22 years agoAdd 'Sendmail' menu to set sendmail_enable variable.
matusita [Sat, 1 Jun 2002 14:50:14 +0000 (14:50 +0000)]
Add 'Sendmail' menu to set sendmail_enable variable.

Reviewed by: bmah (description only)

22 years agoFix a bug in sed(1)'s "s" command wherein if an escape ("\" character)
green [Sat, 1 Jun 2002 13:25:47 +0000 (13:25 +0000)]
Fix a bug in sed(1)'s "s" command wherein if an escape ("\" character)
was initiated at the last character of the line buffer, the Wrong
Thing was done and sed barfed by interpreting the following NUL byte
as a digit.  Instead, pull up the next buffer and record that the "\"
was last seen.

22 years agoMake devfs to give honour to PDIRUNLOCK flag.
semenu [Sat, 1 Jun 2002 09:17:43 +0000 (09:17 +0000)]
Make devfs to give honour to PDIRUNLOCK flag.

Reviewed by: jeff
MFC after: 1 week

22 years agoQuick, low impact band-aide to unbreak the build. Added && 0 so we
ru [Sat, 1 Jun 2002 08:29:12 +0000 (08:29 +0000)]
Quick, low impact band-aide to unbreak the build.  Added && 0 so we
ifdef out what appears to be a bogus call to softintr using data
elements that aren't in the softc.

Forgotten by: imp

22 years agoAlphaPC164 can have 1Gbyte of RAM using 8x 128MB SIMMs
wilko [Sat, 1 Jun 2002 08:10:06 +0000 (08:10 +0000)]
AlphaPC164 can have 1Gbyte of RAM using 8x 128MB SIMMs

Obtained from: Usenet posting by lbohan@spamless..dbc.com

22 years agoShould have been part of recent commit:
alfred [Sat, 1 Jun 2002 07:18:32 +0000 (07:18 +0000)]
Should have been part of recent commit:
  Fix GCC warnings caused by initializing a zero length array. In the process,
  simply things a bit by getting rid of 'struct ng_parse_struct_info' which
  was useless because it only contained one field.
But now I'm unbreaking compilation by adjusting these files to the recent
netgraph change.

22 years agoCall destroy_dev in detach routine to cleanup properly otherwise we
alfred [Sat, 1 Jun 2002 06:23:47 +0000 (06:23 +0000)]
Call destroy_dev in detach routine to cleanup properly otherwise we
panic because of a repeat make_dev if/when the device is reattached
to the system.

Remove an "#if __FreeBSD__" in code that's nested under a "#if __NetBSD__"
(*sigh*)

Reported by: Seth Hettich <sjh@whiskey.ucf.ics.uci.edu>
Tested by: Seth Hettich <sjh@whiskey.ucf.ics.uci.edu>

22 years agoUse PCI_INTERRUPT_VALI in stead of hard coded 255
imp [Sat, 1 Jun 2002 05:48:58 +0000 (05:48 +0000)]
Use PCI_INTERRUPT_VALI in stead of hard coded 255

22 years agoMore style(9) nits
imp [Sat, 1 Jun 2002 05:44:45 +0000 (05:44 +0000)]
More style(9) nits

22 years agoDefine a PCI_INVALID_IRQ to augment PCI_INTERRUPT_VALID
imp [Sat, 1 Jun 2002 05:40:33 +0000 (05:40 +0000)]
Define a PCI_INVALID_IRQ to augment PCI_INTERRUPT_VALID

22 years agoUse a common function to map the bogus intlines.
imp [Sat, 1 Jun 2002 05:14:11 +0000 (05:14 +0000)]
Use a common function to map the bogus intlines.
Don't require pin be non-zero before we map bogus intlines, always do it.
This fixes a number of problems on HP Omnibook computers.

Tested/Reviewed by: Brooks Davis

22 years agoMake a structure definition slightly more style(9) compliant (makes
bsd [Sat, 1 Jun 2002 03:55:16 +0000 (03:55 +0000)]
Make a structure definition slightly more style(9) compliant (makes
the structure definition easier to find using grep).

22 years agoMake this file mostly conform to style(9).
imp [Sat, 1 Jun 2002 03:41:02 +0000 (03:41 +0000)]
Make this file mostly conform to style(9).

Approved by: msmith in principle before walkabout

22 years agoImplement $PPID, the parent process ID of the shell.
tjr [Sat, 1 Jun 2002 02:14:48 +0000 (02:14 +0000)]
Implement $PPID, the parent process ID of the shell.

22 years agoSupport the remaining job ID formats required by SUSv3:
tjr [Sat, 1 Jun 2002 01:51:42 +0000 (01:51 +0000)]
Support the remaining job ID formats required by SUSv3:
%+ (current job, same as %%),
%- (previous job),
%?str (job with "str" in its command name).

22 years agoWe have a version of help(SCCS) in /usr/bin now.
jmallett [Sat, 1 Jun 2002 01:07:50 +0000 (01:07 +0000)]
We have a version of help(SCCS) in /usr/bin now.

22 years agoRemove a stray asterisk in a comment.
jmallett [Sat, 1 Jun 2002 00:52:28 +0000 (00:52 +0000)]
Remove a stray asterisk in a comment.

22 years agoFix GCC warnings caused by initializing a zero length array. In the process,
archie [Fri, 31 May 2002 23:48:03 +0000 (23:48 +0000)]
Fix GCC warnings caused by initializing a zero length array. In the process,
simply things a bit by getting rid of 'struct ng_parse_struct_info' which
was useless because it only contained one field.

MFC after: 2 weeks

22 years agoQuick, low impact band-aide to unbreak the build. Added && 0 so we
imp [Fri, 31 May 2002 23:39:04 +0000 (23:39 +0000)]
Quick, low impact band-aide to unbreak the build.  Added && 0 so we
ifdef out what appears to be a bogus call to softintr using data
elements that aren't in the softc.

22 years agoWarnings cleanup for gcc3. Also __FUNCTION__ -> __func__
anholt [Fri, 31 May 2002 23:19:50 +0000 (23:19 +0000)]
Warnings cleanup for gcc3.  Also __FUNCTION__ -> __func__

Approved by: des

22 years agoGrammar nit: treat "contents" as plural.
archie [Fri, 31 May 2002 22:26:19 +0000 (22:26 +0000)]
Grammar nit: treat "contents" as plural.

22 years agoFix a bug in m_split(): the "m->m_ext.ext_size" field of an mbuf was being
archie [Fri, 31 May 2002 22:09:57 +0000 (22:09 +0000)]
Fix a bug in m_split(): the "m->m_ext.ext_size" field of an mbuf was being
set to zero. This field indicates the total space in the external buffer
and therefore should not be modified after the external buffer is added.

Add a comment warning that the mbufs returned by m_split() might be read-only.

Fix M_TRAILINGSPACE() to return zero if !M_WRITABLE(m).

Reviewed by: freebsd-net
Obtained from: Vernier Networks, Inc.
MFC after: 1 week

22 years agoDon't load a module from /stand/modules in the MFS root if it is already in
jhb [Fri, 31 May 2002 20:06:24 +0000 (20:06 +0000)]
Don't load a module from /stand/modules in the MFS root if it is already in
the kernel.

22 years agoWe don't build libc_r on sparc64 for the moment.
ru [Fri, 31 May 2002 19:59:12 +0000 (19:59 +0000)]
We don't build libc_r on sparc64 for the moment.

22 years agopc98 now has its own relnotes and hardware documents.
bmah [Fri, 31 May 2002 19:31:26 +0000 (19:31 +0000)]
pc98 now has its own relnotes and hardware documents.

22 years agoAdd/Update hardware, installation and relnotes documentations for pc98.
nyan [Fri, 31 May 2002 18:00:39 +0000 (18:00 +0000)]
Add/Update hardware, installation and relnotes documentations for pc98.

Submitted by: NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp> and nyan
Reviewed by: bmah

22 years ago__FreeBSD__ is not a compiler constant. We must use
ume [Fri, 31 May 2002 17:56:45 +0000 (17:56 +0000)]
__FreeBSD__ is not a compiler constant.  We must use
__FreeBSD_version here.

Submitted by: rwatson

22 years agoFix integer overflow causing disk/partition size display wrapping
pb [Fri, 31 May 2002 17:03:01 +0000 (17:03 +0000)]
Fix integer overflow causing disk/partition size display wrapping
above 4GB.

22 years agoNit: kern.ttys is of type S,xtty, not S,tty.
des [Fri, 31 May 2002 16:11:49 +0000 (16:11 +0000)]
Nit: kern.ttys is of type S,xtty, not S,tty.

22 years agopkg_version was incorrectly claiming that 1.5 == 1.5.0.1, because
bmah [Fri, 31 May 2002 15:45:48 +0000 (15:45 +0000)]
pkg_version was incorrectly claiming that 1.5 == 1.5.0.1, because
we weren't properly checking for the case that the two version strings
being compared had different numbers of components.  This has been
fixed.

Pointed out by: sobomax
Reviewed by: silence on -ports

22 years agoBackout recent typo "fix". I've been enlightened that it's an obsolete
schweikh [Fri, 31 May 2002 14:36:45 +0000 (14:36 +0000)]
Backout recent typo "fix". I've been enlightened that it's an obsolete
and rare synonym for indomitable (from the French indomptable)

Requested by: "Jacques A. Vidrine" <nectar@FreeBSD.org>

22 years ago- Document the new `diskInteractive' variable.
jhb [Fri, 31 May 2002 14:32:03 +0000 (14:32 +0000)]
- Document the new `diskInteractive' variable.
- Document the tcpMenuSelect command.

Sponsored by: The Weather Channel

22 years agoAdd -s (output PID's only) and -l (show PID's) options to the jobs(1)
tjr [Fri, 31 May 2002 14:04:23 +0000 (14:04 +0000)]
Add -s (output PID's only) and -l (show PID's) options to the jobs(1)
builtin. Modify the output format to match what SUSv3 requires.

22 years agoIf 'netInteractive' is set to true in an installation script, then
jhb [Fri, 31 May 2002 13:39:55 +0000 (13:39 +0000)]
If 'netInteractive' is set to true in an installation script, then
temporarily turn off the nonInteractive variable around the DHCP and IPv6
Yes/No questions in a network device setup so that those questions are
asked.

22 years agoAdd a 'diskInteractive' variable that can be set to interactively partition
jhb [Fri, 31 May 2002 13:38:17 +0000 (13:38 +0000)]
Add a 'diskInteractive' variable that can be set to interactively partition
and label a disk from a sysinstall script.

22 years agoTypo: s/Indomptable/Indomitable/
schweikh [Fri, 31 May 2002 13:26:56 +0000 (13:26 +0000)]
Typo: s/Indomptable/Indomitable/
MFC after: 3 weeks

22 years agoFixed modes.
ru [Fri, 31 May 2002 13:20:01 +0000 (13:20 +0000)]
Fixed modes.

22 years ago#if JOBS around a job control-related statement to allow compilation with
tjr [Fri, 31 May 2002 13:10:38 +0000 (13:10 +0000)]
#if JOBS around a job control-related statement to allow compilation with
job control disabled.

22 years agoBreak the code to display status info for one job out from showjobs() into
tjr [Fri, 31 May 2002 13:07:05 +0000 (13:07 +0000)]
Break the code to display status info for one job out from showjobs() into
showjob(), use it inside dowait() to display status info for consistency,
and in a format closer to what the standard requires.

22 years agoOn behalf of lib/compat/compat4x.i386/libusb.so.0.bz2.uu,v 1.1,
ru [Fri, 31 May 2002 13:04:09 +0000 (13:04 +0000)]
On behalf of lib/compat/compat4x.i386/libusb.so.0.bz2.uu,v 1.1,
added uudecode(1) to bootstrap-tools.

22 years agoBootstrapping aid for those with Athlon upgrading from gcc 2.95.x.
ru [Fri, 31 May 2002 12:50:24 +0000 (12:50 +0000)]
Bootstrapping aid for those with Athlon upgrading from gcc 2.95.x.

Prodded by: gordon

22 years agoMove job to front of most recently used job list when bg'd or fg'd.
tjr [Fri, 31 May 2002 12:35:34 +0000 (12:35 +0000)]
Move job to front of most recently used job list when bg'd or fg'd.

22 years agoInstead of keeping just the jobid of the most recently bg'd or fg'd job,
tjr [Fri, 31 May 2002 12:31:23 +0000 (12:31 +0000)]
Instead of keeping just the jobid of the most recently bg'd or fg'd job,
keep a linked list of the jobs, most recently used first. This is required
to support the idea of `previous job', and to allow the jobs fg and bg
default to be correct according to POSIX.

22 years agoBack out my lats commit of locking down a socket, it conflicts with hsu's work.
tanimura [Fri, 31 May 2002 11:52:35 +0000 (11:52 +0000)]
Back out my lats commit of locking down a socket, it conflicts with hsu's work.

Requested by: hsu

22 years agoThe new bsd.incs.mk is powerful enough to handle this wrinkle.
ru [Fri, 31 May 2002 11:45:34 +0000 (11:45 +0000)]
The new bsd.incs.mk is powerful enough to handle this wrinkle.

22 years agoRemove DESTDIR which is already included in DOCDIR.
jedgar [Fri, 31 May 2002 10:37:22 +0000 (10:37 +0000)]
Remove DESTDIR which is already included in DOCDIR.

Submitted by: jhay

22 years ago - Replace the bandaid introduced in revision 1.110 with
robert [Fri, 31 May 2002 09:41:09 +0000 (09:41 +0000)]
 - Replace the bandaid introduced in revision 1.110 with
   a better solution.
 - Add braces for a ``for'' statement containing a single
   multi-line statement.

22 years agoExport nswapdev through sysctl(8).
des [Fri, 31 May 2002 08:17:58 +0000 (08:17 +0000)]
Export nswapdev through sysctl(8).

Sponsored by: DARPA, NAI Labs

22 years agoThe loop back device hasn't been a count device for a while so remove
brooks [Fri, 31 May 2002 06:28:13 +0000 (06:28 +0000)]
The loop back device hasn't been a count device for a while so remove
the number of interfaces.

22 years agoKludge around troff bugs to get a reasonable print format despite the
grog [Fri, 31 May 2002 06:17:03 +0000 (06:17 +0000)]
Kludge around troff bugs to get a reasonable print format despite the
necessity to shrink quoted text to fit on the page.

PR: 38760

22 years agoGrammar fix: "contents" is plural.
archie [Fri, 31 May 2002 05:01:17 +0000 (05:01 +0000)]
Grammar fix: "contents" is plural.

MFC after: 1 day

22 years agoUse %lu instead of %ld when printing rt_use (aka rt_rmx.rmx_pksent)
silby [Fri, 31 May 2002 04:36:55 +0000 (04:36 +0000)]
Use %lu instead of %ld when printing rt_use (aka rt_rmx.rmx_pksent)

Submitted by: Andre Oppermann <oppermann@pipeline.ch>
MFC after: 5 days

22 years agoEnsure that packet counts are always reset to 0 when
silby [Fri, 31 May 2002 04:27:51 +0000 (04:27 +0000)]
Ensure that packet counts are always reset to 0 when
a route is cloned.  Previously, they took on the count
of their parent route (which was sometimes nonzero.)

Submitted by: Andre Oppermann <oppermann@pipeline.ch>
MFC after: 5 days

22 years agoFurther work on pushing Giant out of the vm_map layer and down
alc [Fri, 31 May 2002 03:48:55 +0000 (03:48 +0000)]
Further work on pushing Giant out of the vm_map layer and down
into the vm_object layer:
 o Acquire and release Giant in vm_object_shadow() and
   vm_object_page_remove().
 o Remove the GIANT_REQUIRED assertion preceding vm_map_delete()'s call
   to vm_object_page_remove().
 o Remove the acquisition and release of Giant around vm_map_lookup()'s
   call to vm_object_shadow().

22 years agoUse __FreeBSD_version to test what things to use
imp [Fri, 31 May 2002 03:27:34 +0000 (03:27 +0000)]
Use __FreeBSD_version to test what things to use

22 years agoTypo fix: syste -> system
keramida [Fri, 31 May 2002 01:46:26 +0000 (01:46 +0000)]
Typo fix: syste -> system

22 years agoFix build breakage on my pccard related commit.
takawata [Fri, 31 May 2002 01:08:49 +0000 (01:08 +0000)]
Fix build breakage on my pccard related commit.

22 years agoDon't use an incomplete array type to mark the start of the padding
marcel [Fri, 31 May 2002 01:07:13 +0000 (01:07 +0000)]
Don't use an incomplete array type to mark the start of the padding
because the padding should be inserted before the array and not after
it, as is done by GCC 3.1. Instead use an explicit uint32_t field
to get what was intended and on top of that make the size of the
padding explicit. This also doesn't depend on a C99 feature.
While here, expand the comment. Just to make a point.

Pointed out by: fanf

22 years agoTypo: characer -> character
keramida [Fri, 31 May 2002 00:33:40 +0000 (00:33 +0000)]
Typo: characer -> character

22 years agoTypo: duel -> dual
keramida [Thu, 30 May 2002 23:48:00 +0000 (23:48 +0000)]
Typo: duel -> dual

22 years agoAdd missing unlock
julian [Thu, 30 May 2002 23:41:51 +0000 (23:41 +0000)]
Add missing unlock
Submitted by: dirkx@covalent.net