]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoModified release note: New commands for lpc(1).
Bruce A. Mah [Fri, 18 Oct 2002 19:54:52 +0000 (19:54 +0000)]
Modified release note:  New commands for lpc(1).

PR: 44070
Submitted by: gad

21 years agoOops. xargs -J is in fact not deprecated.
Bruce A. Mah [Fri, 18 Oct 2002 19:05:47 +0000 (19:05 +0000)]
Oops.  xargs -J is in fact not deprecated.

PR: 44070
Submitted by: gad
Reviewed by: jmallett

21 years agoAdd myself as da(4) maintainer. This is mostly so I can review and commit
Nate Lawson [Fri, 18 Oct 2002 18:27:56 +0000 (18:27 +0000)]
Add myself as da(4) maintainer.  This is mostly so I can review and commit
quirks.

21 years agoDo not lock the process when calling fdfree() (this would have recursed on
John Baldwin [Fri, 18 Oct 2002 17:45:41 +0000 (17:45 +0000)]
Do not lock the process when calling fdfree() (this would have recursed on
a non-recursive lock, the proc lock, before) since we don't need it to
change p_fd.

21 years agofdfree() clears p_fd for us, no need to do it again.
John Baldwin [Fri, 18 Oct 2002 17:44:39 +0000 (17:44 +0000)]
fdfree() clears p_fd for us, no need to do it again.

21 years agoDon't lock the proc lock to clear p_fd. p_fd isn't protected by the proc
John Baldwin [Fri, 18 Oct 2002 17:42:28 +0000 (17:42 +0000)]
Don't lock the proc lock to clear p_fd.  p_fd isn't protected by the proc
lock.

21 years agoReplace the vm_page hash table with a per-vmobject splay tree. There should
Matthew Dillon [Fri, 18 Oct 2002 17:24:30 +0000 (17:24 +0000)]
Replace the vm_page hash table with a per-vmobject splay tree.  There should
be no major change in performance from this change at this time but this
will allow other work to progress:  Giant lock removal around VM system
in favor of per-object mutexes, ranged fsyncs, more optimal COMMIT rpc's for
NFS, partial filesystem syncs by the syncer, more optimal object flushing,
etc.  Note that the buffer cache is already using a similar splay tree
mechanism.

Note that a good chunk of the old hash table code is still in the tree.
Alan or I will remove it prior to the release if the new code does not
introduce unsolvable bugs, else we can revert more easily.

Submitted by: alc (this is Alan's code)
Approved by: re

21 years agoOops. Also provide a lint-compatible unused argument warning killer.
Mark Murray [Fri, 18 Oct 2002 16:24:20 +0000 (16:24 +0000)]
Oops. Also provide a lint-compatible unused argument warning killer.

21 years agoISOfy functions, sort headers and mark unused arguments.
Mark Murray [Fri, 18 Oct 2002 16:22:13 +0000 (16:22 +0000)]
ISOfy functions, sort headers and mark unused arguments.

21 years agoCorrect the headers needed to use dbopen(3) and friends.
Mark Murray [Fri, 18 Oct 2002 16:20:08 +0000 (16:20 +0000)]
Correct the headers needed to use dbopen(3) and friends.

21 years agoConnect ofwdump to the sparc64 build.
Thomas Moestl [Fri, 18 Oct 2002 15:38:39 +0000 (15:38 +0000)]
Connect ofwdump to the sparc64 build.

21 years agoAdd a utility to examine the OpenFirmware device tree (on sparc64). This
Thomas Moestl [Fri, 18 Oct 2002 15:37:15 +0000 (15:37 +0000)]
Add a utility to examine the OpenFirmware device tree (on sparc64). This
allows access to detailed machine configuration information, and should
be especially useful to gather information for driver-related bug
reports.

21 years agoInstall the include files in sys/dev/ofw.
Thomas Moestl [Fri, 18 Oct 2002 15:30:50 +0000 (15:30 +0000)]
Install the include files in sys/dev/ofw.

21 years agoBuild openfirmio on sparc64.
Thomas Moestl [Fri, 18 Oct 2002 15:27:02 +0000 (15:27 +0000)]
Build openfirmio on sparc64.

21 years agoAdd a pseudo device which allows to access the OpenFirmware device tree
Thomas Moestl [Fri, 18 Oct 2002 15:23:43 +0000 (15:23 +0000)]
Add a pseudo device which allows to access the OpenFirmware device tree
via ioctl()s. This was ported from NetBSD and adapted a bit to better
match our OpenFirmware support code.

21 years agoAdd an #ifdef _KERNEL to make it possible to include this file from
Thomas Moestl [Fri, 18 Oct 2002 15:21:09 +0000 (15:21 +0000)]
Add an #ifdef _KERNEL to make it possible to include this file from
userland (to get the typedefs).

21 years agoStaticify for lint.
Mark Murray [Fri, 18 Oct 2002 14:48:48 +0000 (14:48 +0000)]
Staticify for lint.

21 years agoConstify and staticify for lint.
Mark Murray [Fri, 18 Oct 2002 14:45:00 +0000 (14:45 +0000)]
Constify and staticify for lint.

21 years agotypo.
Yoshihiro Takahashi [Fri, 18 Oct 2002 12:06:01 +0000 (12:06 +0000)]
typo.

Submitted by: SAWADA Hodaka <hoda@tail.gr.jp>
MFC after: 1 day

21 years agoSync usage() with reality and sort it alphabetically.
Tim J. Robbins [Fri, 18 Oct 2002 11:48:46 +0000 (11:48 +0000)]
Sync usage() with reality and sort it alphabetically.

PR: 42620
Submitted by: Jeff Ito
MFC after: 1 month

21 years agoAdd -c option to synopsis. Sort it alphabetically, too.
Tim J. Robbins [Fri, 18 Oct 2002 11:42:21 +0000 (11:42 +0000)]
Add -c option to synopsis. Sort it alphabetically, too.

21 years agoPrint non-printing characters in directory names, as well as file names,
Tim J. Robbins [Fri, 18 Oct 2002 10:59:45 +0000 (10:59 +0000)]
Print non-printing characters in directory names, as well as file names,
as `?' or `\ooo', depending on whether the -b or -B flags were used.

PR: 43995
MFC after: 1 month

21 years agoAvoid accidentally making "-h" a synonym for "fc".
Tim J. Robbins [Fri, 18 Oct 2002 10:33:32 +0000 (10:33 +0000)]
Avoid accidentally making "-h" a synonym for "fc".

Obtained from: NetBSD

21 years agoRevert last delta. SGR support in grotty(1) is disabled system-wide
Ruslan Ermilov [Fri, 18 Oct 2002 09:14:17 +0000 (09:14 +0000)]
Revert last delta.  SGR support in grotty(1) is disabled system-wide
in /usr/share/tmac/troffrc pending the issue resolution on -arch.

21 years agoDisable SGR support in grotty(1) pending the resolution on -arch.
Ruslan Ermilov [Fri, 18 Oct 2002 09:10:44 +0000 (09:10 +0000)]
Disable SGR support in grotty(1) pending the resolution on -arch.

21 years agoWhen a user gets refused because the password is wrong, use the
Mark Murray [Fri, 18 Oct 2002 08:23:24 +0000 (08:23 +0000)]
When a user gets refused because the password is wrong, use the
older "BAD SU" syslog message that folks prefer. There is quite
a bit more tweaking that can be done with other similar messages.

Asked for by: tjr

21 years agoAdd myself
Adam Weinberger [Fri, 18 Oct 2002 07:50:46 +0000 (07:50 +0000)]
Add myself

Approved by: pat (mentor)

21 years agoEveryone else is doing it! (adding their birthdays)
Tom Rhodes [Fri, 18 Oct 2002 06:21:09 +0000 (06:21 +0000)]
Everyone else is doing it! (adding their birthdays)

21 years agoNew committer's first commit(birthday).
Maho Nakata [Fri, 18 Oct 2002 05:48:55 +0000 (05:48 +0000)]
New committer's first commit(birthday).

21 years agoAdd a new man page describing the mac_bsdextended policy.
Chris Costello [Fri, 18 Oct 2002 05:40:48 +0000 (05:40 +0000)]
Add a new man page describing the mac_bsdextended policy.

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

21 years agoCosmetic line-wrapping change that has the side-effect of not producing
Chris Costello [Fri, 18 Oct 2002 05:31:39 +0000 (05:31 +0000)]
Cosmetic line-wrapping change that has the side-effect of not producing
the (incorrectly-spaced) output "... Network Associates Inc.  under ..."

21 years agoRemove a superfluous line containing only `.'
Chris Costello [Fri, 18 Oct 2002 05:29:39 +0000 (05:29 +0000)]
Remove a superfluous line containing only `.'

21 years agoNew committer first committion.
Daichi GOTO [Fri, 18 Oct 2002 04:56:03 +0000 (04:56 +0000)]
New committer first committion.
  addition my birthday.

21 years agoBackout my previous "brain cramp" commit.
Jim Pirzyk [Fri, 18 Oct 2002 04:53:46 +0000 (04:53 +0000)]
Backout my previous "brain cramp" commit.

Requested by: Most developers
Apologies to: Most developers, with special note to <ken@kdm.org>
Collabroation in the future with: Kenneth D. Merry <ken@kdm.org>

21 years agoCover the ELF headers with the text segment so that they get loaded
Marcel Moolenaar [Fri, 18 Oct 2002 04:46:36 +0000 (04:46 +0000)]
Cover the ELF headers with the text segment so that they get loaded
into memory. This brings us in line with the other architectures and
more easily allows us to do machine dependent processing on the ELF
file (such as scanning for unwind information).

21 years agoinstall "fast ipsec" include files
Sam Leffler [Fri, 18 Oct 2002 04:21:29 +0000 (04:21 +0000)]
install "fast ipsec" include files

21 years agoOutput "human-readable" values with a non-0 precision where
Dima Dorfman [Fri, 18 Oct 2002 04:06:59 +0000 (04:06 +0000)]
Output "human-readable" values with a non-0 precision where
appropriate.  Before this, a 2.9 GB file was misleadingly reported as
"2G".  This mostly brings unit_adjust() in line with what is in du(1).

Reviewed by: jmallett
Approved by: nik

21 years agoExempt the "wheel group requirement" by default when su'ing to root if
Robert Watson [Fri, 18 Oct 2002 02:39:21 +0000 (02:39 +0000)]
Exempt the "wheel group requirement" by default when su'ing to root if
the wheel group has no explicit members listed in /etc/group.  This adds
the "exempt_if_empty" flag to pam_wheel in the default configuration;
in some environments, it may be appropriate to remove this flag, however,
this default is the same as pre-pam_wheel.

Reviewed by: markm
Sponsored by: DARPA, Network Associates Laboratories

21 years agoIntroduce 'exempt_if_empty' option to pam_wheel(8), which bypasses the
Robert Watson [Fri, 18 Oct 2002 02:37:29 +0000 (02:37 +0000)]
Introduce 'exempt_if_empty' option to pam_wheel(8), which bypasses the
group membership requirement if the group has no explicit members listed
in /etc/group.  By default, this group is the wheel group; setting this
flag restores the default BSD behavior from 4.x.

Reviewed by: markm
Requested by: various
Sponsored by: DARPA, Network Associates Laboratories

21 years agoHave lockinit() initialize the debugging fields of a lock
Kirk McKusick [Fri, 18 Oct 2002 01:34:10 +0000 (01:34 +0000)]
Have lockinit() initialize the debugging fields of a lock
when DEBUG_LOCKS is defined.

Sponsored by: DARPA & NAI Labs.

21 years agoWhen the number of dirty buffers rises too high, the buf_daemon runs
Kirk McKusick [Fri, 18 Oct 2002 01:29:59 +0000 (01:29 +0000)]
When the number of dirty buffers rises too high, the buf_daemon runs
to help clean up. After selecting a potential buffer to write, this
patch has it acquire a lock on the vnode that owns the buffer before
trying to write it. The vnode lock is necessary to avoid a race with
some other process holding the vnode locked and trying to flush its
dirty buffers. In particular, if the vnode in question is a snapshot
file, then the race can lead to a deadlock. To avoid slowing down the
buf_daemon, it does a non-blocking lock request when trying to lock
the vnode. If it fails to get the lock it skips over the buffer and
continues down its queue looking for buffers to flush.

Sponsored by: DARPA & NAI Labs.

21 years agoWith the revised single-lock method used in snapshots, the
Kirk McKusick [Fri, 18 Oct 2002 01:17:28 +0000 (01:17 +0000)]
With the revised single-lock method used in snapshots, the
BA_NOWAIT flag is no longer needed.

Sponsored by: DARPA & NAI Labs.

21 years agoTypo in verb: zeros -> zeroes.
Giorgos Keramidas [Fri, 18 Oct 2002 01:05:46 +0000 (01:05 +0000)]
Typo in verb: zeros -> zeroes.

21 years agonot sure if this correct, but it compiles again
Sam Leffler [Fri, 18 Oct 2002 00:26:34 +0000 (00:26 +0000)]
not sure if this correct, but it compiles again

21 years agoSeparate fiels reported by disk_err() with spaces, so that output doesn't
Maxim Sobolev [Thu, 17 Oct 2002 23:48:29 +0000 (23:48 +0000)]
Separate fiels reported by disk_err() with spaces, so that output doesn't
look cryptic.

MFC after: 1 week

21 years agoFix silly typo: loacal --> local.
Maxim Sobolev [Thu, 17 Oct 2002 23:46:32 +0000 (23:46 +0000)]
Fix silly typo: loacal --> local.

21 years agoChanged the scsi mode command to use 10 bytes scsi commands instead
Jim Pirzyk [Thu, 17 Oct 2002 23:37:03 +0000 (23:37 +0000)]
Changed the scsi mode command to use 10 bytes scsi commands instead
of the 6 byte ones.  This helps with using a IDE cdrom behind a USB
interface.

PR: kern/43885

21 years agoStyle: use sa_handler instead of __sigaction_u.__sa_handler.
Tim J. Robbins [Thu, 17 Oct 2002 23:32:44 +0000 (23:32 +0000)]
Style: use sa_handler instead of __sigaction_u.__sa_handler.

21 years agoActivate ugidfw.8 man page.
Chris Costello [Thu, 17 Oct 2002 22:43:11 +0000 (22:43 +0000)]
Activate ugidfw.8 man page.

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

21 years agoReplace the conventional usage of strncpy() by using strlcpy().
Robert Drehmel [Thu, 17 Oct 2002 22:27:21 +0000 (22:27 +0000)]
Replace the conventional usage of strncpy() by using strlcpy().

21 years ago - Use strlcpy() rather than strncpy() to copy NUL terminated
Robert Drehmel [Thu, 17 Oct 2002 22:00:30 +0000 (22:00 +0000)]
 - Use strlcpy() rather than strncpy() to copy NUL terminated
   strings.
 - Pass the correct buffer size to getcredhostname().

21 years agoBe consistent and return the NUL at the end of kern.geom.conf{xml,dot}.
Poul-Henning Kamp [Thu, 17 Oct 2002 21:39:06 +0000 (21:39 +0000)]
Be consistent and return the NUL at the end of kern.geom.conf{xml,dot}.

Spotted by: sam

21 years agoInstead of (sizeof(source_buffer) - 1) bytes, copy at most
Robert Drehmel [Thu, 17 Oct 2002 21:02:02 +0000 (21:02 +0000)]
Instead of (sizeof(source_buffer) - 1) bytes, copy at most
(sizeof(destination_buffer) - 1) bytes into the destination buffer.
This was not harmful because they currently both provide space for
(MAXCOMLEN + 1) bytes.

21 years agoFD locking is not enabled anymore, so the table which contains the owner
Juli Mallett [Thu, 17 Oct 2002 20:26:26 +0000 (20:26 +0000)]
FD locking is not enabled anymore, so the table which contains the owner
of a file descriptor has NULL entries, so don't dereference the table entries
to get the owners ever -- don't print the owners when processing a thread_dump
request as a result of SIGINFO.

Reviewed by: deischen

21 years agoUse strlcpy() instead of strncpy() to copy NUL terminated strings
Robert Drehmel [Thu, 17 Oct 2002 20:03:38 +0000 (20:03 +0000)]
Use strlcpy() instead of strncpy() to copy NUL terminated strings
for safety and consistency.

21 years agoAdd Dutch ISO keymap
Andrey A. Chernov [Thu, 17 Oct 2002 19:56:00 +0000 (19:56 +0000)]
Add Dutch ISO keymap
PR: 17699
Submitted by: Edwin Groothuis <mavetju@chello.nl>

21 years agoNUL terminate sysctl kern.disks
Poul-Henning Kamp [Thu, 17 Oct 2002 19:27:02 +0000 (19:27 +0000)]
NUL terminate sysctl kern.disks

21 years agoo ioctl DIOCGDINFO error wasn't checked
Sam Leffler [Thu, 17 Oct 2002 18:34:32 +0000 (18:34 +0000)]
o ioctl DIOCGDINFO error wasn't checked
o memory wasn't reclaimed in certain cases
o add more msgs under #ifdef DEBUG
o rewrite tangle of for loops for clarity

NB: Open_Disk should redo how it malloc's memory so the caller can free
    everything.  Documentation says the caller can free the disk list to
    reclaim everything but this leaks the indirect strings.  Fixing this
    is simple for the sysctl case but adds complexity to the fallback,
    non-sysctl, case.

21 years agocorrect arg order to strlcpy/strlcat under #ifdef alpha
Sam Leffler [Thu, 17 Oct 2002 18:23:21 +0000 (18:23 +0000)]
correct arg order to strlcpy/strlcat under #ifdef alpha

21 years agoAdd the !define(COMPILING_LINT)
Jim Pirzyk [Thu, 17 Oct 2002 18:17:28 +0000 (18:17 +0000)]
Add the !define(COMPILING_LINT)

pass the pointy hat...

Requested by: Juli Mallett <jmallett@FreeBSD.org>

21 years agoWhen entering the firmware mappings into the kernel tlb, clear all 'soft'
Thomas Moestl [Thu, 17 Oct 2002 18:16:21 +0000 (18:16 +0000)]
When entering the firmware mappings into the kernel tlb, clear all 'soft'
bits that might be set in the firmware tte data field, and set the soft
flag TD_EXEC to mark the page executable. Failing to do the latter would
cause fatal instruction faults in the prom in certain situations.

Reviewed by: jake

21 years agoAllocate major 177 for the OpenFirmware control device, which I have
Thomas Moestl [Thu, 17 Oct 2002 18:11:49 +0000 (18:11 +0000)]
Allocate major 177 for the OpenFirmware control device, which I have
ported from NetBSD and plan to commit soon.

21 years agoAdd mount_devfs so we can remove MAKEDEV from the fixit floppy. These
Sam Leffler [Thu, 17 Oct 2002 18:04:53 +0000 (18:04 +0000)]
Add mount_devfs so we can remove MAKEDEV from the fixit floppy.  These
two changes make stuff fit in a floppy image again.

Note: tested only for i386, but (blindly) applied to all machines

21 years agoQuirk for HP 315 USB Digital Camera
Nate Lawson [Thu, 17 Oct 2002 18:04:41 +0000 (18:04 +0000)]
Quirk for HP 315 USB Digital Camera

Submitted by: Keith White <kwhite@uottawa.ca>
PR: kern/41010

MFC after: 1 week

21 years agoStrip splash, tun, and COMPAT_FREEBSD4 from the config used to build
Sam Leffler [Thu, 17 Oct 2002 18:02:27 +0000 (18:02 +0000)]
Strip splash, tun, and COMPAT_FREEBSD4 from the config used to build
the BOOTMFS kernel.  These help reduce the kernel size so things fit
in a floppy image.  There are more low-hanging fruit to be had here
if things fail to fit again.

21 years agoMark more drivers as going on the (nonexistent) drivers.flp floppy
Sam Leffler [Thu, 17 Oct 2002 18:00:30 +0000 (18:00 +0000)]
Mark more drivers as going on the (nonexistent) drivers.flp floppy
to reduce the size of the bootstrap kernels.  This is needed to make
stuff fit in primary floppy images.  Specific drivers moved: RAID
support, tx Ethernet, and wi (wireless).  Probably want to revisit
at least the last two drivers before release.

Submitted by: jhay (mostly)

21 years agolast arg of in6?_gif_output() is not used any more.
Hajimu UMEMOTO [Thu, 17 Oct 2002 17:47:55 +0000 (17:47 +0000)]
last arg of in6?_gif_output() is not used any more.

Obtained from: KAME
MFC after: 3 weeks

21 years ago- drop too short IPv6 frame
Hajimu UMEMOTO [Thu, 17 Oct 2002 17:42:46 +0000 (17:42 +0000)]
- drop too short IPv6 frame
- NULL != 0

Obtained from: KAME
MFC after: 3 weeks

21 years agos/gifp/ifp/
Hajimu UMEMOTO [Thu, 17 Oct 2002 17:39:56 +0000 (17:39 +0000)]
s/gifp/ifp/

Obtained from: KAME
MFC after: 3 weeks

21 years agofix kldload error return when a module is rejected because it's statically
Sam Leffler [Thu, 17 Oct 2002 17:28:57 +0000 (17:28 +0000)]
fix kldload error return when a module is rejected because it's statically
linked in the kernel.  When this condition is detected deep in the linker
internals the EEXIST error code that's returned is stomped on and instead
an ENOEXEC code is returned.  This makes apps like sysinstall bitch.

21 years agoFix a bug that showed up when trying to produce a database for
Josef Karthauser [Thu, 17 Oct 2002 16:29:26 +0000 (16:29 +0000)]
Fix a bug that showed up when trying to produce a database for
subdirectories, and ended up making us loop forever.

Add the username to the md5 of the commit to make it slightly more
unique.

Make the 'cvs' run quietly.

21 years agoFix compile with options SC_NO_SUSPEND_VTYSWITCH.
John Baldwin [Thu, 17 Oct 2002 16:09:13 +0000 (16:09 +0000)]
Fix compile with options SC_NO_SUSPEND_VTYSWITCH.

21 years ago - Allocate only enough space for a temporary buffer to hold
Robert Drehmel [Thu, 17 Oct 2002 15:52:42 +0000 (15:52 +0000)]
 - Allocate only enough space for a temporary buffer to hold
   the path including the terminating NUL character from
   `struct sockaddr_un' rather than SOCK_MAXADDRLEN bytes.
 - Use strlcpy() instead of strncpy() to copy strings.

21 years agomy(4) requires miibus, so that move it into proper section and also add a
Maxim Sobolev [Thu, 17 Oct 2002 15:32:03 +0000 (15:32 +0000)]
my(4) requires miibus, so that move it into proper section and also add a
verbose description into comment area.

21 years agoSwitch from the bs driver to the ct driver.
Yoshihiro Takahashi [Thu, 17 Oct 2002 13:57:57 +0000 (13:57 +0000)]
Switch from the bs driver to the ct driver.

21 years ago1. Fix a comment. Locking _is_ needed (but not done).
Mitsuru IWASAKI [Thu, 17 Oct 2002 13:55:39 +0000 (13:55 +0000)]
1. Fix a comment.  Locking _is_ needed (but not done).
2. Update a comment.  We now restore much more than RTC updates and
   interrupts.
3. Order change.  Stop interrupts by writing to RTC_STATUSB,
   restore rate bits for the interrupts by writing to RTC_STATUSA,
   then enable interrupts again.
   This seems to be done perfectly backwards in startrtclock().
   Otherwise, the idea for this change was obtained from
   startrtclock().
4. Don't stop the clock (RTCB_HALT).  We only program some control bits
   and don't want to stop the clock.
5. (Not really related.)  Add caveats to the comment about timer_restore().
   The update is non-atomic since locking is not done.

On locking:
6. rtcin() and writertc() are locked() adequately by splhigh() in RELENG_4,
   but this locking is null in -current.
7. Doing things in the correct order in (3) combined with (6) is probably
   enough locking for rtcrestore() in RELENG_4.  In -current, the
   writertc()'s race with rtcintr() unless the BIOS disables RTC interrupts.

Submitted by: bde (including commit message)
MFC after: 1 week

21 years agoAdded the new variable CTAGS which, if set to "ctags", reverts
Ruslan Ermilov [Thu, 17 Oct 2002 13:48:13 +0000 (13:48 +0000)]
Added the new variable CTAGS which, if set to "ctags", reverts
to creating the tags file using ctags(1).  Defaults to "gtags".
Made GTAGSFLAGS and HTAGSFLAGS overrideable, added CTAGSFLAGS.
Folded bsd.prog.mk version of `tags' into bsd.dep.mk.

PR: bin/42852

21 years agoFixed the quoting of the value of SC_CUT_SEPCHARS. The double quotes
Bruce Evans [Thu, 17 Oct 2002 13:47:31 +0000 (13:47 +0000)]
Fixed the quoting of the value of SC_CUT_SEPCHARS.  The double quotes
needed to be quoted (to get a C string literal), not the value itself.

Fixed the value of SC_CUT_SEPCHARS.  Setting this value would have had no
effect even if it were used, since the value was the same as the default.

The above bugs had no effect except to set bad examples, since test
coverage of SC_CUT_SEPCHARS is broken by enabling a negative option.

Removed (unquoted) double quotes for all options.  They were all bogus
since they had no effect except to make non-strings look like strings.
Most of the non-strings were expressions.  The value of INIT_PATH is
a non-string since it is stringified later (unlike SC_CUT_SEPCHARS).

Fixed parenthesization errors inside bogus quotes (parenthesize values
if they have more than one token in them but don't parenthesize single
tokens).

21 years agoRemove unused #includes. Eliminate castings by using size_t instead of int.
Philippe Charnier [Thu, 17 Oct 2002 13:19:47 +0000 (13:19 +0000)]
Remove unused #includes. Eliminate castings by using size_t instead of int.

21 years agoUse .Fl/Ar for flags and arguments.
Philippe Charnier [Thu, 17 Oct 2002 13:04:49 +0000 (13:04 +0000)]
Use .Fl/Ar for flags and arguments.

21 years agoFix off-by-one error when pushing back a multibyte sequence in
Tim J. Robbins [Thu, 17 Oct 2002 13:04:00 +0000 (13:04 +0000)]
Fix off-by-one error when pushing back a multibyte sequence in
wide character class (%l[) and wide string (%ls) conversions.

21 years agoIntroduce option enumeration the standard way.
Philippe Charnier [Thu, 17 Oct 2002 12:58:14 +0000 (12:58 +0000)]
Introduce option enumeration the standard way.

21 years agoMerged from sys/isa/syscons_isa.c revision 1.19.
Yoshihiro Takahashi [Thu, 17 Oct 2002 12:54:51 +0000 (12:54 +0000)]
Merged from sys/isa/syscons_isa.c revision 1.19.

21 years agoMerged from sys/dev/syscons/syscons.c revision 1.390.
Yoshihiro Takahashi [Thu, 17 Oct 2002 12:51:43 +0000 (12:51 +0000)]
Merged from sys/dev/syscons/syscons.c revision 1.390.

21 years agoMake part of the previous change clearer; check flags for SUPPRESS directly
Tim J. Robbins [Thu, 17 Oct 2002 12:06:29 +0000 (12:06 +0000)]
Make part of the previous change clearer; check flags for SUPPRESS directly
instead of checking whether we're using a temporary buffer.

21 years agoThe field width for single-byte string conversions (%c, %s, %[) is the
Tim J. Robbins [Thu, 17 Oct 2002 12:02:36 +0000 (12:02 +0000)]
The field width for single-byte string conversions (%c, %s, %[) is the
maximum number of bytes that may be stored in the array, not the maximum
number of wide characters to read. The wording of the standard unfortunately
does not make this clear.

21 years agoAdd new syscons option SC_NO_SUSPEND_VTYSWITCH.
Mitsuru IWASAKI [Thu, 17 Oct 2002 07:04:31 +0000 (07:04 +0000)]
Add new syscons option SC_NO_SUSPEND_VTYSWITCH.
This disables vty switch during suspend/resume.

21 years agoput an #error directive when SMP and CPU_DISABLE_CMPXCHG are set
Jim Pirzyk [Thu, 17 Oct 2002 05:51:36 +0000 (05:51 +0000)]
put an #error directive when SMP and CPU_DISABLE_CMPXCHG are set
together.

Requested by: Lars Eggart <larse@isi.edu>
Enlighted how to do it by: John Baldwin <jhb@freebsd.org>

21 years agoMake kqueue(2) work for virtual terminals.
Kelly Yancey [Thu, 17 Oct 2002 05:48:56 +0000 (05:48 +0000)]
Make kqueue(2) work for virtual terminals.

PR: 40486
Submitted by: Jilles Tjoelker <jilles+fbsd-bugs@stack.nl>

21 years agoDo not emit values as var=value while everything else looks like
Marcel Moolenaar [Thu, 17 Oct 2002 05:41:10 +0000 (05:41 +0000)]
Do not emit values as var=value while everything else looks like
XML. Emit the values as <var>value</var> for consistency.

21 years agoSuppress the uninitialized variable warning on ia64 introduced by
Marcel Moolenaar [Thu, 17 Oct 2002 03:45:34 +0000 (03:45 +0000)]
Suppress the uninitialized variable warning on ia64 introduced by
the previous commit by initializing i and j. These initializations
will normally be eliminated by the compiler.

21 years agoAdd a man page for ugidfw(8).
Chris Costello [Thu, 17 Oct 2002 01:54:37 +0000 (01:54 +0000)]
Add a man page for ugidfw(8).

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

21 years agoReplace old, not-working URL for an online index of DNS blacklist
Giorgos Keramidas [Wed, 16 Oct 2002 22:52:56 +0000 (22:52 +0000)]
Replace old, not-working URL for an online index of DNS blacklist
servers with a reference to the Google directory.

Reviewed by: gshapiro
MFC after: 1 week

21 years agode-__P().
Alfred Perlstein [Wed, 16 Oct 2002 22:27:27 +0000 (22:27 +0000)]
de-__P().

21 years agode-__P()
Alfred Perlstein [Wed, 16 Oct 2002 22:26:32 +0000 (22:26 +0000)]
de-__P()

21 years agode-__P()
Alfred Perlstein [Wed, 16 Oct 2002 22:18:42 +0000 (22:18 +0000)]
de-__P()

21 years agoMFbed: Catch up with the latest changes in the english version
Udo Erdelhoff [Wed, 16 Oct 2002 21:11:08 +0000 (21:11 +0000)]
MFbed: Catch up with the latest changes in the english version

hardware/common/dev.sgml: 1.106 -> 1.108
relnotes/common/new.sgml: 1.432 -> 1.433

21 years agoFix three <para> that should have been </para>
Udo Erdelhoff [Wed, 16 Oct 2002 20:58:26 +0000 (20:58 +0000)]
Fix three <para> that should have been </para>

21 years agouse encapcheck.
Hajimu UMEMOTO [Wed, 16 Oct 2002 20:16:49 +0000 (20:16 +0000)]
use encapcheck.

Obtained from: KAME
MFC after: 3 weeks

21 years agoFix a fairly subtle bug in mbuf_init() where the reference counter
Bosko Milekic [Wed, 16 Oct 2002 19:59:08 +0000 (19:59 +0000)]
Fix a fairly subtle bug in mbuf_init() where the reference counter
contiguous space was being allocated from the clust_map
instead of the mbuf_map as the comments indicated.  This resulted in
some address space wastage in mbuf_map.

Submitted by: Rohit Jalan <rohjal@yahoo.co.in>