svn commit: r343253 - stable/12/sys/kern

2019-01-20 Thread Konstantin Belousov
Author: kib Date: Mon Jan 21 07:44:46 2019 New Revision: 343253 URL: https://svnweb.freebsd.org/changeset/base/343253 Log: MFC r343017: Handle overflow in calculating max kmem size. Modified: stable/12/sys/kern/kern_malloc.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r343251 - stable/11/usr.bin/gzip

2019-01-20 Thread Xin LI
Author: delphij Date: Mon Jan 21 06:52:35 2019 New Revision: 343251 URL: https://svnweb.freebsd.org/changeset/base/343251 Log: MFC r342845,342846: Port NetBSD improvements: - Add -l support for xz files - Add lzip support to gzip based on the example lzip decoder. Obtained from:

svn commit: r343250 - stable/12/usr.bin/gzip

2019-01-20 Thread Xin LI
Author: delphij Date: Mon Jan 21 06:14:26 2019 New Revision: 343250 URL: https://svnweb.freebsd.org/changeset/base/343250 Log: MFC r342845,342846: Port NetBSD improvements: - Add -l support for xz files - Add lzip support to gzip based on the example lzip decoder. Obtained from:

svn commit: r343249 - head/sbin/devd

2019-01-20 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 21 04:50:56 2019 New Revision: 343249 URL: https://svnweb.freebsd.org/changeset/base/343249 Log: Fix duplicate wpa_supplicant(8) / hostapd(8) startup with devd(8) Do not invoke 'wlan_up' function from devd(8) on interface creation event (an example to create

Re: svn commit: r343247 - head/usr.bin/cmp/tests

2019-01-20 Thread Mark Johnston
On Sun, Jan 20, 2019 at 08:11:20PM -0800, Enji Cooper wrote: > > > On Jan 20, 2019, at 8:10 PM, Enji Cooper wrote: > > > > > >> On Jan 20, 2019, at 7:57 PM, Mark Johnston wrote: > >> > >> Author: markj > >> Date: Mon Jan 21 03:57:49 2019 > >> New Revision: 343247 > >> URL:

Re: svn commit: r343247 - head/usr.bin/cmp/tests

2019-01-20 Thread Enji Cooper
> On Jan 20, 2019, at 8:10 PM, Enji Cooper wrote: > > >> On Jan 20, 2019, at 7:57 PM, Mark Johnston wrote: >> >> Author: markj >> Date: Mon Jan 21 03:57:49 2019 >> New Revision: 343247 >> URL: https://svnweb.freebsd.org/changeset/base/343247 >> >> Log: >> Fix cmp(1) tests for "special"

svn commit: r343248 - stable/12/usr.bin/cmp

2019-01-20 Thread Mark Johnston
Author: markj Date: Mon Jan 21 04:10:45 2019 New Revision: 343248 URL: https://svnweb.freebsd.org/changeset/base/343248 Log: Properly commit the revert of r343205. MFCing the head revert isn't the same as reverting the MFC. This is a direct commit to stable/12. Modified:

Re: svn commit: r343247 - head/usr.bin/cmp/tests

2019-01-20 Thread Enji Cooper
> On Jan 20, 2019, at 7:57 PM, Mark Johnston wrote: > > Author: markj > Date: Mon Jan 21 03:57:49 2019 > New Revision: 343247 > URL: https://svnweb.freebsd.org/changeset/base/343247 > > Log: > Fix cmp(1) tests for "special" mode. > > Test failures don't seem to propagate up if atf_check is

svn commit: r343247 - head/usr.bin/cmp/tests

2019-01-20 Thread Mark Johnston
Author: markj Date: Mon Jan 21 03:57:49 2019 New Revision: 343247 URL: https://svnweb.freebsd.org/changeset/base/343247 Log: Fix cmp(1) tests for "special" mode. Test failures don't seem to propagate up if atf_check is run in a pipeline. Thus, the tests continued to pass despite the bug

svn commit: r343246 - stable/12/usr.bin/cmp

2019-01-20 Thread Mark Johnston
Author: markj Date: Mon Jan 21 03:48:30 2019 New Revision: 343246 URL: https://svnweb.freebsd.org/changeset/base/343246 Log: MFC r343245: Revert r343117. Modified: stable/12/usr.bin/cmp/cmp.c Directory Properties: stable/12/ (props changed) Modified: stable/12/usr.bin/cmp/cmp.c

svn commit: r343245 - head/usr.bin/cmp

2019-01-20 Thread Mark Johnston
Author: markj Date: Mon Jan 21 03:47:20 2019 New Revision: 343245 URL: https://svnweb.freebsd.org/changeset/base/343245 Log: Revert r343117. It breaks the special mode specified by passing "-" as one of the input files. Revert for now while we discuss a fix. PR: 234885

