]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/log
FreeBSD/stable/10.git
9 years agoMFC r270803:
kib [Mon, 1 Sep 2014 08:02:23 +0000 (08:02 +0000)]
MFC r270803:
Document the whole settings needed to build a debug version of rtld.

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

9 years agoFix a leak of the wired pages when unwiring of the PROT_NONE-mapped
kib [Mon, 1 Sep 2014 07:58:15 +0000 (07:58 +0000)]
Fix a leak of the wired pages when unwiring of the PROT_NONE-mapped
wired region.  Rework the handling of unwire to do the it in batch,
both at pmap and object level.

All commits below are by alc.

MFC r268327:
Introduce pmap_unwire().

MFC r268591:
Implement pmap_unwire() for powerpc.

MFC r268776:
Implement pmap_unwire() for arm.

MFC r268806:
pmap_unwire(9) man page.

MFC r269134:
When unwiring a region of an address space, do not assume that the
underlying physical pages are mapped by the pmap.  This fixes a leak
of the wired pages on the unwiring of the region mapped with no access
allowed.

MFC r269339:
In the implementation of the new function pmap_unwire(), the call to
MOEA64_PVO_TO_PTE() must be performed before any changes are made to the
PVO. Otherwise, MOEA64_PVO_TO_PTE() will panic.

MFC r269365:
Correct a long-standing problem in moea{,64}_pvo_enter() that was revealed
by the combination of r268591 and r269134: When we attempt to add the
wired attribute to an existing mapping, moea{,64}_pvo_enter() do nothing.
(They only set the wired attribute on newly created mappings.)

MFC r269433:
Handle wiring failures in vm_map_wire() with the new functions
pmap_unwire() and vm_object_unwire().
Retire vm_fault_{un,}wire(), since they are no longer used.

MFC r269438:
Rewrite a loop in vm_map_wire() so that gcc doesn't think that the variable
"rv" is uninitialized.

MFC r269485:
Retire pmap_change_wiring().

Reviewed by: alc

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

9 years agoMFC of 270755, 270772, 270773, 270775, 270799, 270806, 270807, 270820
jfv [Mon, 1 Sep 2014 07:54:30 +0000 (07:54 +0000)]
MFC of 270755, 270772, 270773, 270775, 270799, 270806, 270807, 270820
Enable the build of the Intel XL710 drivers, and fixes for that build.

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

9 years agoMFC r270445:
ae [Mon, 1 Sep 2014 07:34:16 +0000 (07:34 +0000)]
MFC r270445:
  The size of the GPT table can not be less than one sector.

MFC r270521:
  Since the size of GPT entry may differ from the sizeof(struct gpt_ent),
  use the size from GPT header to iterate entries.

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

9 years agoMFC r270433:
ngie [Mon, 1 Sep 2014 03:22:47 +0000 (03:22 +0000)]
MFC r270433:

  Garbage collect libl dependency

  The application links and runs without libl

  Approved by: rpaulo (mentor)
  Phabric: D673
  Submitted by: trociny

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

9 years agoMFC r270117:
ngie [Mon, 1 Sep 2014 03:20:10 +0000 (03:20 +0000)]
MFC r270117:

  Add -ll to LDADD to fix "make checkdpadd"

  Phabric: D622
  Approved by: rpaulo (mentor)

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

9 years agoMFC r270146:
ngie [Mon, 1 Sep 2014 03:04:59 +0000 (03:04 +0000)]
MFC r270146:

  Add LIBCRYPTO and LIBSSL to DPADD

  This fixes "make checkdpadd"

  Phabric: D621
  PR: 192761
  Approved by: rpaulo (mentor)

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

9 years agoMFC r270145:
ngie [Mon, 1 Sep 2014 02:53:32 +0000 (02:53 +0000)]
MFC r270145:

  Replace DPADD with DPSRCS to fix "make checkdpadd"

  Phabric: D625
  Approved by: jmmv (mentor)
  Reviewed by: dim
  PR: 192734

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

9 years agoMFC r270432:
ngie [Mon, 1 Sep 2014 01:39:20 +0000 (01:39 +0000)]
MFC r270432:

  Fix "make checkdpadd" in usr.bin/iscsictl by removing -lfl dependency

  Approved by: rpaulo (mentor)
  MFC after: 1 week

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

