]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/log
FreeBSD/stable/10.git
9 years agoMFH (r264367): add RANLIBFLAGS and set timestamps in static libraries to 0
des [Sun, 24 Aug 2014 14:25:44 +0000 (14:25 +0000)]
MFH (r264367): add RANLIBFLAGS and set timestamps in static libraries to 0

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

9 years agoDocument r263508, clang/llvm update to 3.4.
gjb [Sun, 24 Aug 2014 14:21:47 +0000 (14:21 +0000)]
Document r263508, clang/llvm update to 3.4.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r263407, zfs bookmarks.
gjb [Sun, 24 Aug 2014 14:21:45 +0000 (14:21 +0000)]
Document r263407, zfs bookmarks.

Sponsored by: The FreeBSD Foundation

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

9 years agoMove timezone database update to 'contrib'.
gjb [Sun, 24 Aug 2014 14:21:43 +0000 (14:21 +0000)]
Move timezone database update to 'contrib'.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r263405, 'zfs list' '-p' flag.
gjb [Sun, 24 Aug 2014 14:21:41 +0000 (14:21 +0000)]
Document r263405, 'zfs list' '-p' flag.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r263403, alises for 'zfs snap' and 'zfs list -t snap'
gjb [Sun, 24 Aug 2014 14:21:40 +0000 (14:21 +0000)]
Document r263403, alises for 'zfs snap' and 'zfs list -t snap'

Sponsored by: The FreeBSD Foundation

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

9 years agoUpdate lldb(1) version to reflect r263369.
gjb [Sun, 24 Aug 2014 14:21:38 +0000 (14:21 +0000)]
Update lldb(1) version to reflect r263369.

Sponsored by: The FreeBSD Foundation

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

9 years agoUpdate lldb(1) version to reflect r263367.
gjb [Sun, 24 Aug 2014 14:21:36 +0000 (14:21 +0000)]
Update lldb(1) version to reflect r263367.

Sponsored by: The FreeBSD Foundation

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

9 years agoRemove space between product and trademark.
gjb [Sun, 24 Aug 2014 14:21:34 +0000 (14:21 +0000)]
Remove space between product and trademark.

Sponsored by: The FreeBSD Foundation

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

9 years agoAdd sponsor attribution for r263363.
gjb [Sun, 24 Aug 2014 14:21:32 +0000 (14:21 +0000)]
Add sponsor attribution for r263363.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r263363, lldb update.
gjb [Sun, 24 Aug 2014 14:21:30 +0000 (14:21 +0000)]
Document r263363, lldb update.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r263285, xz(1) update.
gjb [Sun, 24 Aug 2014 14:21:28 +0000 (14:21 +0000)]
Document r263285, xz(1) update.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r263256, fixed panic on urtwn(4) removal.
gjb [Sun, 24 Aug 2014 14:21:27 +0000 (14:21 +0000)]
Document r263256, fixed panic on urtwn(4) removal.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r263197, iicbus support for ADT7460/ADT7467 fan
gjb [Sun, 24 Aug 2014 14:21:25 +0000 (14:21 +0000)]
Document r263197, iicbus support for ADT7460/ADT7467 fan
controllers.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r263122, hwpmc(4) support for PowerPC 970-class
gjb [Sun, 24 Aug 2014 14:21:23 +0000 (14:21 +0000)]
Document r263122, hwpmc(4) support for PowerPC 970-class
processors.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r263046, tzdata2014a.
gjb [Sun, 24 Aug 2014 14:21:21 +0000 (14:21 +0000)]
Document r263046, tzdata2014a.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r263028, endianness-awareness in services_mkdb(8).
gjb [Sun, 24 Aug 2014 14:21:19 +0000 (14:21 +0000)]
Document r263028, endianness-awareness in services_mkdb(8).

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r263024, aacraid updated to version 3.2.5.
gjb [Sun, 24 Aug 2014 14:21:17 +0000 (14:21 +0000)]
Document r263024, aacraid updated to version 3.2.5.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r263020, pkg(7) synced with head/.
gjb [Sun, 24 Aug 2014 14:21:15 +0000 (14:21 +0000)]
Document r263020, pkg(7) synced with head/.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r263019, libucl merged from head/.
gjb [Sun, 24 Aug 2014 14:21:13 +0000 (14:21 +0000)]
Document r263019, libucl merged from head/.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r262967, MegaRAID Fury support in mfi(4).
gjb [Sun, 24 Aug 2014 14:21:11 +0000 (14:21 +0000)]
Document r262967, MegaRAID Fury support in mfi(4).

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r262861, vt(4) merged from head/.
gjb [Sun, 24 Aug 2014 14:21:10 +0000 (14:21 +0000)]
Document r262861, vt(4) merged from head/.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r262855, ATF updated to 0.20.
gjb [Sun, 24 Aug 2014 14:21:08 +0000 (14:21 +0000)]
Document r262855, ATF updated to 0.20.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFH (r267127): don't send User-Agent if HTTP_USER_AGENT is empty
des [Sun, 24 Aug 2014 14:04:20 +0000 (14:04 +0000)]
MFH (r267127): don't send User-Agent if HTTP_USER_AGENT is empty

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

