]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
14 years agoMFC r200781:
jh [Mon, 8 Feb 2010 15:55:01 +0000 (15:55 +0000)]
MFC r200781:

Cast time_t values to intmax_t and use %jd with printf.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203669 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r200780:
jh [Mon, 8 Feb 2010 15:53:28 +0000 (15:53 +0000)]
MFC r200780:

Remove non-working special case for pipe(2) from amd64-fbsd32.c and
i386-fbsd.c. Add pipe(2) to syscall table to decode it's pointer
argument properly and re-add special handling for pipe(2) return value
to print_syscall_ret().

PR: bin/120870

git-svn-id: svn://svn.freebsd.org/base/stable/8@203668 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r200752:
jh [Mon, 8 Feb 2010 15:50:51 +0000 (15:50 +0000)]
MFC r200752:

Avoid sharing the file descriptor of the output file with traced
processes by setting the FD_CLOEXEC flag for the output file.

PR: bin/140493

git-svn-id: svn://svn.freebsd.org/base/stable/8@203667 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r200751:
jh [Mon, 8 Feb 2010 15:48:18 +0000 (15:48 +0000)]
MFC r200751:

Add fork(2), getegid(2), geteuid(2), getgid(2), getpid(2), getpgid(2),
getpgrp(2), getppid(2), getsid(2) and getuid(2) to syscall table to
decode their arguments correctly.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203666 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMC r202889, r202940:
attilio [Mon, 8 Feb 2010 14:08:52 +0000 (14:08 +0000)]
MC r202889, r202940:
- Fix a race in sched_switch() of sched_4bsd.
  Block the td_lock when acquiring explicitly sched_lock in order to prevent
  races with other td_lock contenders.
- Merge the ULE's internal function thread_block_switch() into the global
  thread_lock_block() and make the former semantic as the default for
  thread_lock_block().
- Split out an invariant in order to have better checks.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203662 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r203414:
davidxu [Mon, 8 Feb 2010 03:11:55 +0000 (03:11 +0000)]
MFC r203414:
After busied the lock, re-read state word before checking waiters flag,
otherwise, the waiters bit may not be set and a wakeup is lost.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203645 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMerge r202115 from head:
gavin [Sun, 7 Feb 2010 21:04:26 +0000 (21:04 +0000)]
Merge r202115 from head:

  Our standard "xterm" termcap entry supports colour, so this tip is redundant.
  As it happens, "xterm-color" has just been an alias for "xterm" since
  src/share/termcap/termcap.src 1.131 in September 2002.

PR: docs/132959

git-svn-id: svn://svn.freebsd.org/base/stable/8@203638 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 202961:
dougb [Sun, 7 Feb 2010 20:28:24 +0000 (20:28 +0000)]
MFC 202961:

Upgrade to BIND 9.6.1-P3.

This version address the following vulnerabilities:

BIND 9 Cache Update from Additional Section
https://www.isc.org/advisories/CVE-2009-4022v6
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4022
A nameserver with DNSSEC validation enabled may incorrectly add
unauthenticated records to its cache that are received during the
resolution of a recursive client query

BIND 9 DNSSEC validation code could cause bogus NXDOMAIN responses
https://www.isc.org/advisories/CVE-2010-0097
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0097
There was an error in the DNSSEC NSEC/NSEC3 validation code that could
cause bogus NXDOMAIN responses (that is, NXDOMAIN responses for records
proven by NSEC or NSEC3 to exist) to be cached as if they had validated
correctly

These issues only affect systems with DNSSEC validation enabled.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203635 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 202960:
dougb [Sun, 7 Feb 2010 20:26:45 +0000 (20:26 +0000)]
MFC 202960:

Copyright-only changes to generated files as part of the 9.6.1-P3 update

git-svn-id: svn://svn.freebsd.org/base/stable/8@203634 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r202900
marius [Sun, 7 Feb 2010 11:59:55 +0000 (11:59 +0000)]
MFC: r202900

Merge r203608 from amd64/i386:

In syscall(), reread syscall number and arguments after ptracestop(),
if debugger modified anything in the process environment.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203609 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202882:
kib [Sun, 7 Feb 2010 11:37:38 +0000 (11:37 +0000)]
MFC r202882:
For i386, amd64 and ia32 on amd64 MD syscall(), reread syscall number
and arguments after ptracestop(), if debugger modified anything in the
process environment.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203608 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202529:
kib [Sun, 7 Feb 2010 10:51:17 +0000 (10:51 +0000)]
MFC r202529:
vunref() the vnode in vm object deallocation code for OBJT_VNODE
appropriate number of times to prevent possible vnode reference leak.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203607 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202528:
kib [Sun, 7 Feb 2010 10:44:44 +0000 (10:44 +0000)]
MFC r202528:
Add vunref(9).

git-svn-id: svn://svn.freebsd.org/base/stable/8@203606 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC of 197952 and 198075
julian [Sun, 7 Feb 2010 09:00:22 +0000 (09:00 +0000)]
MFC of 197952 and 198075

    Virtualize the pfil hooks so that different jails may chose different
    packet filters. ALso allows ipfw to be enabled on on ejail and disabled
    on another. In 8.0 it's a global setting.
and
    Unbreak the VIMAGE build with IPSEC, broken with r197952 by
    virtualizing the pfil hooks.
    For consistency add the V_ to virtualize the pfil hooks in here as well.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203605 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r203486: Shortening a passphrase caused wrong authentication key
ru [Sun, 7 Feb 2010 06:22:28 +0000 (06:22 +0000)]
MFC: r203486: Shortening a passphrase caused wrong authentication key
to be used.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203603 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202916: Make strsignal(3) thread-safe.
ume [Sun, 7 Feb 2010 04:27:18 +0000 (04:27 +0000)]
MFC r202916: Make strsignal(3) thread-safe.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203598 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r203185
marius [Sat, 6 Feb 2010 17:33:39 +0000 (17:33 +0000)]
MFC: r203185

Implement handling of the third argument of cpu_switch().

PR: 143215

git-svn-id: svn://svn.freebsd.org/base/stable/8@203554 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r203200; Allow use of -6 option to "server" and "peer" in ntp.conf.
ume [Sat, 6 Feb 2010 15:32:42 +0000 (15:32 +0000)]
MFC r203200; Allow use of -6 option to "server" and "peer" in ntp.conf.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203550 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r203160: add static qualifier to definition of a static function
avg [Sat, 6 Feb 2010 12:17:20 +0000 (12:17 +0000)]
MFC r203160: add static qualifier to definition of a static function

git-svn-id: svn://svn.freebsd.org/base/stable/8@203545 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197104,197105,197106,197107,197688,198237,199337,199338,200553,200554,
avg [Sat, 6 Feb 2010 12:03:25 +0000 (12:03 +0000)]
MFC r197104,197105,197106,197107,197688,198237,199337,199338,200553,200554,
202771,202773: bring acpica version to 20100121

MFC details:
r197104 | jkim | 2009-09-12 01:48:53 +0300 (Sat, 12 Sep 2009) | 4 lines
MFV:    r196804
Import ACPICA 20090903

r197105 | jkim | 2009-09-12 01:49:34 +0300 (Sat, 12 Sep 2009) | 2 lines
Catch up with ACPICA 20090903.

r197106 | jkim | 2009-09-12 01:50:15 +0300 (Sat, 12 Sep 2009) | 2 lines
Catch up with ACPICA 20090903.

r197107 | jkim | 2009-09-12 01:56:08 +0300 (Sat, 12 Sep 2009) | 2 lines
Canonify include paths for newly added files.

r197688 | jkim | 2009-10-01 23:56:15 +0300 (Thu, 01 Oct 2009) | 4 lines
Compile ACPI debugger and disassembler for kernel modules
unconditionally.
These files will generate almost empty object files without
ACPI_DEBUG/DDB
options.  As a result, size of acpi.ko will increase slightly.

r198237 | jkim | 2009-10-19 19:12:58 +0300 (Mon, 19 Oct 2009) | 2 lines
Merge ACPICA 20091013.

r199337 | jkim | 2009-11-16 23:47:12 +0200 (Mon, 16 Nov 2009) | 2 lines
Merge ACPICA 20091112.

