]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/log
FreeBSD/stable/10.git
7 years agoMFC r303160.
cy [Wed, 27 Jul 2016 19:40:25 +0000 (19:40 +0000)]
MFC r303160.

Update leap-seconds to leap-seconds.3676752000.

As per https://datacenter.iers.org/web/guest/eop/-/somos/5Rgv/latest/16:

                                  UTC TIME STEP
                            on the 1st of January 2017

 A positive leap second will be introduced at the end of December 2016.
 The sequence of dates of the UTC second markers will be:

                          2016 December 31, 23h 59m 59s
                          2016 December 31, 23h 59m 60s
                          2017 January   1,  0h  0m  0s

 The difference between UTC and the International Atomic Time TAI is:

  from 2015 July 1, 0h UTC, to 2017 January 1 0h UTC   : UTC-TAI = - 36s
  from 2017 January 1, 0h UTC, until further notice    : UTC-TAI = - 37s

Obtained from: ftp://tycho.usno.navy.mil/pub/ntp/leap-seconds.3676752000
See also: https://www.iers.org/SharedDocs/News/EN/BulletinC.html
https://datacenter.iers.org/web/guest/eop/-/somos/5Rgv/latest/16

Relnotes: yes

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

7 years agoMFC 303109: Update crashinfo to work with newer gdb from ports.
jhb [Wed, 27 Jul 2016 17:55:40 +0000 (17:55 +0000)]
MFC 303109: Update crashinfo to work with newer gdb from ports.

If gdb from ports is installed, use it instead of the base system gdb
to extract variables from a kernel.  Note that base gdb and ports gdb
do not support the same options for invoking a single command in batch
mode, so a wrapper shell function is used.  In addition, prefer kgdb
from ports when generating a backtrace if present.

PR: 193335

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

7 years agoMFH: r303287
julian [Wed, 27 Jul 2016 16:27:41 +0000 (16:27 +0000)]
MFH: r303287

Split MAKE_SYSENT into two parts so that the initializer part can be
used separately if one wants to embed the sysent into a larger structure.

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

7 years agoMFC r286873:
jch [Wed, 27 Jul 2016 13:53:15 +0000 (13:53 +0000)]
MFC r286873:

Make clear that TIME_WAIT timeout expiration is managed solely by
tcp_tw_2msl_scan().

Sponsored by: Verisign, Inc.

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

7 years agoMFC r303090:
kib [Wed, 27 Jul 2016 08:53:11 +0000 (08:53 +0000)]
MFC r303090:
Ensure that the UFS directory vnode' vm_object is properly sized
before UFS_BALLOC() is called.

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

7 years agoMFC r271119, r272081:
jch [Wed, 27 Jul 2016 07:51:58 +0000 (07:51 +0000)]
MFC r271119, r272081:

r271119:

In tcp_input(), don't acquire the pcbinfo global write lock for SYN
packets targeting a listening socket.  Permit to reduce TCP input
processing starvation in context of high SYN load (e.g. short-lived TCP
connections or SYN flood).

Submitted by: Julien Charbon <jcharbon@verisign.com>
Reviewed by: adrian, hiren, jhb, Mike Bentkofsky

r272081:

Catch up with r271119.

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

7 years agoMFC r273014:
jch [Wed, 27 Jul 2016 06:31:40 +0000 (06:31 +0000)]
MFC r273014:

A connection in TIME_WAIT state before calling close() actually did not
received any RST packet.  Do not set error to ECONNRESET in this case.

Differential Revision: https://reviews.freebsd.org/D879
Reviewed by: rpaulo, adrian
Approved by: jhb (mentor)
Sponsored by: Verisign, Inc.

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

7 years agoMFC 302899: Add documentation for the sigevent structure.
jhb [Mon, 25 Jul 2016 23:38:14 +0000 (23:38 +0000)]
MFC 302899: Add documentation for the sigevent structure.

- Add a sigevent(3) manpage to give a general overview of the sigevent
  structure and the available notification mechanisms.
- Document that AIO requests contain a nested sigevent structure that can
  be used to request completion notification.
- Expand the sigevent details in other manuals to note details such as
  the extra values stored in a queued signal's information or in a posted
  kevent.

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

7 years agoMFC 302861: Fix rendering issues.
jhb [Mon, 25 Jul 2016 19:18:42 +0000 (19:18 +0000)]
MFC 302861: Fix rendering issues.

- Use Ta to separate column headers.
- Correct width of the 'Code' column in the last table.

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

7 years agoMFC r302911:
pfg [Mon, 25 Jul 2016 15:04:15 +0000 (15:04 +0000)]
MFC r302911:
mail(1): Avoid closing negative file descriptors.