svn commit: r343244 - head/sbin/devd

2019-01-20 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 21 03:38:37 2019 New Revision: 343244 URL: https://svnweb.freebsd.org/changeset/base/343244 Log: devd.conf(5): add otus(4) into wifi-driver-regex MFC after:5 days Modified: head/sbin/devd/devd.conf Modified: head/sbin/devd/devd.conf

svn commit: r343243 - stable/12

2019-01-20 Thread Kyle Evans
Author: kevans Date: Mon Jan 21 03:01:41 2019 New Revision: 343243 URL: https://svnweb.freebsd.org/changeset/base/343243 Log: MFC r343095, r343119: awg no-op (record-only) r343095: awg: Move MAC soft reset to awg_init_locked to avoid soft reset timeout From NetBSD: Since the MAC can

svn commit: r343242 - stable/12/lib/libc/stdlib

2019-01-20 Thread Kyle Evans
Author: kevans Date: Mon Jan 21 02:59:37 2019 New Revision: 343242 URL: https://svnweb.freebsd.org/changeset/base/343242 Log: MFC r342757: getopt_long(3): fix case of malformed long opt When presented with an arg string like '-l-', getopt_long will successfully parse out the 'l' short

svn commit: r343241 - in stable/12: lib/libbe sbin/bectl sbin/bectl/tests

2019-01-20 Thread Kyle Evans
Author: kevans Date: Mon Jan 21 02:57:57 2019 New Revision: 343241 URL: https://svnweb.freebsd.org/changeset/base/343241 Log: MFC r342903, r342911: libbe(3)/bectl(8) refactor and fix mount for deep BEs r342903: libbe(3): move altroot augmentation bits around a little bit We could

svn commit: r343240 - head/sys/dev/iwm

2019-01-20 Thread Kyle Evans
Author: kevans Date: Mon Jan 21 01:45:35 2019 New Revision: 343240 URL: https://svnweb.freebsd.org/changeset/base/343240 Log: iwm(4): Fix possible null pointer indirection Obtained from:DragonFlyBSD (obtained from Haiku) MFC after:1 week Modified: head/sys/dev/iwm/if_iwm.c

svn commit: r343239 - in stable/12/sys/dev/rtwn: rtl8192c rtl8812a

2019-01-20 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 21 01:03:03 2019 New Revision: 343239 URL: https://svnweb.freebsd.org/changeset/base/343239 Log: MFC r343092: rtwn(4): clear 'basic' rate bit before calculating RTS/CTS rate. Rate tables have this bit set to indicate minimal set of basic rates; however, it

svn commit: r343238 - head/sys/dev/usb/wlan

2019-01-20 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 21 00:53:38 2019 New Revision: 343238 URL: https://svnweb.freebsd.org/changeset/base/343238 Log: urtw(4): add length checks in Rx path. - Check if buffer can contain Rx descriptor before accessing it. - Verify upper / lower bounds for frame length. - Do not

svn commit: r343236 - stable/11/sys/netpfil/pf

2019-01-20 Thread Kristof Provost
Author: kp Date: Mon Jan 21 00:32:03 2019 New Revision: 343236 URL: https://svnweb.freebsd.org/changeset/base/343236 Log: MFC r343130 pf: fix pfsync breaking carp Fix missing initialisation of sc_flags into a valid sync state on clone which breaks carp in pfsync. This

svn commit: r343237 - stable/12/sys/netpfil/pf

2019-01-20 Thread Kristof Provost
Author: kp Date: Mon Jan 21 00:32:04 2019 New Revision: 343237 URL: https://svnweb.freebsd.org/changeset/base/343237 Log: MFC r343130 pf: fix pfsync breaking carp Fix missing initialisation of sc_flags into a valid sync state on clone which breaks carp in pfsync. This

svn commit: r343233 - head/sys/dev/cxgbe

2019-01-20 Thread Navdeep Parhar
Author: np Date: Sun Jan 20 23:30:16 2019 New Revision: 343233 URL: https://svnweb.freebsd.org/changeset/base/343233 Log: cxgbe(4): Clear the reply-pending status of a hashfilter when the reply indicates an error. Also, do not remove it twice from the hf list in this case. Submitted

svn commit: r343235 - head/sys/dev/iwn

2019-01-20 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 21 00:09:54 2019 New Revision: 343235 URL: https://svnweb.freebsd.org/changeset/base/343235 Log: iwn(4): drop return code from iwn_*attach functions (they cannot fail) While here, add missing trace 'end' marker in iwn5000_attach(). MFC after:1 week

svn commit: r343234 - head/sys/dev/usb/wlan

2019-01-20 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jan 21 00:03:35 2019 New Revision: 343234 URL: https://svnweb.freebsd.org/changeset/base/343234 Log: run(4): add more length checks in Rx path. - Discard frames that are bigger than MCLBYTES (to prevent buffer overrun). - Check buffer length before accessing its