9 years agoMFC r266650, r267172 (both by jmmv):
ngie [Sun, 31 Aug 2014 23:09:23 +0000 (23:09 +0000)]
MFC r266650, r267172 (both by jmmv):

r266650:

  Change libatf-c and libatf-c++ to be private libraries.

  We should not be leaking these interfaces to the outside world given
  that it's much easier for third-party components to use the devel/atf
  package from ports.

  As a side-effect, we can also drop the ATF pkgconfig and aclocal files
  from the base system.  Nothing in the base system needs these, and it
  was quite ugly to have to get them installed only so that a few ports
  could build.  The offending ports have been fixed to depend on
  devel/atf explicitly.

  Reviewed by:  bapt

r267172:

  Homogenize libatf-* version numbers with upstream.

  The libatf-* major version numbers in FreeBSD were one version ahead of
  upstream because, when atf was first imported into FreeBSD, the upstream
  numbers were not respected.  This is just confusing and bound to cause
  problems down the road.

  Fix this by taking advantage of the fact that libatf-* are now private
  and that atf is not yet built by default.  However, and unfortunately, a
  clean build is needed for tests to continue working once "make
  delete-old-libs" has been run; hence the note in UPDATING.

Phabric: D701
Approved by: jmmv (maintainer, mentor)

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

9 years agoMFC r270507:
trasz [Sun, 31 Aug 2014 21:58:07 +0000 (21:58 +0000)]
MFC r270507:

Fix bug that, assuming a/ is a root of NFS filesystem mounted on autofs,
prevented "mv a/from a/to" from working, while "cd a && mv from to" was ok.

PR: 192948
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r270454:
trasz [Sun, 31 Aug 2014 21:56:42 +0000 (21:56 +0000)]
MFC r270454:

Fix handling of keys in executable maps.  Previously it was broken for keys
containing whitespace.

PR: 192947
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r270406:
trasz [Sun, 31 Aug 2014 21:55:08 +0000 (21:55 +0000)]
MFC r270406:

Add "nobrowse" option.  Previously automountd(8) always behaved as if
it was set, now it's conditional.

PR: 192862
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r270405:
trasz [Sun, 31 Aug 2014 21:53:42 +0000 (21:53 +0000)]
MFC r270405:

Don't fail on executable maps that return no entries.  This turns useless
error message into useful one.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r270402:
trasz [Sun, 31 Aug 2014 21:52:26 +0000 (21:52 +0000)]
MFC r270402:

Autofs softc needs to be global anyway, so don't pass it as a local
variable, and don't store in autofs_mount.  Also rename it from 'sc'
to 'autofs_softc', since it's global and extern.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r270399:
trasz [Sun, 31 Aug 2014 21:51:01 +0000 (21:51 +0000)]
MFC r270399:

Add comment explaining one of the quirks in autofs.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r270281:
trasz [Sun, 31 Aug 2014 21:49:45 +0000 (21:49 +0000)]
MFC r270281:

Fix includes.

Suggested by: pluknet@
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r270276:
trasz [Sun, 31 Aug 2014 21:48:12 +0000 (21:48 +0000)]
MFC r270276:

Use __FBSDID() properly.

Suggested by: pluknet@
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r270210:
trasz [Sun, 31 Aug 2014 21:46:32 +0000 (21:46 +0000)]
MFC r270210:

Remove useless - and buggy, it resulted in spurious warnings in logs - code.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r270209:
trasz [Sun, 31 Aug 2014 21:45:07 +0000 (21:45 +0000)]
MFC r270209:

Add description for the "automounted" mount flag.

Reviewed by: emaste@
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r270207:
trasz [Sun, 31 Aug 2014 21:43:28 +0000 (21:43 +0000)]
MFC r270207:

Rework ".." lookup; previous one failed to properly busy the mountpoint.

Reviewed by: kib@
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r270096:
trasz [Sun, 31 Aug 2014 21:18:23 +0000 (21:18 +0000)]
MFC r270096:

Bring in the new automounter, similar to what's provided in most other
UNIX systems, eg. MacOS X and Solaris.  It uses Sun-compatible map format,
has proper kernel support, and LDAP integration.

There are still a few outstanding problems; they will be fixed shortly.

Reviewed by: allanjude@, emaste@, kib@, wblock@ (earlier versions)
Phabric: D523
Relnotes: yes
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r270282:
trasz [Sun, 31 Aug 2014 20:47:10 +0000 (20:47 +0000)]
MFC r270282:

Use proper include paths in kernel iSCSI code.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r256800: pathchk: Ensure bytes >= 128 are considered non-portable
jilles [Sun, 31 Aug 2014 20:34:06 +0000 (20:34 +0000)]
MFC r256800: pathchk: Ensure bytes >= 128 are considered non-portable
characters.

This was not broken on architectures such as ARM where char is unsigned.

Also, remove the first non-portable character from the output. POSIX does
not require this, and printing the first byte may yield an invalid byte
sequence with UTF-8.

PR: 165988
Reported by: Nicolas Rachinsky
Relnotes: yes

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

9 years agoMFC r270279:
trasz [Sun, 31 Aug 2014 20:21:08 +0000 (20:21 +0000)]
MFC r270279:

Make the iSCSI stack use __FBSDID() properly.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r263859:
akiyama [Sun, 31 Aug 2014 10:42:52 +0000 (10:42 +0000)]
MFC r263859:
  Change default logic to CONFORM because this routine is shared
  with SCI polarity setting.

  Reviewed by: jhb

MFC r269184:
  Add missing newline to output dmesg properly.

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

9 years agoMFC r270643:
kevlo [Sat, 30 Aug 2014 14:24:20 +0000 (14:24 +0000)]
MFC r270643:
Fix typo: s/mac_rev/mac_ver/

Submitted by: Stefan Sperling <stsp at openbsd dot org>

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

9 years agoMFC r270215: Add missing break.
ume [Sat, 30 Aug 2014 10:29:47 +0000 (10:29 +0000)]
MFC r270215: Add missing break.

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

9 years agoMFC r269873:
ume [Sat, 30 Aug 2014 10:25:41 +0000 (10:25 +0000)]
MFC r269873:
Fix broken pointer overflow check ns_name_unpack()

Many compilers may optimize away the overflow check `msg + l < msg',
where `msg' is a pointer and `l' is an integer, because pointer
overflow is undefined behavior in C.