r199338 | jkim | 2009-11-16 23:53:56 +0200 (Mon, 16 Nov 2009) | 2 lines
Add a forgotten module Makefile change from the previous commit.

r200553 | jkim | 2009-12-15 00:24:04 +0200 (Tue, 15 Dec 2009) | 2 lines
Merge ACPICA 20091214.

r200554 | jkim | 2009-12-15 00:28:32 +0200 (Tue, 15 Dec 2009) | 3 lines
Remove _FDE quirk handling as these quirks are automatically repaired
by ACPICA layer since ACPICA 20091214.

r202771 | jkim | 2010-01-21 23:14:28 +0200 (Thu, 21 Jan 2010) | 2 lines
Merge ACPICA 20100121.

r202773 | jkim | 2010-01-21 23:31:39 +0200 (Thu, 21 Jan 2010) | 2 lines
Fix a new header inclusion.

Discussed with: jkim, jhb
No objections from: acpi@

git-svn-id: svn://svn.freebsd.org/base/stable/8@203544 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r200632:
jh [Sat, 6 Feb 2010 11:42:23 +0000 (11:42 +0000)]
MFC r200632:

The input line length limit mentioned on the manual page was removed by
r176119.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203543 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r200441:
jh [Sat, 6 Feb 2010 11:39:33 +0000 (11:39 +0000)]
MFC r200441:

The input line length limit mentioned on the manual page was removed by
r179374.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203542 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r203043, r203058:
mav [Fri, 5 Feb 2010 12:17:14 +0000 (12:17 +0000)]
MFC r203043, r203058:
Do not place fake interrupt register on chip.
Now we have better place for it.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203523 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r203034:
mav [Fri, 5 Feb 2010 12:09:43 +0000 (12:09 +0000)]
MFC r203034:
Restore SATA speed reporting, broken by ATA_CAM changes.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203522 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r203033:
mav [Fri, 5 Feb 2010 12:07:53 +0000 (12:07 +0000)]
MFC r203033:
Clear ch->devices, if hard-reset failed.
This makes hot-plug work better.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203521 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r201566, r201567:
mav [Fri, 5 Feb 2010 11:56:12 +0000 (11:56 +0000)]
MFC r201566, r201567:
Move wakeup() out of mutex to reduce contention.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203520 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r201545:
mav [Fri, 5 Feb 2010 11:53:41 +0000 (11:53 +0000)]
MFC r201545:
Slightly optimize XOR calculation.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203519 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r201264:
mav [Fri, 5 Feb 2010 11:52:28 +0000 (11:52 +0000)]
MFC r201264:
Call wakeup() only for the first request on the queue.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203518 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoFix mergeinfo from r197799
gavin [Fri, 5 Feb 2010 08:56:10 +0000 (08:56 +0000)]
Fix mergeinfo from r197799

git-svn-id: svn://svn.freebsd.org/base/stable/8@203516 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMerge r202161 from head:
gavin [Fri, 5 Feb 2010 08:52:51 +0000 (08:52 +0000)]
Merge r202161 from head:

  Spell "Hz" correctly wherever it is user-visible.

PR: bin/142566
Submitted by: N.J. Mann   njm njm.me.uk

git-svn-id: svn://svn.freebsd.org/base/stable/8@203515 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202694:
mav [Fri, 5 Feb 2010 08:48:44 +0000 (08:48 +0000)]
MFC r202694:
- Add -v argument to `camcontrol identify` command. It makes camcontrol
print full identify data block.
- Improve identify result view a bit and add TRIM support.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203514 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202789, r202796:
mav [Fri, 5 Feb 2010 08:36:33 +0000 (08:36 +0000)]
MFC r202789, r202796:
- Improve tracer, to handle more cases of input-to-output monitoring
loopback.
- Use "igain" mixer control for input-to-output monitoring loopback.
- Allow AD1981HD codecs to use playback mixer. Now driver should be able to
really use it.
- Fix bug in shared muters operation.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203513 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202736:
mav [Fri, 5 Feb 2010 08:32:07 +0000 (08:32 +0000)]
MFC r202736:
Print playback channels paths in order of their sequence numbers, not nids.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203512 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r203359: active xrefs to gpib(3) now that it's actually there.
joerg [Thu, 4 Feb 2010 19:49:41 +0000 (19:49 +0000)]
MFC r203359: active xrefs to gpib(3) now that it's actually there.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203502 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r203356: add a manpage for gpib(3).
joerg [Thu, 4 Feb 2010 19:49:07 +0000 (19:49 +0000)]
MFC r203356: add a manpage for gpib(3).

