]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoo Follow the trend and try to explain what the slow device is.
maxim [Wed, 11 Oct 2006 13:33:02 +0000 (13:33 +0000)]
o Follow the trend and try to explain what the slow device is.
Not ideal but better than nothing.

Obtained from: OpenBSD, NetBSD

17 years agoMake it buildable.
glebius [Wed, 11 Oct 2006 13:28:37 +0000 (13:28 +0000)]
Make it buildable.

17 years agoUnbreak a short one.
glebius [Wed, 11 Oct 2006 12:39:21 +0000 (12:39 +0000)]
Unbreak a short one.

Submitted by: maxim

17 years agoBreak long line.
glebius [Wed, 11 Oct 2006 12:32:53 +0000 (12:32 +0000)]
Break long line.

17 years agoUse hash functions with better distribution. Tested on live traffic.
glebius [Wed, 11 Oct 2006 12:31:14 +0000 (12:31 +0000)]
Use hash functions with better distribution. Tested on live traffic.

Submitted by: Alexander Motin <mav alkar.net>

17 years agoo Do not do args->f_id.addr_type == 6 when there is
maxim [Wed, 11 Oct 2006 12:14:28 +0000 (12:14 +0000)]
o Do not do args->f_id.addr_type == 6 when there is
IS_IP6_FLOW_ID() exactly for that.

17 years agoo Kill a nit in the comment.
maxim [Wed, 11 Oct 2006 12:00:53 +0000 (12:00 +0000)]
o Kill a nit in the comment.

17 years agoo Extend not very informative ipfw(4) message 'drop session, too many
maxim [Wed, 11 Oct 2006 11:52:34 +0000 (11:52 +0000)]
o Extend not very informative ipfw(4) message 'drop session, too many
entries' by src:port and dst:port pairs.  IPv6 part is non-functional
as ``limit'' does not support IPv6 flows.

PR: kern/103967
Submitted by: based on Bruce Campbell patch
MFC after: 1 month

17 years agoUse bitcount32() from sys/systm.h instead of my own.
glebius [Wed, 11 Oct 2006 10:47:44 +0000 (10:47 +0000)]
Use bitcount32() from sys/systm.h instead of my own.

17 years agoFix style(9) bugs in previous commit.
trhodes [Wed, 11 Oct 2006 10:26:34 +0000 (10:26 +0000)]
Fix style(9) bugs in previous commit.

Lesson from: bde

17 years ago- Update the baudrate every time the parent changes its link state.
glebius [Wed, 11 Oct 2006 10:06:35 +0000 (10:06 +0000)]
- Update the baudrate every time the parent changes its link state.
- Rearrange the curly braces so that this piece of code is more
  readable.

17 years agoAdd the -P option back, but with a note that it is not supported on FreeBSD.
trhodes [Wed, 11 Oct 2006 09:52:32 +0000 (09:52 +0000)]
Add the -P option back, but with a note that it is not supported on FreeBSD.

Requested by: ru

17 years agoAdd powerpc stuff.
delphij [Wed, 11 Oct 2006 07:52:54 +0000 (07:52 +0000)]
Add powerpc stuff.

17 years agoSync with latest English revisions.
delphij [Wed, 11 Oct 2006 07:49:07 +0000 (07:49 +0000)]
Sync with latest English revisions.

Obtained from: The FreeBSD Simplified Chinese Project

17 years agoMerge the rest of my changes.
ru [Wed, 11 Oct 2006 07:11:56 +0000 (07:11 +0000)]
Merge the rest of my changes.

17 years agoFix the prompt string.
ru [Wed, 11 Oct 2006 07:07:31 +0000 (07:07 +0000)]
Fix the prompt string.

17 years agoFix CPU value.
ru [Wed, 11 Oct 2006 04:14:41 +0000 (04:14 +0000)]
Fix CPU value.

