]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
12 years agoMFC r197728:
dougb [Sun, 24 Jul 2011 23:43:40 +0000 (23:43 +0000)]
MFC r197728:

Add OpenVPN IANA assigned port number.

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

12 years agoMFC r207735: Update xrefs from 4.3BSD to modern signal functions in various
jilles [Sun, 24 Jul 2011 20:09:42 +0000 (20:09 +0000)]
MFC r207735: Update xrefs from 4.3BSD to modern signal functions in various
man pages.

sigvec(2) references have been updated to sigaction(2), sigsetmask(2) and
sigblock(2) to sigprocmask(2), sigpause(2) to sigsuspend(2).

Some legacy man pages still refer to them, that is OK.

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

12 years agoMFC r216696 and r216737:
ed [Sun, 24 Jul 2011 19:19:50 +0000 (19:19 +0000)]
MFC r216696 and r216737:

  Slightly improve output of lock(1).

  - Remove the /dev/ portion of the TTY name.
  - In case we use lock -p, print the username that was used to obtain the
    password hash.

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

12 years agoMFC r223744:
ed [Sun, 24 Jul 2011 19:13:54 +0000 (19:13 +0000)]
MFC r223744:

  Improve portability of config(8).

  - Use strlen(dp->d_name) instead of the unportable dp->d_namlen. Rename
    i to len to make it slightly more descriptive and prevent negative
    indexing of the array.
  - Replace index() by strchr().

  This supposedly fixes compilation on GNU systems.

Submitted by: Robert Millan <rmh debian org> (original patch)

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

12 years agoMFC: 220736, 220806, 220808
sobomax [Sun, 24 Jul 2011 18:03:02 +0000 (18:03 +0000)]
MFC: 220736, 220806, 220808

  If we can retrieve interface address sleep for one second and try again.
  This can happen during start-up, when natd starts before dhclient has a
  chance to receive IP address from the upstream provider. Do this only in
  background, dynamic mode.

Reminded by: brian

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

12 years agoMFC r221013: printf(1): Mention effect of '#' modifier on other conversions.
jilles [Sun, 24 Jul 2011 17:52:35 +0000 (17:52 +0000)]
MFC r221013: printf(1): Mention effect of '#' modifier on other conversions.

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

12 years agoMFC r212374,r221026: printf(1): Document need for "--" before format strings
jilles [Sun, 24 Jul 2011 17:24:26 +0000 (17:24 +0000)]
MFC r212374,r221026: printf(1): Document need for "--" before format strings
starting with "-".

Also move the remark that hexadecimal escapes are not provided to the new
CAVEATS section.

PR: 158846

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

12 years agoFix svn:mergeinfo for merge of r216057
sanpei [Sun, 24 Jul 2011 11:56:39 +0000 (11:56 +0000)]
Fix svn:mergeinfo for merge of r216057

Approved by:    imp(menter)

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

12 years agoMFC r224239:
hselasky [Sun, 24 Jul 2011 09:43:44 +0000 (09:43 +0000)]
MFC r224239:
Add new USB ID to u3g driver.

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

12 years agoMFC r218397: Add "iface name" and "iface description" commands.
brian [Sun, 24 Jul 2011 01:36:01 +0000 (01:36 +0000)]
MFC r218397: Add "iface name" and "iface description" commands.

PR: 151400
Submitted by: Aragon Gouveia - aragon at phat dot za dot net

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

12 years agoMFC r218627
deischen [Sat, 23 Jul 2011 12:55:01 +0000 (12:55 +0000)]
MFC r218627

Allow SO_SETFIB to select/set the default routing table.

Requested by: Andrew Boyer aboyer at averesystems dot com.

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

12 years agoMFC r224095:
hselasky [Sat, 23 Jul 2011 08:55:05 +0000 (08:55 +0000)]
MFC r224095:
Fix for VirtualBox 4.x and other virtual machines that fail
to generate a port reset change event.

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

12 years agoMFC r224125:
dougb [Fri, 22 Jul 2011 21:45:12 +0000 (21:45 +0000)]
MFC r224125:

Commemorate the release of RFC 6303 by updating the comments regarding
our default empty zones.  No functional changes.

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

12 years agoMFC r224124:
dougb [Fri, 22 Jul 2011 21:43:16 +0000 (21:43 +0000)]
MFC r224124:

Pick up the 2011-06-08 update to this file, the addition of an IPv6
address for D.

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

12 years agoMFC r224122:
dougb [Fri, 22 Jul 2011 21:40:55 +0000 (21:40 +0000)]
MFC r224122:

Fix the location of the default pid file in named.8

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