git-svn-id: svn://svn.freebsd.org/base/stable/8@203501 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r203357: teach groff about libgpib.
joerg [Thu, 4 Feb 2010 19:47:26 +0000 (19:47 +0000)]
MFC r203357: teach groff about libgpib.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203500 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r202659
brueffer [Thu, 4 Feb 2010 17:35:11 +0000 (17:35 +0000)]
MFC: r202659

We don't support isdn devices anymore (since May 2008).

git-svn-id: svn://svn.freebsd.org/base/stable/8@203497 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r202774
rmacklem [Thu, 4 Feb 2010 17:31:34 +0000 (17:31 +0000)]
MFC: r202774
Fix a typo in a comment introduced by r202767.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203496 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r202772
rmacklem [Thu, 4 Feb 2010 17:13:38 +0000 (17:13 +0000)]
MFC: r202772
Document the negnametimeo option for mount_nfs as implemented
by r202767. This is a content change.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203494 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r203342: ManageSieve has been added as port 4190:
ume [Thu, 4 Feb 2010 16:59:36 +0000 (16:59 +0000)]
MFC r203342: ManageSieve has been added as port 4190:
http://www.iana.org/assignments/port-numbers

git-svn-id: svn://svn.freebsd.org/base/stable/8@203493 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r202767
rmacklem [Thu, 4 Feb 2010 16:57:01 +0000 (16:57 +0000)]
MFC: r202767
Add a timeout for the negative name cache entries in the NFS client.
This avoids a bogus negative name cache entry from persisting forever
when another client creates an entry with the same name within the
same NFS server time of day clock tick. The mount option negnametimeo
can be used to override the default timeout interval on a
per-mount-point basis. Setting negnametimeo to 0 disables negative
name caching for the mount point.
I also fixed one obvious typo where args.timeo should be
args.maxgrouplist.

Submitted by: jhb (earlier version)
Reviewed by: jhb

git-svn-id: svn://svn.freebsd.org/base/stable/8@203492 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202668+r200806:
delphij [Wed, 3 Feb 2010 18:42:14 +0000 (18:42 +0000)]
MFC r202668+r200806:

Don't consider non-existence of a PID file an error, we should be able
to proceed anyway as this most likely mean that the process has been
terminated. [1]

Add a new option, -P, which reverts newsyslog(8) to the old behavior,
which stops to proceed further, as it is possible that processes which
fails to create PID file get screwed by rotation. [2]

PR: bin/140397
Submitted by: Dan Lukes [1]
Requested by: stas [2]

git-svn-id: svn://svn.freebsd.org/base/stable/8@203436 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMerge r201401 from head:
gavin [Tue, 2 Feb 2010 19:51:30 +0000 (19:51 +0000)]
Merge r201401 from head:

  Remove dead code.  This section of code is only run in the
  (sblock.fs_magic == FS_UFS1_MAGIC) case, so the check within the
  loop is redundant.