17 years agoUsing the ptr defines broke the powerpc build - convert set_mmfsa to the same
kmacy [Wed, 11 Oct 2006 02:52:46 +0000 (02:52 +0000)]
Using the ptr defines broke the powerpc build - convert set_mmfsa to the same
convention as the rest of openfirm.c

17 years agoForced commit to note that the previous commit also did the following:
bde [Tue, 10 Oct 2006 23:40:47 +0000 (23:40 +0000)]
Forced commit to note that the previous commit also did the following:
- document the (new MI, old MD) `halt' command
- document the (new MI, old MD) `reboot' alias
- remove documentation of the removed `registers' command.  The `r' alias
  for `reset' is now prevented better by the ambiguity between `reset' and
  `reboot'.

17 years agoChange the x86 interrupt code to suspend/resume interrupt controllers
jhb [Tue, 10 Oct 2006 23:23:12 +0000 (23:23 +0000)]
Change the x86 interrupt code to suspend/resume interrupt controllers
(PICs) rather than interrupt sources.  This allows interrupt controllers
with no interrupt pics (such as the 8259As when APIC is in use) to
participate in suspend/resume.
- Always register the 8259A PICs even if we don't use any of their pins.
- Explicitly reset the 8259As on resume on amd64 if 'device atpic' isn't
  included.
- Add a "dummy" PIC for the local APIC on the BSP to reset the local APIC
  on resume.  This gets suspend/resume working with APIC on UP systems.
  SMP still needs more work to bring the APs back to life.

The MFC after is tentative.

Tested by: anholt (i386)
Submitted by: Andrea Bittau <a.bittau at cs.ucl.ac.uk> (3)
MFC after: 1 week

17 years agoDocument the `kill' command.
bde [Tue, 10 Oct 2006 23:09:10 +0000 (23:09 +0000)]
Document the `kill' command.

Submitted by: Allan Fields <bsd@afields.ca>
PR: 82779

17 years agoDon't pass unused bufsz to kern_shmctl().
jhb [Tue, 10 Oct 2006 22:46:50 +0000 (22:46 +0000)]
Don't pass unused bufsz to kern_shmctl().

17 years agoOnly try to copyin a msqid for the IPC_SET command to msgctl(). Other
jhb [Tue, 10 Oct 2006 22:46:22 +0000 (22:46 +0000)]
Only try to copyin a msqid for the IPC_SET command to msgctl().  Other
commands (such as IPC_RMID) were bogusly failing with EFAULT.

Tested by: jkim

17 years agoRemove unnecessary casts before PTRIN().
jhb [Tue, 10 Oct 2006 22:44:59 +0000 (22:44 +0000)]
Remove unnecessary casts before PTRIN().

17 years ago- Grammar and typo fixes
markus [Tue, 10 Oct 2006 22:38:31 +0000 (22:38 +0000)]
- Grammar and typo fixes
- Rewording of some sentences

Reviewed by: brueffer
Approved by: emax (mentor)
MFC after: 3 days

17 years agoAdhere to POSIX: the -m option only applies to the newly created
ru [Tue, 10 Oct 2006 20:18:20 +0000 (20:18 +0000)]
Adhere to POSIX: the -m option only applies to the newly created
directories; it should not change the permission bits of already
existing directories.

Submitted by: Alex Unleashed (modified by me)

17 years agoOops, fix sign bug in #ifdef for value of INTRCNT_COUNT.
jhb [Tue, 10 Oct 2006 19:26:35 +0000 (19:26 +0000)]
Oops, fix sign bug in #ifdef for value of INTRCNT_COUNT.

PR: kern/99870
Submitted by: jkim
MFC after: 3 days

17 years agoDistinguish between two distinct kinds of errors from VOP_BMAP() in
alc [Tue, 10 Oct 2006 18:26:18 +0000 (18:26 +0000)]
Distinguish between two distinct kinds of errors from VOP_BMAP() in
vnode_pager_generic_getpages(): (1) that VOP_BMAP() is unsupported by the
underlying file system and (2) an error in performing the VOP_BMAP().
Previously, vnode_pager_generic_getpages() assumed that all errors were
of the first type.  If, in fact, the error was of the second type, the
likely outcome was for the process to become permanently blocked on a busy
page.

MFC after: 3 weeks
Reviewed by: tegge

17 years agoRemind firmware of the ESSID to use in a directed scan. This fixes scanning
mlaier [Tue, 10 Oct 2006 18:02:22 +0000 (18:02 +0000)]
Remind firmware of the ESSID to use in a directed scan.  This fixes scanning
for hidden APs when we are not comming from iwi_config.

Reported by: Andrew N. Below
MFC after: 3 days

17 years agoDo allow jailed superuser to override the port ACL.
rwatson [Tue, 10 Oct 2006 17:04:19 +0000 (17:04 +0000)]
Do allow jailed superuser to override the port ACL.

MFC after: 3 days
Submitted by: Michal Mertl <mime at traveller dot cz>

17 years agoMark the audit system calls as being un-implemented in jails. Currently we do
csjp [Tue, 10 Oct 2006 15:49:10 +0000 (15:49 +0000)]
Mark the audit system calls as being un-implemented in jails. Currently we do
not trust jails enough to execute audit related system calls. An example of
this is with su(1), or login(1) within prisons. So, if the syscall request
comes from a jail return ENOSYS. This will cause these utilities to operate
as if audit is not present in the kernel.

Looking forward, this problem will be remedied by allowing non privileged
users to maintain and their own audit streams, but the details on exactly how
this will be implemented needs to be worked out.

This change should fix situations when options AUDIT has been compiled into
the kernel, and utilities like su(1), or login(1) fail due to audit system
call failures within jails.

This is a RELENG_6 candidate.

Reported by: Christian Brueffer
Discussed with: rwatson
MFC after: 3 days

17 years agoGuard against invalid metadata.
pjd [Tue, 10 Oct 2006 15:01:47 +0000 (15:01 +0000)]
Guard against invalid metadata.

MFC after: 1 week

17 years agoBe sure to not create devices with (mediasize % sectorsize) != 0.
pjd [Tue, 10 Oct 2006 15:00:32 +0000 (15:00 +0000)]
Be sure to not create devices with (mediasize % sectorsize) != 0.

Reported by: xride
MFC after: 1 week

17 years agoBe sure to not create device which
pjd [Tue, 10 Oct 2006 14:58:21 +0000 (14:58 +0000)]
Be sure to not create device which

17 years agoo From kern_prot.c::p_cansignal():
maxim [Tue, 10 Oct 2006 11:37:41 +0000 (11:37 +0000)]
o From kern_prot.c::p_cansignal():

UNIX signalling semantics require that processes in the same
session always be able to deliver SIGCONT to one another,
overriding the remaining protections.

Fix SIGCONT special case description similar to rev. 1.22 kill.2.

PR: docs/58710
Submitted by: Ryan Younce
MFC after: 2 weeks

17 years agoSort some of the most inconsistently ordered descriptions of commands
bde [Tue, 10 Oct 2006 11:07:37 +0000 (11:07 +0000)]
Sort some of the most inconsistently ordered descriptions of commands
(the group of watchpoint commands, and the `reset' command).