12 years agoMFC 216823, 223991, 223992:
gjb [Fri, 22 Jul 2011 00:57:37 +0000 (00:57 +0000)]
MFC 216823, 223991, 223992:

216823 (by pjd):
- For compatibility with Linux and Solaris add poweroff(8).
  It is implemented as a hard link to shutdown(8) and it is equivalent
  of:

        # shutdown -p now

  While I'm here put one line of usage into one line of C code so it
  is easier to grep(1) and separate unrelated code with empty line.

223991:
- Improvements to the shutdown(8) manual.

223992:
- Remove trailing whitespace in the shutdown(8) manual.

Approved by: delphij

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

12 years agoMFC r224180:
hselasky [Thu, 21 Jul 2011 07:08:39 +0000 (07:08 +0000)]
MFC r224180:
Only the USB root HUB thread is allowed to attach and detach drivers
to and from USB devices. Remove related DEVMETHOD() lines from USB
drivers.

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

12 years agoMFC r224024:
hselasky [Thu, 21 Jul 2011 07:04:51 +0000 (07:04 +0000)]
MFC r224024:
Restore USB MIDI transmit buffer size to 1Kbyte.

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

12 years agoMFC r224196:
delphij [Thu, 21 Jul 2011 00:37:32 +0000 (00:37 +0000)]
MFC r224196:

Disable gvmat64.S, the assembler version of longest_match for now.

PR: kern/154073

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

12 years agoMFC r223958:
gallatin [Wed, 20 Jul 2011 21:17:55 +0000 (21:17 +0000)]
MFC r223958:
  Update mxge(4) firmware to the latest version available from
  Myricom (1.4.53a).

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

12 years agoMFC r223957: Fix media reporting for dual port CX4 myri10ge NICs
gallatin [Wed, 20 Jul 2011 20:24:30 +0000 (20:24 +0000)]
MFC r223957: Fix media reporting for dual port CX4 myri10ge NICs

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

12 years agoMFC r223989:
hselasky [Wed, 20 Jul 2011 04:57:40 +0000 (04:57 +0000)]
MFC r223989:
Fix for dump after shutdown with USB keyboard plugged in.

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

12 years agoMFC r224107:
zec [Tue, 19 Jul 2011 11:04:58 +0000 (11:04 +0000)]
MFC r224107:
  Clear pending ifnet events, in an attempt at preventing
  ng_ether_link_state() from being dispatched after we have
  cleared our IFP2NG(ifp).

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

12 years agoBump __FreeBSD_version for RFTSIGZMB flag for rfork(2).
kib [Tue, 19 Jul 2011 10:53:47 +0000 (10:53 +0000)]
Bump __FreeBSD_version for RFTSIGZMB flag for rfork(2).

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

12 years agoMFC r224085:
hselasky [Tue, 19 Jul 2011 10:48:39 +0000 (10:48 +0000)]
MFC r224085:
- Add missing APIs.
- Add some rangechecks.

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

12 years agoMFC r223967:
kib [Tue, 19 Jul 2011 10:45:31 +0000 (10:45 +0000)]
MFC r223967:
Document RFTSIGZMB.

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

12 years agoMFC r223966:
kib [Tue, 19 Jul 2011 10:41:26 +0000 (10:41 +0000)]
MFC r223966:
Implement an RFTSIGZMB flag to rfork(2) to specify a signal that is
delivered to parent when the child exists.

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

12 years agoMFC: r223774
rmacklem [Mon, 18 Jul 2011 21:04:35 +0000 (21:04 +0000)]
MFC: r223774
The algorithm used by nfscl_getopen() could have resulted in
multiple instances of the same lock_owner when a process both
inherited an open file descriptor plus opened the same file itself.
Since some NFSv4 servers cannot handle multiple instances of
the same lock_owner string, this patch changes the algorithm
used by nfscl_getopen() in the new NFSv4 client to keep that
from happening. The new algorithm is simpler, since there is
no longer any need to ascend the process's parentage tree because
all NFSv4 Closes for a file are done at VOP_INACTIVE()/VOP_RECLAIM(),
making the Opens indistinct w.r.t. use with Lock Ops.
This problem was discovered at the recent NFSv4 interoperability
Bakeathon.

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

12 years agoMFC 223952:
jhb [Mon, 18 Jul 2011 18:29:39 +0000 (18:29 +0000)]
MFC 223952:
Properly align the end of a candidate back region based on the window's
granularity when growing a PCI-PCI window up.

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

12 years agoMFC 223874: Add device ID for the Davicom 56PDV PCI Modem.
jhb [Mon, 18 Jul 2011 18:25:25 +0000 (18:25 +0000)]
MFC 223874: Add device ID for the Davicom 56PDV PCI Modem.

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

