]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/log
FreeBSD/stable/9.git
12 years agoMFC r229201: sh: Make patmatch() non-recursive.
jilles [Wed, 21 Mar 2012 23:10:16 +0000 (23:10 +0000)]
MFC r229201: sh: Make patmatch() non-recursive.

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

12 years agoMFC 230394,230441,230489,230552,232420:
jhb [Wed, 21 Mar 2012 20:50:15 +0000 (20:50 +0000)]
MFC 230394,230441,230489,230552,232420:
Close a race in NFS lookup processing that could result in stale name cache
entries on one client when a directory was renamed on another client.  The
root cause for the stale entry being trusted is that each per-vnode nfsnode
structure has a single 'n_ctime' timestamp used to validate positive name
cache entries.  However, if there are multiple entries for a single vnode,
they all share a single timestamp.  To fix this, extend the name cache
to allow filesystems to optionally store a timestamp value in each name
cache entry.  The NFS clients now fetch the timestamp associated with
each name cache entry and use that to validate cache hits instead of the
timestamps previously stored in the nfsnode.  Another part of the fix is
that the NFS clients now use timestamps from the post-op attributes of
RPCs when adding name cache entries rather than pulling the timestamps out
of the file's attribute cache.  The latter is subject to races with other
lookups updating the attribute cache concurrently.

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

12 years agoMFC r232975: Add an assert for proctree_lock to proc_to_reap().
jh [Wed, 21 Mar 2012 16:16:59 +0000 (16:16 +0000)]
MFC r232975: Add an assert for proctree_lock to proc_to_reap().

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

12 years agoMerge 232685 from head:
glebius [Wed, 21 Mar 2012 09:19:23 +0000 (09:19 +0000)]
Merge 232685 from head:
  Merge from OpenBSD:

    revision 1.146
    date: 2010/05/12 08:11:11;  author: claudio;  state: Exp;  lines: +2 -3
    bzero() the full compressed update struct before setting the values.
    This is needed because pf_state_peer_hton() skips some fields in certain
    situations which could result in garbage beeing sent to the other peer.
    This seems to fix the pfsync storms seen by stephan@ and so dlg owes me
    a whiskey.

  I didn't see any storms, but this definitely fixes a useless memory
  allocation on the receiving side, due to non zero scrub_flags field
  in a pfsync_state_peer structure.

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

12 years agoMerge 228321 from head:
glebius [Wed, 21 Mar 2012 07:29:47 +0000 (07:29 +0000)]
Merge 228321 from head:
  Fix double free.

  PR:           kern/163089
  Submitted by: Herbie Robinson <Herbie.Robinson stratus.com>

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

12 years agoMerge from head:
glebius [Wed, 21 Mar 2012 07:22:27 +0000 (07:22 +0000)]
Merge from head:
r227785:
  - Reduce severity for all ARP events, that can be triggered from remote
    machine to LOG_NOTICE. Exception left to "using my IP address".
  - Fix multicast ARP warning: add newline and also log the bad MAC address.

  Tested by:    Alexander Wittig <wittigal msu.edu>

r227790:
  Be more informative for "unknown hardware address format" message.

  Submitted by: Andrzej Tobola <ato iem.pw.edu.pl>

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

12 years agoMerge 227308 from head/:
glebius [Wed, 21 Mar 2012 07:07:43 +0000 (07:07 +0000)]
Merge 227308 from head/:
  In icmp6_redirect_input:

  - Assert that we got a valid mbuf with rcvif pointer. [1]
  - Use __func__ in logging.

  Submitted by: prabhakar lakhera <prabhakar.lakhera gmail.com> [1]
  Submitted by: Kristof Provost <kristof sigsegv.be> [1]

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

12 years agoMerge 226690 and 226725 from head:
glebius [Wed, 21 Mar 2012 07:05:29 +0000 (07:05 +0000)]
Merge 226690 and 226725 from head:
  Protect NIS client with madvise(2) since this daemon is required
  for succesful authentication of users.

  Protect NIS server with madvise(2) since this daemon is required
  for succesful authentication of users.

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

12 years agoMFC r233005:
tuexen [Tue, 20 Mar 2012 19:27:27 +0000 (19:27 +0000)]
MFC r233005:

Clean up, no functional change.

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

12 years agoMFC r233004:
tuexen [Tue, 20 Mar 2012 19:24:56 +0000 (19:24 +0000)]
MFC r233004:

Fix bugs which can result in a panic when an non-SCTP socket it
used with an sctp_ system-call which expects an SCTP socket.

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

12 years agoMFC r232866:
tuexen [Tue, 20 Mar 2012 19:22:44 +0000 (19:22 +0000)]
MFC r232866:

This fixes PR 165210. Basically we just
add in the netgraph interface to the list of
acceptable interfaces. A todo at the next
IETF code blitz, though is we need to review
why we screen interfaces, there was a reason ;-).
From rrs@.

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

12 years agoMFC r232724:
tuexen [Tue, 20 Mar 2012 19:19:50 +0000 (19:19 +0000)]
MFC r232724:
Add support for stf interfaces.

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

12 years agoMFC r231895:
tuexen [Tue, 20 Mar 2012 19:16:54 +0000 (19:16 +0000)]
MFC r231895:

Remove two clang warnings.

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

12 years agoMFC: 232901
jpaetzel [Mon, 19 Mar 2012 23:28:13 +0000 (23:28 +0000)]
MFC: 232901

Use gpart "-a" flag to 4k alignment.

Submitted by: kmoore
Obtained from: PC-BSD

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

12 years agoMFC 232510:
eadler [Mon, 19 Mar 2012 23:25:10 +0000 (23:25 +0000)]
MFC 232510:
Permit the use of raidz3 in pc-sysinstall

PR: conf/164709
Approved by: cperciva (implicit)

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

12 years agoMFC: 232899
jpaetzel [Mon, 19 Mar 2012 23:20:52 +0000 (23:20 +0000)]
MFC: 232899

Add the ability to use a varity of ZFS dataset options.
While here fix a bug causing zpools with /tmp mount-points to fail

Submitted by: kmoore
Obtained from: PC-BSD

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

12 years agoMFC: 232898
jpaetzel [Mon, 19 Mar 2012 23:17:26 +0000 (23:17 +0000)]
MFC: 232898

Improve ZFS exporting functionality, only export pools which are on a
specific device we happen to be writing to. This fixes an issue when
running pc-sysinstall on a running system which needs ZFS and the main
disk gets exported.

Submitted by: kmoore
Obtained from: PC-BSD

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

12 years agoMFC: 232895
jpaetzel [Mon, 19 Mar 2012 23:14:47 +0000 (23:14 +0000)]
MFC: 232895

Check for intel RAID devices

Submitted by: kmoore
Obtained from: PC-BSD

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

12 years agoMFC: 232890
jpaetzel [Mon, 19 Mar 2012 23:09:30 +0000 (23:09 +0000)]
MFC: 232890

Fix a couple of bugs saving network config.
Don't duplicate wlans_ lines.
Enable ipv6 on wireless devices correctly.

Submitted by: kmoore
Obtained from: PC-BSD

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

12 years agoMFC: 232889
jpaetzel [Mon, 19 Mar 2012 23:04:21 +0000 (23:04 +0000)]
MFC: 232889

Make sure when creating new MBR partition it is set to active by default.

Submitted by: kmoore
Obtained from: PC-BSD

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

12 years agoMFC: 232880
jpaetzel [Mon, 19 Mar 2012 22:59:19 +0000 (22:59 +0000)]
MFC: 232880

Fix a bug running the autoinstall functionality.

Submitted by: kmoore
Obtained from: PC-BSD

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

12 years agoMFC: 232681
jpaetzel [Mon, 19 Mar 2012 22:52:19 +0000 (22:52 +0000)]
MFC: 232681

Work around broken BIOS memory reporting

Andrzej has a machine with 32GB of RAM, but only 16GB is reported by the
smbios.memory.enabled.  Thus, use the greater of hw.realmem and the smbios
value.

Reported by: Andrzej Tobola <ato of iem pw edu pl>

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

12 years agoMFC 227470:
jpaetzel [Mon, 19 Mar 2012 22:41:53 +0000 (22:41 +0000)]
MFC 227470:

Report the amount of memory from smbios data if provided.

This should get the correct memory size even if a 32-bit image is running
on a machine with > 4GB of memory.  This can be useful is using a 32-bit
installer on a machine which will eventually run a 64-bit image.

Reviewed by: kmoore

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

12 years agoMFC: r232991
jkim [Mon, 19 Mar 2012 22:08:13 +0000 (22:08 +0000)]
MFC: r232991

Add a PCI quirk to ignore PCI map registers from configuration space.
This works around a resource conflict, e. g., MSI K9AGM2 motherboard.

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

12 years agoMFC 232072: Pretty-print the advice constants passed to posix_fadvise(2).
jhb [Mon, 19 Mar 2012 21:33:23 +0000 (21:33 +0000)]
MFC 232072: Pretty-print the advice constants passed to posix_fadvise(2).

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

12 years agoMFC 229621:
jhb [Mon, 19 Mar 2012 20:49:16 +0000 (20:49 +0000)]
MFC 229621:
Convert all users of IF_ADDR_LOCK to use new locking macros that specify
either a read lock or write lock.

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

12 years agoMFC r233041:
kib [Mon, 19 Mar 2012 10:06:22 +0000 (10:06 +0000)]
MFC r233041:
Remove write-only variable.

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

