]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/log
FreeBSD/stable/10.git
10 years agoMFC r257129:
cperciva [Mon, 28 Oct 2013 22:49:11 +0000 (22:49 +0000)]
MFC r257129:
  Remove time and date stamps from svn* binaries, in order to make the
  builds reproducible.

Approved by: re (glebius)

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

10 years agoMFC r257078
grehan [Mon, 28 Oct 2013 22:41:36 +0000 (22:41 +0000)]
MFC r257078
  Fix panic in the tap driver when a tap and vmnet interface were
  created after each other e.g.

   ifconfig tap0
   ifconfig vmnet0
   <panic>

  Appears to be a cut'n'paste error from the tap code to the vmnet
  code where the name string wasn't updated in the call to make_dev().

Approved by:  re (glebius)

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

10 years agoMFC r257007:
delphij [Sat, 26 Oct 2013 19:02:39 +0000 (19:02 +0000)]
MFC r257007:

Update driver to version 10.0.664.0.

Many thanks to Emulex for their continued support of FreeBSD.

Submitted by: Venkata Duvvuru <VenkatKumar.Duvvuru Emulex Com>
Approved by: re (glebius)

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

10 years agoUpdate stable/10 to BETA2 as part of the 10.0-RELEASE cycle.
gjb [Sat, 26 Oct 2013 15:10:58 +0000 (15:10 +0000)]
Update stable/10 to BETA2 as part of the 10.0-RELEASE cycle.

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

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

10 years agoMFC r256646, r256767, r257038:
cperciva [Sat, 26 Oct 2013 08:34:35 +0000 (08:34 +0000)]
MFC r256646, r256767, r257038:
  When installing updates, install new directories first and remove old
  directories last.

  Allow ~ in file names so libtool droppings in contrib don't break updates.
  It has happened twice now, and is likely to happen again.

  Be more selective when filtering for lib*.so.N files.  These are deleted
  at the end of the upgrade process, after warning users to upgrade any
  3rd party software (e.g., from the ports tree) which might link to the
  libraries being removed.

Approved by: re (gjb)
Errata Notice: FreeBSD-EN-13:04.freebsd-update

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

10 years agoMFC r257079:
gjb [Fri, 25 Oct 2013 21:27:35 +0000 (21:27 +0000)]
MFC r257079:
 Fix build host pollution by avoiding calling 'uname -srp' to
 determine values for 'VERSION'.

Approved by: re (glebius)

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

10 years agoMFC r256926, r257005
grehan [Fri, 25 Oct 2013 18:39:01 +0000 (18:39 +0000)]
MFC r256926, r257005

r256926
  Fix AHCI ATAPI emulation when backed with /dev/cd0

  - remove assumption that the backing file/device had
    512-byte sectors
  - fix incorrect iovec size variable that would result
    in a buffer overrun when an o/s issued an i/o request
    with more s/g elements than the blockif api

r257005
  Export the block size capability to guests.
  - Use #defines for capability bits
  - Export the VTBLK_F_BLK_SIZE capability
  - Fix bug in calculating capacity: it is in
    512-byte units, not the underlying sector size

  This allows virtio-blk to have backing devices
  with non 512-byte sector sizes e.g. /dev/cd0, and
  4K-block harddrives.

Approved by:  re (glebius)

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

10 years agoMFC r256504:
kib [Fri, 25 Oct 2013 16:36:16 +0000 (16:36 +0000)]
MFC r256504:
Add a sysctl kern.disallow_high_osrel which disables executing the
images compiled on the world with higher major version number than the
high version number of the booted kernel.  Default to disable.

Approved by: re (glebius)

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

10 years agoMFC r256502:
kib [Fri, 25 Oct 2013 16:33:24 +0000 (16:33 +0000)]
MFC r256502:
Similar to debug.iosize_max_clamp sysctl, introduce
devfs_iosize_max_clamp sysctl, which allows/disables SSIZE_MAX-sized
i/o requests on the devfs files.

Approved by: re (glebius)

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

10 years agoMFC r256501:
kib [Fri, 25 Oct 2013 16:31:28 +0000 (16:31 +0000)]
MFC r256501:
Remove two instances of ARGSUSED comment, and wrap lines nearby the
code that is to be changed.

Approved by: re (glebius)

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

10 years agoMFC r256925:
tijl [Fri, 25 Oct 2013 13:27:55 +0000 (13:27 +0000)]
MFC r256925:

Add a dummy statement to the beginning of the pthread_cleanup_pop() macro
to allow a call of the macro to be labelled as in:

label:
  pthread_cleanup_pop();

Reviewed by: imp
Approved by: re (glebius)

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

10 years agoMFC r256750:
hselasky [Fri, 25 Oct 2013 10:20:19 +0000 (10:20 +0000)]
MFC r256750:
Improve XHCI stability. When a command timeout happens, the command
should be aborted else the command queue can stop. Refer to section
"4.6.1.2" of the XHCI specification.

Approved by: re (glebius)

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