CID: 10081051008106

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

7 years agoFix bspatch heap overflow vulnerability.
delphij [Mon, 25 Jul 2016 14:53:04 +0000 (14:53 +0000)]
Fix bspatch heap overflow vulnerability.

Obtained from: Chromium
Reported by: Lu Tung-Pin
Security: FreeBSD-SA-16:25.bspatch

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

7 years agoMFC r297871: boot1.efifat: provide a fallback startup.nsh
emaste [Mon, 25 Jul 2016 14:36:55 +0000 (14:36 +0000)]
MFC r297871: boot1.efifat: provide a fallback startup.nsh

In case the firmware falls through to executing startup.sh, populate it
with the name of our boot loader. In normal operation this should not be
necessary but may allow the system to boot if it would otherwise just
remain at a shell prompt.

Sponsored by: The FreeBSD Foundation

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

7 years agoMFC r301974: ar: enable reproducible output by default when invoked as 'ar -s'
emaste [Mon, 25 Jul 2016 14:35:14 +0000 (14:35 +0000)]
MFC r301974: ar: enable reproducible output by default when invoked as 'ar -s'

ar output is already deterministic by default for ar -q and ar -r, and
when invoked as ranlib. Make ar -s equivalent to ranlib and enable
deterministic output by default in that case too.

PR: 210330
Sponsored by: The FreeBSD Foundation

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

7 years agoMFC r302335: boot1.efi: fix assignment / comparison expression
emaste [Mon, 25 Jul 2016 14:28:50 +0000 (14:28 +0000)]
MFC r302335: boot1.efi: fix assignment / comparison expression

PR: 210706
Submitted by: David Binderman <dcb314@hotmail.com>

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

7 years agoMFC r302278: libcxxrt: correct mangled "typeinfo name" symbols in Version.map
emaste [Mon, 25 Jul 2016 14:26:33 +0000 (14:26 +0000)]
MFC r302278:   libcxxrt: correct mangled "typeinfo name" symbols in Version.map

r261644 (MFC of r260553) added missing C++ typinfos to libcxxrt's
version script. It appears that a number of duplicate mangled symbols
were added due to a cut and paste error. Switch the second instances to
_ZTS*, typeinfo name for *.

Found by lld, which produces an error or warning for duplicate symbols.

Sponsored by: The FreeBSD Foundation

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

7 years agoMFC r302567:
kib [Mon, 25 Jul 2016 13:31:18 +0000 (13:31 +0000)]
MFC r302567:
In vgonel(), postpone setting BO_DEAD until VOP_RECLAIM() is called,
if vnode is VMIO.  For VMIO vnodes, set BO_DEAD in vm_object_terminate().

MFC r302580:
Fix grammar.

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

7 years agoMFC r302542:
delphij [Mon, 25 Jul 2016 00:46:01 +0000 (00:46 +0000)]
MFC r302542:

Use _PATH_DEVNULL instead of hardcoding.

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

7 years agoMFC r303032
sbruno [Sun, 24 Jul 2016 16:33:48 +0000 (16:33 +0000)]
MFC r303032
Fixup DA cable detection routines to not set the cable type to
unknown if they do not match one of two cable types.

PR: 150249

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

7 years agoDo not try to delete the home of the user if is is not a directory for example
bapt [Sun, 24 Jul 2016 08:21:21 +0000 (08:21 +0000)]
Do not try to delete the home of the user if is is not a directory for example
"/dev/null"

PR: 211195
Submitted by: rday <ryan@ryanday.net>
Reported by: eniorm <eniorm@gmail.com>

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

7 years agoMFC 302175:
jhb [Sun, 24 Jul 2016 05:24:10 +0000 (05:24 +0000)]
MFC 302175:
Add pci_get_max_payload() to fetch the PCI-express maximum payload size.

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

7 years agoMFC 300253: Remove dangling references to rman_await_resource().
jhb [Sun, 24 Jul 2016 04:38:50 +0000 (04:38 +0000)]
MFC 300253: Remove dangling references to rman_await_resource().

This function was removed when RF_TIMESHARE was removed a couple of years
ago.

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

7 years agoMFC 299977: Use polling spin loops for timeouts during early boot.
jhb [Sat, 23 Jul 2016 22:50:59 +0000 (22:50 +0000)]
MFC 299977: Use polling spin loops for timeouts during early boot.

Some ACPI operations such as mutex acquires and event waits accept a
timeout.  The ACPI OSD layer implements these timeouts by using regular
sleep timeouts.  However, this doesn't work during early boot before
event timers are setup.  Instead, use polling combined with DELAY()
to spin.