9 years agoMFC r270180:
ngie [Sun, 24 Aug 2014 08:03:59 +0000 (08:03 +0000)]
MFC r270180:

Add LIBMD and LIBUTIL to DPADD to fix "make checkdpadd"

 Approved by: jmmv (mentor)
 Phabric: D633
 PR: 192763

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

9 years agoMFC r270038:
kib [Sun, 24 Aug 2014 07:59:01 +0000 (07:59 +0000)]
MFC r270038:
Complete r254667, do not destroy pmap lock if KVA allocation failed.

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

9 years agoMFC r269746:
kib [Sun, 24 Aug 2014 07:57:50 +0000 (07:57 +0000)]
MFC r269746:
Adapt vm_page_aflag_set(PGA_WRITEABLE) to the locking of
pmap_enter(PMAP_ENTER_NOSLEEP).

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

9 years agoMerge the changes to pmap_enter(9) for sleep-less operation (requested
kib [Sun, 24 Aug 2014 07:53:15 +0000 (07:53 +0000)]
Merge the changes to pmap_enter(9) for sleep-less operation (requested
by flag).  The ia64 pmap.c changes are direct commit, since ia64 is
removed on head.

MFC r269368 (by alc):
Retire PVO_EXECUTABLE.

MFC r269728:
Change pmap_enter(9) interface to take flags parameter and superpage
mapping size (currently unused).

MFC r269759 (by alc):
Update the text of a KASSERT() to reflect the changes in r269728.

MFC r269822 (by alc):
Change {_,}pmap_allocpte() so that they look for the flag
PMAP_ENTER_NOSLEEP instead of M_NOWAIT/M_WAITOK when deciding whether
to sleep on page table page allocation.

MFC r270151 (by alc):
Replace KASSERT that no PV list locks are held with a conditional
unlock.

Reviewed by: alc
Approved by: re (gjb)
Sponsored by: The FreeBSD Foundation

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

9 years agoMFH (r263160): remove lukemftpd
des [Sat, 23 Aug 2014 15:07:09 +0000 (15:07 +0000)]
MFH (r263160): remove lukemftpd

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

9 years agoMFH (r268877, r268921): use -o instead of a redirect.
des [Sat, 23 Aug 2014 14:42:49 +0000 (14:42 +0000)]
MFH (r268877, r268921): use -o instead of a redirect.

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

9 years agoMFH (r268864): document local_unbound changes (forgotten in r269257)
des [Sat, 23 Aug 2014 11:46:26 +0000 (11:46 +0000)]
MFH (r268864): document local_unbound changes (forgotten in r269257)

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

9 years agoMFH (r268888): fix false negative for empty groups
des [Sat, 23 Aug 2014 11:40:40 +0000 (11:40 +0000)]
MFH (r268888): fix false negative for empty groups
PR: 109416

MFH (r268890): add support for "account" facility
PR: 115164

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

9 years agoMFH (r269115): remove useless getpwnam() call
des [Sat, 23 Aug 2014 11:34:56 +0000 (11:34 +0000)]
MFH (r269115): remove useless getpwnam() call

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

9 years agoMFH (r269074): strip patch level from release name
des [Sat, 23 Aug 2014 11:32:43 +0000 (11:32 +0000)]
MFH (r269074): strip patch level from release name

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

9 years agoMFC r270176:
mav [Sat, 23 Aug 2014 07:03:04 +0000 (07:03 +0000)]
MFC r270176:
Fix lock recursion on LUN shutdown, introduced on r269497.

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

9 years agoMFC r270144:
ngie [Sat, 23 Aug 2014 02:24:47 +0000 (02:24 +0000)]
MFC r270144:

 Add LIBCRYPT to DPADD, remove LDFLAGS from LDADD, and sort the Makefile variables

 This fixes "make checkdpadd"

 Phabric: D620
 Approved by: jmmv (mentor)
 PR: 192729

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

9 years agoMFC r270118:
ngie [Sat, 23 Aug 2014 02:20:49 +0000 (02:20 +0000)]
MFC r270118:

 Add LIBUTIL to DPADD

 This will fix "make checkdpadd"

 PR: 192759
 Approved by: rpaulo (mentor)
 Phabric: D623

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

9 years agoRemove debug output which was comitted by accident.
tuexen [Fri, 22 Aug 2014 20:36:45 +0000 (20:36 +0000)]
Remove debug output which was comitted by accident.
This is a direct commit to stable/10.

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

9 years agoDocument r262701, kernel selection menu in loader(8).
gjb [Fri, 22 Aug 2014 20:32:34 +0000 (20:32 +0000)]
Document r262701, kernel selection menu in loader(8).

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r262384, rctl_rules="" in rc.conf(5).
gjb [Fri, 22 Aug 2014 20:32:32 +0000 (20:32 +0000)]
Document r262384, rctl_rules="" in rc.conf(5).

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r262363, urndis(4) import.
gjb [Fri, 22 Aug 2014 20:32:30 +0000 (20:32 +0000)]
Document r262363, urndis(4) import.

Sponsored by: The FreeBSD Foundation

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

9 years agoSpecify the driver for notes about r259453 and r261868
gjb [Fri, 22 Aug 2014 20:32:29 +0000 (20:32 +0000)]
Specify the driver for notes about r259453 and r261868

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r262137, axge(4) addition.
gjb [Fri, 22 Aug 2014 20:32:27 +0000 (20:32 +0000)]
Document r262137, axge(4) addition.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r262075, newsyslog(8) rotation by file size, instead
gjb [Fri, 22 Aug 2014 20:32:25 +0000 (20:32 +0000)]
Document r262075, newsyslog(8) rotation by file size, instead
of blocks consumed by the target file.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r261972, nve(4) deprecation.
gjb [Fri, 22 Aug 2014 20:32:23 +0000 (20:32 +0000)]
Document r261972, nve(4) deprecation.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r261868, Ralink RT3593 support.
gjb [Fri, 22 Aug 2014 20:32:21 +0000 (20:32 +0000)]
Document r261868, Ralink RT3593 support.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r261090, bhyve APCI S5 poweroff.
gjb [Fri, 22 Aug 2014 20:32:19 +0000 (20:32 +0000)]
Document r261090, bhyve APCI S5 poweroff.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r260857 and r260858: unmapped IO support in
gjb [Fri, 22 Aug 2014 20:32:17 +0000 (20:32 +0000)]
Document r260857 and r260858: unmapped IO support in
virtio_blk(4) and virtio_scsi(4).

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r260502, gmirror 'resize' command.
gjb [Fri, 22 Aug 2014 20:32:15 +0000 (20:32 +0000)]
Document r260502, gmirror 'resize' command.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r260178, fsck_ffs '-R' flag.
gjb [Fri, 22 Aug 2014 20:32:13 +0000 (20:32 +0000)]
Document r260178, fsck_ffs '-R' flag.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r260120, run(4) firmware update to 0.33.
gjb [Fri, 22 Aug 2014 20:32:11 +0000 (20:32 +0000)]
Document r260120, run(4) firmware update to 0.33.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r259453, RT5370/RT5372 support.
gjb [Fri, 22 Aug 2014 20:32:09 +0000 (20:32 +0000)]
Document r259453, RT5370/RT5372 support.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r259450, Hyper-V support on i386.
gjb [Fri, 22 Aug 2014 20:32:07 +0000 (20:32 +0000)]
Document r259450, Hyper-V support on i386.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r259355, WANDBOARD kernel configuration added.
gjb [Fri, 22 Aug 2014 20:32:05 +0000 (20:32 +0000)]
Document r259355, WANDBOARD kernel configuration added.

Sponsored by: The FreeBSD Foundation

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

9 years agoDocument r259328, geom_label is resize-aware.
gjb [Fri, 22 Aug 2014 20:32:03 +0000 (20:32 +0000)]
Document r259328, geom_label is resize-aware.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r269945:
tuexen [Fri, 22 Aug 2014 20:26:20 +0000 (20:26 +0000)]
MFC r269945:

Add support for the SCTP_PR_STREAM_STATUS and SCTP_PR_ASSOC_STATUS
socket options. This includes managing the correspoing stat counters.
Add the SCTP_DETAILED_STR_STATS kernel option to control per policy
counters on every stream. The default is off and only an aggregated
counter is available. This is sufficient for the RTCWeb usecase.

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

9 years agoMFC r269858:
tuexen [Fri, 22 Aug 2014 20:22:12 +0000 (20:22 +0000)]
MFC r269858:

Add support for the SCTP_AUTH_SUPPORTED and SCTP_ASCONF_SUPPORTED
socket options. Add also a sysctl to control the support of ASCONF.

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

9 years agoMFC r269527:
tuexen [Fri, 22 Aug 2014 20:16:26 +0000 (20:16 +0000)]
MFC r269527:

Add support for the SCTP_RECONFIG_SUPPORTED and the corresponding
sysctl controlling the negotiation of the RE-CONFIG extension.

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

9 years agoMFC r269481:
tuexen [Fri, 22 Aug 2014 20:08:50 +0000 (20:08 +0000)]
MFC r269481:

Add support for the SCTP_PKTDROP_SUPPORTED socket option and
the corresponding sysctl variable.
The default is off, since the specification is not an RFC yet.

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

9 years agoMFC r269475:
tuexen [Fri, 22 Aug 2014 20:05:09 +0000 (20:05 +0000)]
MFC r269475:

Add SCTP socket option SCTP_NRSACK_SUPPORTED to control the
NRSACK extension. The default will still be off, since it
it not an RFC (yet).
Changing the sysctl name will be in a separate commit.

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

9 years agoMFC r269448:
tuexen [Fri, 22 Aug 2014 20:01:35 +0000 (20:01 +0000)]
MFC r269448:

Add support for the SCTP_PR_SUPPORTED socket option as specified in
http://tools.ietf.org/html/draft-ietf-tsvwg-sctp-prpolicies
Add also a sysctl controlling the default of the end-points.

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

9 years agoMFC r269436, r269445:
tuexen [Fri, 22 Aug 2014 19:57:39 +0000 (19:57 +0000)]
MFC r269436, r269445:

Cleanup the ECN configuration handling and provide an SCTP socket
option for controlling ECN on future associations and get the
status on current associations.
A simialar pattern will be used for controlling SCTP extensions in
upcoming commits.

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

9 years agoMFC r269396:
tuexen [Fri, 22 Aug 2014 19:53:10 +0000 (19:53 +0000)]
MFC r269396:

Remove the asconf_auth_nochk sysctl. This was off by default and only
existed to be able to test with non-compliant peers a long time ago.

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

9 years agoMFC r269376:
tuexen [Fri, 22 Aug 2014 19:49:43 +0000 (19:49 +0000)]
MFC r269376:

Cleanup sctp_send_initiate() and sctp_send_initiate_ack() to be
in sync as much as possible. This simplifies upcoming changes.

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

9 years agoMFC r269075:
tuexen [Fri, 22 Aug 2014 19:46:22 +0000 (19:46 +0000)]
MFC r269075:

Initialize notification structures.
This was missed in an earlier commit

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

9 years agoMFC r268537:
tuexen [Fri, 22 Aug 2014 19:43:27 +0000 (19:43 +0000)]
MFC r268537:
Whitespace changes.

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

9 years agoMFC r268534:
tuexen [Fri, 22 Aug 2014 19:40:29 +0000 (19:40 +0000)]
MFC r268534:

Bugfix: When a remote address was added to an endpoint,
a source address was selected and cached, but it was not
stored that is was cached. This resulted in selecting
different source addresses for the INIT-ACK and COOKIE-ACK
when possible.
Thanks to Niu Zhixiong for reporting the issue.

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

9 years agoMFC r268526:
tuexen [Fri, 22 Aug 2014 19:37:50 +0000 (19:37 +0000)]
MFC r268526:

Integrate upstream changes.

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

9 years agoMFC r263822: amd64: Parse the EFI memory map if present
emaste [Fri, 22 Aug 2014 18:09:06 +0000 (18:09 +0000)]
MFC r263822: amd64: Parse the EFI memory map if present

  With this change (and loader.efi from [HEAD]) we can now boot under
  qemu using the OVMF UEFI firmware image with the limitation that a
  serial console is required.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r268481:
bryanv [Fri, 22 Aug 2014 15:12:20 +0000 (15:12 +0000)]
MFC r268481:

  Rework when the Tx queue completion interrupt is enabled

  The Tx interrupt is now kept disabled in the common case, only
  enabled when the number of free descriptors in the queue falls
  below a threshold. Transmitted frames are cleared from the VQ
  before subsequent transmit, or in the watchdog timer.

  This was a very big performance improvement for an experimental
  Netmap bhyve backend.

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

9 years agoMerge r268492:
glebius [Fri, 22 Aug 2014 13:39:56 +0000 (13:39 +0000)]
Merge r268492:
  On machines with strict alignment copy pfsync_state_key from packet
  on stack to avoid unaligned access.

PR: 187381

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

9 years agoMFC r269708:
kib [Fri, 22 Aug 2014 07:09:54 +0000 (07:09 +0000)]
MFC r269708:
Unlock ldvp and lock dvp to compensate for possible ldvp unlock in lower
VOP_LOOKUP() and dvp reclamation.  Use cached value of dvp->v_mount.

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

9 years agoUse 'WITHOUT_TESTS=1' instead of 'MK_TESTS=no' in the
gjb [Fri, 22 Aug 2014 00:54:00 +0000 (00:54 +0000)]
Use 'WITHOUT_TESTS=1' instead of 'MK_TESTS=no' in the
'distribute' target of etc/Makefile, because we do not
allow command-line use of 'make MK_TESTS=no' in stable/10.

This fixes a regression introduced in r270187 that causes
the release build to fail, and a direct commit to stable/10.

Sponsored by: The FreeBSD Foundation

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

9 years agoCommit of mergeinfo only to record the fact that r270311 changes are in
ian [Thu, 21 Aug 2014 22:49:41 +0000 (22:49 +0000)]
Commit of mergeinfo only to record the fact that r270311 changes are in
10-stable (I did the commit to the wrong branch first).

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

9 years agoMFC r269974 - Added 4K quirks for Corsair Force GT and Samsung 840 SSDs
smh [Thu, 21 Aug 2014 22:47:03 +0000 (22:47 +0000)]
MFC r269974 - Added 4K quirks for Corsair Force GT and Samsung 840 SSDs

Sponsored by: Multiplay

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

9 years agoMFC r265152 - Reintroduce priority for the TRIM ZIOs instead of using the "NOW" priority
smh [Thu, 21 Aug 2014 22:44:08 +0000 (22:44 +0000)]
MFC r265152 - Reintroduce priority for the TRIM ZIOs instead of using the "NOW" priority
MFC r265321 - Fix double fault panic when returning EOPNOTSUPP
MFC r269407 - Don't return ZIO_PIPELINE_CONTINUE from vdev_op_io_start methods

Sponsored by: Multiplay

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

9 years agoMFC: 269950, 269952, 269973, 270114, 270119, 270142, 270156, 270200, 270229
se [Thu, 21 Aug 2014 22:04:17 +0000 (22:04 +0000)]
MFC: 269950, 269952, 269973, 270114, 270119, 270142, 270156, 270200, 270229

Add fonts converted from SYSCONS with help of tools/tools/vt/keymaps
for use with NEWCONS. The mapping from SYSCONS name to NEWCONS name
is documented in KBDFILES.map in the tools directory.
A few of the files where modified by Ed Maste (ca.kbd, ca-fr.kbd).

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

9 years agoMFC 269976.
se [Thu, 21 Aug 2014 21:57:18 +0000 (21:57 +0000)]
MFC 269976.

Add support for NEWCONS to kbdmap and vidfont.

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

9 years agoMFC 270131, 270152, 270199, 270232:
se [Thu, 21 Aug 2014 21:53:43 +0000 (21:53 +0000)]
MFC 270131, 270152, 270199, 270232:

Add converter from SYSCONS keymap format to NEWCONS and
configuration files. The convert-keymap.pl script can
be used to convert private SYSCONS keymaps ro NEWCONS
format.

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

9 years agoMFC 270153, 270098:
se [Thu, 21 Aug 2014 21:48:33 +0000 (21:48 +0000)]
MFC 270153, 270098:

Apply a fixes to problems found while converting to NEWCONS.

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

9 years agoThis module requires pci_if.h, add it to the SRCS list.
ian [Thu, 21 Aug 2014 21:36:06 +0000 (21:36 +0000)]
This module requires pci_if.h, add it to the SRCS list.

We haven't noticed that it was missing because eisa has been disabled for
a while in -current, but it became apparent when some parallel-build stuff
was MFC'd to 10-stable and this module failed to build there.

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

9 years agoMFC r270253:
np [Thu, 21 Aug 2014 19:58:46 +0000 (19:58 +0000)]
MFC r270253:
Change netmap's global lock to sx instead of a mutex.

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

9 years agoMFC r266571, r266757, r268536, r269076, r269364, r269366, r269411,
np [Thu, 21 Aug 2014 19:54:02 +0000 (19:54 +0000)]
MFC r266571, r266757, r268536, r269076, r269364, r269366, r269411,
r269413, r269428, r269440, r269537, r269644, r269731, and the cxgbe
portion of r270063.

r266571:
cxgbe(4): Remove stray if_up from the code that creates the tracing ifnet.

r266757:
cxgbe(4): netmap support for Terminator 5 (T5) based 10G/40G cards.
Netmap gets its own hardware-assisted virtual interface and won't take
over or disrupt the "normal" interface in any way.  You can use both
simultaneously.

For kernels with DEV_NETMAP, cxgbe(4) carves out an ncxl<N> interface
(note the 'n' prefix) in the hardware to accompany each cxl<N>
interface.  These two ifnet's per port share the same wire but really
are separate interfaces in the hardware and software.  Each gets its own
L2 MAC addresses (unicast and multicast), MTU, checksum caps, etc.  You
should run netmap on the 'n' interfaces only, that's what they are for.

With this, pkt-gen is able to transmit > 45Mpps out of a single 40G port
of a T580 card.  2 port tx is at ~56Mpps total (28M + 28M) as of now.
Single port receive is at 33Mpps but this is very much a work in
progress.  I expect it to be closer to 40Mpps once done.  In any case
the current effort can already saturate multiple 10G ports of a T5 card
at the smallest legal packet size.  T4 gear is totally untested.

trantor:~# ./pkt-gen -i ncxl0 -f tx -D 00:07:43:ab:cd:ef
881.952141 main [1621] interface is ncxl0
881.952250 extract_ip_range [275] range is 10.0.0.1:0 to 10.0.0.1:0
881.952253 extract_ip_range [275] range is 10.1.0.1:0 to 10.1.0.1:0
881.962540 main [1804] mapped 334980KB at 0x801dff000
Sending on netmap:ncxl0: 4 queues, 1 threads and 1 cpus.
10.0.0.1 -> 10.1.0.1 (00:00:00:00:00:00 -> 00:07:43:ab:cd:ef)
881.962562 main [1882] Sending 512 packets every  0.000000000 s
881.962563 main [1884] Wait 2 secs for phy reset
884.088516 main [1886] Ready...
884.088535 nm_open [457] overriding ifname ncxl0 ringid 0x0 flags 0x1
884.088607 sender_body [996] start
884.093246 sender_body [1064] drop copy
885.090435 main_thread [1418] 45206353 pps (45289533 pkts in 1001840 usec)
886.091600 main_thread [1418] 45322792 pps (45375593 pkts in 1001165 usec)
887.092435 main_thread [1418] 45313992 pps (45351784 pkts in 1000834 usec)
888.094434 main_thread [1418] 45315765 pps (45406397 pkts in 1002000 usec)
889.095434 main_thread [1418] 45333218 pps (45378551 pkts in 1001000 usec)
890.097434 main_thread [1418] 45315247 pps (45405877 pkts in 1002000 usec)
891.099434 main_thread [1418] 45326515 pps (45417168 pkts in 1002000 usec)
892.101434 main_thread [1418] 45333039 pps (45423705 pkts in 1002000 usec)
893.103434 main_thread [1418] 45324105 pps (45414708 pkts in 1001999 usec)
894.105434 main_thread [1418] 45318042 pps (45408723 pkts in 1002001 usec)
895.106434 main_thread [1418] 45332430 pps (45377762 pkts in 1001000 usec)
896.107434 main_thread [1418] 45338072 pps (45383410 pkts in 1001000 usec)
...

r268536:
cxgbe(4): Add an iSCSI softc to the adapter structure.

r269076:
Some hooks in cxgbe(4) for the offloaded iSCSI driver.

r269364:
Improve compliance with style.Makefile(5).

r269366:
List one file per line in the Makefiles.  This makes it easier to read
diffs when a file is added or removed.

r269411:
cxgbe(4): minor optimizations in ingress queue processing.

Reorganize struct sge_iq.  Make the iq entry size a compile time
constant.  While here, eliminate RX_FL_ESIZE and use EQ_ESIZE directly.

r269413:
cxgbe(4):  Fix an off by one error when looking for the BAR2 doorbell
address of an egress queue.

r269428:
cxgbe(4):  some optimizations in freelist handling.

r269440:
cxgbe(4): Remove an unused version of t4_enable_vi.

r269537:
cxgbe(4): Do not run any sleepable code in the SIOCSIFFLAGS handler when
IFF_PROMISC or IFF_ALLMULTI is being flipped.  bpf(4) holds its global
mutex around ifpromisc in at least the bpf_dtor path.

r269644:
cxgbe(4):  Let caller specify whether it's ok to sleep in
t4_sched_config and t4_sched_params.

r269731:
cxgbe(4): Do not poke T4-only registers on a T5 (and vice versa).

Relnotes: Yes (native netmap support for Chelsio T4/T5 cards)

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

9 years agoMFC r263815, r263872:
emaste [Thu, 21 Aug 2014 19:51:07 +0000 (19:51 +0000)]
MFC r263815, r263872:

  Move ia64 efi.h to sys in preparation for amd64 UEFI support

    Prototypes specific to ia64 have been left in this file for now, under
    __ia64__, rather than moving them to a new header under sys/ia64.
    I anticipate that (some of) the corresponding functions will be shared
    by the amd64, arm64, i386, and ia64 architectures, and we can adjust
    this as EFI support on other than ia64 continues to develop.

  Fix missed efi.h header change in r263815

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r269525:
markj [Thu, 21 Aug 2014 19:45:52 +0000 (19:45 +0000)]
MFC r269525:
Return 0 for the PPID of threads in process 0, as process 0 doesn't have a
parent process.

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

9 years agoUpdate a couple of header files that were missed in r270252. This is a
np [Thu, 21 Aug 2014 19:42:03 +0000 (19:42 +0000)]
Update a couple of header files that were missed in r270252.  This is a
direct commit to stable/10.

Submitted by: luigi

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

9 years agoMFC r264927 by imp:
emaste [Thu, 21 Aug 2014 19:32:54 +0000 (19:32 +0000)]
MFC r264927 by imp:

  NO_DEBUG_FILES -> MK_DEBUG_FILES=no in last remaining place.

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

9 years agoMFC r270116:
ngie [Thu, 21 Aug 2014 17:36:42 +0000 (17:36 +0000)]
MFC r270116:

 Fix typo in lib/atf/libatfc++/Makefile

 LIBATFC should be LIBATF_C; this was missed in the initial import
 (r241823)

 PR: 192731
 MFC after: 3 days
 Phabric: D619
 Approved by: rpaulo (mentor)

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

9 years agoMFC r269534:
ngie [Thu, 21 Aug 2014 17:32:38 +0000 (17:32 +0000)]
MFC r269534:

  Integrate lib/libmp into the build/kyua

  - Remove the .t wrapper
  - Fix -Wreturn-type warnings with clang

  This change has been tested on amd64/i386

  Phabric: D530
  Reviewed by: jmmv
  Approved by: jmmv (co--mentor)
  MFC after: 2 weeks
  Sponsored by: EMC / Isilon Storage Division

MFC note: src.opts.mk in the original commit was changed to
          bsd.own.mk.

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

9 years agoMFC r260401
ian [Thu, 21 Aug 2014 17:18:21 +0000 (17:18 +0000)]
MFC r260401

  Remove aicasm as a build dependency.  It made sense when the ahc and ahd
  drivers and their firmware were under active development, but those days
  have passed.  The firmware now exists in pre-compiled form, no longer
  dependent on it's sources or on aicasm.  If you wish to rebuild the
  firmware from source, the glue still exists under the 'make firmware'
  target in sys/modules/aic7xxx.

  This also fixes the problem introduced with r257777 et al with building
  kernels the old fashioned way in sys/$arch/compile/$CONFIG when the
  ahc/ahd drivers were included.

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

9 years agoMFC r257637, r257730, r257734, r257777, r257825, r257838, r257873:
ian [Thu, 21 Aug 2014 14:56:57 +0000 (14:56 +0000)]
MFC r257637, r257730, r257734, r257777, r257825, r257838, r257873:

Changes to how the aicasm tool is built.  This series of changes results
in the aicasm tool being built as part of the tools stages of world and
kernel builds.

Most of these changes will ultimately be undone when r260401 is MFC'd,
but it will leave in place the new kernel-build-tool machinery (KTMAKE
stuff) in case a new special kernel tool ever comes along.

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

9 years agoMFC r268480:
bryanv [Thu, 21 Aug 2014 13:27:05 +0000 (13:27 +0000)]
MFC r268480:

  Add accessor to get the number of free descriptors in the virtqueue

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

9 years agoCommit forgotten chunk of r270264.
kib [Thu, 21 Aug 2014 12:30:01 +0000 (12:30 +0000)]
Commit forgotten chunk of r270264.

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

9 years agoMFC: Make BSD tree more contemporary-looking.
marck [Thu, 21 Aug 2014 11:48:37 +0000 (11:48 +0000)]
MFC: Make BSD tree more contemporary-looking.

This is actually batch of MFCs from the beginning of stable/10 branch.

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

9 years agoMFC r269656:
kib [Thu, 21 Aug 2014 10:46:19 +0000 (10:46 +0000)]
MFC r269656:
Implement and use proc_realparent(9).

MFC r270024 (by markj):
Correct the order of arguments passed to LIST_INSERT_AFTER().

For merge, the p_treeflag member of struct proc was moved to the end
of the structure, to keep KBI intact.

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

9 years agovt(4): Colors are indexed against a console palette, not a VGA palette
dumbbell [Thu, 21 Aug 2014 10:18:42 +0000 (10:18 +0000)]
vt(4): Colors are indexed against a console palette, not a VGA palette

Rename vt_generate_vga_palette() to vt_generate_cons_palette() and
change it to build a palette where the color index is the same than in
terminal escape codes, not the VGA index. That's what TCHAR_CREATE()
uses and passes to vt(4).

The main differences between both orders are:
    o  Blue and red are swapped (1 <-> 4)
    o  Yellow and cyan are swapped (3 <-> 6)

The problem remained unnoticed, because the RGB bit indexes passed to
vt_generate_vga_palette() were reversed. This inversion was cancelled
by the colors inversions in the generated palette. For instance, red
(0xff0000) and blue (0x0000ff) have bytes in opposite order, but were
swapped in the palette. But after changing the value of blue (see last
paragraph), the modified color was in fact the red one.

While here, tune the palette to better match console colors and improve
the readability (especially the dark blue).

This is an MFC of r269783 and r269791.

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

9 years agoMFC r270062: switch rpc mount protocol for showmount and umount from
peter [Thu, 21 Aug 2014 04:31:48 +0000 (04:31 +0000)]
MFC r270062: switch rpc mount protocol for showmount and umount from
mountv1 to mountv3 - it breaks by default on the new netapp release with
the legacy protocols removed.

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

9 years agoMFC r265256:
eadler [Thu, 21 Aug 2014 04:26:16 +0000 (04:26 +0000)]
MFC r265256:
Syntax fix

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

9 years agoMFC: r270005
rmacklem [Thu, 21 Aug 2014 01:07:27 +0000 (01:07 +0000)]
MFC: r270005
Try to clarify how file systems are exported for NFSv4.
This is a content change.

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

9 years agoMFC 270063: update of netmap code
luigi [Wed, 20 Aug 2014 23:34:36 +0000 (23:34 +0000)]
MFC 270063: update of netmap code
(vtnet and cxgbe not merged yet because we need some other mfc first)

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