10 years agoMFC r256889:
smh [Thu, 24 Oct 2013 15:21:20 +0000 (15:21 +0000)]
MFC r256889:

Use the vdev's ashift to calculate the supported min block size passed to
zio_compress_data(..) when compressing l2arc buffers.

This eliminates L2ARC I/O errors, which resulted in very poor performance on
vdev's configured with block size greater than 512b due to compression
assuming a smaller min block size than the vdev supports.

Approved by: re (glebius)

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

10 years agoMFC r256842:
bdrewery [Thu, 24 Oct 2013 11:35:50 +0000 (11:35 +0000)]
MFC r256842:

  Fix 'make delete-old-libs' and 'make check-libs' to delete .debug
  files created by WITH_DEBUG_FILES. Also cleanup .symbols files from
  the period between r244236 when .symbols were supported and r251512
  when they were renamed to .debug.

  Only propose to delete a .debug file if the corresponding library
  itself was deleted already.

Approved by: bapt
Approved by: re (glebius)

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

10 years agoMFC r256552:
mav [Thu, 24 Oct 2013 10:33:31 +0000 (10:33 +0000)]
MFC r256552:
Unify periph invalidation and destruction reporting.
Print message containing device model and serial number on invalidation.

Approved by: re (hrs)

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

10 years agoMFC r256533:
mav [Thu, 24 Oct 2013 10:31:02 +0000 (10:31 +0000)]
MFC r256533:
Unhide "Serial Number" lines from bootverbose.  That information may
be useful for system administration to have in hard copy (in logs) if
one of several devices suddenly dies.

Approved by: re (hrs)

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

10 years agoMFC r256500:
hselasky [Thu, 24 Oct 2013 07:43:35 +0000 (07:43 +0000)]
MFC r256500:
Add new USB ID.

PR: usb/182936
Approved by: re (Xin LI)
Obtainedrom:

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

10 years agoMFC r256548:
hselasky [Thu, 24 Oct 2013 07:38:32 +0000 (07:38 +0000)]
MFC r256548:
Correct programming of XXX_MAXP register. This register is 16-bit wide
and not 8-bit. Fix support for isochronous transfers in USB host mode.
Fix a whitespace while at it.

PR: usb/181987
Approved by: re (Xin Li)

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

10 years agoMFC r256833:
delphij [Thu, 24 Oct 2013 05:01:49 +0000 (05:01 +0000)]
MFC r256833:

Drop cm_lock before calling mapper_close, which in turn could call
_citrus_mapper_close again and result in a deadlock otherwise.

This is similar to NetBSD PR/24023 (fixed in their r1.5 of this file).

PR: bin/182994
Submitted by: Fabian Keil <fk fabiankeil de>
Approved by: re (hrs)

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

10 years agoMFC r256450:
bdrewery [Wed, 23 Oct 2013 18:07:07 +0000 (18:07 +0000)]
MFC r256450:

  Rename libbsdyml to libyaml, make private, and bump
  SHLIB_MAJOR to 1.0

Approved by: bapt
Approved by: re (glebius)

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

10 years agoMFC r256687:
brooks [Wed, 23 Oct 2013 17:59:17 +0000 (17:59 +0000)]
MFC r256687:

Upgrade to the latest version of mtree from NetBSD.  This revision
re-removes the printing of size for non-regular files, supports
type-less root (.) entries as seen in a couple ports, and corrects a bug
in -N that caused expanded Subversion $FreeBSD$ strings in comments to
be processed as /etc/group entries.

Includes one trivial portability fix (including <stdint.h> in three
files) that has been committed upstream.

Approved by: re (glebius)

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

10 years agoMFC r256773:
jmg [Wed, 23 Oct 2013 16:55:20 +0000 (16:55 +0000)]
MFC r256773:
Enable the automatic creation of a certificate (if one does not exists)
and enable the usage by sendmail if sendmail is enabled.

Reviewed by:    gshapiro
Approved by: re (gjb)

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

10 years agoRevert r256944, which does not quite get the src/ directory correct.
gjb [Tue, 22 Oct 2013 23:37:54 +0000 (23:37 +0000)]
Revert r256944, which does not quite get the src/ directory correct.

Discussed with: cperciva
Approved by: re (implicit)
Pointyhat: gjb

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

10 years agoMFC r256921:
cperciva [Tue, 22 Oct 2013 21:53:32 +0000 (21:53 +0000)]
MFC r256921:
  Thou shalt not leak build host state into the system being compiled.

Approved by: re (gjb)

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

10 years agoMFC r256775,r256776:
cperciva [Tue, 22 Oct 2013 16:09:44 +0000 (16:09 +0000)]
MFC r256775,r256776:
  Add support for "first boot" rc.d scripts.

  Document this new functionality in rc.conf(5) and rc(8).

  Bump __FreeBSD_version so that ports can make use of this.

Approved by: re (gjb)

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

10 years agoMFC 256716,256835:
hrs [Tue, 22 Oct 2013 06:02:40 +0000 (06:02 +0000)]
MFC 256716,256835:

- Fix jail_parallel_start="YES".
- Fix ip[46].addr when interface parameter is not defined.
- Fix a bug which prevented jails from starting when $jail_conf was used and
  no jail name was specified.
- Display error messages when start/stop fails.

Approved by: re (glebius)

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

10 years agoMFC r256645.
neel [Tue, 22 Oct 2013 00:58:51 +0000 (00:58 +0000)]
MFC r256645.

Add a new capability, VM_CAP_ENABLE_INVPCID, that can be enabled to expose
'invpcid' instruction to the guest. Currently bhyve will try to enable this
capability unconditionally if it is available.

Consolidate code in bhyve to set the capabilities so it is no longer
duplicated in BSP and AP bringup.

Add a sysctl 'vm.pmap.invpcid_works' to display whether the 'invpcid'
instruction is available.

Approved by: re (hrs)

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

10 years agoMFC: 256555
andreast [Mon, 21 Oct 2013 19:11:15 +0000 (19:11 +0000)]
MFC: 256555

Move the resource allocation from the ata_*_probe section to the ata_*_attach
section. This prevents a boot crash on nearly all iMacs and PowerMacs/Books.

The allocation in the probe section was working before because ata_probe was
returning 0 which did not invoke a second DEVICE_PROBE. Now it returns
a BUS_PROBE_DEFAULT which can invoke a second DEVICE_PROBE which results in
a "failed to reserve resource" exit.

PR: powerpc/182978
Approved by: re(gjb)

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

10 years agoMFC r256470:
np [Mon, 21 Oct 2013 06:31:56 +0000 (06:31 +0000)]
MFC r256470:

Update krping to the latest upstream code.  Move all the FreeBSD
specific parts to krping_dev.c, which leaves the other files as
close to their upstream versions as possible.

Approved by: re (glebius)

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

10 years agoMFC 256813:
gibbs [Mon, 21 Oct 2013 04:00:23 +0000 (04:00 +0000)]
MFC 256813:

The Xen userland event channel driver isn't complete.  Disabled it
from the kernel build until it is ready.

sys/conf/files:
Remove the entry for xen/evtchn/evtchn_dev.c so it is not included
in any kernel builds.

Noticed by: smh
Approved by: re (hrs)
------------------------------------------------------------------------

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

10 years agoMFC r256467:
np [Mon, 21 Oct 2013 01:15:05 +0000 (01:15 +0000)]
MFC r256467:

Delete all of the old RDMA code (except krping, which was switched to
use sys/ofed some time back).  This has been sitting around as dead code
in the tree for a very long time.

Approved by: re (hrs)

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

10 years agoMFC r256694, r256713, r256714.
np [Mon, 21 Oct 2013 01:10:37 +0000 (01:10 +0000)]
MFC r256694, r256713, r256714.

r256694:
iw_cxgbe: iWARP driver for Chelsio T4/T5 chips.  This is a straight port
of the iw_cxgb4 found in OFED distributions.

r256713:
iw_cxgbe should have a dependency on t4nex.

r256714:
Fix typo in previous commit.

Approved by: re (hrs)

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

10 years agoFix resource free.
alfred [Sun, 20 Oct 2013 21:21:50 +0000 (21:21 +0000)]
Fix resource free.

The order of releasing resources in mlxen was wrong, which caused
panic on reload of the module.

MFC: 256682

Submitted by: Shahar Klein (shahark at mellanox.com)
Approved by:  re

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

10 years agoMFC r256477:
np [Sun, 20 Oct 2013 16:45:01 +0000 (16:45 +0000)]
MFC r256477:

cxgbe(4): Store the log2 of the # of doorbells per BAR2 page for both
ingress and egress queues, and for both T4 and T5.  These values are
used by the T4/T5 iWARP driver.

Approved by: re (glebius)

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

10 years agoMFC r256459.
np [Sun, 20 Oct 2013 15:24:44 +0000 (15:24 +0000)]
MFC r256459.

cxgbe(4): Update T4 and T5 firmwares to 1.9.12.0

Approved by: re (glebius)

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

10 years agoMFC r256425:
gibbs [Fri, 18 Oct 2013 23:19:27 +0000 (23:19 +0000)]
MFC r256425:

Centralize the detection logic for the Hyper-V hypervisor.

Submitted by: Roger Pau Monné
Sponsored by: Citrix Systems R&D
Reviewed by: gibbs, grehan
Approved by: re (gjb)

sys/sys/systm.h:
 * Add a new VM_GUEST type, VM_GUEST_HV (HyperV guest).

sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c:
sys/dev/hyperv/vmbus/hv_hv.c:
sys/dev/hyperv/stordisengage/hv_ata_pci_disengage.c:
 * Set vm_guest to VM_GUEST_HV and use that on other HyperV related
   devices instead of cloning the cpuid hypervisor check.
 * Cleanup the vmbus_identify function.
------------------------------------------------------------------------

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