12 years agoMFC r232541:
kib [Mon, 19 Mar 2012 10:04:45 +0000 (10:04 +0000)]
MFC r232541:
Apply inlined vn_vget_ino() algorithm for ".." lookup in pseudofs.

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

12 years agoMFC r232894:
dim [Mon, 19 Mar 2012 08:10:23 +0000 (08:10 +0000)]
MFC r232894:
  Pull in r145194 from upstream clang trunk:

    Make our handling of MMX x SSE closer to what gcc does:

    * Enabling sse enables mmx.
    * Disabling (-mno-mmx) mmx, doesn't disable sse (we got this right already).
    * The order in not important. -msse -mno-mmx is the same as -mno-mmx -msse.

  Some configure scripts depend on this.

  PR: i386/165968

MFC r232933:
  Update comments and CFLAGS in sys/conf/kern.mk, introduced in r221879,
  to match reality: clang does _not_ disable SSE automatically when
  -mno-mmx is used, you have to specify -mno-sse explicitly.

  Note this was the case even before r232894, which only makes a change in
  the 'positive' flag case; e.g. when you specify -msse, MMX gets enabled
  too.

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

12 years agoMFC r232337:
mav [Mon, 19 Mar 2012 07:34:09 +0000 (07:34 +0000)]
MFC r232337:
Add driver for the RME HDSPe AIO/RayDAT sound cards -- snd_hdspe(4).
Cards are expensive and so rare, so leave the driver as module.

Submitted by: Ruslan Bukin <br@bsdpad.com>

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

12 years agoMFC r230845:
mav [Mon, 19 Mar 2012 07:24:26 +0000 (07:24 +0000)]
MFC r230845:
Make sound(4) more flexible in setting soft buffer and block sizes when
hardware imposes strict limitations on hard buffer and block sizes.

Previous code set soft buffer to be no smaller then hard buffer. On some
cards with fixed 64K physical buffer that caused up to 800ms play latency.
New code allows to set soft buffer size down to just two blocks of the hard
buffer and to not write more then that size ahead to the hardware buffer.
As result of that change I was able to reduce full practically measured
record-playback loop delay in those conditions down to only about 115ms
with theoretical playback latency of only about 50ms.

New code works fine for both vchans and direct cases. In both cases sound(4)
tries to follow hw.snd.latency_profile and hw.snd.latency values and
application-requested buffer and block sizes as much as limitation of two
hardware blocks allows.

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

12 years agoMFC r232783:
mav [Mon, 19 Mar 2012 07:15:42 +0000 (07:15 +0000)]
MFC r232783:
Idle ticks optimization:
 - Pass number of events to the statclock() and profclock() functions
   same as to hardclock() before to not call them many times in a loop.
 - Rename them into statclock_cnt() and profclock_cnt().
 - Turn statclock() and profclock() into compatibility wrappers,
   still needed for arm.
 - Rename hardclock_anycpu() into hardclock_cnt() for unification.

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

12 years agoMFC r232797:
mav [Mon, 19 Mar 2012 07:13:30 +0000 (07:13 +0000)]
MFC r232797:
ServerWorks HT1000 HPET reported to have problems with IRQs >= 16.
Lower (ISA) IRQs are working, but allowed mask is not set correctly.
Block both by default to allow HP BL465c G6 blade system to boot.

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

12 years agoMFC r232505:
eadler [Mon, 19 Mar 2012 01:56:26 +0000 (01:56 +0000)]
MFC r232505:
Remove outdated comment of seven years

PR: docs/116116
Approved by: cperciva

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

12 years agoMFC r231306:
eadler [Mon, 19 Mar 2012 01:51:08 +0000 (01:51 +0000)]
MFC r231306:
Fix NULL ptr dereference in setusercontext if pwd is null,
LOGIN_SETPRIORITY is set, and setting the priority (rtprio or
setpriority) fails.

PR: kern/164238
Approved by: cperciva

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

12 years agoMFC r232504:
eadler [Mon, 19 Mar 2012 01:32:28 +0000 (01:32 +0000)]
MFC r232504:
Remove reference to gcc's non-standard -fwritable-strings, which
doesn't exist in recent releases (and is bad advice anyway)

PR: docs/163119
Approved by: cperciva

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

12 years agoMFC r232503:
eadler [Mon, 19 Mar 2012 01:27:30 +0000 (01:27 +0000)]
MFC r232503:
POSIX mandates that swab do nothing when len < 0

PR: 140690
Approved by: cperciva

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

12 years agoMFC r232506:
eadler [Mon, 19 Mar 2012 01:18:22 +0000 (01:18 +0000)]
MFC r232506:
Explicitly list dependency