svn commit: r343226 - stable/11/sys/sys

2019-01-20 Thread Joerg Wunsch
Author: joerg Date: Sun Jan 20 21:38:24 2019 New Revision: 343226 URL: https://svnweb.freebsd.org/changeset/base/343226 Log: MFC r342791: fix a typo in chio(4) (which propagates into chio(1)) Modified: stable/11/sys/sys/chio.h Directory Properties: stable/11/ (props changed) Modified:

svn commit: r343224 - in head/sys/dev/usb: . quirk

2019-01-20 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Jan 20 20:29:26 2019 New Revision: 343224 URL: https://svnweb.freebsd.org/changeset/base/343224 Log: Add KBD_BOOTPROTO quirk for Logitech G510s USB keyboard PR: 232136 Submitted by: dgilb...@eicat.ca MFC after:1 week Modified:

svn commit: r343232 - head/tools/build/mk

2019-01-20 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Jan 20 22:34:04 2019 New Revision: 343232 URL: https://svnweb.freebsd.org/changeset/base/343232 Log: Add more profile-enabled libraries to remove when WITHOUT_PROFILE is defined PR: 230898 Submitted by: Herbert J. Skuhra MFC after:1 week

svn commit: r343228 - stable/12/sbin/pfctl

2019-01-20 Thread Kristof Provost
Author: kp Date: Sun Jan 20 22:01:39 2019 New Revision: 343228 URL: https://svnweb.freebsd.org/changeset/base/343228 Log: MFC r342989 pfctl: Fix 'set skip' handling for groups When we skip on a group the kernel will automatically skip on the member interfaces. We still need to

svn commit: r343222 - head/usr.bin/systat

2019-01-20 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Jan 20 19:47:33 2019 New Revision: 343222 URL: https://svnweb.freebsd.org/changeset/base/343222 Log: Fix crash in systat(4) when certain commands are called without arguments Add check for missing arguments to dsmatchselect and dsselect PR: 219689

svn commit: r343231 - in head: bin/csh bin/sh share/skel

2019-01-20 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Jan 20 22:08:49 2019 New Revision: 343231 URL: https://svnweb.freebsd.org/changeset/base/343231 Log: Don't mess with BLOCKSIZE in shell startup files - it's set by login.conf(5); there's no need to even mention it in shell rc files. Not that it's wrong; just

svn commit: r343229 - stable/11/sbin/pfctl

2019-01-20 Thread Kristof Provost
Author: kp Date: Sun Jan 20 22:01:41 2019 New Revision: 343229 URL: https://svnweb.freebsd.org/changeset/base/343229 Log: MFC r342989 pfctl: Fix 'set skip' handling for groups When we skip on a group the kernel will automatically skip on the member interfaces. We still need to

svn commit: r343230 - stable/12/tests/sys/netpfil/pf

2019-01-20 Thread Kristof Provost
Author: kp Date: Sun Jan 20 22:03:43 2019 New Revision: 343230 URL: https://svnweb.freebsd.org/changeset/base/343230 Log: MFC r342990 pf tests: Test PR 229241 pfctl has an issue with 'set skip on ', which causes inconsistent behaviour: the set skip directive works initially, but

svn commit: r343227 - stable/10/sys/sys

2019-01-20 Thread Joerg Wunsch
Author: joerg Date: Sun Jan 20 21:49:13 2019 New Revision: 343227 URL: https://svnweb.freebsd.org/changeset/base/343227 Log: MFC r342791: fix a typo in chio(4) (which propagates into chio(1)) Modified: stable/10/sys/sys/chio.h Directory Properties: stable/10/ (props changed) Modified:

svn commit: r343223 - head/usr.bin/systat

2019-01-20 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Jan 20 19:55:54 2019 New Revision: 343223 URL: https://svnweb.freebsd.org/changeset/base/343223 Log: Fix inconsistency in return values introduced by r343222 Consistently return 1 or the case of missing arguments in both functions PR: 219689 MFC

svn commit: r343225 - head/stand/mips/beri/boot2

2019-01-20 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Jan 20 21:09:44 2019 New Revision: 343225 URL: https://svnweb.freebsd.org/changeset/base/343225 Log: Unbreak mip64 build after r328437 Add exit and getchar functions to beri/boot2 code. They are required by panic_action functin introduced in r328437 Modified:

svn commit: r343219 - in head: sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/mips/conf sys/sparc64/conf tools/tools/nanobsd/pcengines

2019-01-20 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jan 20 15:17:56 2019 New Revision: 343219 URL: https://svnweb.freebsd.org/changeset/base/343219 Log: Remove IEEE80211_AMPDU_AGE config option. It is noop since r297774. Modified: head/sys/amd64/conf/GENERIC head/sys/arm/conf/RK3188 head/sys/conf/NOTES