10 years agoMFC: r256425
gibbs [Fri, 18 Oct 2013 22:48:38 +0000 (22:48 +0000)]
MFC: r256425

Centralize the detection logic for the Hyper-V hypervisor.

Submitted by: Roger Pau Monné
Sponsored by: Citrix Systems R&D
Reviewed by: gibbs, grehan
Approved by: re (gjb)

sys/sys/systm.h:
 * Add a new VM_GUEST type, VM_GUEST_HV (HyperV guest).

sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c:
sys/dev/hyperv/vmbus/hv_hv.c:
sys/dev/hyperv/stordisengage/hv_ata_pci_disengage.c:
 * Set vm_guest to VM_GUEST_HV and use that on other HyperV related
   devices instead of cloning the cpuid hypervisor check.
 * Cleanup the vmbus_identify function.

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

10 years agoMFC r256709:
grehan [Fri, 18 Oct 2013 22:05:17 +0000 (22:05 +0000)]
MFC r256709:

  Eliminate unconditional debug printfs.

  Linux writes to these nominally read-only registers,
  so avoid having bhyve write warning messages to stdout
  when the reg writes can be safely ignored. Change the
  WPRINTF to DPRINTF which is conditional.

Approved by: re (delphij)

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

10 years agoMFC r256709:
grehan [Fri, 18 Oct 2013 21:42:47 +0000 (21:42 +0000)]
MFC r256709:

  Eliminate unconditional debug printfs.

  Linux writes to these nominally read-only registers,
  so avoid having bhyve write warning messages to stdout
  when the reg writes can be safely ignored. Change the
  WPRINTF to DPRINTF which is conditional.

Approved by: re (gjb)

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

10 years agoMFC r256746:
dim [Fri, 18 Oct 2013 17:08:23 +0000 (17:08 +0000)]
MFC r256746:

Remove redundant redeclaration of gdtset in sys/xen/xen-os.h, to silence
a gcc warning.

Approved by: re (glebius)

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

10 years agoMFC r256489:
dteske [Fri, 18 Oct 2013 07:42:50 +0000 (07:42 +0000)]
MFC r256489:
Add executable bit to docsinstall [old] and entropy [new] scripts.

MFC r256541:
Document BSDINSTALL_TMPBOOT environment variable introduced by SVN r256343.

Approved by: re (gjb)

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

10 years agoFix __free_pages() in the linux shim.
alfred [Thu, 17 Oct 2013 14:08:46 +0000 (14:08 +0000)]
Fix __free_pages() in the linux shim.

__free_pages() is actaully supposed to take a "struct page *" not
an address.

MFC: 256546

Approved by: re

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

10 years agoMFC 256440, 256498:
hrs [Thu, 17 Oct 2013 06:48:43 +0000 (06:48 +0000)]
MFC 256440, 256498:

 - Normalize jailname.  "example.com" is converted to "example_com".
 - Fix a bug that some $jail_{jname}_foo variables did not work.
 - Fix a bug which prevented $jail_devfs_ruleset from working[1].
 - Move $jail_parameters to the last of the configuraiton lines[1].
 - Fix "ifname|addr" syntax support in jail_{jname}_ip.
 - Create /var/run/jail_{jname}.id because ezjail-admin depends on it.

Reported by: jase [1]
Approved by: re (gjb)

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

10 years agoMFC r256570:
neel [Wed, 16 Oct 2013 21:52:54 +0000 (21:52 +0000)]
MFC r256570:

Fix the witness warning that warned against calling uiomove() while holding
the 'vmmdev_mtx' in vmmdev_rw().

Rely on the 'si_threadcount' accounting to ensure that we never destroy the
VM device node while it has operations in progress (e.g. ioctl, mmap etc).

Approved by: re (rodrigc)

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

10 years agoMFC 256293:
jhb [Tue, 15 Oct 2013 21:08:37 +0000 (21:08 +0000)]
MFC 256293:
Sanitize the %eflags returned by BIOS routines.  Some BIOS routines enter
protected mode and may leave protected-mode-specific flags like PSL_NT set
when they return to real mode.  This can cause a fault when BTX re-enters
protected mode after the BIOS mode returns.

Approved by: re (gjb)

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

10 years agoMFC: Add extra files to the KLD random.ko module to allow it to load.
markm [Mon, 14 Oct 2013 18:24:30 +0000 (18:24 +0000)]
MFC: Add extra files to the KLD random.ko module to allow it to load.

Approved by: re (kib)

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

10 years agoForced commit to mark the real -BETA1 point.
gjb [Sun, 13 Oct 2013 00:24:44 +0000 (00:24 +0000)]
Forced commit to mark the real -BETA1 point.

Approved by: re (implicit)

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

10 years agoMFC:
markm [Sun, 13 Oct 2013 00:13:57 +0000 (00:13 +0000)]
MFC:

There is an issue (not seen in our testing) where "yarrow" and
"dummy" switch priorities, and the users are left with no usable
/dev/random. The fix assigns priories to these and gives the users
what they want. The override tuneable has a stupid name (blame me!)
and this fixes it to be something that 'sysctl kern.random' emits
and is the right thing to set.

Approved by: re (gjb)
Approved by: secteam (cperciva)

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

10 years agoUpdate stable/10 to -BETA1 as part of the 10.0-RELEASE cycle.
gjb [Sat, 12 Oct 2013 20:01:36 +0000 (20:01 +0000)]
Update stable/10 to -BETA1 as part of the 10.0-RELEASE cycle.

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

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

10 years agoMFC r256391:
dteske [Sat, 12 Oct 2013 19:54:12 +0000 (19:54 +0000)]
MFC r256391:
Fix signed integer overflow detection in f_expand_number() of strings.subr.

Approved by: re (glebius)

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

10 years agoMFC r256389
grehan [Sat, 12 Oct 2013 19:41:35 +0000 (19:41 +0000)]
MFC r256389

  Implement the virtio block 'get-ident' operation. This eliminates the
  annoying verbose boot error of the form

     g_handleattr: vtbd0 bio_length 24 len 28 -> EFAULT

  The ident returned by bhyve is a text string 'BHYVE-XXXX-XXXX', where
  the X's are the first bytes of the md5 hash of the backing filename.

Approved by: re (gjb)

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

10 years agoMFC 256385:
hrs [Sat, 12 Oct 2013 17:46:13 +0000 (17:46 +0000)]
MFC 256385:

- Add mount.fdescfs parameter to jail(8). This is similar to
  mount.devfs but mounts fdescfs.  The mount happens just after
  mount.devfs.

- rc.d/jail now displays whole error message from jail(8) when a jail
  fails to start.

Approved by: re (gjb)

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

10 years agoMerge from project branch via main. Uninteresting commits are trimmed.
markm [Sat, 12 Oct 2013 15:31:36 +0000 (15:31 +0000)]
Merge from project branch via main. Uninteresting commits are trimmed.

Refactor of /dev/random device. Main points include:

* Userland seeding is no longer used. This auto-seeds at boot time
on PC/Desktop setups; this may need some tweeking and intelligence
from those folks setting up embedded boxes, but the work is believed
to be minimal.

* An entropy cache is written to /entropy (even during installation)
and the kernel uses this at next boot.

* An entropy file written to /boot/entropy can be loaded by loader(8)

* Hardware sources such as rdrand are fed into Yarrow, and are no
longer available raw.

------------------------------------------------------------------------
r256240 | des | 2013-10-09 21:14:16 +0100 (Wed, 09 Oct 2013) | 4 lines

Add a RANDOM_RWFILE option and hide the entropy cache code behind it.
Rename YARROW_RNG and FORTUNA_RNG to RANDOM_YARROW and RANDOM_FORTUNA.
Add the RANDOM_* options to LINT.

------------------------------------------------------------------------
r256239 | des | 2013-10-09 21:12:59 +0100 (Wed, 09 Oct 2013) | 2 lines

Define RANDOM_PURE_RNDTEST for rndtest(4).

------------------------------------------------------------------------
r256204 | des | 2013-10-09 18:51:38 +0100 (Wed, 09 Oct 2013) | 2 lines

staticize struct random_hardware_source

------------------------------------------------------------------------
r256203 | markm | 2013-10-09 18:50:36 +0100 (Wed, 09 Oct 2013) | 2 lines

Wrap some policy-rich code in 'if NOTYET' until we can thresh out
what it really needs to do.

------------------------------------------------------------------------
r256184 | des | 2013-10-09 10:13:12 +0100 (Wed, 09 Oct 2013) | 2 lines

Re-add /dev/urandom for compatibility purposes.

------------------------------------------------------------------------
r256182 | des | 2013-10-09 10:11:14 +0100 (Wed, 09 Oct 2013) | 3 lines

Add missing include guards and move the existing ones out of the
implementation namespace.

------------------------------------------------------------------------
r256168 | markm | 2013-10-08 23:14:07 +0100 (Tue, 08 Oct 2013) | 10 lines

Fix some just-noticed problems:

o Allow this to work with "nodevice random" by fixing where the
MALLOC pool is defined.

o Fix the explicit reseed code. This was correct as submitted, but
in the project branch doesn't need to set the "seeded" bit as this
is done correctly in the "unblock" function.

o Remove some debug ifdeffing.

o Adjust comments.

------------------------------------------------------------------------
r256159 | markm | 2013-10-08 19:48:11 +0100 (Tue, 08 Oct 2013) | 6 lines

Time to eat crow for me.

I replaced the sx_* locks that Arthur used with regular mutexes;
this turned out the be the wrong thing to do as the locks need to
be sleepable. Revert this folly.

# Submitted by: Arthur Mesh <arthurmesh@gmail.com> (In original diff)

------------------------------------------------------------------------
r256138 | des | 2013-10-08 12:05:26 +0100 (Tue, 08 Oct 2013) | 10 lines