This fixes booting on upcoming Intel systems with Kaby Lake processors.

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

7 years agoMFC r303101
alc [Sat, 23 Jul 2016 21:15:40 +0000 (21:15 +0000)]
MFC r303101
  Add a comment describing the 'fast path' that was introduced in r270011.

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

7 years agoMFC 298370,298372,298377,298379,298380,298484:
jhb [Sat, 23 Jul 2016 17:41:47 +0000 (17:41 +0000)]
MFC 298370,298372,298377,298379,298380,298484:
Abstract out _OSC handling and invoke it for PCI bridges.

r298370:
Add a wrapper for evaluating _OSC methods.

This wrapper does not translate errors in the first word to ACPI
error status returns.  Use this wrapper in the acpi_cpu(4) driver in
place of the existing _OSC code.  While here, fix a bug where the wrong
count of words was passed when invoking _OSC.

r298372:
Invoke _OSC on Host-PCI bridges.

Tell the firmware that we support PCI-express config space access
and MSI.

r298377:
Remove query flag from acpi_EvaluateOSC().  This function does not support
return buffer (yet).

r298379:
There is no need to use array any more.  No functional change.

r298380:
Prefer sizeof(*pointer) over sizeof(type).  No funtional change.

r298484:
Optionally return the output capabilities list from _OSC.

Both of the callers were expecting the input cap_set to be modified.
This fixes them to request cap_set to be updated with the returned buffer.

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

7 years agoMFC r302936:
kib [Sat, 23 Jul 2016 08:02:45 +0000 (08:02 +0000)]
MFC r302936:
Explicitely check for the valid range of file descriptor values.

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

7 years agoMFC: r302827
ache [Fri, 22 Jul 2016 19:36:11 +0000 (19:36 +0000)]
MFC: r302827

Optimize [Cc]flag case: don't repeatedly add the last character of
string2 to squeeze cset when string2 reach its EOS state.

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

7 years agoMFC: r302826
ache [Fri, 22 Jul 2016 19:34:43 +0000 (19:34 +0000)]
MFC: r302826

Document incomplete support of [=equiv=] and collation for ranges.

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

7 years agoMFC r302919:
kib [Fri, 22 Jul 2016 17:36:40 +0000 (17:36 +0000)]
MFC r302919:
In ptrace_vm_entry(), do not call vmspace_free() while owning a vm
object lock.

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

7 years agoMFC r302893:
kib [Fri, 22 Jul 2016 17:25:28 +0000 (17:25 +0000)]
MFC r302893:
Do not allow creation of char or block special nodes with VNOVAL dev_t.

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

7 years agoForget to merge this changes in prev. MFC
ache [Fri, 22 Jul 2016 16:48:39 +0000 (16:48 +0000)]
Forget to merge this changes in prev. MFC

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

7 years agoMFC: r302824
ache [Fri, 22 Jul 2016 14:24:17 +0000 (14:24 +0000)]
MFC: r302824

1) Eliminate possibility to call __*collate_range_cmp() with inclomplete
locale (which cause core dump) by removing whole 'table' argument
by which it passed.

2) Restore __collate_range_cmp() in __sccl().

3) Collating [a-z] range in regcomp() works for single byte locales only
(we can't do it for other ones). In previous state only first 256
wide chars are considered and all others are just silently dropped from the
range.

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

7 years agoMFC r303110
sbruno [Fri, 22 Jul 2016 03:48:44 +0000 (03:48 +0000)]
MFC r303110
Remove uneeded parens.

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

7 years agoMFC r302281
sbruno [Fri, 22 Jul 2016 03:34:15 +0000 (03:34 +0000)]
MFC r302281
Correct PERSISTENT RESERVE OUT command and populate scsi_cmd->length.

PR: 202625

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

7 years agoMFC r300612
sbruno [Fri, 22 Jul 2016 03:26:01 +0000 (03:26 +0000)]
MFC r300612
Reject ioctl commands for FLSHGCHR and FLSHPCHR if the size is greater
than sc->areq.  This is a bounds check to ensure we're not just cramming
arbitrarily sized nonsense into the driver and overflowing the heap.

PR: 209545

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

7 years agoMFC r300551
sbruno [Fri, 22 Jul 2016 03:21:47 +0000 (03:21 +0000)]
MFC r300551
Update some of the TBD entries in ciss(4) to match what's in the pci
IDS data.

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

7 years agoMFC r299188
sbruno [Fri, 22 Jul 2016 03:19:49 +0000 (03:19 +0000)]
MFC r299188
Since igb_detach() cleans up all the data structures that will be
free'd by the functions following its call, we can simply return instead
of crashing and burning in the event of igb_detach() failing.

PR: 197139

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

7 years agoMFC r299182
sbruno [Fri, 22 Jul 2016 03:16:37 +0000 (03:16 +0000)]
MFC r299182
If ALTQ is defined in the kern conf, switch to Legacy Mode.

PR: 208409

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

7 years agoMFC r298351
sbruno [Fri, 22 Jul 2016 03:09:47 +0000 (03:09 +0000)]
MFC r298351

Avoid a possible heap overflow in our nlm code by limiting the number
of service to the arbitrary value of 256.  Log an appropriate message
that indicates the hard limit.

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

7 years agoMFC r298231
sbruno [Fri, 22 Jul 2016 03:03:52 +0000 (03:03 +0000)]
MFC r298231
hptmv(4) Fix potential buffer overflow in hpt_set_info.

While here, adjust some whitespace and yeild some useful debug info.

This is untested on this hardware, testing requests to -scsi went
unanswered.

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

7 years agoMFC r303031: clang++: Always use --eh-frame-hdr on FreeBSD, even for -static
emaste [Fri, 22 Jul 2016 01:16:56 +0000 (01:16 +0000)]
MFC r303031: clang++: Always use --eh-frame-hdr on FreeBSD, even for -static

FreeBSD uses LLVM's libunwind on FreeBSD/arm64 today (and we expect to
use it more widely in the future) and it requires the EH frame segment
in static binaries.

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