NetBSD has sorted everything alphabetically, but I think we would have
too many commands for that if all commands were actually documented
here, so this commit moves towards alphabetical order in several sections:
- section for pure ddb (non-"show") commands.  Now contains the watchpoint
  commands and is mostly in "logical" order.
- section for pure ddb "show" commands
- similarly for auxilary commands.  Most of these are currently missing
  here.

17 years agoFix markup botched in previous commit.
ru [Tue, 10 Oct 2006 09:44:08 +0000 (09:44 +0000)]
Fix markup botched in previous commit.

17 years agoDo not translate the IN_ACCESS inode flag into the IN_MODIFIED while filesystem
kib [Tue, 10 Oct 2006 09:20:54 +0000 (09:20 +0000)]
Do not translate the IN_ACCESS inode flag into the IN_MODIFIED while filesystem
is suspending/suspended. Doing so may result in deadlock. Instead, set the
(new) IN_LAZYACCESS flag, that becomes IN_MODIFIED when suspend is lifted.

Change the locking protocol in order to set the IN_ACCESS and timestamps
without upgrading shared vnode lock to exclusive (see comments in the
inode.h). Before that, inode was modified while holding only shared
lock.

Tested by: Peter Holm
Reviewed by: tegge, bde
Approved by: pjd (mentor)
MFC after: 3 weeks