12 years agoMFC r223875, r223876:
mdf [Mon, 18 Jul 2011 18:06:39 +0000 (18:06 +0000)]
MFC r223875, r223876:

style(9) and cleanup fixes.

Add an option to have a fail point term only execute when run by a
specified pid.  This is helpful for automated testing involving a global
knob that would otherwise be executed by many other threads.

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

12 years agoMFC r223755:
hselasky [Mon, 18 Jul 2011 08:38:08 +0000 (08:38 +0000)]
MFC r223755:
 - Make the USB keyboard driver more HID compliant.
 - Try to auto-detect keyboards which should use the BOOT protocol.

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

12 years agoMFC r223035: Using statfs.f_fstypename rather than statfs.f_type whilst
avatar [Mon, 18 Jul 2011 04:54:12 +0000 (04:54 +0000)]
MFC r223035: Using statfs.f_fstypename rather than statfs.f_type whilst
performing fstype comparsion as nullfs will copy f_type from underlayer FS.

PR: bin/156258
Submitted by: Marcin Wisnicki <mwisnicki+freebsd@gmail.com>

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

12 years agoMFC: r223747
rmacklem [Sun, 17 Jul 2011 20:49:38 +0000 (20:49 +0000)]
MFC: r223747
Modify the new NFSv4 client so that it appends a file handle
to the lock_owner4 string that goes on the wire. Also, add
code to do a ReleaseLockOwner Op on the lock_owner4 string
before a Close. Apparently not all NFSv4 servers handle multiple
instances of the same lock_owner4 string, at least not in a
compatible way. This patch avoids having multiple instances,
except for one unusual case, which will be fixed by a future commit.
Found at the recent NFSv4 interoperability Bakeathon.

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

12 years agoFix svn:mergeinfo for merge of r216057.
hrs [Sun, 17 Jul 2011 20:02:29 +0000 (20:02 +0000)]
Fix svn:mergeinfo for merge of r216057.

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

12 years agoMFC r223914:
kib [Sun, 17 Jul 2011 10:13:33 +0000 (10:13 +0000)]
MFC r223914:
Extract the code to translate VM error into errno, into an exported
function vm_mmap_to_errno().

Sponsored by: The FreeBSD Foundation

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

12 years agoMFC r223886:
kib [Sat, 16 Jul 2011 20:03:23 +0000 (20:03 +0000)]
MFC r223886:
Implement a helper functions to locally set thread-private flag, and
restore it to the previous state. Note that only setting a flag locally
is supported.

MFC r223887:
Use helper functions instead of manually managing TDP_INBDFLUSH.

MFC r223888:
Use 'curthread_pflags' instead of 'thread_pflags' to signify that only
curthread can be operated upon.

Sponsored by: The FreeBSD Foundation

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

12 years agoMFC r223885:
kib [Sat, 16 Jul 2011 19:38:08 +0000 (19:38 +0000)]
MFC r223885:
Implement pci_find_class(9), the function to find a pci device by its class.

Sponsored by: The FreeBSD Foundation

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

12 years agoMFC r223884:
kib [Sat, 16 Jul 2011 19:28:43 +0000 (19:28 +0000)]
MFC r223884:
Implement bitcount16.

Sponsored by: The FreeBSD Foundation

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

12 years agoMFC of 197332:
mjacob [Fri, 15 Jul 2011 21:30:50 +0000 (21:30 +0000)]
MFC of 197332:

Remember to unlock the peripheral prior to notifying the user. Make some
allocations M_NOWAIT so that we don't try and sleep with a nested non-sleepable
lock.

This makes the userland scsi_target begin to function again.

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

12 years agoMFC r223115:
delphij [Fri, 15 Jul 2011 18:10:59 +0000 (18:10 +0000)]
MFC r223115:

Don't attempt to create the base directory when -d is specified.

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

12 years agoMFC 223870,223937:
jhb [Thu, 14 Jul 2011 19:25:30 +0000 (19:25 +0000)]
MFC 223870,223937:
- Note that -a, -C, -H, -j, and -z are also toggles.
- Add a leading space to the status messages output after toggling the
  'C' and 'H' flags at runtime.  This matches messages output for other
  toggles which leave the first column in the message blank to hold the
  cursor.

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

12 years agoMFC 223841:
jhb [Thu, 14 Jul 2011 19:09:48 +0000 (19:09 +0000)]
MFC 223841:
Always skip the kernel idle process if requested, it is not specific to
the 'CPU' mode.

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