7 years agoMFC r302908:
bdrewery [Fri, 22 Jul 2016 00:43:32 +0000 (00:43 +0000)]
MFC r302908:

  Fix dlsym(RTLD_NEXT) handling to only return the next library in last library
  cases.

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

7 years agoMFC: merge in all new features and improvements into geom_uzip(8) from current,
sobomax [Thu, 21 Jul 2016 23:49:26 +0000 (23:49 +0000)]
MFC: merge in all new features and improvements into geom_uzip(8) from current,
which includes:

 o LZMA compression;
 o block de-duplication;
 o performance improvements;
 o pop out worker kthread to do extraction.

This includes the following revisions:
 r295943,r295952,r298502,r298619,r299195,r302284

Suggested by: emaste

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

7 years agoMFC r302957: Fix NCQ TRIM emulation.
mav [Thu, 21 Jul 2016 11:58:47 +0000 (11:58 +0000)]
MFC r302957: Fix NCQ TRIM emulation.

When this code was written, there was no guests using it to test.

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

7 years agoMFC r303000: Update if_hwassist when interface options are changed.
mav [Thu, 21 Jul 2016 11:41:27 +0000 (11:41 +0000)]
MFC r303000: Update if_hwassist when interface options are changed.

In particular for me this fixes checksum problem when if_bridge attached
to the interface requests TXCSUM to be disabled, but effectively ignored.

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

7 years agoMFC r303003:
gjb [Thu, 21 Jul 2016 00:52:53 +0000 (00:52 +0000)]
MFC r303003:

 Make sure we clean up the rdoc and reldoc directories if NODOC
 is not set.

Sponsored by: The FreeBSD Foundation

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

7 years agoFix lem(4) build after r303107
sbruno [Wed, 20 Jul 2016 22:32:19 +0000 (22:32 +0000)]
Fix lem(4) build after r303107

Submitted by: Jason Wolfe <j@nitrology.com>

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

7 years agoFix em(4) build after r303107
sbruno [Wed, 20 Jul 2016 22:28:26 +0000 (22:28 +0000)]
Fix em(4) build after r303107

Reported by: Jason Wolf <j@nitrology.com>

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

7 years agoMFC - r302384 to 10-STABLE
sbruno [Wed, 20 Jul 2016 18:26:48 +0000 (18:26 +0000)]
MFC - r302384 to 10-STABLE
Do not initialize the adapter on MTU change when adapter status is down.
This fixes long-standing problems when changing settings of the adapter.

Discussed in:
https://lists.freebsd.org/pipermail/freebsd-net/2016-June/045509.html

Differential Revision: https://reviews.freebsd.org/D7254

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

7 years agoMFC: merge in all new features and improvements into mkuzip(8) from current,
sobomax [Wed, 20 Jul 2016 16:36:17 +0000 (16:36 +0000)]
MFC: merge in all new features and improvements into mkuzip(8) from current,
which includes:

 o LZMA compression;
 o block de-duplication;
 o performance improvements;
 o multi-thread support.

This includes the following revisions:
  r295943,r296626,r296628,r296810,r298504,r298505,r298577

Suggested by: emaste

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