17 years agoFix markup in previous revision.
ru [Tue, 10 Oct 2006 08:15:08 +0000 (08:15 +0000)]
Fix markup in previous revision.

17 years agoThe powerpc and sparc64 MD `reboot' commands should never have existed
bde [Tue, 10 Oct 2006 07:26:54 +0000 (07:26 +0000)]
The powerpc and sparc64 MD `reboot' commands should never have existed
since they just duplicated the MI `reset' command.  Instead of removing
them, make `reboot' an MI alias for `reboot' since this gives a better
way of killing the `r' alias for `reset'.  Remove the `registers' command
that was used to kill the alias.

Turn the powerpc and sparc64 MD `halt' command into an MI command.

A copy of sparc64/db_interface.c grew in sun4v just after I found the
extra reboot commands.  It has not been changed, and is now not
identical.  Duplicated commands come out duplicated in ddb's online
help, but cause large problems when used (e.g., on i386's with 2 halt's
and an hwatch, typing h doesn' give the expected message about an
ambiguous command, but hangs like the halt command or a looping parseri
would).

17 years agoRemove ndisapi.9 Xref.
trhodes [Tue, 10 Oct 2006 07:19:30 +0000 (07:19 +0000)]
Remove ndisapi.9 Xref.

PR: 97375

17 years agoFixed loss of whitespace suppression at ends of lines. Whitespace
bde [Tue, 10 Oct 2006 06:36:01 +0000 (06:36 +0000)]
Fixed loss of whitespace suppression at ends of lines.  Whitespace
suppression is only needed at ends of lines, but rev.1.32 forced it
off precisely there.

The --More-- prompt is now cleared by explicitly forcing out the
whitespace in "\r        \r".  It might be better to use the line
editor's clearing functions, but these are currently static and not
much different.

17 years agoNote that the -v option may be used to expand long SSIDs.
trhodes [Tue, 10 Oct 2006 02:20:12 +0000 (02:20 +0000)]
Note that the -v option may be used to expand long SSIDs.

PR: 102118
Reviewed by: sam

17 years agogrep -P xxx file.txt
trhodes [Tue, 10 Oct 2006 01:57:25 +0000 (01:57 +0000)]
grep -P xxx file.txt
"The -P option is not supported"
Removed from the manual page via this commit.

PR: 99831

17 years agocorrect diag request to fetch isr state on fatal interrupts
sam [Mon, 9 Oct 2006 23:45:26 +0000 (23:45 +0000)]
correct diag request to fetch isr state on fatal interrupts

MFC after: 1 week

17 years agoAdd information on how to escape a literal colon in a value or name.
trhodes [Mon, 9 Oct 2006 22:35:02 +0000 (22:35 +0000)]
Add information on how to escape a literal colon in a value or name.

PR: 101262

17 years agoFix a typo introduced in the last commit: WWW Refresh is 0x227, not 0227
markus [Mon, 9 Oct 2006 22:27:23 +0000 (22:27 +0000)]
Fix a typo introduced in the last commit: WWW Refresh is 0x227, not 0227

Approved by: emax (mentor)
MFC after: 1 day

17 years agoAdd a note about rule syntax compared to the shell used so users do not get
trhodes [Mon, 9 Oct 2006 22:12:08 +0000 (22:12 +0000)]
Add a note about rule syntax compared to the shell used so users do not get
frustraited when:
ipfw add 201 deny ip from any to table(2) in via xl1
returns "Badly placed ( )'s"

PR: 73638

17 years agoFix style(9) nits.
jkim [Mon, 9 Oct 2006 20:26:32 +0000 (20:26 +0000)]
Fix style(9) nits.

17 years agoFix 32-bit PTE in the GART table.
jkim [Mon, 9 Oct 2006 20:24:49 +0000 (20:24 +0000)]
Fix 32-bit PTE in the GART table.

Noticed by: jmg

17 years agoPatch in previous commit should have bumped doc date.
trhodes [Mon, 9 Oct 2006 19:53:00 +0000 (19:53 +0000)]
Patch in previous commit should have bumped doc date.
Fix spelling of ioctl.
Note that previous commit was actually submitted by bz.  I'm not yet used
to the code boxes yet.

Noticed by: ru

17 years agoDon't go beyond the provided string when parsing the `\' character.
ru [Mon, 9 Oct 2006 19:37:26 +0000 (19:37 +0000)]
Don't go beyond the provided string when parsing the `\' character.