PR: misc/160463
Approved by: cperciva

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

12 years agoMFC r232501:
eadler [Mon, 19 Mar 2012 01:15:36 +0000 (01:15 +0000)]
MFC r232501:
ehci tunables are only available when kernel is compiled with USB_DEBUG

PR: docs/163646
Approved by: cperciva

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

12 years agoMFC r232466, r232469:
eadler [Mon, 19 Mar 2012 01:04:26 +0000 (01:04 +0000)]
MFC r232466, r232469:
Direct users to swapinfo and pstat from df

PR: bin/165321
Approved by: cperciva

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

12 years agoMFC r232483:
kevlo [Sun, 18 Mar 2012 15:03:02 +0000 (15:03 +0000)]
MFC r232483:

Clean up style(9) nits

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

12 years agoMFC r232994:
kevlo [Sun, 18 Mar 2012 14:49:36 +0000 (14:49 +0000)]
MFC r232994:
- Fix an erroneous invocation of the editline.
- Fix wrong scaling in the bc.library.
- Let length(0.000) conform to what gnu bc does.

PR: bin/159227
Submitted by: AIDA Shinra <shinra at j10n dot org>

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

12 years agoMFC r226892,r228007,r228873,r230121,r232839: sh: Various testcases that
jilles [Sun, 18 Mar 2012 13:02:56 +0000 (13:02 +0000)]
MFC r226892,r228007,r228873,r230121,r232839: sh: Various testcases that
already work.

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

12 years agoMFC r228322,228330,228477,228495,228562,228564,228859,228897,229574,230277:
ed [Sun, 18 Mar 2012 09:19:40 +0000 (09:19 +0000)]
MFC r228322,228330,228477,228495,228562,228564,228859,228897,229574,230277:

  Bring <sys/cdefs.h> in sync with FreeBSD HEAD:

  - Add an __alignof() for non-GCC and GCC < 2.95.
  - Attempt to implement the following C11 keywords: _Alignas(),
    _Alignof(), _Noreturn, _Static_assert() and _Thread_local.
  - Add __generic(), which allows us to do _Generic() in a portable
    fashion.
  - Improve __offsetof(), __DECONST(), __DEVOLATILE() and __DEQUALIFY()
    to use __uintptr_t and __size_t to make them work with less
    header prerequisites.
  - Add __has_feature(), __has_include() and __has_builtin() to make it
    easier to test against Clang features.

Tested by: linimon@'s exp-run (thanks!)

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

12 years agoMFC 232322:
dim [Sat, 17 Mar 2012 22:29:05 +0000 (22:29 +0000)]
MFC 232322:
  Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, that
  installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp.

  Note this does *not* disable building and installing gcc, which will
  still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp.  If
  you want to disable gcc completely, you must use WITHOUT_GCC.

MFC 232323:
  Regenerate src.conf(5) after r232322.

MFC 232477:
  In r232322, I forgot one case where a check for MK_CLANG_IS_CC was
  needed, in sys/conf/kern.pre.mk.  Add it now.

MFC 232522:
  Fix a thinko in r232322, where gcc (and its tools) are not built during
  the cross-tools stage, if CC=clang and WITH_CLANG_IS_CC is not set.

  This causes no 'cc' to be installed in the temporary cross-tools tree,
  making lint fall over later in the build, because it ignores ${CC} and
  attempts to run 'cc' anyway.

  To fix this, only skip building gcc during cross-tools, if WITHOUT_GCC
  is set, or if WITH_CLANG_IS_CC is set.

  Pointy hat to: dim

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

12 years agoMFC: r232316
brueffer [Sat, 17 Mar 2012 12:33:12 +0000 (12:33 +0000)]
MFC: r232316

Update bridge(4) default values.

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

12 years agoMFC: r232315
brueffer [Sat, 17 Mar 2012 12:11:53 +0000 (12:11 +0000)]
MFC: r232315

Use a more appropriate default for the maximum number of addresses in the
bridge forwarding table.

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

12 years agoMFC r232780 and r232781:
ed [Sat, 17 Mar 2012 09:10:43 +0000 (09:10 +0000)]
MFC r232780 and r232781:

  Fix whitespace.

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

12 years agoMFC r232785
iwasaki [Sat, 17 Mar 2012 06:48:13 +0000 (06:48 +0000)]
MFC r232785

Fix wrong asresp frame parsing in iwi_checkforqos().

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

12 years agoMFC r227430:
marcel [Sat, 17 Mar 2012 05:45:21 +0000 (05:45 +0000)]
MFC r227430:
On i386, fbt probes are implemented by writing an invalid opcode over
certain instructions in a function prologue or epilogue.  DTrace has a
hook into the invalid opcode fault handler that checks whether the fault
was due to an probe and if so, runs the DTrace magic.