7 years agoMFC r302770:
kib [Wed, 20 Jul 2016 15:07:52 +0000 (15:07 +0000)]
MFC r302770:
Trace timeval parameters to the getitimer(2) and setitimer(2) syscalls.

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

7 years agoMFC r302673
slm [Wed, 20 Jul 2016 14:38:02 +0000 (14:38 +0000)]
MFC r302673
Use real values to calculate Max I/O size instead of guessing.

Reviewed by: ken, scottl
Approved by: ken, scottl, ambrisko (mentors)
Differential Revision: https://reviews.freebsd.org/D7043

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

7 years agoMFC r302558:
gahr [Wed, 20 Jul 2016 07:33:48 +0000 (07:33 +0000)]
MFC r302558:
Do not truncate lines longer than 512 chars.

PR: 210344
Differential Revision: https://reviews.freebsd.org/D6881

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

7 years agoMFC r302973:
pfg [Wed, 20 Jul 2016 04:49:01 +0000 (04:49 +0000)]
MFC r302973:
sed(1): Fix off by one introduced in r299211.

Detected by running the gsed tests.

Submitted by: Mikhail Teterin
PR: 195929

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

7 years agoMFC r302179:
markj [Wed, 20 Jul 2016 00:53:21 +0000 (00:53 +0000)]
MFC r302179:
gcore: Forward pending signals when detaching from the target.

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

7 years agoMFC r302091:
markj [Wed, 20 Jul 2016 00:52:11 +0000 (00:52 +0000)]
MFC r302091:
Do not complete pending gmirror BIOs when tearing down the provider.

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

7 years agoMFC r302797:
markj [Wed, 20 Jul 2016 00:51:09 +0000 (00:51 +0000)]
MFC r302797:
Document DDB's "alltrace" and "show all trace" commands.

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

7 years agoMFC r261242:
jch [Mon, 18 Jul 2016 08:20:31 +0000 (08:20 +0000)]
MFC r261242:

Decrease lock contention within the TCP accept case by removing
the INP_INFO lock from tcp_usr_accept.  As the PR/patch states
this was following the advice already in the code.
See the PR below for a full discussion of this change and its
measured effects.

PR: 183659
Submitted by: Julien Charbon
Reviewed by: jhb

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

7 years agoMFC r302772: re-apply r299908: zfsctl_snapdir_lookup: clear VV_ROOT of
avg [Mon, 18 Jul 2016 06:46:49 +0000 (06:46 +0000)]
MFC r302772: re-apply r299908: zfsctl_snapdir_lookup: clear VV_ROOT of
snapshot's root

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

7 years agoMFC r302667
truckman [Mon, 18 Jul 2016 06:09:52 +0000 (06:09 +0000)]
MFC r302667

Fix problems in the FQ-PIE AQM cleanup code that could leak memory or
cause a crash.

Because dummynet calls pie_cleanup() while holding a mutex, pie_cleanup()
is not able to use callout_drain() to make sure that all callouts are
finished before it returns, and callout_stop() is not sufficient to make
that guarantee.  After pie_cleanup() returns, dummynet will free a
structure that any remaining callouts will want to access.

Fix these problems by allocating a separate structure to contain the
data used by the callouts.  In pie_cleanup(), call callout_reset_sbt()
to replace the normal callout with a cleanup callout that does the cleanup
work for each sub-queue.  The instance of the cleanup callout that
destroys the last flow will also free the extra allocated block of memory.
Protect the reference count manipulation in the cleanup callout with
DN_BH_WLOCK() to be consistent with all of the other usage of the reference
count where this lock is held by the dummynet code.

Submitted by: Rasool Al-Saadi <ralsaadi@swin.edu.au>
Differential Revision: https://reviews.freebsd.org/D7174

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

7 years agoMFC r302573:
kib [Mon, 18 Jul 2016 04:34:42 +0000 (04:34 +0000)]
MFC r302573:
Fill tf_trapno for trap frames created for syscall.

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

7 years agoMFC r302511, r302771, r302845:
pfg [Sun, 17 Jul 2016 18:32:33 +0000 (18:32 +0000)]
MFC r302511, r302771, r302845:
mail(1): check for out of memory conditions when calling calloc(3).

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

7 years agoMFC r302517:
dchagin [Sun, 17 Jul 2016 15:23:32 +0000 (15:23 +0000)]
MFC r302517:

Fix a copy/paste bug introduced during X86_64 Linuxulator work.
FreeBSD support NX bit on X86_64 processors out of the box, for i386 emulation
use READ_IMPLIES_EXEC flag, introduced in r302515.

While here move common part of mmap() and mprotect() code to the files in compat/linux
to reduce code dupcliation between Linuxulator's.