PR: bin/115174 (partly)
Submitted by: Nate Eldredge  nge cs.hmc.edu
Reviewed by: mjacob
Approved by: ed (mentor, implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@203397 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMerge r203027 from head:
gavin [Tue, 2 Feb 2010 19:44:52 +0000 (19:44 +0000)]
Merge r203027 from head:

  Correct the HISTORY section of these man pages to show when the function,
  not the "manual page example" was introduced.

Approved by: ed (mentor, implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@203396 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMerge r203025,r203026 from head:
gavin [Tue, 2 Feb 2010 19:37:26 +0000 (19:37 +0000)]
Merge r203025,r203026 from head:

  Correct the HISTORY section of these man pages to show when the function,
  not the "manual page example" was introduced.

Approved by: ed (mentor, implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@203394 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 203032:
jhb [Tue, 2 Feb 2010 18:50:02 +0000 (18:50 +0000)]
MFC 203032:
Don't pop up the menu to select a documentation language for non-interactive
installs.  Default to not installing any documentation in that case.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203390 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMove some mergeinfo up to release/.
jhb [Tue, 2 Feb 2010 18:48:09 +0000 (18:48 +0000)]
Move some mergeinfo up to release/.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203389 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 203031:
jhb [Tue, 2 Feb 2010 18:43:08 +0000 (18:43 +0000)]
MFC 203031:
Remove slattach from the install mfsroot since it doesn't exist anymore
to quiet a warning from crunchgen.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203388 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202640:
delphij [Tue, 2 Feb 2010 00:32:15 +0000 (00:32 +0000)]
MFC r202640:

Update to 4.6.

Note: the -V option from OpenBSD is implemented using setfib(2) on FreeBSD.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203366 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r203082:
yongari [Mon, 1 Feb 2010 23:57:42 +0000 (23:57 +0000)]
MFC r203082:
  Add initial support for RTL8103E PCIe fastethernet.

  PR: kern/142974

git-svn-id: svn://svn.freebsd.org/base/stable/8@203364 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 203070:
jhb [Mon, 1 Feb 2010 22:01:48 +0000 (22:01 +0000)]
MFC 203070:
Initialize the ifnet before calling mii_phy_probe() as some phy drivers
(e.g. e1000phy(4)) expect if_dname to be valid when they are probed.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203361 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202573:
jh [Mon, 1 Feb 2010 16:02:14 +0000 (16:02 +0000)]
MFC r202573:

Print sizes up to INT64_MAX in md_prthumanval().

PR: bin/125365
Approved by: trasz (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@203348 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r203175:
kib [Mon, 1 Feb 2010 10:45:23 +0000 (10:45 +0000)]
MFC r203175:
The MAP_ENTRY_NEEDS_COPY flag belongs to protoeflags, cow variable
uses different namespace.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203336 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoReduce diff against OpenSolaris - move Giant acquire/release to
delphij [Mon, 1 Feb 2010 09:29:32 +0000 (09:29 +0000)]
Reduce diff against OpenSolaris - move Giant acquire/release to
zfs_znode.c.  As a side effect this also eliminates two potential
Giant leaks.

Approved by:  pjd

git-svn-id: svn://svn.freebsd.org/base/stable/8@203333 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoNote sendmail 8.14.4 upgrade.
gshapiro [Sun, 31 Jan 2010 19:57:28 +0000 (19:57 +0000)]
Note sendmail 8.14.4 upgrade.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203316 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMerge r202931 from head:
gavin [Sun, 31 Jan 2010 19:41:58 +0000 (19:41 +0000)]
Merge r202931 from head:

  Add support for four more nfsmb controllers, shipping on at least the
  ASUS Atom ION boards.

PR: kern/142571
Submitted by: oliver
Approved by: ed (mentor, implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@203313 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: Minor changes to force commit these files so new freebsd*.cf files are
gshapiro [Sun, 31 Jan 2010 19:04:52 +0000 (19:04 +0000)]
MFC: Minor changes to force commit these files so new freebsd*.cf files are
     built to use the new sendmail-8.14.4/cf tree.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203302 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: Update FreeBSD information
gshapiro [Sun, 31 Jan 2010 19:00:39 +0000 (19:00 +0000)]
MFC: Update FreeBSD information

git-svn-id: svn://svn.freebsd.org/base/stable/8@203301 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: Merge sendmail 8.14.4
gshapiro [Sun, 31 Jan 2010 18:59:03 +0000 (18:59 +0000)]
MFC: Merge sendmail 8.14.4

git-svn-id: svn://svn.freebsd.org/base/stable/8@203300 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoBump __FreeBSD_version for sigpause(3) addition.
kib [Sun, 31 Jan 2010 18:41:00 +0000 (18:41 +0000)]
Bump __FreeBSD_version for sigpause(3) addition.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203299 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r199827:
kib [Sun, 31 Jan 2010 18:38:03 +0000 (18:38 +0000)]
MFC r199827:
Implement sighold, sigignore, sigpause, sigrelse, sigset functions.

MFC r200881 (by cognet):
Don't name parameters.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203298 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202881:
kib [Sun, 31 Jan 2010 18:25:57 +0000 (18:25 +0000)]
MFC r202881:
Staticise sigqueue manipulation functions used only in kern_sig.c.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203297 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r202903
marius [Sun, 31 Jan 2010 17:43:22 +0000 (17:43 +0000)]
MFC: r202903

On LP64 struct ifid is 64-bit aligned while struct fid is 32-bit aligned
so on architectures with strict alignment requirements we can't just simply
cast the latter to the former but need to copy it bytewise instead.

PR: 143010

git-svn-id: svn://svn.freebsd.org/base/stable/8@203296 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r203094
marius [Sun, 31 Jan 2010 17:17:24 +0000 (17:17 +0000)]
MFC: r203094

- Zero the MSI/MSI-X queue argument, otherwise mtx_init(9) can panic
  indicating an already initialized lock.
- Check for an empty MSI/MSI-X queue entry before asserting that we have
  received a MSI/MSI-X message in order to not panic in case of stray MSI/
  MSI-X queue interrupts which may happen in case of using an interrupt
  handler rather than a filter.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203295 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202944:
jh [Sun, 31 Jan 2010 15:07:38 +0000 (15:07 +0000)]
MFC r202944:

Print full path in the error message. It's possible that fts(3)
provides an empty fts_name and reporting the full path is more
appropriate especially with the -R option.

PR: bin/107515
Approved by: trasz (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@203291 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202935:
syrinx [Sun, 31 Jan 2010 11:30:28 +0000 (11:30 +0000)]
MFC r202935:
While flushing the multicast filter of an interface, do not zero the relevant
ifmultiaddr structures' reference to the parent interface, unless the parent
interface is really detaching. While here, program only link layer multicast
filters to a wlan's hardware parent interface.

PR: kern/142391, kern/142392
Reviewed by: sam, rpaulo, bms

git-svn-id: svn://svn.freebsd.org/base/stable/8@203274 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r201048:
trasz [Sun, 31 Jan 2010 02:25:15 +0000 (02:25 +0000)]
MFC r201048:

Make tests for ACL preservation by mv(1) and cp(1) more complete
and easier to follow.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203270 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197436:
trasz [Sun, 31 Jan 2010 02:23:53 +0000 (02:23 +0000)]
MFC r197436:

Add cross-filesystem regression tests for ACLs.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203269 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197434:
trasz [Sun, 31 Jan 2010 02:22:31 +0000 (02:22 +0000)]
MFC r197434:

Add ACL fuzzer.  It's not used by the regression tests right now,
but I'd prefert to have it here, so it won't get lost.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203268 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r196938:
trasz [Sun, 31 Jan 2010 02:20:01 +0000 (02:20 +0000)]
MFC r196938:

Add regression tests for NFSv4 ACLs and update POSIX.1e tests to the changed
error messages.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203267 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r196736:
trasz [Sun, 31 Jan 2010 02:18:28 +0000 (02:18 +0000)]
MFC r196736:

Adapt to the fact that ls(1) correctly prints '+' for symlinks with ACLs now.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203266 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r196710:
trasz [Sun, 31 Jan 2010 02:17:01 +0000 (02:17 +0000)]
MFC r196710:

Add regression test for ACLs on device files - mostly to make
sure we don't crash on attempt to set ACL on them.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203265 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r196949:
trasz [Sun, 31 Jan 2010 02:11:14 +0000 (02:11 +0000)]
MFC r196949:

Enable NFSv4 ACL support in ZFS.

MFC r197435:

In VOP_SETACL(9) and VOP_GETACL(9), specifying wrong ACL type should result
in EINVAL, not EOPNOTSUPP.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203264 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r201018:
trasz [Sat, 30 Jan 2010 15:53:32 +0000 (15:53 +0000)]
MFC r201018:

Fix breakage introduced in last commit.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203199 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r201016:
trasz [Sat, 30 Jan 2010 15:50:01 +0000 (15:50 +0000)]
MFC r201016:

Improve ACL branding mismatch detection and reporting in some rare cases,
such as "setfacl -m ''".

git-svn-id: svn://svn.freebsd.org/base/stable/8@203198 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoRegenerate.
antoine [Sat, 30 Jan 2010 15:42:06 +0000 (15:42 +0000)]
Regenerate.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203197 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202440 to stable/8:
antoine [Sat, 30 Jan 2010 15:40:00 +0000 (15:40 +0000)]
MFC r202440 to stable/8:
  Unbreak world WITHOUT_NETGRAPH.

  PR: 137487
  Submitted by: bf (previous version)
  No objections: net@

git-svn-id: svn://svn.freebsd.org/base/stable/8@203196 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202448 to stable/8:
antoine [Sat, 30 Jan 2010 15:28:14 +0000 (15:28 +0000)]
MFC r202448 to stable/8:
  Do not build netgraph kernel modules if WITHOUT_NETGRAPH is set in src.conf
  Submitted by: bf

git-svn-id: svn://svn.freebsd.org/base/stable/8@203195 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r196936:
trasz [Sat, 30 Jan 2010 14:58:25 +0000 (14:58 +0000)]
MFC r196936:

Add NFSv4 support to setfacl(1).

git-svn-id: svn://svn.freebsd.org/base/stable/8@203193 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r196841:
trasz [Sat, 30 Jan 2010 14:56:13 +0000 (14:56 +0000)]
MFC r196841:

Add NFSv4 ACL support to mv(1).

git-svn-id: svn://svn.freebsd.org/base/stable/8@203192 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r196839:
trasz [Sat, 30 Jan 2010 14:54:12 +0000 (14:54 +0000)]
MFC r196839:

Add NFSv4 ACL support to find(1).

git-svn-id: svn://svn.freebsd.org/base/stable/8@203191 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r196827:
trasz [Sat, 30 Jan 2010 14:51:24 +0000 (14:51 +0000)]
MFC r196827:

Add NFSv4 ACL support to getfacl(1).

git-svn-id: svn://svn.freebsd.org/base/stable/8@203190 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r196754:
trasz [Sat, 30 Jan 2010 14:49:17 +0000 (14:49 +0000)]
MFC r196754:

Add NFSv4 ACL support to cp(1) and fix a few memory leaks.

Note that this changes error reporting behaviour somewhat - before,
no error was reported if ACL couldn't be copied because the target
filesystem doesn't support ACLs.  Now, it will be reported - of course,
only if there actually is an ACL to copy.

Reviewed by: rwatson

git-svn-id: svn://svn.freebsd.org/base/stable/8@203189 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r196753:
trasz [Sat, 30 Jan 2010 14:47:23 +0000 (14:47 +0000)]
MFC r196753:

- Don't include both <sys/types.h> and <sys/param.h>

- Keep variables sorted

- Fix logic error with -f and -v options - don't print
  the usual -v output if there was an error, whether or not
  we were passed -f

- Don't call free(3) just before exit(2)

- Whitespace fixes

Submitted by: bde

git-svn-id: svn://svn.freebsd.org/base/stable/8@203188 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r196712:
trasz [Sat, 30 Jan 2010 14:44:32 +0000 (14:44 +0000)]
MFC r196712:

Add NFSv4 ACL support to ls(1).

MFC r196773:

Fix regression introduced in r196712 - the 'name' string needs
to be rewritten for each file we want to check ACL on.  Without
this change, ls(1) would check only the ACL on the first file
to list.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203187 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r196711:
trasz [Sat, 30 Jan 2010 14:40:42 +0000 (14:40 +0000)]
MFC r196711:

Make the code more readable and fix chmod(1) on symlinks with
NFSv4 enabled.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203186 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r201145 to stable/8:
antoine [Sat, 30 Jan 2010 12:11:21 +0000 (12:11 +0000)]
MFC r201145 to stable/8:
  (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.
  Fix some wrong usages.
  Note: this does not affect generated binaries as this argument is not used.

  PR: 137213
  Submitted by: Eygene Ryabinkin (initial version)

git-svn-id: svn://svn.freebsd.org/base/stable/8@203184 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202894
alc [Sat, 30 Jan 2010 06:23:28 +0000 (06:23 +0000)]
MFC r202894
  Handle a race between pmap_kextract() and pmap_promote_pde().

git-svn-id: svn://svn.freebsd.org/base/stable/8@203182 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202880:
kib [Fri, 29 Jan 2010 20:42:03 +0000 (20:42 +0000)]
MFC r202880:
Do not check for existence of symlink source for the link action.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203178 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202692:
kib [Fri, 29 Jan 2010 20:02:28 +0000 (20:02 +0000)]
MFC r202692:
Remove the signal from sigqueue before notifying the debugger for traced
process, fixing the race between resuming from stopped state and other
thread noting the old signal on the queue and acting.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203176 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202986:
rpaulo [Fri, 29 Jan 2010 18:19:43 +0000 (18:19 +0000)]
MFC r202986:
  o add more notification strings in iwn_intr_str()
  o sync with OpenBSD code

  Submitted by: Bernhard Schmidt <bschmidt at techwires.net>
  MFC after: 3 days

git-svn-id: svn://svn.freebsd.org/base/stable/8@203173 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202967:
rpaulo [Fri, 29 Jan 2010 18:18:18 +0000 (18:18 +0000)]
MFC r202967:
   Call ieee80211_radiotap_rx, not ieee80211_radiotap_tx on sta_input()

   PR: 143163
   Submitted by:Alexander Egorenkov <egorenar at gmail.com>

git-svn-id: svn://svn.freebsd.org/base/stable/8@203172 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC of 203066, 203067
edwin [Fri, 29 Jan 2010 11:30:40 +0000 (11:30 +0000)]
MFC of 203066, 203067

Git has been added as port 9418:
http://www.iana.org/assignments/port-numbers

The Erlang Port Mapper Daemon (from ports/lang/erlang) has been
assigned official port number 4369 by IANA.

PR: conf/143259 conf/113265
Submitted by: Denny Lin <dennylin93@cnmc32.hs.ntnu.edu.tw> Jimmy Olgeni <olgeni@freebsd.org>

git-svn-id: svn://svn.freebsd.org/base/stable/8@203163 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r203125: fix typo in .Xr.
joerg [Fri, 29 Jan 2010 10:38:54 +0000 (10:38 +0000)]
MFC r203125: fix typo in .Xr.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203162 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r202324: In 'make delete-old', use 'exec' to redirect an fd persistently
jilles [Thu, 28 Jan 2010 22:15:29 +0000 (22:15 +0000)]
MFC r202324: In 'make delete-old', use 'exec' to redirect an fd persistently

That is, write 'exec 3<&0' instead of '3<&0'. Due to an sh(1) bug fixed in
head in r199953, the latter also persisted, provided that fd 3 was not open
before.  With newer sh or fd 3 open, it would not delete orphaned catpages.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203133 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r202317
brueffer [Thu, 28 Jan 2010 17:07:14 +0000 (17:07 +0000)]
MFC: r202317

Add manpages for ipwfw(4) and iwifw(4), based on iwnfw(4).

git-svn-id: svn://svn.freebsd.org/base/stable/8@203121 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r196797:
gnn [Thu, 28 Jan 2010 16:48:44 +0000 (16:48 +0000)]
MFC r196797:

Add ARP statistics to the kernel and netstat.

git-svn-id: svn://svn.freebsd.org/base/stable/8@203120 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years ago- Record merge of r197788, r203040, r203045, r203048.
avilla [Thu, 28 Jan 2010 15:09:11 +0000 (15:09 +0000)]
- Record merge of r197788, r203040, r203045, r203048.

Noticed by: gavin
Approved by: tabthorpe (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@203117 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r200135:
delphij [Thu, 28 Jan 2010 02:33:20 +0000 (02:33 +0000)]
MFC r200135:

Make umount(8) WARNS=6 clean:
 - Cast delimiter width to integer [1]
 - Solve name conflicts against system header
 - Constify parameters to avoid qualifier conflict

PR: bin/140017 [1]
Submitted by: Ulrich Spörlein <uqs spoerlein net> [1]
Sponsored by: iXsystems, Inc

git-svn-id: svn://svn.freebsd.org/base/stable/8@203105 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years ago- MFC r197788, r203040, r203045, r203048
avilla [Wed, 27 Jan 2010 18:12:22 +0000 (18:12 +0000)]
- MFC r197788, r203040, r203045, r203048

Approved by: tabthorpe (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@203084 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f