Upon returning from an invalid opcode fault caused by a probe, DTrace must
emulate the instruction that was replaced with the invalid opcode and then
return control to the instruction following the invalid opcode.

There were a pair of related bugs in the emulation for the leave
instruction.  The leave instruction is used to pop off a stack frame prior
to returning from a function.  The emulation for this instruction must
move the trap frame for the invalid opcode fault down the stack to the
bottom of the stack frame that is being removed, and then execute an iret.

At two points in this process, the emulation code was storing values above
the current value of the stack pointer.  This opened up a window in which
if we were two take an interrupt, the trap frame for the interrupt would
overwrite the values stored on the stack, causing the system to panic
later.

The first bug was that at one point the emulation code saves the new value
for $esp above the current stack pointer value.  The fix is to save this
value instead inside of the original trap frame.  At this point we do
not need the original trap frame so this is safe.

The second bug is that when the emulate code loads $esp from the stack, it
points part-way through the new trap frame instead of at its beginning.
The emulation code adjusts the stack pointer to the correct value
immediately afterwards, but this still leaves a one instruction window in
which an interrupt would corrupt this trap frame.  Fix this by adjusting
the stack frame value before loading it into $esp.

This fixes panics in invop_leave on i386 when using fbt return probes.

Ok'd by: rstone

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

12 years agoMFC r232777:
kib [Sat, 17 Mar 2012 01:37:40 +0000 (01:37 +0000)]
MFC r232777:
Optimize tls_get_addr_common().

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

12 years agoMFC r232973:
kib [Sat, 17 Mar 2012 01:27:09 +0000 (01:27 +0000)]
MFC r232973:
Fix indentation.

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

12 years agoMFC r232967:
kib [Sat, 17 Mar 2012 01:23:49 +0000 (01:23 +0000)]
MFC r232967:
Add PCI Id for the AMT SOL UART on G4x series Intel chipsets.

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

12 years agoMFC r232776:
kib [Sat, 17 Mar 2012 01:19:36 +0000 (01:19 +0000)]
MFC r232776:
Add brackets around bare '-1' used as the macro body.

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

12 years agoMFC r232990:
delphij [Sat, 17 Mar 2012 01:04:07 +0000 (01:04 +0000)]
MFC r232990:

Add the missing IPOIB option.

Sponsored by: iXsystems, Inc.

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

12 years agoMFC 226340,226340:
jhb [Fri, 16 Mar 2012 21:28:05 +0000 (21:28 +0000)]
MFC 226340,226340:
Use queue(3) macros instead of home-rolled versions in several places in
the INET6 code.  This includes retiring the 'ndpr_next' and 'pfr_next'
macros.

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

12 years agoMFC r232668:
emaste [Fri, 16 Mar 2012 13:44:40 +0000 (13:44 +0000)]
MFC r232668:

  Use bus_get_dma_tag() to inherit the PCI bus' 4G boundary constraint.

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

12 years agoMFC r232729:
kib [Fri, 16 Mar 2012 11:00:55 +0000 (11:00 +0000)]
MFC r232729:
Remove the use of toupper() from rtld_printf.c.

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

12 years agoMFC r232947:
kib [Fri, 16 Mar 2012 10:59:04 +0000 (10:59 +0000)]
MFC r232947:
Lock the process around manipulations with p_flag.

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

12 years agoMFC r232709:
kib [Fri, 16 Mar 2012 10:51:42 +0000 (10:51 +0000)]
MFC r232709:
Decomission mnt_noasync. Introduce MNTK_NOASYNC mnt_kern_flag which
allows a filesystem to request VFS to not allow MNTK_ASYNC.

MFC note: the mnt_noasync member of struct mount is left as
padding to preserve the structure layout.

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

12 years agoMFC 232854,232874,232882,232883,232886 for bus_get_dma_tag()
scottl [Fri, 16 Mar 2012 08:46:58 +0000 (08:46 +0000)]
MFC 232854,232874,232882,232883,232886 for bus_get_dma_tag()

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

12 years agoMFC r232518:
raj [Thu, 15 Mar 2012 22:15:06 +0000 (22:15 +0000)]
MFC r232518:

Respect phy-handle property in Ethernet nodes of the device tree.

This lets specify whereabouts of the parent PHY for a given MAC node
(and get rid of ugly kludges in mge(4) and tsec(4)).

Obtained from: Semihalf

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

12 years agoMFC r232512:
raj [Thu, 15 Mar 2012 22:08:25 +0000 (22:08 +0000)]
MFC r232512:

Remove unused #defines. All this is now retrieved from the device tree.

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

12 years agoMFC r232986
sbruno [Thu, 15 Mar 2012 16:26:40 +0000 (16:26 +0000)]
MFC r232986

Update man page to present -T argument in synopsis

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