MFC r302518, r302626:

Add linux_mmap.c to the appropriate conf/files.

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

7 years agoRegen for r302962 (Linux personality), record mergeinfo for r320516.
dchagin [Sun, 17 Jul 2016 15:11:23 +0000 (15:11 +0000)]
Regen for r302962 (Linux personality), record mergeinfo for r320516.

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

7 years agoMFC r302515:
dchagin [Sun, 17 Jul 2016 15:07:33 +0000 (15:07 +0000)]
MFC r302515:

Implement Linux personality() system call mainly due to READ_IMPLIES_EXEC flag.
In Linux if this flag is set, PROT_READ implies PROT_EXEC for mmap().
Linux/i386 set this flag automatically if the binary requires executable stack.

READ_IMPLIES_EXEC flag will be used in the next Linux mmap() commit.

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

7 years agoMFC r302857:
jamie [Sun, 17 Jul 2016 14:16:21 +0000 (14:16 +0000)]
MFC r302857:

  Start jails non-parallel if jail_parallel_start is NO.  This was true
  for an explicitly specified jail list; now it's also true for all jails.

PR: 209112

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

7 years agoMFC r302856:
jamie [Sun, 17 Jul 2016 14:15:08 +0000 (14:15 +0000)]
MFC r302856:

    Fix up the order in which jail creation processes are run, to preserve
    the config file's order in the non-parallel-start case.

PR: 209112

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

7 years agoMFC r302855:
jamie [Sun, 17 Jul 2016 14:12:34 +0000 (14:12 +0000)]
MFC r302855:

    Wait for jails to complete startup if jail_parallel_start is YES,
    instead of assuming they'll take less than one second.

PR: 203172
Submitted by: dmitry2004@yandex.ru

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

7 years agoMFH r301732, r302288
cperciva [Sat, 16 Jul 2016 08:17:14 +0000 (08:17 +0000)]
MFH r301732, r302288

Updates to EC2 loader.conf:
* Use console=comconsole (r301732) since EC2 now has a "VGA" console;
* Enable blkif indirect segment I/O (r302288) since EC2 now consistently
  gets better disk performance with this option enabled.

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

7 years agoMFC r301877:
markj [Sat, 16 Jul 2016 02:57:37 +0000 (02:57 +0000)]
MFC r301877:
Add a missing error check for a malloc() call in idr_get().

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

7 years agoMFC r302346:
markj [Sat, 16 Jul 2016 02:55:02 +0000 (02:55 +0000)]
MFC r302346:
Ensure that spinlock sections are balanced even after a panic.

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

7 years agoMFC r301090:
markj [Sat, 16 Jul 2016 02:53:52 +0000 (02:53 +0000)]
MFC r301090:
mkimg: Indicate that input file pages are unlikely to be reused.

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

7 years agoMFC r301212:
markj [Sat, 16 Jul 2016 02:49:02 +0000 (02:49 +0000)]
MFC r301212:
Reset the page busy lock state after failing to insert into the object.

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

7 years agoMFC r301210:
markj [Sat, 16 Jul 2016 02:47:56 +0000 (02:47 +0000)]
MFC r301210:
Don't preserve the page's object linkage in vm_page_insert_after().

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

7 years agoMFC r302507:
markj [Fri, 15 Jul 2016 19:10:32 +0000 (19:10 +0000)]
MFC r302507:
Avoid truncating the return value of DTrace predicates.

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

7 years agoMFC r297187
sbruno [Fri, 15 Jul 2016 15:30:09 +0000 (15:30 +0000)]
MFC r297187

Support checksum offloading for TCP/IPV6 and UDP/IPV6.
Support SCTP checksum offloading for SCTP/IPV6.
Support SCTP checksum offloading on all controllers except 82575.

Differential Revision: https://reviews.freebsd.org/D7215

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

7 years agoMFC 302541,302605
sephe [Fri, 15 Jul 2016 02:29:10 +0000 (02:29 +0000)]
MFC 302541,302605

302541
    hyperv/stor: Fix the INQUIRY checks

    Don't check the area that the host has not filled.

    PR:         https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209443
    PR:         https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210425
    Submitted by:       Hongjiang Zhang <honzhan microsoft com>
    Reviewed by:        sephe, Dexuan Cui <decui microsoft com>
    Sponsored by:       Microsoft OSTC
    Differential Revision:      https://reviews.freebsd.org/D6955