PR: bin/99985
Submitted by: Nate Eldredge
MFC after: 3 days

17 years agoThe SIOCSIFNETMASK ioctl was removed from tun.c, thus remove mention of
trhodes [Mon, 9 Oct 2006 19:20:53 +0000 (19:20 +0000)]
The SIOCSIFNETMASK ioctl was removed from tun.c, thus remove mention of
it in the tun.4 manual page.

PR: 98541
Submitted by: David Gilbert

17 years agoBetter mdoc(7). Bump doc date.
trhodes [Mon, 9 Oct 2006 19:01:02 +0000 (19:01 +0000)]
Better mdoc(7).  Bump doc date.

Kicked by: ru

17 years agoNote the naming convention of files in share/skel and explain the "dot"
trhodes [Mon, 9 Oct 2006 17:57:40 +0000 (17:57 +0000)]
Note the naming convention of files in share/skel and explain the "dot"
prefix is removed.

PR: 103828

17 years agoPrevent mountd(8) from resetting mount options when exporting a filesystem.
rink [Mon, 9 Oct 2006 17:38:18 +0000 (17:38 +0000)]
Prevent mountd(8) from resetting mount options when exporting a filesystem.

Approved by: imp (mentor)
Sponsored by: Quality Service Provider BV
MFC after: 3 days

17 years agoprovide routines to access VPD data at the PCI layer...
jmg [Mon, 9 Oct 2006 16:15:56 +0000 (16:15 +0000)]
provide routines to access VPD data at the PCI layer...

remove sk's own implementation, and use the new calls to get the data...

Reviewed by: -arch

17 years agoFix markup.
ru [Mon, 9 Oct 2006 15:21:50 +0000 (15:21 +0000)]
Fix markup.

17 years agoAdd more .Xr's.
ceri [Mon, 9 Oct 2006 12:50:16 +0000 (12:50 +0000)]
Add more .Xr's.

MFC after: 6 days

17 years agomore sun4v fallout - missed add
kmacy [Mon, 9 Oct 2006 07:00:59 +0000 (07:00 +0000)]
more sun4v fallout - missed add
Approved by: rwatson (mentor)

17 years agoo Grammar.
maxim [Mon, 9 Oct 2006 06:47:08 +0000 (06:47 +0000)]
o Grammar.

Submitted by: kris

17 years agounbreak buildkernel for sparc64 - fallout from sun4v
kmacy [Mon, 9 Oct 2006 06:08:24 +0000 (06:08 +0000)]
unbreak buildkernel for sparc64 - fallout from sun4v

Approved by: rwatson (mentor)
Reviewed by: jmg

17 years agounbreak sparc64 loader build
kmacy [Mon, 9 Oct 2006 05:59:04 +0000 (05:59 +0000)]
unbreak sparc64 loader build
re-add accidentally deleted asi value
remove sun4v only header include

Approved by: rwatson (mentor)
Reviewed by: jmg