Add YARROW_RNG and FORTUNA_RNG to sys/conf/options.

Add a SYSINIT that forces a reseed during proc0 setup, which happens
fairly late in the boot process.

Add a RANDOM_DEBUG option which enables some debugging printf()s.

Add a new RANDOM_ATTACH entropy source which harvests entropy from the
get_cyclecount() delta across each call to a device attach method.

------------------------------------------------------------------------
r256135 | markm | 2013-10-08 07:54:52 +0100 (Tue, 08 Oct 2013) | 8 lines

Debugging. My attempt at EVENTHANDLER(multiuser) was a failure; use
EVENTHANDLER(mountroot) instead.

This means we can't count on /var being present, so something will
need to be done about harvesting /var/db/entropy/... .

Some policy now needs to be sorted out, and a pre-sync cache needs
to be written, but apart from that we are now ready to go.

Over to review.

------------------------------------------------------------------------
r256094 | markm | 2013-10-06 23:45:02 +0100 (Sun, 06 Oct 2013) | 8 lines

Snapshot.

Looking pretty good; this mostly works now. New code includes:

* Read cached entropy at startup, both from files and from loader(8)
preloaded entropy. Failures are soft, but announced. Untested.

* Use EVENTHANDLER to do above just before we go multiuser. Untested.

------------------------------------------------------------------------
r256088 | markm | 2013-10-06 14:01:42 +0100 (Sun, 06 Oct 2013) | 2 lines

Fix up the man page for random(4). This mainly removes no-longer-relevant
details about HW RNGs, reseeding explicitly and user-supplied
entropy.

------------------------------------------------------------------------
r256087 | markm | 2013-10-06 13:43:42 +0100 (Sun, 06 Oct 2013) | 6 lines

As userland writing to /dev/random is no more, remove the "better
than nothing" bootstrap mode.

Add SWI harvesting to the mix.

My box seeds Yarrow by itself in a few seconds! YMMV; more to follow.

------------------------------------------------------------------------
r256086 | markm | 2013-10-06 13:40:32 +0100 (Sun, 06 Oct 2013) | 11 lines

Debug run. This now works, except that the "live" sources haven't
been tested. With all sources turned on, this unlocks itself in
a couple of seconds! That is no my box, and there is no guarantee
that this will be the case everywhere.

* Cut debug prints.

* Use the same locks/mutexes all the way through.

* Be a tad more conservative about entropy estimates.

------------------------------------------------------------------------
r256084 | markm | 2013-10-06 13:35:29 +0100 (Sun, 06 Oct 2013) | 5 lines

Don't use the "real" assembler mnemonics; older compilers may not
understand them (like when building CURRENT on 9.x).

# Submitted by: Konstantin Belousov <kostikbel@gmail.com>

------------------------------------------------------------------------
r256081 | markm | 2013-10-06 10:55:28 +0100 (Sun, 06 Oct 2013) | 12 lines

SNAPSHOT.

Simplify the malloc pools; We only need one for this device.

Simplify the harvest queue.

Marginally improve the entropy pool hashing, making it a bit faster
in the process.

Connect up the hardware "live" source harvesting. This is simplistic
for now, and will need to be made rate-adaptive.

All of the above passes a compile test but needs to be debugged.

------------------------------------------------------------------------
r256042 | markm | 2013-10-04 07:55:06 +0100 (Fri, 04 Oct 2013) | 25 lines

Snapshot. This passes the build test, but has not yet been finished or debugged.

Contains:

* Refactor the hardware RNG CPU instruction sources to feed into
the software mixer. This is unfinished. The actual harvesting needs
to be sorted out. Modified by me (see below).

* Remove 'frac' parameter from random_harvest(). This was never
used and adds extra code for no good reason.

* Remove device write entropy harvesting. This provided a weak
attack vector, was not very good at bootstrapping the device. To
follow will be a replacement explicit reseed knob.

* Separate out all the RANDOM_PURE sources into separate harvest
entities. This adds some secuity in the case where more than one
is present.

* Review all the code and fix anything obviously messy or inconsistent.
Address som review concerns while I'm here, like rename the pseudo-rng
to 'dummy'.

# Submitted by: Arthur Mesh <arthurmesh@gmail.com> (the first item)

------------------------------------------------------------------------
r255319 | markm | 2013-09-06 18:51:52 +0100 (Fri, 06 Sep 2013) | 4 lines

Yarrow wants entropy estimations to be conservative; the usual idea
is that if you are certain you have N bits of entropy, you declare
N/2.

------------------------------------------------------------------------
r255075 | markm | 2013-08-30 18:47:53 +0100 (Fri, 30 Aug 2013) | 4 lines

Remove short-lived idea; thread to harvest (eg) RDRAND enropy into the
usual harvest queues. It was a nifty idea, but too heavyweight.

# Submitted by: Arthur Mesh <arthurmesh@gmail.com>

------------------------------------------------------------------------
r255071 | markm | 2013-08-30 12:42:57 +0100 (Fri, 30 Aug 2013) | 4 lines