12 years agoMFC r232071:
kib [Thu, 15 Mar 2012 11:06:37 +0000 (11:06 +0000)]
MFC r232071:
Account the writeable shared mappings backed by file in the vnode
v_writecount.

MFC r232103:
Place the if() at the right location.

MFC note: the added struct vm_object un_pager.vnp.writemappings member
is located after the fields of struct vm_object that could be accessed
from the modules.

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

12 years agoMFC r232100:
kevlo [Thu, 15 Mar 2012 02:46:12 +0000 (02:46 +0000)]
MFC r232100:
Remove an unused structure and unnecessary cast

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

12 years agoMFC r232099:
kevlo [Thu, 15 Mar 2012 02:37:14 +0000 (02:37 +0000)]
MFC r232099:
Check if the user has necessary permissions on the device

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

12 years agoMFC 232675
ken [Wed, 14 Mar 2012 22:27:28 +0000 (22:27 +0000)]
MFC 232675

  Make the mps(4) module depend on the cam module.

  Submitted by: Mykola Dzham <i@levsha.me>

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

12 years agoMFC: r232822
marius [Wed, 14 Mar 2012 10:02:35 +0000 (10:02 +0000)]
MFC: r232822

Fix a bug introduced in r223938; on big-endian machines coping a 32-bit
quantum bytewise to the address of a 64-bit variable results in writing
to the "wrong" 32-bit half so adjust the address accordingly. This fix
is implemented in a hackish way for two reasons:
o in order to be able to get it into 8.3 with zero impact on the little-
  endian architectures where this bug has no effect and
o to avoid blowing the x86 boot2 out of the water again when compiling
  it with clang, which all sane versions of this fix tested do.
This change fixes booting from UFS1 file systems on big-endian machines.

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

12 years agoMFC r232671: Add lib32 part for libutil after its version bump to 9.
pluknet [Wed, 14 Mar 2012 09:44:46 +0000 (09:44 +0000)]
MFC r232671: Add lib32 part for libutil after its version bump to 9.

PR: misc/165523
Submitted by: Andrey Zonov <andrey zonov org>

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

12 years agoMFC r232833:
kib [Wed, 14 Mar 2012 07:08:15 +0000 (07:08 +0000)]
MFC r232833:
Remove not needed ARGSUSED lint command.

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

12 years agoMFC r232660:
kib [Wed, 14 Mar 2012 06:56:55 +0000 (06:56 +0000)]
MFC r232660:
In batch mode, exit after receiving SIGINT, instead of immediate
output of the next display.

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

12 years agoMerge 231025 from head:
glebius [Tue, 13 Mar 2012 20:37:57 +0000 (20:37 +0000)]
Merge 231025 from head:
  Add new socket options: TCP_KEEPINIT, TCP_KEEPIDLE, TCP_KEEPINTVL and
  TCP_KEEPCNT, that allow to control initial timeout, idle time, idle
  re-send interval and idle send count on a per-socket basis.

  Reviewed by:  andre, bz, lstewart

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

12 years agoMFc r229288:
mav [Tue, 13 Mar 2012 20:36:03 +0000 (20:36 +0000)]
MFc r229288:
Remove unneeded checks for CAM_DEV_QFRZN after cam_periph_runccb() call.
cam_periph_runccb() since the beginning checks it and releases device queue.
After r203108 it even clears CAM_DEV_QFRZN flag after that to avoid double
release, so removed code is unreachable now.

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

12 years agoMFC r228846:
mav [Tue, 13 Mar 2012 20:33:15 +0000 (20:33 +0000)]
MFC r228846:
Use READ CAPACITY(16) to get information about device physical sectors.
As soon as not all devices support READ CAPACITY(16), automatically fall
back to READ CAPACITY(10) if CAM_REQ_INVALID or SSD_KEY_ILLEGAL_REQUEST
status returned.

It also provides first bits of information about Logical Block Provisioning
(aka UNMAP/TRIM) support by the device.

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

12 years agoMFC r232263:
dim [Tue, 13 Mar 2012 18:39:57 +0000 (18:39 +0000)]
MFC r232263:

Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to
get rid of testing explicitly for clang (using ${CC:T:Mclang}) in
individual Makefiles.

Instead, use the following extra macros, for use with clang:
- NO_WERROR.clang       (disables -Werror)
- NO_WCAST_ALIGN.clang  (disables -Wcast-align)
- NO_WFORMAT.clang (disables -Wformat and friends)
- CLANG_NO_IAS (disables integrated assembler)
- CLANG_OPT_SMALL (adds flags for extra small size optimizations)

As a side effect, this enables setting CC/CXX/CPP in src.conf instead of
make.conf!  For clang, use the following:

CC=clang
CXX=clang++
CPP=clang-cpp

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

