48f21a05 avos Jan. 4, 2019, 4:26 a.m.
Tested with RTL8188EE, STA mode

Submitted by:	Farhan Khan <khanzf@gmail.com>
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D18727
cgit ViewVC
1a35ae93 np Jan. 4, 2019, 4:15 a.m.
Sponsored by:	Chelsio Communications
cgit ViewVC
253b638e kevans Jan. 4, 2019, 3:13 a.m.
When presented with an arg string like '-l-', getopt_long will successfully
parse out the 'l' short option, then proceed to match '--' against the first
longopts entry as it later does a strncmp with len=0. This latter bit is
arguably another bug in itself, but presumably not a practical issue as all
callers of parse_long_options are already doing the right thing (except this
one pointed out).

An opt string like '-l-' should be considered malformed and throw a bad
argument rather than behaving as if '--' were passed. It cannot possibly do
what the invoker expects, and it's probably the result of a typo (ls -l- a)
rather than any intent.

Reported by:	Tony Overfield <toverfield@yahoo.com>
Reviewed by:	imp
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D18616
cgit ViewVC
07372194 allanjude Jan. 4, 2019, 2:48 a.m.
PR:		229571
Submitted by:	Tim Chase <freebsd@tim.thechases.com>
cgit ViewVC
0b8e4418 noreply Jan. 3, 2019, 11:19 p.m.
This change is required to ease the transition when upgrading
from 0.7.x to 0.8.x.  It allows 0.8.x user space utilities to
remain compatible with 0.7.x and older kernel modules.

Reviewed-by: Don Brady <don.brady@delphix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #8231
5881181d mmacy Jan. 3, 2019, 11:06 p.m.
on architectures without 64-bit atomics

Reported by:	Augustin Cavalier <waddlesplash@gmail.com>
cgit ViewVC
27e05a19 mmacy Jan. 3, 2019, 10:49 p.m.
declare v3 objset size/layout to fix userboot and possibly other loader issues

- fix for userboot assertion failure in zfs_dev_close in free due to out of bounds write
- fix for zfs_alloc / zfs_free mismatch assertion failure when booting GPT on BIOS
cgit ViewVC
2f1a2bdf romain Jan. 3, 2019, 9:31 p.m.
Add a short description of the function to the appropriate man page and add
reference to it where it makes sense.

Reviewed by:	bcr, markj, 0mp
Approved by:	markj
Differential Revision:	https://reviews.freebsd.org/D18725
cgit ViewVC
65641822 tsoome Jan. 3, 2019, 8:27 p.m.
This update does add diag and debug capabilities to interpret the efi
variables, configuration and protocols (lsefi).

The side effect is that we add/update bunch of related headers.
cgit ViewVC
993b1e41 jilles Jan. 3, 2019, 8:23 p.m.
PR:		233545
cgit ViewVC
56f33d07 jilles Jan. 3, 2019, 8:22 p.m.
PR:		233545
Submitted by:	Jan Beich
Obtained from:	NetBSD
cgit ViewVC
5365b074 behlendorf1 Jan. 3, 2019, 8:15 p.m.
When MMP was merged the status codes in libzfs_status were not
updated to add the status code for ZPOOL_STATUS_IO_FAILURE_MMP.  This
commit corrects this and adds comments to help keep track of which
code is used for which status.

Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: bunder2015 <omfgbunder@gmail.com>
Closes #8148
Closes #8222
d3f40307 kib Jan. 3, 2019, 7:35 p.m.
Noted by:	lidl
MFC after:	3 days
cgit ViewVC
08f34ad9 vmaffione Jan. 3, 2019, 4:47 p.m.
Reported by:	asomers
MFC after:	1 week
Sponsored by:	Sunny Valley Networks
cgit ViewVC
7c59ec14 markj Jan. 3, 2019, 4:26 p.m.
Don't bother zeroing the top-level page before freeing it.  Previously,
the page was freed before being zeroed.

Reviewed by:	jhb, kib
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D18720
cgit ViewVC