302605
    hyperv/stor: Save the response status and xfer length properly.

    The current command response handling discards status and xfer
    length unconditionally, so that all of the commands would be
    considered successful, even if errors happened.  When errors
    really happens, this causes all kinds of wiredness, since the
    buffer will not be filled on the host side and sense data will
    be ignored.

    Most of the time, errors do not happen, however, error does
    happen for the request sent immediately after the disk resizing.
    Discarding the SCSI status (SCSI_STATUS_CHECK_COND) and sense
    data (capacity changes) prevents the disk resizing from working
    properly.

    This commit saves the response status and xfer length properly
    for later use.

    Submitted by:       Dexuan Cui <decui microsoft com>
    Noticed by: sephe
    Sponsored by:       Microsoft OSTC
    Differential Revision:      https://reviews.freebsd.org/D7181

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

7 years agoMFC changes relating to warnings in opensolaris-derived libraries
asomers [Thu, 14 Jul 2016 15:39:31 +0000 (15:39 +0000)]
MFC changes relating to warnings in opensolaris-derived libraries

MFC r257592
MFC r257657
MFC r257638
MFC r257647
MFC r302141

r257592 | sbruno | 2013-11-03 14:05:44 -0700 (Sun, 03 Nov 2013) | 8 lines

This library uses macros to define fprintf behvavior for several object
types The compiler will see the non-string literal arguments to the fprintf
calls and omit warnings for them. Quiese these warnings in contrib code:

cddl/contrib/opensolaris/lib/libnvpair/libnvpair.c:743:12: warning: format
  string is not a string literal (potentially insecure) [-Wformat-security]
  ARENDER(pctl, nvlist_array, nvl, name, val, nelem);

r257657 | sbruno | 2013-11-04 14:32:07 -0700 (Mon, 04 Nov 2013) | 5 lines

Quiesce warning assigning to void * from const ctf_header_t * by explicity
casting to void * before assignment.

Submitted as Illumos issue 4287

r257638 | sbruno | 2013-11-04 09:15:43 -0700 (Mon, 04 Nov 2013) | 6 lines

Quiesce warning regarding %llf which has no effect.

Submitted as illumos issue #4284

Reviewed by:    delphij

r257647 | sbruno | 2013-11-04 12:32:35 -0700 (Mon, 04 Nov 2013) | 4 lines

spelling in comments fixup

Submitted by:           Joerg Sonnenberger <joerg@britannica.bec.de>

r302141 | asomers | 2016-06-23 09:02:57 -0600 (Thu, 23 Jun 2016) | 14 lines

Raise the WARNS level in cddl/lib

cddl/lib/libavl/Makefile
cddl/lib/libctf/Makefile
cddl/lib/libnvpair/Makefile
cddl/lib/libumem/Makefile
cddl/lib/libuutil/Makefile
        Increase WARNS to the highest working level for each of these
        libraries

Sponsored by:   Spectra Logic Corp

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

7 years agoMFH: r297023
julian [Thu, 14 Jul 2016 04:30:42 +0000 (04:30 +0000)]
MFH: r297023

 Add the ability to print out the module specific information in likely formats.
Among other things this gives us the ability to find out the syscall number of a dynamically loaded syscall that has a dynamicly allocated vector number.

Sponsored by: Panzura inc.

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

7 years agoMFC r302402: Fix ahci(4) driver attach to controller with 32 ports.
mav [Thu, 14 Jul 2016 00:26:57 +0000 (00:26 +0000)]
MFC r302402: Fix ahci(4) driver attach to controller with 32 ports.

Incorrect sign expansion in variables that supposed to be a bit fields
caused infinite loop.  Fixing this allows system properly detect maximal
possible 32 devices configured on AHCI HBA of BHyVe.  That case did not
happen in a wild before due to lack of hardware AHCI HBAs with 32 ports.

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

7 years agoMFC r302476:
pfg [Wed, 13 Jul 2016 16:20:18 +0000 (16:20 +0000)]
MFC r302476:
ng_mppc(4): basic readability cleanups.

No functional change.

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

7 years agoMFC r300134: move zfsctl_freebsd_root_lookup right next to
avg [Wed, 13 Jul 2016 11:14:11 +0000 (11:14 +0000)]
MFC r300134: move zfsctl_freebsd_root_lookup right next to
zfsctl_root_lookup

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

7 years agoMFC r300130: zfsctl_freebsd_root_lookup: gfs_vop_lookup may return a
avg [Wed, 13 Jul 2016 11:06:37 +0000 (11:06 +0000)]
MFC r300130: zfsctl_freebsd_root_lookup: gfs_vop_lookup may return a
doomed vnode

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

7 years agoMFC r299951: do not destroy 'snapdir' when it becomes inactive
avg [Wed, 13 Jul 2016 11:04:02 +0000 (11:04 +0000)]
MFC r299951: do not destroy 'snapdir' when it becomes  inactive

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