Separate out the Software RNG entropy harvesting queue and thread
into its own files.

# Submitted by:  Arthur Mesh <arthurmesh@gmail.com>

------------------------------------------------------------------------
r254934 | markm | 2013-08-26 20:07:03 +0100 (Mon, 26 Aug 2013) | 2 lines

Remove the short-lived namei experiment.

------------------------------------------------------------------------
r254928 | markm | 2013-08-26 19:35:21 +0100 (Mon, 26 Aug 2013) | 2 lines

Snapshot; Do some running repairs on entropy harvesting. More needs
to follow.

------------------------------------------------------------------------
r254927 | markm | 2013-08-26 19:29:51 +0100 (Mon, 26 Aug 2013) | 15 lines

Snapshot of current work;

1) Clean up namespace; only use "Yarrow" where it is Yarrow-specific
or close enough to the Yarrow algorithm. For the rest use a neutral
name.

2) Tidy up headers; put private stuff in private places. More could
be done here.

3) Streamline the hashing/encryption; no need for a 256-bit counter;
128 bits will last for long enough.

There are bits of debug code lying around; these will be removed
at a later stage.

------------------------------------------------------------------------
r254784 | markm | 2013-08-24 14:54:56 +0100 (Sat, 24 Aug 2013) | 39 lines

1) example (partially humorous random_adaptor, that I call "EXAMPLE")
 * It's not meant to be used in a real system, it's there to show how
   the basics of how to create interfaces for random_adaptors. Perhaps
   it should belong in a manual page

2) Move probe.c's functionality in to random_adaptors.c
 * rename random_ident_hardware() to random_adaptor_choose()

3) Introduce a new way to choose (or select) random_adaptors via tunable
"rngs_want" It's a list of comma separated names of adaptors, ordered
by preferences. I.e.:
rngs_want="yarrow,rdrand"

Such setting would cause yarrow to be preferred to rdrand. If neither of
them are available (or registered), then system will default to
something reasonable (currently yarrow). If yarrow is not present, then
we fall back to the adaptor that's first on the list of registered
adaptors.

4) Introduce a way where RNGs can play a role of entropy source. This is
mostly useful for HW rngs.

The way I envision this is that every HW RNG will use this
functionality by default. Functionality to disable this is also present.
I have an example of how to use this in random_adaptor_example.c (see
modload event, and init function)

5) fix kern.random.adaptors from
kern.random.adaptors: yarrowpanicblock
to
kern.random.adaptors: yarrow,panic,block

6) add kern.random.active_adaptor to indicate currently selected
adaptor:
root@freebsd04:~ # sysctl kern.random.active_adaptor
kern.random.active_adaptor: yarrow

# Submitted by: Arthur Mesh <arthurmesh@gmail.com>

Submitted by: Dag-Erling Smørgrav <des@FreeBSD.org>, Arthur Mesh <arthurmesh@gmail.com>
Reviewed by: des@FreeBSD.org
Approved by: re (delphij)
Approved by: secteam (des,delphij)

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

10 years agoMFC r256367:
eadler [Sat, 12 Oct 2013 07:50:15 +0000 (07:50 +0000)]
MFC r256367:

Fix the formatting for the danish keymap.

Approved by: re (glebius)

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

10 years agoMFC r256327:
eadler [Sat, 12 Oct 2013 07:39:24 +0000 (07:39 +0000)]
MFC r256327:

Fix NetBSD release number

Approved by: re (glebius)

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

10 years agoMFC 256365
rpaulo [Sat, 12 Oct 2013 06:08:18 +0000 (06:08 +0000)]
MFC 256365
 Remove most of the ATF tools and the _atf user.

Approved by: re

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

10 years agoMFC r256362
grehan [Sat, 12 Oct 2013 00:42:41 +0000 (00:42 +0000)]
MFC r256362

  Fix a lock-order reversal in the net driver by dropping the lock
  and holding a reference prior to calling further into the hyperv
  stack.

  Added missing FreeBSD idents.

Approved by: re@ (gjb)

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

10 years agoMFC revisions 256321-256323,256331,256333,256335,256343:
dteske [Fri, 11 Oct 2013 23:12:05 +0000 (23:12 +0000)]
MFC revisions 256321-256323,256331,256333,256335,256343:
Bring in a new zfsboot auto script for performing automatic setup of a boot
pool (optionally encrypted) with many other options, validations, features.
Originally submitted by Allan Jude; modified in collaboration.

MFC revisions 256325,256330,256345:
Rewrite the keymap selection menu to display keymaps and provide a test
mechanism. Test mechanism originally submitted by Warren Block; modified.

MFC r256347:
Prominently display "Wireless" for each wireless network interface. Part
of PR bin/161547; submitted by Warren Block; slightly modified.

MFC r256348:
Remove the dumpdev configuration dialog, merge it into the regular
services configuration and enable it by default. Originally submitted by
Allan Jude; slightly modified.