12 years agoMFC r232515:
bz [Mon, 12 Mar 2012 22:08:03 +0000 (22:08 +0000)]
MFC r232515:

 Rather than printing the output from route add for all FIBs just print them
 for the default FIB followed by a statement with a list of FIB numbers for
 all the other FIBs we install the routes for.

 Request by: kib (to make it less noisy)
Tested by: kib

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

12 years agoMFC r232609:
bz [Mon, 12 Mar 2012 22:05:50 +0000 (22:05 +0000)]
MFC r232609:

 Use = rather than == for expressions to test(1) builtin(1) in sh(1) to
 comply with standards.

 On modern branches there is an undocumented alias (see r219084) but on
 stable/7 this is still an error.

 Sponsored by: Cisco Systems, Inc.

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

12 years agoMFC r232723,r232726:
tuexen [Mon, 12 Mar 2012 21:34:10 +0000 (21:34 +0000)]
MFC r232723,r232726:

Fix a bug reported by Peter Holm which results in a crash:
Verify in sctp_peeloff() that the socket is a one-to-many
style SCTP socket.

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

12 years agoMFC r228485 and r227843:
hselasky [Mon, 12 Mar 2012 18:38:40 +0000 (18:38 +0000)]
MFC r228485 and r227843:
Stop USB audio transfers early so that any audio applications
will time out and close opened /dev/dspX.Y device(s), if
any.

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

12 years agoMFC r232257:
hselasky [Mon, 12 Mar 2012 18:22:04 +0000 (18:22 +0000)]
MFC r232257:
Add support for the MCS7832.

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

12 years agoMFC r230238 and r232684:
hselasky [Mon, 12 Mar 2012 18:13:59 +0000 (18:13 +0000)]
MFC r230238 and r232684:
Add new USB device ID's.

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

12 years agoMFC r232448:
hselasky [Mon, 12 Mar 2012 17:54:17 +0000 (17:54 +0000)]
MFC r232448:
Make sure that the USB system suspend event is executed synchronously
and not asynchronously.

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

12 years agoMFC r232240:
kib [Mon, 12 Mar 2012 12:53:27 +0000 (12:53 +0000)]
MFC r232240:
Currently, the debugger attached to the process executing vfork() does
not get syscall exit notification until the child performed exec of
exit.  Swap the order of doing ptracestop() and waiting for P_PPWAIT
clearing, by postponing the wait into syscallret after ptracestop()
notification is done.

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

12 years agoMFC r232572:
kib [Mon, 12 Mar 2012 12:29:31 +0000 (12:29 +0000)]
MFC r232572:
Use hand-made isspace1() macro which is enough to detect spaces in
libmap.conf.

MFC r232590 (by pluknet):
Rename isspace1() macro to the more appropriate rtld_isspace().

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

12 years agoMerge r226862 from head:
gavin [Sun, 11 Mar 2012 19:23:37 +0000 (19:23 +0000)]
Merge r226862 from head:
   Remove example for linking /dev/vga to /dev/ttyv0, this hasn't been
   required since X version 4.3.0.

PR: conf/161847
Submitted by: eadler

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

12 years agoMFC r232180:
kib [Sun, 11 Mar 2012 00:51:16 +0000 (00:51 +0000)]
MFC r232180:
Document SO_PROTOCOL socket option.

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

12 years agoMFC r232179:
kib [Sun, 11 Mar 2012 00:48:54 +0000 (00:48 +0000)]
MFC r232179:
Add SO_PROTOCOL/SO_PROTOTYPE socket SOL_SOCKET-level option to get the
socket protocol number.

PR: kern/162352

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

12 years agoMFC r232178:
kib [Sun, 11 Mar 2012 00:43:01 +0000 (00:43 +0000)]
MFC r232178:
Remove apparently redundand checks for socket so_proto being non-NULL
from sosetopt() and sogetopt().

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

12 years agoMFC r232694:
kib [Sun, 11 Mar 2012 00:33:54 +0000 (00:33 +0000)]
MFC r232694:

Document P_ORPHAN.

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

12 years agoMFC r230130, r230181, r230312, r230326, r230331, r230451, r230465, r230488,
mav [Sat, 10 Mar 2012 21:58:08 +0000 (21:58 +0000)]
MFC r230130, r230181, r230312, r230326, r230331, r230451, r230465, r230488,
r230507, r230511, r230513, r230532, r230537, r230551, r230554, r230571,
r230574, r230585, r230641, r230768, r230807, r231024:
Sync snd_hda(4) driver with HEAD.

This includes major code refactoring, HDMI support, new volume control,
automatic recording source selection, runtime reconfigureation, support
for more then 4 PCM devices on controller, multichannel recording,
additional playback/record streams, higher bandwidths support, more
informative device names and many other things.