12 years agoMFC 223510:
jhb [Thu, 14 Jul 2011 19:05:48 +0000 (19:05 +0000)]
MFC 223510:
Don't die if either of INET or INET6 aren't in the running kernel.
Instead, report "protocol not supported" errors at runtime if a user
attempts to use a protocol that the kernel doesn't support.

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

12 years agoMFC 223477,223597,223611:
jhb [Thu, 14 Jul 2011 18:58:18 +0000 (18:58 +0000)]
MFC 223477,223597,223611:
- The recent change to increase the zfsboot size to 64k made a few BIOSes
  unhappy (probably they don't handle crossing the 64k boundary, etc.).
  Fix this by changing zfsldr to use a loop reading from the disk one
  sector at a time.  To avoid trashing the saved copy of the MBR which is
  used for disk I/O, read zfsboot2 at address 0x9000.  This has the
  advantage that BTX no longer needs to be relocated as it is read into
  the correct location.  However, the loop to relocate zfsboot2.bin can
  now cross a 64k boundary, so change it to use relative segments instead.
  (This will need further work if zfsboot2.bin ever exceeds 64k.)

  While here, stop storing a relocated copy of zfsldr at 0x700.  This was
  only used by the xread hack which has recently been removed (and even
  that use was dubious).  Also, include the BIOS error code as hex when
  reporting read errors to aid in debugging.

- Remove the fake BPB from zfsldr.  zfsldr doesn't support booting from
  floppies, so it will not be used as the start of an emulated floppy
  image on a bootable CD which is what the fake BPB was used for.
- Only check that EDD packet mode is available once at the start of
  zfsldr rather than for each disk sector now that we read data in one
  sector at a time.  As a result, collapse the remaining bits of read
  up into nread and rename nread to read.

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

12 years agoMFC 223091:
jhb [Thu, 14 Jul 2011 18:49:23 +0000 (18:49 +0000)]
MFC 223091:
Add location and pnpinfo strings for puc device ports.  The location is
announced during boot and contains the port number.  The pnpinfo string
lists the port type (PUC_TYPE_* constants).

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

12 years agoBackport SSSE3 instruction set support to base binutils
mm [Thu, 14 Jul 2011 14:23:48 +0000 (14:23 +0000)]
Backport SSSE3 instruction set support to base binutils
and update VIA PadLock instruction set support.

This has turned out to be necessary for some cases to catch up
with gcc update in r221274 (MFC of r219639).

This is direct commit to stable/8

Obtained from: GNU binutils CVS (GPLv2)

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

12 years agoMFC r223840:
ae [Thu, 14 Jul 2011 04:21:27 +0000 (04:21 +0000)]
MFC r223840:
  Add again the checking for log_arp_permanent_modify that was by accident
  removed in the r186119.

  PR: kern/154831

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

12 years agoMFC r223913:
kib [Wed, 13 Jul 2011 12:53:52 +0000 (12:53 +0000)]
MFC r223913:
Style.

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

12 years agoMFC r223911:
kib [Wed, 13 Jul 2011 12:50:23 +0000 (12:50 +0000)]
MFC r223911:
Update locking annotations for the struct vnode.

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

12 years agoMFC r222216:
jh [Wed, 13 Jul 2011 06:20:00 +0000 (06:20 +0000)]
MFC r222216:

In init_dynamic_kenv(), ignore environment strings exceeding the
KENV_MNAMELEN + 1 + KENV_MVALLEN + 1 length limit to avoid buffer
overflow in getenv(). Currenly loader(8) doesn't limit the length of
environment strings.

PR: kern/132104

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

12 years agoMFC r223654, r223655, r223780, 223974:
trociny [Wed, 13 Jul 2011 05:42:04 +0000 (05:42 +0000)]
MFC r223654, r223655, r223780, 223974:

r223654:

Make activemap_write_start/complete check the keepdirty list, when
stating if we need to update activemap on disk. This makes keepdirty
serve its purpose -- to reduce number of metadata updates.

Discussed with: pjd

r223655, 223974:

Check the returned value of activemap_write_complete() and update matadata on
disk if needed. This should fix a potential case when extents are cleared in
activemap but metadata is not updated on disk.

Suggested by: pjd

r223780:

Remove useless initialization.

Approved by: pjd (mentor)

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

12 years agoMFC r223661:
ae [Wed, 13 Jul 2011 04:27:47 +0000 (04:27 +0000)]
MFC r223661:
  Improve error reporting. Use corresponding error message when file to be
  preprocessed is missing. Also suggest to use absolute pathname if -p
  option is specified.

  PR:             bin/156653

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

12 years agoMFC: r223940: If one's message is longer than the buffer size, then we reset
obrien [Tue, 12 Jul 2011 23:39:56 +0000 (23:39 +0000)]
MFC: r223940: If one's message is longer than the buffer size, then we reset
'cnt' at the wrong point and the actual column # get out of sync across the
buffer size.

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

12 years agoMFC: r223657
rmacklem [Tue, 12 Jul 2011 21:01:09 +0000 (21:01 +0000)]
MFC: r223657
Fix the new NFSv4 client so that it doesn't fill the cached
mode attribute in as 0 when doing writes. The change adds
the Mode attribute plus the others except Owner and Owner_group
to the list requested by the NFSv4 Write Operation. This fixed
a problem where an executable file built by "cc" would get mode
0111 instead of 0755 for some NFSv4 servers.
Found at the recent NFSv4 interoperability Bakeathon.

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

12 years agoMFC r223623:
mm [Tue, 12 Jul 2011 13:16:46 +0000 (13:16 +0000)]
MFC r223623:
Add a new "REFCOMPRESSRATIO" property.

For snapshots, this is the same as COMPRESSRATIO, but for
filesystems/volumes, the COMPRESSRATIO is based on the data "USED" (ie,
includes blocks in children, but not blocks shared with the origin).

This is needed to figure out how much space a filesystem would use if it
were not compressed (ignoring snapshots).

Illumos-gate revision: 13387

Obtained from: Illumos (Feature #1092)

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

12 years agoMFC r223862:
zec [Tue, 12 Jul 2011 12:29:32 +0000 (12:29 +0000)]
MFC r223862:
  Permit ARP to proceed for IPv4 host routes for which the gateway is the
  same as the host address.  This already works fine for INET6 and ND6.

  While here, remove two function pointers from struct lltable which are
  only initialized but never used.

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

12 years agoMFC r223616:
delphij [Tue, 12 Jul 2011 01:16:43 +0000 (01:16 +0000)]
MFC r223616:

Incorporate vendor commit ecdc5c0a7f7591a7cd4a:

In userland, sign extend the offset for JA instructions.

We currently use that to implement "ip6 protochain", and "pc" might be
wider than "pc->k", in which case we need to arrange that "pc->k" be
sign-extended, by casting it to bpf_int32.

PR: kern/157188
Submitted by: plosher

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

12 years agoMFC r223902:
mckusick [Mon, 11 Jul 2011 05:16:12 +0000 (05:16 +0000)]
MFC r223902:
When first creating snapshots, we may free some blocks within it.
These blocks should not have TRIM applied to them.

Submitted by: Kostik Belousov

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

12 years agoMFC r223683:
yongari [Sun, 10 Jul 2011 22:09:34 +0000 (22:09 +0000)]
MFC r223683:
  Document two known hardware errata which requires manual link
  configuration.

  Submitted by: Aries Lee (arieslee <> jmicron com)

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

12 years agoMFC r221363,221967,222263,222264,222630,222631,222819,223158,223355:
ae [Sat, 9 Jul 2011 12:02:40 +0000 (12:02 +0000)]
MFC r221363,221967,222263,222264,222630,222631,222819,223158,223355:

r221363:
  Add "-a alignment" option to gpart(8). When it specified gpart(8)
  tries to align partition start offset and size to be multiple of
  alignment value.

r221967:
  Some partitioning schemes want to have partitions that are aligned
  with geometry. And they do recalculation of user specified parameters.
  MBR, PC98, VTOC8, EBR schemes are doing that. For these schemes an
  auto alignment feature (ie. gpart add -a alignment) would not work.
  But it can work for GPT and BSD schemes. BSD scheme usualy is created
  inside MBR, so we can use knowledge about offset of MBR partition to
  calculate aligned values for BSD partitions.

  Use "offset" attribute of the parent provider for better alignment.

r222263:
  Fix calculation of alignment for odd values. Also do not change value
  when it is already aligned.

r222264:
  Simplify ALIGNDOWN macro.

r222630:
  Use stripesize and stripeoffset in the automatic calculation of
  partition offsets. If user requests specific alignment and
  provider's stripesize is not zero, then use a least common multiple
  from the stripesize and user specified value.
  Also fix "gpart resize" implementation: do not try to align the partition
  size, because the start offset may be not aligned. Instead align the
  end offset and then calculate size. Also use stripesize and stripeoffset
  for "gpart resize" command.

r222631:
  Always use LCM when stripesize > 0.

r222819:
  Do not use LCM from stripesize and user specified alignment value.
  When user wants have specific alignment - do what user wants.
  Use stripesize as alignment value in case, when some of gpart's
  arguments are ommitted for automatic calculation.

  Suggested by: mav

r223158:
  Add "alignment" param to the request before calling gpart_autofill().

r223355:
  The "size" param needs no adjusting to stripeoffset.

  Reported by: Kris Moore

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

12 years agoMFC r223727 and r223736:
hselasky [Sat, 9 Jul 2011 11:22:23 +0000 (11:22 +0000)]
MFC r223727 and r223736:
- Add quirk for non-compliant USB MIDI hardware.
- Reduce MIDI TX buffer size to 512 bytes.

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

12 years agoMerge from head/ 220800,220837,220914:
glebius [Fri, 8 Jul 2011 14:30:06 +0000 (14:30 +0000)]
Merge from head/ 220800,220837,220914:

Log:
  LibAliasInit() should allocate memory with M_WAITOK flag. Modify it
  and its callers.

Log:
  - Rewrite functions that copyin/out NAT configuration, so that they
    calculate required memory size dynamically.
  - Fix races on chain re-lock.
  - Introduce new field to ip_fw_chain - generation count. Now utilized
    only in the NAT configuration, but can be utilized wider in ipfw.
  - Get rid of NAT_BUF_LEN in ip_fw.h

  PR:           kern/143653

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

12 years agoMerge from head/ 220835,220914,223079,223185,223416,223499:
glebius [Fri, 8 Jul 2011 14:26:42 +0000 (14:26 +0000)]
Merge from head/ 220835,220914,223079,223185,223416,223499:

  Rewrite NAT configuration parser, so that memory allocation size is
  calculated dynamically.

  PR:           kern/143653

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

12 years agoMerge from head/ 220802, 220804:
glebius [Fri, 8 Jul 2011 13:04:47 +0000 (13:04 +0000)]
Merge from head/ 220802, 220804:
  Whitespace fixes.

  Checked with: md5, diff -w

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

12 years agoMerge from head/ 220796:
glebius [Fri, 8 Jul 2011 12:54:10 +0000 (12:54 +0000)]
Merge from head/ 220796:
  Pullup up to TCP header length before matching against 'tcpopts'.

  PR:           kern/156180
  Reviewed by:  luigi

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

12 years agoMerge from head/ 220787:
glebius [Fri, 8 Jul 2011 12:50:35 +0000 (12:50 +0000)]
Merge from head/ 220787:
  It is already seven years since mbuf allocator uses same
  M_WAITOK/M_NOWAIT flags as malloc(9). Update manual page.

  Submitted by: Vadim Goncharov <vadimnuclight tpu.ru>

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

12 years agoMFC r223622:
mm [Fri, 8 Jul 2011 09:20:32 +0000 (09:20 +0000)]
MFC r223622:
Disable vdev cache (readahead) by default.

The vdev cache is very underutilized (hit ratio 30%-70%) and may consume
excessive memory on systems with many vdevs.

Illumos-gate revision: 13346
Obtained from: Illumos (Bug #175)

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

12 years agoMFC r222834:
zec [Fri, 8 Jul 2011 09:18:50 +0000 (09:18 +0000)]
MFC r222834:
  Set curvnet context in a callout-trigerred code path.

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

12 years agoMFC r223620:
mm [Fri, 8 Jul 2011 09:17:25 +0000 (09:17 +0000)]
MFC r223620:
Allow mountpoints as arguments for the 'zfs get' command.

Illumos-gate revision: 13295
Obtained from: Illumos (Feature #510)

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

12 years agoMFC r223506:
pluknet [Fri, 8 Jul 2011 07:38:45 +0000 (07:38 +0000)]
MFC r223506:

 Add support for string values with white spaces for ifconfig(8)
 parameters accepting them (such as description, group).

PR: conf/156675

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

12 years agoMFC r222755: Pass correct size to write(2).
jh [Fri, 8 Jul 2011 06:28:35 +0000 (06:28 +0000)]
MFC r222755: Pass correct size to write(2).

PR: bin/155915

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

12 years agoMFC: r223849: note the PF version.
obrien [Thu, 7 Jul 2011 23:32:44 +0000 (23:32 +0000)]
MFC: r223849: note the PF version.

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

12 years agoMFC r222832:
delphij [Thu, 7 Jul 2011 23:26:28 +0000 (23:26 +0000)]
MFC r222832:

Add a special mount option "failok" to indicate that the administrator wants
the system to proceed to boot without bailing out into single user mode,
even when the file system can not be successfully mounted.

This option is implemented in mount(8) and not passed into kernel.

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

12 years agoMFC: r221333
rmacklem [Thu, 7 Jul 2011 22:30:12 +0000 (22:30 +0000)]
MFC: r221333
Remove usr/include/nfs/krpc.h and usr/include/nfs/nfsdiskless.h from
ObsoleteFiles.inc, since these files have been reincarnated in the new
NFS implementation.
Discussed with dim@.

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

12 years agoMFC r222808:
ae [Thu, 7 Jul 2011 09:32:43 +0000 (09:32 +0000)]
MFC r222808:
  Sync ng_nat with recent (r222806) ipfw_nat changes:

    Make a behaviour of the libalias based in-kernel NAT a bit closer to
    how natd(8) does work. natd(8) drops packets only when libalias returns
    PKT_ALIAS_IGNORED and "deny_incoming" option is set, but ipfw_nat
    always did drop packets that were not aliased, even if they should
    not be aliased and just are going through.

  Also add SCTP support: mark response packets to skip firewall processing.

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

12 years agoMFC r222806:
ae [Thu, 7 Jul 2011 09:29:11 +0000 (09:29 +0000)]
MFC r222806:
  Make a behaviour of the libalias based in-kernel NAT a bit closer to
  how natd(8) does work. natd(8) drops packets only when libalias returns
  PKT_ALIAS_IGNORED and "deny_incoming" option is set, but ipfw_nat
  always did drop packets that were not aliased, even if they should
  not be aliased and just are going through.

  PR: kern/122109, kern/129093, kern/157379
  Submitted by: Alexander V. Chernikov (previous version)

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

12 years agoMFC r223699:
mav [Thu, 7 Jul 2011 08:33:58 +0000 (08:33 +0000)]
MFC r223699:
Add ID for Marvell 88SE9125 SATA controller.

PR: kern/157843

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

12 years agoMFC: r223441
rmacklem [Thu, 7 Jul 2011 00:30:34 +0000 (00:30 +0000)]
MFC: r223441
Plug an mbuf leak in the new NFS client that occurred when a
server replied NFS3ERR_JUKEBOX/NFS4ERR_DELAY to an rpc.
This affected both NFSv3 and NFSv4. Found during testing
at the recent NFSv4 interoperability Bakeathon.

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

12 years agoMFC: r223436
rmacklem [Thu, 7 Jul 2011 00:14:20 +0000 (00:14 +0000)]
MFC: r223436
Fix the new NFSv4 client so that it uses the same uid as
was used for doing a mount when performing system operations
on AUTH_SYS mounts.  This resolved an issue when mounting
a Linux server. Found during testing at the recent
NFSv4 interoperability Bakeathon.

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

12 years agoMFC r223672:
hselasky [Wed, 6 Jul 2011 07:13:28 +0000 (07:13 +0000)]
MFC r223672:
Add support for new UART PCI device.

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

12 years agoMFC r222582:
ae [Wed, 6 Jul 2011 06:56:31 +0000 (06:56 +0000)]
MFC r222582:
  O_FORWARD_IP is only action which depends from the result of lookup of
  dynamic rules. We are doing forwarding in the following cases:
   o For the simple ipfw fwd rule, e.g.

   fwd 10.0.0.1 ip from any to any out xmit em0
   fwd 127.0.0.1,3128 tcp from any to any 80 in recv em1

   o For the dynamic fwd rule, e.g.

    fwd 192.168.0.1 tcp from any to 10.0.0.3 3333 setup keep-state

          When this rule triggers it creates a dynamic rule, but this
   dynamic rule should forward packets only in forward direction.

   o And the last case that does not work before - simple fwd rule which
   triggers when some dynamic rule is already executed.

  PR: kern/136695, kern/147720, kern/150798

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

12 years agoMFC r223358:
ae [Wed, 6 Jul 2011 05:42:52 +0000 (05:42 +0000)]
MFC r223358:
  Do not use SET_HOST_IPLEN() macro for IPv6 packets.

  PR: kern/157239

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

12 years agoMFC r223660:
ae [Wed, 6 Jul 2011 05:40:22 +0000 (05:40 +0000)]
MFC r223660:
  Initialize elements of state array when creating the GPT table.
  This fixes the problem, when the secondary GPT header is not erased when
  partition table destroyed. Move equal operations from g_part_gpt_create
  and g_part_gpt_recover to the separate function g_gpt_set_defaults.

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

12 years agoUpdate to version 9.6-ESV-R4-P3
dougb [Wed, 6 Jul 2011 00:50:54 +0000 (00:50 +0000)]
Update to version 9.6-ESV-R4-P3

ALL BIND USERS ARE ENCOURAGED TO UPGRADE IMMEDIATELY

This update addresses the following vulnerability:

CVE-2011-2464
=============
Severity: High
Exploitable: Remotely

Description:

A defect in the affected BIND 9 versions allows an attacker to remotely
cause the "named" process to exit using a specially crafted packet. This
defect affects both recursive and authoritative servers. The code location
of the defect makes it impossible to protect BIND using ACLs configured
within named.conf or by disabling any features at compile-time or run-time.

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-2464
https://www.isc.org/software/bind/advisories/cve-2011-2464

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

12 years agoUpdate relevant to the 9.6-ESV-R4-P3 release
dougb [Wed, 6 Jul 2011 00:50:27 +0000 (00:50 +0000)]
Update relevant to the 9.6-ESV-R4-P3 release

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

12 years agoApply bug fixes
dougb [Wed, 6 Jul 2011 00:49:35 +0000 (00:49 +0000)]
Apply bug fixes

Submitted by: marius

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

12 years agoMFC r223610:
yongari [Tue, 5 Jul 2011 23:30:14 +0000 (23:30 +0000)]
MFC r223610:
  Enable CPUSaver D102 E-step microcode loading for 82551 revision
  0x10.

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

12 years agoMFC r223608:
yongari [Tue, 5 Jul 2011 23:17:27 +0000 (23:17 +0000)]
MFC r223608:
  Disable microcode loading for 82550 and 82550C controllers. Loading
  the microcode caused SCB timeouts. Linux driver does not allow
  microcode loading for these controllers and jfv also confirmed that
  there is no need to do and it shouldn't.

  PR: kern/103332
  Additional confirmation from: jfv

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

12 years agoMerge r223505 from HEAD to stable/8:
jonathan [Tue, 5 Jul 2011 14:54:33 +0000 (14:54 +0000)]
Merge r223505 from HEAD to stable/8:
--
Tidy up a capabilities-related comment.

This commit refers to an #ifdef that hasn't been merged [yet?]; remove it.

Approved by: rwatson
--

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

12 years agoMFC r223644:
pluknet [Tue, 5 Jul 2011 10:21:06 +0000 (10:21 +0000)]
MFC r223644:

Run load_rc_config early to fix quota knobs expansion.

PR: conf/157687

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

12 years agoMFC r223625:
pluknet [Tue, 5 Jul 2011 10:03:21 +0000 (10:03 +0000)]
MFC r223625:

 Update ifc_len field of struct ifconf passed for the ioctl SIOCGIFCONF32.

PR: kern/158369

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

12 years agoMFC r223728.
hselasky [Tue, 5 Jul 2011 07:05:18 +0000 (07:05 +0000)]
MFC r223728.
Fix for missing nomatch event.

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

12 years agoMFC r223375:
delphij [Tue, 5 Jul 2011 02:51:27 +0000 (02:51 +0000)]
MFC r223375:

Remove unneeded headers.

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

12 years agoMFC r223374:
delphij [Tue, 5 Jul 2011 02:50:27 +0000 (02:50 +0000)]
MFC r223374:

Staticify cleanup() which is not referenced in other places.

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

12 years agoMFC r217140:
delphij [Tue, 5 Jul 2011 02:49:29 +0000 (02:49 +0000)]
MFC r217140:

Use ether_ntoa instead of home-grown version.

Noticed by: Boris Kochergin <spawk acm poly edu>

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

12 years agoMFC: r223382
rmacklem [Tue, 5 Jul 2011 02:15:42 +0000 (02:15 +0000)]
MFC: r223382
Change the NFSv4 nfsuserd daemon so that it doesn't preload the
uid<->username mapping cache with an entry when another entry
for that uid is already loaded. This fixes a case where the
mapping of "toor" would replace "root" when the daemon was started,
resulting in no mapping for "root" until the cache entry for "toor"
timed out.
The algorithm is inefficient, but since it is only done once when
the daemon is started up, I don't think that's an issue.

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

12 years agoMFC: r223373
rmacklem [Tue, 5 Jul 2011 01:58:09 +0000 (01:58 +0000)]
MFC: r223373
Fix the new NFSv4 server so that it checks for VREAD_ACL when
a client does a Getattr for an ACL and not VREAD_ATTRIBUTES.
This was found during the recent NFSv4 interoperability Bakeathon.

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

12 years agoMFC: r223349
rmacklem [Mon, 4 Jul 2011 01:27:41 +0000 (01:27 +0000)]
MFC: r223349
Fix the new NFSv4 server so that it only allows Lookup of
directories and symbolic links when traversing non-exported
file systems. Found during the recent NFSv4 interoperability
Bakeathon.

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

12 years agoMFC: r223348
rmacklem [Mon, 4 Jul 2011 01:06:19 +0000 (01:06 +0000)]
MFC: r223348
Fix the new NFSv4 server so that it allows Access and Readlink
operations while traversing non-exported file systems. This is
required for some non-FreeBSD clients to do NFSv4 mounts. Found during
the recent NFSv4 interoperability Bakeathon.

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