Re: svn commit: r343213 - in head/sys: net80211 sys

2019-01-20 Thread Andriy Voskoboinyk
Sun, 20 Jan 2019 16:02:08 +0200 було написано Bjoern A. Zeeb : On 20 Jan 2019, at 13:39, Andriy Voskoboinyk wrote: Author: avos Date: Sun Jan 20 13:39:18 2019 New Revision: 343213 URL: https://svnweb.freebsd.org/changeset/base/343213 Log: net80211: resolve ioctl <-> detach race for

svn commit: r343213 - in head/sys: net80211 sys

2019-01-20 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jan 20 13:39:18 2019 New Revision: 343213 URL: https://svnweb.freebsd.org/changeset/base/343213 Log: net80211: resolve ioctl <-> detach race for ieee80211com structure Since r287197 ieee80211com is a part of drivers softc; as a result, after detach all pointers to

svn commit: r343215 - head/bin/sh

2019-01-20 Thread Jilles Tjoelker
Author: jilles Date: Sun Jan 20 14:25:25 2019 New Revision: 343215 URL: https://svnweb.freebsd.org/changeset/base/343215 Log: sh: Send libedit "ferr" output to fd 2 The libedit "fout" output must be sent to fd 2 since it contains prompts that POSIX says must be sent to fd 2. However, the

Re: svn commit: r343213 - in head/sys: net80211 sys

2019-01-20 Thread Bjoern A. Zeeb
On 20 Jan 2019, at 13:39, Andriy Voskoboinyk wrote: Author: avos Date: Sun Jan 20 13:39:18 2019 New Revision: 343213 URL: https://svnweb.freebsd.org/changeset/base/343213 Log: net80211: resolve ioctl <-> detach race for ieee80211com structure Since r287197 ieee80211com is a part of

svn commit: r343212 - stable/11/sys/amd64/vmm/intel

2019-01-20 Thread Konstantin Belousov
Author: kib Date: Sun Jan 20 13:16:36 2019 New Revision: 343212 URL: https://svnweb.freebsd.org/changeset/base/343212 Log: MFC r343108: Trim whitespace at EoL, use tabs instead of spaces for indent. PR: 235004 Modified: stable/11/sys/amd64/vmm/intel/vmx.c Directory Properties:

svn commit: r343216 - stable/12/sys/net80211

2019-01-20 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jan 20 14:33:29 2019 New Revision: 343216 URL: https://svnweb.freebsd.org/changeset/base/343216 Log: MFC r342991: net80211: provide rate validation for injected frames. There may be various side effects (device timeout, firmware and / or kernel panic) when an

svn commit: r343211 - stable/12/sys/amd64/vmm/intel

2019-01-20 Thread Konstantin Belousov
Author: kib Date: Sun Jan 20 12:14:33 2019 New Revision: 343211 URL: https://svnweb.freebsd.org/changeset/base/343211 Log: MFC r343108: Trim whitespace at EoL, use tabs instead of spaces for indent. PR: 235004 Modified: stable/12/sys/amd64/vmm/intel/vmx.c Directory Properties:

svn commit: r343208 - stable/12/libexec/rtld-elf/powerpc64

2019-01-20 Thread Justin Hibbits
Author: jhibbits Date: Sun Jan 20 03:58:21 2019 New Revision: 343208 URL: https://svnweb.freebsd.org/changeset/base/343208 Log: MFC r342671: rtld-elf: Fix powerpc64 TLS handling, matching powerpc's fix We need to subtract the TLS_TCB_SIZE to get to the real data pointer, since r13

svn commit: r343209 - head/sys/fs/smbfs

2019-01-20 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Jan 20 05:52:16 2019 New Revision: 343209 URL: https://svnweb.freebsd.org/changeset/base/343209 Log: [smbfs] Allow semicolon in mounts that support long names Semicolon is a legal character in long names but not in 8.3 format. Move it to respective character set.

svn commit: r343207 - stable/12/lib/libc/gen

2019-01-20 Thread Justin Hibbits
Author: jhibbits Date: Sun Jan 20 03:53:42 2019 New Revision: 343207 URL: https://svnweb.freebsd.org/changeset/base/343207 Log: MFC r341387: Fix PowerPC64 ELFv1-specific problem in __elf_phdr_match_addr() leading to crash in threaded programs that unload libraries. Summary: The

svn commit: r343206 - stable/12/sys/powerpc/booke

2019-01-20 Thread Justin Hibbits
Author: jhibbits Date: Sun Jan 20 03:30:04 2019 New Revision: 343206 URL: https://svnweb.freebsd.org/changeset/base/343206 Log: MFC r342988: powerpcspe: Correct SPE high-component loading Don't clobber the low part of the register restoring the high component of. This could lead to