PR: bin/161547
Submitted by: Allan Jude, Warren Block <wblock@wonkity.com>
In collaboration with: Allan Jude <freebsd@allanjude.com>
Approved by: re (glebius)

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

10 years agoMFC r256350
grehan [Fri, 11 Oct 2013 21:47:17 +0000 (21:47 +0000)]
MFC r256350

  Fix vmbus channel memory leak where incorrect length parameter was
  being passed to contigfree().

Approved by: re@ (glebius)

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

10 years agoFix up the svn mergeinfo which I forgot in r256342.
dim [Fri, 11 Oct 2013 20:42:59 +0000 (20:42 +0000)]
Fix up the svn mergeinfo which I forgot in r256342.

Approved by: re (glebius)

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

10 years agoIn sys/dev/bxe/bxe.c, print bus_addr_t values using %#jx, to fix several
dim [Fri, 11 Oct 2013 20:38:04 +0000 (20:38 +0000)]
In sys/dev/bxe/bxe.c, print bus_addr_t values using %#jx, to fix several
gcc warnings for PAE kernels.

Approved by: re (glebius)
Reviewed by: davidch, edavis

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

10 years agoMFH (r256338): store some entropy after installation
des [Fri, 11 Oct 2013 20:28:30 +0000 (20:28 +0000)]
MFH (r256338): store some entropy after installation

Approved by: re (gjb)

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

10 years agoMove mergeinfo to the right place.
des [Fri, 11 Oct 2013 20:26:45 +0000 (20:26 +0000)]
Move mergeinfo to the right place.

Approved by: re (gjb)

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

10 years agoMFH (r256334): remove extraneous but harmless /
des [Fri, 11 Oct 2013 20:15:38 +0000 (20:15 +0000)]
MFH (r256334): remove extraneous but harmless /

Approved by: re (gjb)

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

10 years agoMFH (r256332): remove extraneous \n
des [Fri, 11 Oct 2013 20:14:21 +0000 (20:14 +0000)]
MFH (r256332): remove extraneous \n

Approved by: re (gjb)

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

10 years agoMFC r256328:
gjb [Fri, 11 Oct 2013 19:43:37 +0000 (19:43 +0000)]
MFC r256328:
 Document XENHVM and xenpci are mutually inclusive.

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

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

10 years agoMFC r256304
grehan [Fri, 11 Oct 2013 18:27:12 +0000 (18:27 +0000)]
MFC r256304

  Allow the legacy CDROM device to be accessed in a FreeBSD guest, while
  still using enlightened drivers for other block devices.

Approved by:    re@ (gjb)

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

10 years agoMerge r256280 from head.
edavis [Fri, 11 Oct 2013 17:39:33 +0000 (17:39 +0000)]
Merge r256280 from head.

Approved by: re@ (gjb)
Approved by: davidch (mentor)

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

10 years agoMerge r256299 from head.
edavis [Fri, 11 Oct 2013 17:34:20 +0000 (17:34 +0000)]
Merge r256299 from head.

Approved by: re@ (gjb)
Approved by: davidch (mentor)

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

10 years agoMFC r256317:
mav [Fri, 11 Oct 2013 17:10:28 +0000 (17:10 +0000)]
MFC r256317:
Fix mode page length calculation to remove last garbage line from the
`camcontrol mode daX -l` output.

Approved by: re (gjb)

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

10 years agoMFC r256308:
bryanv [Fri, 11 Oct 2013 06:51:56 +0000 (06:51 +0000)]
MFC r256308:

Do not provide a hint of the guest's OS version

The calculation can overflow if __FreeBSD_version is big
enough, and it does not appear to be required.

Approved by: re (gjb)

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

10 years agoMFC r256302:
np [Thu, 10 Oct 2013 22:44:29 +0000 (22:44 +0000)]
MFC r256302:
Add dependency on ibcore now that it has been modularized.

Approved by: re (gjb)

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

10 years agoDisable assertions in llvm and clang for the 10.0 release cycle.
dim [Thu, 10 Oct 2013 20:33:18 +0000 (20:33 +0000)]
Disable assertions in llvm and clang for the 10.0 release cycle.

Approved by: re (gjb)

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

10 years agoMFC r256291:
dim [Thu, 10 Oct 2013 19:48:43 +0000 (19:48 +0000)]
MFC r256291:

In sys/arm/versatile/versatile_pci.c, add a default handler, to fix a
gcc warning about uninitialized use of a variable.

Approved by: re (gjb)

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

10 years ago- Remove debugging from GENERIC* kernel configurations
gjb [Thu, 10 Oct 2013 17:59:44 +0000 (17:59 +0000)]
- Remove debugging from GENERIC* kernel configurations
- Enable MALLOC_PRODUCTION
- Default dumpdev=NO
- Remove UPDATING entry regarding debugging features
- Bump __FreeBSD_version to 1000500

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

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

10 years agoCopy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
gjb [Thu, 10 Oct 2013 17:56:30 +0000 (17:56 +0000)]
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

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

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