17 years agoo Enable test-sparceaout test since alc@ has fixed the panic in rev. 1.229
maxim [Mon, 9 Oct 2006 05:31:37 +0000 (05:31 +0000)]
o Enable test-sparceaout test since alc@ has fixed the panic in rev. 1.229
sys/vm/vnode_pager.c.
cVS: ----------------------------------------------------------------------

17 years agounbreak build for sparc64 etc.
kmacy [Mon, 9 Oct 2006 05:12:54 +0000 (05:12 +0000)]
unbreak build for sparc64 etc.
TARGET won't be defined on non subarches

Approved by: rwatson (mentor)
Reviewed by: jmg

17 years agobuildworld fixes for sun4v
kmacy [Mon, 9 Oct 2006 04:58:45 +0000 (04:58 +0000)]
buildworld fixes for sun4v
not sure why pmap.c is included as it is unchanged

Approved by: rwatson (mentor)
Reviewed by: jmg

17 years agoTemporarily add newer copy of tc-sparc.c to build to
kmacy [Mon, 9 Oct 2006 04:52:14 +0000 (04:52 +0000)]
Temporarily add newer copy of tc-sparc.c to build to
support building of sun4v. This can be removed once
the binutils import happens.

Reviewed by: kan
Approved by: rwatson (mentor)

17 years agokernel clean up to make the sun4v kernel build
kmacy [Mon, 9 Oct 2006 04:45:19 +0000 (04:45 +0000)]
kernel clean up to make the sun4v kernel build

Reviewed by: jmg
Approved by: rwatson (mentor)

17 years agoadd sun4v support to the sparc64 boot loader
kmacy [Mon, 9 Oct 2006 04:43:07 +0000 (04:43 +0000)]
add sun4v support to the sparc64 boot loader

Approved by: rwatson (mentor)
Reviewed by: jmg
Tested by: kris, dwhite, and jmg

17 years agoAdd a tip on "how to strip UTF-8 BOM"
chinsan [Mon, 9 Oct 2006 04:11:34 +0000 (04:11 +0000)]
Add a tip on "how to strip UTF-8 BOM"

Approved by: delphij (mentor)

17 years agoDocument new aliases `b', `t' and `registers'. Document old aliases
bde [Mon, 9 Oct 2006 02:27:55 +0000 (02:27 +0000)]
Document new aliases `b', `t' and `registers'.  Document old aliases
`bt', `c', `d', `p', `s', `w' and `where'.

17 years agoUse LIST_FOREACH_SAFE instead of a hand rolled version.
thompsa [Mon, 9 Oct 2006 00:49:57 +0000 (00:49 +0000)]
Use LIST_FOREACH_SAFE instead of a hand rolled version.

17 years agoWhen using sysinstall on a running system and editing a disk label
ceri [Sun, 8 Oct 2006 21:16:00 +0000 (21:16 +0000)]
When using sysinstall on a running system and editing a disk label
fails, suggest setting kern.geom.debugflags to 16.

PR: bin/94409
Submitted by: Markus Oestreicher <m punkt oe at x dash trader dot de>
MFC after: 10 days

17 years agoChange vnode_pager_generic_getpages() so that it does not panic if the
alc [Sun, 8 Oct 2006 20:26:16 +0000 (20:26 +0000)]
Change vnode_pager_generic_getpages() so that it does not panic if the
given file is sparse.  Instead, it zeroes the requested page.

Reviewed by: tegge
PR: kern/98116
MFC after: 3 days

17 years agoUpdate the list of codecs as well...
joel [Sun, 8 Oct 2006 19:57:53 +0000 (19:57 +0000)]
Update the list of codecs as well...

17 years agoUpdate list of supported hardware.
joel [Sun, 8 Oct 2006 19:41:37 +0000 (19:41 +0000)]
Update list of supported hardware.

17 years ago- Note that the bridge uses a random MAC and can be overridden.
thompsa [Sun, 8 Oct 2006 19:41:05 +0000 (19:41 +0000)]
- Note that the bridge uses a random MAC and can be overridden.
- Provide an example of assigning an IP to the bridge.

PR: kern/102607
Submitted by: Stefan Bethke <stb@lassitu.de>
MFC after: 3 days

17 years agoAdded few more pci ids for Intel, ATI, NVidia, VIA and SiS.
ariff [Sun, 8 Oct 2006 18:51:58 +0000 (18:51 +0000)]
Added few more pci ids for Intel, ATI, NVidia, VIA and SiS.

17 years agoAdded some aliases:
bde [Sun, 8 Oct 2006 18:37:00 +0000 (18:37 +0000)]
Added some aliases:
- `b' is now an official alias for `break'.  It used to be an unofficial
  alias, but this was broken by adding the `bt' alias for `trace'.