7 years agoMFC r299949: try to recycle "snap" vnodes as soon as possible
avg [Wed, 13 Jul 2016 10:32:24 +0000 (10:32 +0000)]
MFC r299949: try to recycle "snap" vnodes as soon as possible

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

7 years agoMFC r299947: fix locking in zfsctl_root_lookup
avg [Wed, 13 Jul 2016 10:16:45 +0000 (10:16 +0000)]
MFC r299947: fix locking in zfsctl_root_lookup

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

7 years agoMFC r299946: gfs_lookup_dot() does not have to acquire any locks
avg [Wed, 13 Jul 2016 10:13:28 +0000 (10:13 +0000)]
MFC r299946: gfs_lookup_dot() does not have to acquire any locks

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

7 years agoMFC r299945: avoid deadlock between zfsctl_snapdir_lookup and
avg [Wed, 13 Jul 2016 10:11:48 +0000 (10:11 +0000)]
MFC r299945: avoid deadlock between zfsctl_snapdir_lookup and
zfsctl_snapshot_reclaim

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

7 years agoMFC r299940: fix a vnode reference leak caused by illumos compat traverse()
avg [Wed, 13 Jul 2016 10:10:05 +0000 (10:10 +0000)]
MFC r299940: fix a vnode reference leak caused by illumos compat traverse()

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

7 years agoMFC r299914: zfsctl_ops_snapshot: remove methods should never be called
avg [Wed, 13 Jul 2016 10:02:39 +0000 (10:02 +0000)]
MFC r299914: zfsctl_ops_snapshot: remove methods should never be called

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

7 years agoMFC r301273: zfs_root: fix a potential root vnode reference leak
avg [Wed, 13 Jul 2016 09:50:07 +0000 (09:50 +0000)]
MFC r301273: zfs_root: fix a potential root vnode reference leak

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

7 years agoMFC r299908,300131,301275: zfs: set VROOT / VV_ROOT consistently and in
avg [Wed, 13 Jul 2016 09:47:54 +0000 (09:47 +0000)]
MFC r299908,300131,301275: zfs: set VROOT / VV_ROOT consistently and in
a single place

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

7 years agoMFC r299902,299938: mount_snapshot: consolidate all error handling
avg [Wed, 13 Jul 2016 09:40:53 +0000 (09:40 +0000)]
MFC r299902,299938: mount_snapshot: consolidate all error handling

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

7 years agoMFC r299906,301870: add zfs_vptocnp with special handling for snapshots
avg [Wed, 13 Jul 2016 09:35:43 +0000 (09:35 +0000)]
MFC r299906,301870: add zfs_vptocnp with special handling for snapshots
under .zfs

Note that the changed is adjusted for the lack of LK_VNHELD in this
branch.

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

7 years agoMFC r300145: add vop_print methods to vnode operatios of various zfsctl
avg [Wed, 13 Jul 2016 09:26:33 +0000 (09:26 +0000)]
MFC r300145: add vop_print methods to vnode operatios of various zfsctl
node types

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

7 years agoMFC r301873: l2arc: reset b_tmp_cdata to NULL in the case of unset b_daddr
avg [Wed, 13 Jul 2016 09:23:02 +0000 (09:23 +0000)]
MFC r301873: l2arc: reset b_tmp_cdata to NULL in the case of unset b_daddr

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

7 years agoMFC r302123: fix deadlock-prone code in getzfsvfs()
avg [Wed, 13 Jul 2016 09:21:28 +0000 (09:21 +0000)]
MFC r302123: fix deadlock-prone code in getzfsvfs()

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

7 years agoMFC r299900: zfsctl: fix several problems with reference counts
avg [Wed, 13 Jul 2016 09:14:45 +0000 (09:14 +0000)]
MFC r299900: zfsctl: fix several problems with reference counts

PR: 207464

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

7 years agoMFC r298105: zfs: enable vn_io_fault support
avg [Wed, 13 Jul 2016 09:09:21 +0000 (09:09 +0000)]
MFC r298105: zfs: enable vn_io_fault support

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

7 years agoMFC r300133: zfsctl_common_fid: remove redundant assignment
avg [Wed, 13 Jul 2016 09:06:58 +0000 (09:06 +0000)]
MFC r300133: zfsctl_common_fid: remove redundant assignment

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

7 years agoMFC r300132: zfsctl: tighten assertion and remove unused definition
avg [Wed, 13 Jul 2016 09:05:14 +0000 (09:05 +0000)]
MFC r300132: zfsctl: tighten assertion and remove unused definition

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