Sponsored by: iXsystems, Inc.

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

12 years agoMFC r232471:
eadler [Sat, 10 Mar 2012 18:36:12 +0000 (18:36 +0000)]
MFC r232471:
Document the [n]eei and [n]bacc options

PR: docs/165009
Approved by: bcr

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

12 years agoMerge r232250 from head:
gavin [Sat, 10 Mar 2012 17:47:43 +0000 (17:47 +0000)]
Merge r232250 from head:

  Correct capitalization of "Hz" in user-visible text (manpages, printf(),
  etc).

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

12 years agoMFC r232102: Exit with proper status when wake() fails.
jh [Sat, 10 Mar 2012 08:27:37 +0000 (08:27 +0000)]
MFC r232102: Exit with proper status when wake() fails.

PR: bin/153527

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

12 years agoMFC r232101: style(9).
jh [Sat, 10 Mar 2012 08:25:49 +0000 (08:25 +0000)]
MFC r232101: style(9).

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

12 years agoMFC r230984:
rstone [Sat, 10 Mar 2012 02:26:12 +0000 (02:26 +0000)]
MFC r230984:

 Whenever a new kernel thread is spawned, explicitly clear any CPU affinity
 set on the new thread.  This prevents the thread from inadvertently
 inheriting affinity from a random sibling.

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

12 years agoJail-mount MFC: r231265,r231267,r231269,r232059,r232186,r232247,
mm [Fri, 9 Mar 2012 16:17:46 +0000 (16:17 +0000)]
Jail-mount MFC: r231265,r231267,r231269,r232059,r232186,r232247,
r232278,r232307,r232342

MFC r231265:
Introduce the "ruleset=number" option for devfs(5) mounts.
Add support for updating the devfs mount (currently only changing the
ruleset number is supported).
Check mnt_optnew with vfs_filteropt(9).

This new option sets the specified ruleset number as the active ruleset
of the new devfs mount and applies all its rules at mount time. If the
specified ruleset doesn't exist, a new empty ruleset is created.

MFC r231267 [1]:
Add support for mounting devfs inside jails.

A new jail(8) option "devfs_ruleset" defines the ruleset enforcement for
mounting devfs inside jails. A value of -1 disables mounting devfs in
jails, a value of zero means no restrictions. Nested jails can only
have mounting devfs disabled or inherit parent's enforcement as jails are
not allowed to view or manipulate devfs(8) rules.

Utilizes new functions introduced in r231265.

MFC r231269:
Allow mounting nullfs(5) inside jails.

This is now possible thanks to r230129.

MFC r232059 [1]:
To improve control over the use of mount(8) inside a jail(8), introduce
a new jail parameter node with the following parameters:

allow.mount.devfs:
allow mounting the devfs filesystem inside a jail

allow.mount.nullfs:
allow mounting the nullfs filesystem inside a jail

Both parameters are disabled by default (equals the behavior before
devfs and nullfs in jails). Administrators have to explicitly allow
mounting devfs and nullfs for each jail. The value "-1" of the
devfs_ruleset parameter is removed in favor of the new allow setting.

MFC r232186:
Analogous to r232059, add a parameter for the ZFS file system:

allow.mount.zfs:
allow mounting the zfs filesystem inside a jail

This way the permssions for mounting all current VFCF_JAIL filesystems
inside a jail are controlled wia allow.mount.* jail parameters.

Update sysctl descriptions.
Update jail(8) and zfs(8) manpages.

MFC r232247:
mdoc(7) stype - start new sentences on new line

MFC r232278 [1]:
Add procfs to jail-mountable filesystems.

MFC r232291:
Bump .Dd to reflect latest update

MFC r232307:
Add "export" to devfs_opts[] and return EOPNOTSUPP if called with it.
Fixes mountd warnings.

MFC r232342 (jamie) [2]:
Handle the case where a boolean parameter is also a node.

PR: bin/165515 [2]
Reviewed by: jamie [1]

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

12 years agoMFC r232350:
jh [Fri, 9 Mar 2012 13:06:24 +0000 (13:06 +0000)]
MFC r232350:

Since r199137 namei() returns EINVAL for DELETE and RENAME operations if
the last component of the pathname is ".".

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

12 years agoMFC r232380:
mav [Fri, 9 Mar 2012 05:43:08 +0000 (05:43 +0000)]
MFC r232380:
Fix names of some Marvell SATA chips. It looks like chips with proprietary
interface supported by mvs(4) are 88SX, while AHCI-like chips are 88SE.

PR: kern/165271

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

12 years agoMFC r232376:
mav [Fri, 9 Mar 2012 05:37:55 +0000 (05:37 +0000)]
MFC r232376:
Add ahci(4) and siis(4) to the hardware notes.

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