- `t' is now an official alias for `trace'.  It used to be an unofficial
  alias, but this was broken by adding the `thread' command.
- `registers' is now an alias for `show registers'.  This is a hack to
  break the unofficial `r' alias for `reset'.  `r' really means
  `registers' in some debuggers, so I sometimes type it accidentally and
  am annoyed when it resets the system.  A short command shouldn't have
  such a large effect.  Now at least `res' must be typed to disambiguate
  `reset'.

17 years agoFixed formatting of printing of command tables. WIth the default max
bde [Sun, 8 Oct 2006 18:15:08 +0000 (18:15 +0000)]
Fixed formatting of printing of command tables.  WIth the default max
output width of 79, only 6 columns of width 12 each fit, but 7 columns
were printed.

The fix is to pass the width of the next output to db_end_line() and
not assume there that this width is always 1.

Related unfixed bugs:
- 1 character is wasted for a space after the last column
- suppression of trailing spaces used to limit the misformatting, but
  seems to have been lost
- in db_examine(), the width of the next output is not know and is
  still assumed to be 1.

17 years agoRemove unnecessary test case. (As written, that branch will never
netchild [Sun, 8 Oct 2006 17:13:54 +0000 (17:13 +0000)]
Remove unnecessary test case.  (As written, that branch will never
be followed.)

Submitted by: ryanb
Found with: Coverity Prevent
CID: 239860

17 years ago- change if (cond) panic() to KASSERT.
netchild [Sun, 8 Oct 2006 17:10:34 +0000 (17:10 +0000)]
- change if (cond) panic() to KASSERT.
- Dont forget to free em in a case of error.

Suggested by: ssouhlal
Submitted by: rdivacky
Tested with: LTP

17 years ago- Replace homegrown check for FIFO with S_ISFIFO. [1]
netchild [Sun, 8 Oct 2006 17:08:27 +0000 (17:08 +0000)]
- Replace homegrown check for FIFO with S_ISFIFO. [1]
- Check the status of the options before messing with it.

Inspired by: NetBSD [1]
Submitted by: rdivacky
Tested with: LTP

17 years agoAdd a basic manpage for geom_uzip(4).
ceri [Sun, 8 Oct 2006 17:05:15 +0000 (17:05 +0000)]
Add a basic manpage for geom_uzip(4).

Reviewed by: trhodes
MFC after: 1 week

17 years agoImplement /proc/sys/kernel/pid_max.
netchild [Sun, 8 Oct 2006 16:55:27 +0000 (16:55 +0000)]
Implement /proc/sys/kernel/pid_max.

Submitted by: rdivacky
Tested with: LTP

17 years agoFix a regression: let natd load libalias modules before /usr is mounted
piso [Sun, 8 Oct 2006 14:02:00 +0000 (14:02 +0000)]
Fix a regression: let natd load libalias modules before /usr is mounted
renaming /lib/libalias_*.so.4 to /lib/libalias_*.so.

Approved by: glebius
Reviewed by: glebius, ru

17 years agoVarious mdoc and grammar fixes.
piso [Sun, 8 Oct 2006 13:53:45 +0000 (13:53 +0000)]
Various mdoc and grammar fixes.

Approved by: glebius
Reviewed by: glebius, ru

17 years agoSort libalias files.
piso [Sun, 8 Oct 2006 13:51:27 +0000 (13:51 +0000)]
Sort libalias files.

Approved by: glebius
Reviewed by: glebius, ru

17 years agoUpdate the list of POSIX extensions.
ceri [Sun, 8 Oct 2006 10:31:44 +0000 (10:31 +0000)]
Update the list of POSIX extensions.

PR: docs/103859
Submitted by: shaun
MFC after: 1 week

17 years agoAdd missing PCI ID for the acer m5288
sos [Sun, 8 Oct 2006 09:58:00 +0000 (09:58 +0000)]
Add missing PCI ID for the acer m5288

17 years agoFix TLS on sparc64 for statically and dynamically linked binaries
kmacy [Sun, 8 Oct 2006 02:50:34 +0000 (02:50 +0000)]
Fix TLS on sparc64 for statically and dynamically linked binaries
Approved by: rwatson (mentor)
Reviewed by: jmg and marcel

17 years agoNew release note: SA-06:22.openssh.
bmah [Sun, 8 Oct 2006 00:22:20 +0000 (00:22 +0000)]
New release note:  SA-06:22.openssh.

17 years agoProperly separate sentences by adding a semi-colon.
trhodes [Sat, 7 Oct 2006 23:12:19 +0000 (23:12 +0000)]
Properly separate sentences by adding a semi-colon.

Hinted by: bmah

17 years agoMake -r a synonym for -R, similar to behavior on Linux while being backwards
trhodes [Sat, 7 Oct 2006 22:14:43 +0000 (22:14 +0000)]
Make -r a synonym for -R, similar to behavior on Linux while being backwards
compatible with old -r behavior with regards to -L.  You can now copy fifos
and other special files with -r.

Reviewed by: -standards (long ago), das, bde
Approved by: bde (recently)

17 years agogetenv.3: Put "is" on a line with other words
trhodes [Sat, 7 Oct 2006 21:27:21 +0000 (21:27 +0000)]
getenv.3: Put "is" on a line with other words
getobjformat.3: "takes precedence over" is not an envrionment variable.

PR: 75545
Submitted by: n-kogane@syd.odn.ne.jp
MFC after: 3 days

17 years agoflesh out the devd.conf man page... Mostly from the PR, but did a couple
jmg [Sat, 7 Oct 2006 21:15:40 +0000 (21:15 +0000)]
flesh out the devd.conf man page...  Mostly from the PR, but did a couple
gramatical tweaks along w/ sorting the list, and adding that serial is
available for USB....

PR: 85097
Submitted by: Fredrik Lindberg
MFC after: 1 week

17 years agoAdd a USB umass(4) quirk for Panasonic KXL-840AN CD-R drive.
flz [Sat, 7 Oct 2006 20:08:37 +0000 (20:08 +0000)]
Add a USB umass(4) quirk for Panasonic KXL-840AN CD-R drive.

PR: usb/81073
Submitted by: James E. Flemer <jflemer@alum.rpi.edu>
MFC after: 3 days

17 years agoAdd a USB quirk for CMOTECH CDMA USB modem.
flz [Sat, 7 Oct 2006 19:42:45 +0000 (19:42 +0000)]
Add a USB quirk for CMOTECH CDMA USB modem.

PR: usb/97948
Submitted by: Alexei Volkov <kot@kotzone.ru>
MFC after: 3 days

17 years agoAdd a USB quirk for Motorola A41x/V32x USB phones.
flz [Sat, 7 Oct 2006 19:27:53 +0000 (19:27 +0000)]
Add a USB quirk for Motorola A41x/V32x USB phones.

PR: usb/97512
Submitted by: Mark Diekhans <markd@kermodei.com>
MFC after: 3 days

17 years agoShuffle _*_libs assigments (no functional changes).
ru [Sat, 7 Oct 2006 19:26:46 +0000 (19:26 +0000)]
Shuffle _*_libs assigments (no functional changes).