Use a safe precondition test `l >= eom - msg' instead.

Reference:
https://android-review.googlesource.com/#/c/50570/

Requested by: pfg
Obtained from: NetBSD (CVS rev. 1.10)

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

9 years agoMFC r269867:
ume [Sat, 30 Aug 2014 10:16:25 +0000 (10:16 +0000)]
MFC r269867:
Update our stub resolver to final version of libbind
(libbind-6.0).

Obtained from:  ISC

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

9 years agoMFC r269865:
ume [Sat, 30 Aug 2014 09:55:38 +0000 (09:55 +0000)]
MFC r269865:
Bring the md5 functions into libc for internal use only.
It is required to support ID randomization for our stub
resolver.

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

9 years agoUpdate an assertion to reflect the changes made in r270439. This is a
alc [Sat, 30 Aug 2014 03:41:47 +0000 (03:41 +0000)]
Update an assertion to reflect the changes made in r270439.  This is a
direct commit to stable/10 because ia64 is no longer supported by HEAD.

Reported by: marcel
Sponsored by: EMC / Isilon Storage Division

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

9 years agoMFC r270027:
ngie [Fri, 29 Aug 2014 18:26:55 +0000 (18:26 +0000)]
MFC r270027:

tmconfig compilation when MK_ATM == yes and MK_BSNMP == no

 Makefile.inc1:
 Always compile gensnmptree with bootstrap-tools when MK_BSNMP != no
 instead of depending on a potentially stale tool installed on the build host

 sbin/atm/atmconfig/Makefile:
 - Always remove oid.h to avoid cluttering up the build/src tree.
 - Consolidate all of the RESCUE/MK_BSNMP != no logic under one
 conditional to improve readability
 - Remove unnecessary ${.OBJDIR} prefixing for oid.h and use ${.TARGET} instead
   of spelling out oid.h
 - Add a missing DPADD for ${LIBCRYPTO} when compiled MK_BSNMP == yes and
   MK_OPENSSL == yes and not compiling for /rescue/rescue

 sbin/atm/atmconfig/main.c:
 Change #ifndef RESCUE to #ifdef WITH_BSNMP in main.c to make it
 clear that we're compiling bsnmp support into atmconfig

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

9 years agoBump revision ID after r270817
gjb [Fri, 29 Aug 2014 13:56:10 +0000 (13:56 +0000)]
Bump revision ID after r270817

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r270817, tzdata2014f.
pluknet [Fri, 29 Aug 2014 13:46:30 +0000 (13:46 +0000)]
Document r270817, tzdata2014f.

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

9 years agoMFC r270728, tzdata2014f
pluknet [Fri, 29 Aug 2014 13:41:21 +0000 (13:41 +0000)]
MFC r270728, tzdata2014f

- Parts of Russia will change times on 2014-10-26.
- Time zone name changes for Asia/Novokuznetsk and Xinjiang and Samoa
  and America/Metlakatla, new zones Asia/Chita and Asia/Srednekolymsk.
- Australia will now use Axxx.
- New zone tab data format.

And lots of historical changes (See
http://mm.icann.org/pipermail/tz-announce/2014-August/000023.html
for the full details.)

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

9 years agoMFC r269963+269964:
delphij [Fri, 29 Aug 2014 13:12:45 +0000 (13:12 +0000)]
MFC r269963+269964:

Re-instate UMA cached backend for 4K - 64K allocations.  New consumers
like geli(4) uses malloc(9) to allocate temporary buffers that gets
free'ed shortly, causing frequent TLB shootdown as observed in hwpmc
supported flame graph.

Add a new loader tunable, vm.kmem_zmax which allows a system administrator
to limit the maximum allocation size that malloc(9) would consider using
the UMA cache allocator as backend.

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

9 years agoMFC r270384:
delphij [Fri, 29 Aug 2014 13:06:30 +0000 (13:06 +0000)]
MFC r270384:

Update hptnr(4) driver to version 1.0.1 supplied by the vendor.

v1.0.1 2014-8-19
  * Do not retry the command and reset the disk when failed to enable or
    disable spin up feature.
  * Fix up a bug that disk failed to probe if driver failed to access the
    10th LBA.
  * Fix a bug that request timeout but it has been completed in certain
    cases.
  * Support smartmontool for R750.

Many thanks to HighPoint for continued support of FreeBSD!

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

9 years agoMFC r270383: MFV r270198:
delphij [Fri, 29 Aug 2014 13:03:13 +0000 (13:03 +0000)]
MFC r270383: MFV r270198:

Instead of using timestamp in the AVL, use the memory address when
comparing.

Illumos issue:
    5095 panic when adding a duplicate dbuf to dn_dbufs

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

9 years agoMFC r270345:
kib [Fri, 29 Aug 2014 08:42:20 +0000 (08:42 +0000)]
MFC r270345:
In do_lock_pi(), do not override error from umtxq_sleep_pi() when
doing suspend check.

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

9 years agoMFC r270321:
kib [Fri, 29 Aug 2014 08:38:34 +0000 (08:38 +0000)]
MFC r270321:
Ensure that sigaction flags for signal, which disposition is reset to
ignored or default, are not leaking.

MFC r270504:
Revert the handling of all siginfo sa_flags except SA_SIGINFO to the
pre-r270321 state.

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

9 years agoMFC r270320:
kib [Fri, 29 Aug 2014 08:33:32 +0000 (08:33 +0000)]
MFC r270320:
Check the validity of struct sigaction sa_flags value, reject unknown
flags.

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

9 years agoMFC r269903:
ngie [Fri, 29 Aug 2014 02:21:02 +0000 (02:21 +0000)]
MFC r269903:

 Port date/bin/tests to ATF

 Phabric: D545
 Approved by: jmmv (mentor)
 Submitted by: keramida (earlier version)
 Sponsored by: Google, Inc
 Sponsored by: EMC / Isilon Storage Division

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

9 years agoMFC r269608:
gjb [Fri, 29 Aug 2014 01:40:49 +0000 (01:40 +0000)]
MFC r269608:
  Add device ID for the Chicony USB 2.0 HD UVC Webcam
  found on the Asus X550LA.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r270668, r270669, r270672:
gjb [Fri, 29 Aug 2014 01:20:31 +0000 (01:20 +0000)]
MFC r270668, r270669, r270672:

r270668:
  Add gnugrep.1 to CLEANFILES.

r270669:
  Add host.1 to CLEANFILES.

r270672:
  Add svnlite.1 to CLEANFILES.

Sponsored by: The FreeBSD Foundation

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

9 years agoMinor wording changes.
gjb [Thu, 28 Aug 2014 21:27:37 +0000 (21:27 +0000)]
Minor wording changes.

Sponsored by: The FreeBSD Foundation

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

9 years agoFDP style nits.
gjb [Thu, 28 Aug 2014 21:25:30 +0000 (21:25 +0000)]
FDP style nits.

Sponsored by: The FreeBSD Foundation

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

9 years agoMinor rewording to a few sections.
gjb [Thu, 28 Aug 2014 21:18:59 +0000 (21:18 +0000)]
Minor rewording to a few sections.

Sponsored by: The FreeBSD Foundation

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

9 years agoWe do not differentiate the SMP from GENERIC kernel anymore,
gjb [Thu, 28 Aug 2014 21:16:30 +0000 (21:16 +0000)]
We do not differentiate the SMP from GENERIC kernel anymore,
so remove mention of it.

Sponsored by: The FreeBSD Foundation

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

9 years agoUse <acronym> and <literal> in a few places where needed.
gjb [Thu, 28 Aug 2014 21:14:32 +0000 (21:14 +0000)]
Use <acronym> and <literal> in a few places where needed.
Minor rewording to r264732 entry.

Sponsored by: The FreeBSD Foundation

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

9 years agoFix typo.
mav [Thu, 28 Aug 2014 21:07:54 +0000 (21:07 +0000)]
Fix typo.

Submitted by: Hugo Lombard <hal@elizium.za.net>

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

9 years agoAdd FreeBSD/ARM notes.
gjb [Thu, 28 Aug 2014 21:02:10 +0000 (21:02 +0000)]
Add FreeBSD/ARM notes.

These do not have corresponding revision numbers, since
the updates took place over a large span of revisions,
not one revision in particular.

Submitted/prepared by: ian
Sponsored by: The FreeBSD Foundation

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

9 years agoDocument ZVOLs got BIO_DELETE support.
mav [Thu, 28 Aug 2014 20:41:53 +0000 (20:41 +0000)]
Document ZVOLs got BIO_DELETE support.

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

9 years agoDocument volmode ZVOL property addition.
mav [Thu, 28 Aug 2014 20:38:04 +0000 (20:38 +0000)]
Document volmode ZVOL property addition.

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

9 years agoMention NFS and kernel iSCSI optimizations.
mav [Thu, 28 Aug 2014 20:25:17 +0000 (20:25 +0000)]
Mention NFS and kernel iSCSI optimizations.

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

9 years agoMFC r270519:
ngie [Thu, 28 Aug 2014 19:59:04 +0000 (19:59 +0000)]
MFC r270519:

Fix "make checkdpadd" for lib/libc when MK_SSP != no

 Add LIBSSP_NONSHARED to bsd.libnames.mk and append LIBSSP_NONSHARED to DPADD in
 lib/libc when MK_SSP != no

 Approved by: rpaulo (mentor)
 Phabric: D675 (as part of a larger diff)
 PR: 192728

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

9 years agoMFC r270256:
pfg [Thu, 28 Aug 2014 18:11:05 +0000 (18:11 +0000)]
MFC r270256:
Always check the limits of array index variables before using them.

Obtained from: DragonFlyBSD

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

9 years agoNote r269398 adds RFC5661 support.
gjb [Thu, 28 Aug 2014 15:05:42 +0000 (15:05 +0000)]
Note r269398 adds RFC5661 support.

Submitted by: rmacklem
Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r270242, sequential packet support in devd(8)
gjb [Thu, 28 Aug 2014 15:00:04 +0000 (15:00 +0000)]
Document r270242, sequential packet support in devd(8)

Submitted by: asomers
Sponsored by: The FreeBSD Foundation

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

9 years agoNote r268700 was sponsored by Spectra Logic.
gjb [Thu, 28 Aug 2014 14:57:09 +0000 (14:57 +0000)]
Note r268700 was sponsored by Spectra Logic.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument some CTL improvements.
mav [Thu, 28 Aug 2014 09:40:44 +0000 (09:40 +0000)]
Document some CTL improvements.

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

9 years agoDocument CAM locking improvements.
mav [Thu, 28 Aug 2014 09:00:53 +0000 (09:00 +0000)]
Document CAM locking improvements.

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

9 years agoDocument GEOM direct dispatch support and some other GEOM changes.
mav [Thu, 28 Aug 2014 08:48:10 +0000 (08:48 +0000)]
Document GEOM direct dispatch support and some other GEOM changes.

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

9 years agoMove more storage stuff to storage section.
mav [Thu, 28 Aug 2014 08:25:15 +0000 (08:25 +0000)]
Move more storage stuff to storage section.

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

9 years agoMove some points between sections.
mav [Thu, 28 Aug 2014 07:57:00 +0000 (07:57 +0000)]
Move some points between sections.

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

9 years agoDocument r269946, USDT DTrace probe improvements.
gjb [Thu, 28 Aug 2014 06:16:36 +0000 (06:16 +0000)]
Document r269946, USDT DTrace probe improvements.

Submitted by: rpaulo
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r267632:
bryanv [Thu, 28 Aug 2014 04:20:24 +0000 (04:20 +0000)]
MFC r267632:

  Fix GCC compile warning: Variable(s) can be used uninitialized.

PR: 193076

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

9 years agoCorrect the note about r270401: s/pam(3)/pam_group(8)
gjb [Thu, 28 Aug 2014 01:14:59 +0000 (01:14 +0000)]
Correct the note about r270401: s/pam(3)/pam_group(8)

Submitted by: jilles
Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r261491 (by ambrisko):
markj [Wed, 27 Aug 2014 21:11:19 +0000 (21:11 +0000)]
MFC r261491 (by ambrisko):
Add a tunable "hw.mfi.mrsas_enable" to allow mfi(4) to drop priority and
allow mrsas(4) from LSI to attach to newer LSI cards that are support by
mrsas(4).  If mrsas(4) is not loaded into the system at boot then mfi(4)
will always attach.  If a modified mrsas(4) is loaded in the system.  That
modification is return "-30" in it's probe since that is between
BUS_PROBE_DEFAULT and BUS_PROBE_LOW_PRIORITY.

This option is controller by a new probe flag "MFI_FLAGS_MRSAS" in mfi_ident
that denotes cards that should work with mrsas(4).  New entries that should
have this option.

This is the first step to get mrsas(4) checked into FreeBSD and to avoid
collision with people that use mrsas(4) from LSI.  Since mfi(4) takes
priority, then mrsas(4) users need to rebuild GENERIC.  Using the
.disabled="1" method doesn't work since that blocks attaching and the
probe gave it to mfi(4).

MFC r267451 (by delphij):
Correct variable for loader tunable variable hw.mfi.mrsas_enable.

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

9 years agoMFC r265255, r270506:
markj [Wed, 27 Aug 2014 19:51:42 +0000 (19:51 +0000)]
MFC r265255, r270506:
Allow "a.out" as an alias for the executable if no other matching entries
are found.

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

9 years agoMFC r270180:
ngie [Wed, 27 Aug 2014 18:25:14 +0000 (18:25 +0000)]
MFC r270180:

r269906:

 Add missing BSD.tests.dist entry for lib/libutil to unbreak installworld with
 MK_TESTS == no

 Phabric: D555
 Approved by: jmmv (mentor, implicit)
 Pointyhat to: ngie

r269904:

 Integrate lib/libutil into the build/kyua

 Remove the .t wrappers

 Rename all of the TAP test applications from test-<test> to
 <test>_test to match the convention described in the TestSuite
 wiki page

 humanize_number_test.c:

 - Fix -Wformat warnings with counter variables
 - Fix minor style(9) issues:
 -- Header sorting
 -- Variable declaration alignment/sorting in main(..)
 -- Fit the lines in <80 columns
 - Fix an off by one index error in the testcase output [*]
 - Remove unnecessary `extern char * optarg;` (this is already provided by
   unistd.h)

 Phabric: D555
 Approved by: jmmv (mentor)
 Obtained from: EMC / Isilon Storage Division [*]
 Submitted by: Casey Peel <cpeel@isilon.com> [*]
 Sponsored by: EMC / Isilon Storage Division

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

9 years agoMFC r270510
truckman [Wed, 27 Aug 2014 18:00:58 +0000 (18:00 +0000)]
MFC r270510

Catch up to gcc 3.3 -> 3.4 upgrade.

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

9 years agoMFC r270134:
hselasky [Wed, 27 Aug 2014 14:22:40 +0000 (14:22 +0000)]
MFC r270134:
Use the "bSubslotSize" and "bSubFrameSize" fields to obtain the actual
sample size. According to the USB audio frame format specification
from USB.org, the value in the "bBitResolution" field can be less than
the actual sample size, depending on the actual hardware, and should
not be used for this computation.

PR: 192755

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

9 years agoMFC r270133:
hselasky [Wed, 27 Aug 2014 14:17:15 +0000 (14:17 +0000)]
MFC r270133:
Add more USB class codes.

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

9 years agoMFC r269777:
hselasky [Wed, 27 Aug 2014 14:07:24 +0000 (14:07 +0000)]
MFC r269777:
Fix string length argument passed to "sysctl_handle_string()" so that
the complete string is returned by the function and not just only one
byte.

PR: 192544

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

9 years agoMFC 270438
grehan [Wed, 27 Aug 2014 06:13:44 +0000 (06:13 +0000)]
MFC 270438
  Change __inline style to be consistent with FreeBSD usage,
  and also fix gcc build.

PR: 192880

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

9 years agoMFC r270204:
kib [Wed, 27 Aug 2014 01:38:26 +0000 (01:38 +0000)]
MFC r270204:
Do not busy the UFS mount point inside VOP_RENAME().

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

9 years agoMFC r270203:
kib [Wed, 27 Aug 2014 01:37:22 +0000 (01:37 +0000)]
MFC r270203:
Correct the test for condition to suspend UFS filesystem during unmount.

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

9 years agoMFC r270202:
kib [Wed, 27 Aug 2014 01:34:33 +0000 (01:34 +0000)]
MFC r270202:
Increase max number of physical segments on amd64 to 63.

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

9 years agoMFC r270417, r270418, r270455, r270457:
gjb [Wed, 27 Aug 2014 00:50:51 +0000 (00:50 +0000)]
MFC r270417, r270418, r270455, r270457:

r270417:
  Fix arm build breakage when building stable/10 on
  head/.

r270418:
  Also export UNAME_r to fix arm builds.

r270455:
  Set OSREL and UNAME_r in release/release.sh when building
  ports to prevent ports build failures from killing the
  release build.

r270457:
  Wrap a long line.

Sponsored by: The FreeBSD Foundation

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

9 years agoFix the stable/10 errata/article.xml to conform to
gjb [Wed, 27 Aug 2014 00:07:33 +0000 (00:07 +0000)]
Fix the stable/10 errata/article.xml to conform to
FDP style conventions (as best as possible).

Sponsored by: The FreeBSD Foundation

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

9 years agoFix the stable/10 hardware/article.xml to conform to
gjb [Tue, 26 Aug 2014 23:58:54 +0000 (23:58 +0000)]
Fix the stable/10 hardware/article.xml to conform to
FDP style conventions.
Fix a few rendering issues, while here.

Sponsored by: The FreeBSD Foundation

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

9 years agoBump copyright year.
gjb [Tue, 26 Aug 2014 23:51:01 +0000 (23:51 +0000)]
Bump copyright year.

Sponsored by: The FreeBSD Foundation

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

9 years agoUpdate the readme/article.xml to reflect send-pr(1) is
gjb [Tue, 26 Aug 2014 23:50:21 +0000 (23:50 +0000)]
Update the readme/article.xml to reflect send-pr(1) is
deprecated, and direct to Bugzilla.

Sponsored by: The FreeBSD Foundation

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

9 years agoFix the stable/10 hardware/article.xml to conform to
gjb [Tue, 26 Aug 2014 23:45:26 +0000 (23:45 +0000)]
Fix the stable/10 hardware/article.xml to conform to
FDP style conventions.

Sponsored by: The FreeBSD Foundation

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

9 years agoFix a typo: s/sytem/system/
gjb [Tue, 26 Aug 2014 23:31:22 +0000 (23:31 +0000)]
Fix a typo: s/sytem/system/

Sponsored by: The FreeBSD Foundation

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

9 years agoFix alphabetical sorting with alc(4) addition.
gjb [Tue, 26 Aug 2014 23:19:09 +0000 (23:19 +0000)]
Fix alphabetical sorting with alc(4) addition.

Move atp(4) driver under 'Pointing Devices', added
to 'Keyboards' by mistake.

Sponsored by: The FreeBSD Foundation

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

9 years agoAdd the following to the hardware notes:
gjb [Tue, 26 Aug 2014 22:47:40 +0000 (22:47 +0000)]
Add the following to the hardware notes:
 - aacraid(4)
 - alc(4)
 - ath_hal(4)
 - atp(4)
 - cxgbe(4)
 - hptnr(4)

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r269743:
wblock [Tue, 26 Aug 2014 19:58:48 +0000 (19:58 +0000)]
MFC r269743:

Update the comments in exec.h with help from jilles.

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

9 years ago- Update stable/10 to 10.1-PRERELEASE now that the
gjb [Tue, 26 Aug 2014 15:31:56 +0000 (15:31 +0000)]
- Update stable/10 to 10.1-PRERELEASE now that the
  code slush is in effect.  (Forgotten on the 22nd.)
- Set the 10.1 as the .Fx mdoc(7) default.
- Update the TARGET_TRIPLE and BUILD_TRIPLE for clang(1)
  to reflect 10.1.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

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

9 years agoAdd a non-breaking space in the mount_nfs(8) example.
gjb [Tue, 26 Aug 2014 13:53:01 +0000 (13:53 +0000)]
Add a non-breaking space in the mount_nfs(8) example.

Sponsored by: The FreeBSD Foundation

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

9 years agoFix an oddly-worded sentence.
gjb [Tue, 26 Aug 2014 13:44:56 +0000 (13:44 +0000)]
Fix an oddly-worded sentence.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r265778 (by melifaro):
ae [Tue, 26 Aug 2014 10:32:08 +0000 (10:32 +0000)]
MFC r265778 (by melifaro):
  Fix ndp(8) -f flag parsing

  PR: bin/136661

MFC r268827 (by peter):
  Fix "ndp -d hostname".

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

9 years agoMFC r270416:
dim [Tue, 26 Aug 2014 06:31:52 +0000 (06:31 +0000)]
MFC r270416:

In r260015, I renamed several identifiers to avoid -Wsystem-header
warnings.  In r261283, I imported libc++ 3.4 release, but this contained
one identifier that had not been renamed yet, leading to a compilation
error when using -std=c++1y.  Fix the compilation error by correctly
renaming the identifier.

Reported by: rcarter@pinyon.org
PR: base/192139

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

9 years agoMerge SETAN changes from head:
imp [Tue, 26 Aug 2014 03:45:54 +0000 (03:45 +0000)]
Merge SETAN changes from head:

r270327 | imp | 2014-08-22 07:15:59 -0600 (Fri, 22 Aug 2014) | 6 lines
We should never enter the PROBE_SETAN phase if we're not ATAPI, since
that's ATAPI specific. Instead, skip to PROBE_SET_MULTI instead for
non ATAPI protocols. The prior code incorrectly terminated the probe
with a break, rather than arranging for probedone to get called. This
caused panics or worse on some systems.

r270249 | imp | 2014-08-20 16:58:12 -0600 (Wed, 20 Aug 2014) | 13 lines
Turns out that IDENTIFY DEVICE and IDENTIFY PACKET DEVICE return data
that's only mostly similar. Specifically word 78 bits are defined for
IDENTIFY DEVICE as
        5 Supports Hardware Feature Control
while a IDENTIFY PACKET DEVICE defines them as
        5 Asynchronous notification supported
Therefore, only pay attention to bit 5 when we're talking to ATAPI
devices (we don't use the hardware feature control at this time).
Ignore it for ATA devices. Remove kludge that papered over this issue
for Samsung SATA SSDs, since Micron drives also have the bit set and
the error was caused by this bad interpretation of the spec (which is
quite easy to do, since bits aren't normally overlapping like this).

Sponsored by: Netflix (the merge and the original work)

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

9 years agoMFH (r269653): Give a brief error message
thompsa [Tue, 26 Aug 2014 02:31:37 +0000 (02:31 +0000)]
MFH (r269653): Give a brief error message

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

9 years agoDocument r270631, ixlv(4) merged from head/.
gjb [Mon, 25 Aug 2014 22:31:04 +0000 (22:31 +0000)]
Document r270631, ixlv(4) merged from head/.

Sponsored by: The FreeBSD Foundation

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

9 years agoFix a formatting nit.
gjb [Mon, 25 Aug 2014 22:25:57 +0000 (22:25 +0000)]
Fix a formatting nit.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r270630, vm 'fast path' page fault hander.
gjb [Mon, 25 Aug 2014 22:20:04 +0000 (22:20 +0000)]
Document r270630, vm 'fast path' page fault hander.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r270552, kern.geom.part.mbr.enforce_chs tunable.
gjb [Mon, 25 Aug 2014 22:20:02 +0000 (22:20 +0000)]
Document r270552, kern.geom.part.mbr.enforce_chs tunable.

Sponsored by: The FreeBSD Foundation

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