svn commit: r343930 - head/sbin/sysctl

2019-02-08 Thread Guangyuan Yang
Author: ygy (doc committer) Date: Sat Feb 9 04:36:02 2019 New Revision: 343930 URL: https://svnweb.freebsd.org/changeset/base/343930 Log: Remove -R option which was added to sysctl(8) man page per r244106, but it is not implemented. MFC after:3 days Submitted by: Alfonso Siciliano

svn commit: r343929 - head/sys/vm

2019-02-08 Thread Konstantin Belousov
Author: kib Date: Sat Feb 9 03:56:48 2019 New Revision: 343929 URL: https://svnweb.freebsd.org/changeset/base/343929 Log: i386: honor kern.elf32.read_exec for ommap(2) and break(2), as already done on amd64. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified:

svn commit: r343928 - in head/sys: compat/freebsd32 sys vm

2019-02-08 Thread Konstantin Belousov
Author: kib Date: Sat Feb 9 03:51:51 2019 New Revision: 343928 URL: https://svnweb.freebsd.org/changeset/base/343928 Log: Normalize the declaration of i386_read_exec variable. It is currently re-declared in sys/sysent.h which is a wrong place for MD variable. Which causes redeclaration

svn commit: r343927 - head/sys/netgraph

2019-02-08 Thread Gleb Smirnoff
Author: glebius Date: Sat Feb 9 03:00:00 2019 New Revision: 343927 URL: https://svnweb.freebsd.org/changeset/base/343927 Log: Remove remnants of byte order manipulation, back when FreeBSD stack stored packets in host byte order. Modified: head/sys/netgraph/ng_ipfw.c Modified:

svn commit: r343925 - stable/12/sys/vm

2019-02-08 Thread Alexander Motin
Author: mav Date: Sat Feb 9 02:09:29 2019 New Revision: 343925 URL: https://svnweb.freebsd.org/changeset/base/343925 Log: MFC r343673: Fix integer math overflow in UMA hash_alloc(). 512GB of ZFS ABD ARC means abd_chunk zone of 128M 4KB items. To manage them UMA tries to allocate 2GB

svn commit: r343926 - stable/11/sys/vm

2019-02-08 Thread Alexander Motin
Author: mav Date: Sat Feb 9 02:10:03 2019 New Revision: 343926 URL: https://svnweb.freebsd.org/changeset/base/343926 Log: MFC r343673: Fix integer math overflow in UMA hash_alloc(). 512GB of ZFS ABD ARC means abd_chunk zone of 128M 4KB items. To manage them UMA tries to allocate 2GB

svn commit: r343924 - head/share/mk

2019-02-08 Thread Justin Hibbits
Author: jhibbits Date: Sat Feb 9 02:04:27 2019 New Revision: 343924 URL: https://svnweb.freebsd.org/changeset/base/343924 Log: Correct the CPU target for powerpcspe The MPC8540 is actually e500v1, which doesn't have double-precision floating point support. The 8548 does, so use that as

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

2019-02-08 Thread Navdeep Parhar
Author: np Date: Sat Feb 9 01:49:53 2019 New Revision: 343923 URL: https://svnweb.freebsd.org/changeset/base/343923 Log: cxgbe(4): Delay the panic due to a fatal error by 30s. This lets information logged by the interrupt handler reach the system log before the system goes down.

svn commit: r343922 - head/sbin/dhclient

2019-02-08 Thread Jilles Tjoelker
Author: jilles Date: Fri Feb 8 23:03:28 2019 New Revision: 343922 URL: https://svnweb.freebsd.org/changeset/base/343922 Log: dhclient: Return non-zero status when script exits due to a signal r343896 made it such that a non-zero exit status was passed through, but was still wrong if the

svn commit: r343921 - head/usr.sbin/pw

2019-02-08 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Fri Feb 8 22:10:40 2019 New Revision: 343921 URL: https://svnweb.freebsd.org/changeset/base/343921 Log: Add an example to pw.8 about how to add an existing user to a group. Instead of using pw to modify group membership, users often edit /etc/group by

svn commit: r343920 - head/sys/netinet/cc

2019-02-08 Thread Michael Tuexen
Author: tuexen Date: Fri Feb 8 20:42:49 2019 New Revision: 343920 URL: https://svnweb.freebsd.org/changeset/base/343920 Log: Ensure that when using the TCP CDG congestion control and setting the sysctl variable net.inet.tcp.cc.cdg.smoothing_factor to 0, the smoothing is disabled. Without

svn commit: r343919 - head/sys/dev/e1000

2019-02-08 Thread Patrick Kelsey
Author: pkelsey Date: Fri Feb 8 20:34:47 2019 New Revision: 343919 URL: https://svnweb.freebsd.org/changeset/base/343919 Log: Fix em(4) interrupt routing When configured with more tx queues than rx queues, em_if_msix_intr_assign() was incorrectly routing the tx event interrupts.

svn commit: r343918 - head/libexec/rc/rc.d

2019-02-08 Thread Colin Percival
Author: cperciva Date: Fri Feb 8 19:19:31 2019 New Revision: 343918 URL: https://svnweb.freebsd.org/changeset/base/343918 Log: Teach /etc/rc.d/growfs how to handle systems running ZFS. There are many cases which this code does not handle (e.g. ZFS mirrors) but the code can handle the

svn commit: r343917 - in head: contrib/netbsd-tests/lib/libm lib/msun/tests

2019-02-08 Thread Dimitry Andric
Author: dim Date: Fri Feb 8 18:31:54 2019 New Revision: 343917 URL: https://svnweb.freebsd.org/changeset/base/343917 Log: Amend r343442, by only expecting the lib.msun.cbrt_test.cbrtl_powl and trig_test.reduction test cases to fail, if the fixes from r343916 have not yet been applied to

svn commit: r343916 - in head: contrib/llvm/lib/Target/X86 lib/clang

2019-02-08 Thread Dimitry Andric
Author: dim Date: Fri Feb 8 18:24:53 2019 New Revision: 343916 URL: https://svnweb.freebsd.org/changeset/base/343916 Log: Pull in r352607 from upstream llvm trunk (by Craig Topper): [X86] Add FPSW as a Def on some FP instructions that were missing it. Pull in r353141 from upstream

svn commit: r343915 - in head: share/misc usr.bin/calendar/calendars

2019-02-08 Thread Kai Knoblich
Author: kai (ports committer) Date: Fri Feb 8 17:57:39 2019 New Revision: 343915 URL: https://svnweb.freebsd.org/changeset/base/343915 Log: Add myself to committers-ports.dot and calendar.freebsd Reviewed by: miwi (mentor) Approved by: miwi (mentor) Differential Revision:

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

2019-02-08 Thread Mark Johnston
Author: markj Date: Fri Feb 8 16:38:30 2019 New Revision: 343914 URL: https://svnweb.freebsd.org/changeset/base/343914 Log: MFC r343626: Prevent some kobj memory allocation failures from panicking the system. Modified: stable/12/sys/kern/subr_kobj.c Directory Properties: stable/12/

svn commit: r343913 - head/sys/kern

2019-02-08 Thread Andrew Turner
Author: andrew Date: Fri Feb 8 16:18:17 2019 New Revision: 343913 URL: https://svnweb.freebsd.org/changeset/base/343913 Log: Fix the spelling of cov_unregister_pc. When unregistering kcov from the coverage interface we should use the unregister function, not the register function.

svn commit: r343912 - head/sys/dev/pms/freebsd/driver/common

2019-02-08 Thread Tycho Nightingale
Author: tychon Date: Fri Feb 8 16:05:38 2019 New Revision: 343912 URL: https://svnweb.freebsd.org/changeset/base/343912 Log: pms(4) should use bus_get_dma_tag() to get parent tag. Reviewed by: imp Sponsored by: Dell EMC Isilon Modified:

Re: svn commit: r343896 - head/sbin/dhclient

2019-02-08 Thread Konstantin Belousov
On Fri, Feb 08, 2019 at 02:23:01PM +0100, Jilles Tjoelker wrote: > On Fri, Feb 08, 2019 at 07:36:08AM +, Konstantin Belousov wrote: > > Author: kib > > Date: Fri Feb 8 07:36:08 2019 > > New Revision: 343896 > > URL: https://svnweb.freebsd.org/changeset/base/343896 > > > Log: > > Correctly

svn commit: r343911 - head/stand/efi/libefi

2019-02-08 Thread Marcin Wojtas
Author: mw Date: Fri Feb 8 14:56:28 2019 New Revision: 343911 URL: https://svnweb.freebsd.org/changeset/base/343911 Log: Allow reading the UEFI variable size When loading bigger variables form UEFI it is necessary to know their size beforehand, so that an appropriate amount of memory

svn commit: r343910 - stable/10/sys/dev/bwn

2019-02-08 Thread Andriy Voskoboinyk
Author: avos Date: Fri Feb 8 14:32:27 2019 New Revision: 343910 URL: https://svnweb.freebsd.org/changeset/base/343910 Log: MFC r343604: bwn(4): reuse ieee80211_tx_complete function Modified: stable/10/sys/dev/bwn/if_bwn.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r343909 - head/usr.bin/newkey

2019-02-08 Thread Andriy Voskoboinyk
Author: avos Date: Fri Feb 8 14:31:44 2019 New Revision: 343909 URL: https://svnweb.freebsd.org/changeset/base/343909 Log: newkey(8): fix 'tmpname' memory leak (always) and input file descriptor leak when output file cannot be opened PR: 201732 Reported by: David Binderman

svn commit: r343908 - in stable: 11/sys/dev/bwn 12/sys/dev/bwn

2019-02-08 Thread Andriy Voskoboinyk
Author: avos Date: Fri Feb 8 14:27:25 2019 New Revision: 343908 URL: https://svnweb.freebsd.org/changeset/base/343908 Log: MFC r343604: bwn(4): reuse ieee80211_tx_complete function Modified: stable/11/sys/dev/bwn/if_bwn.c Directory Properties: stable/11/ (props changed) Changes in

svn commit: r343908 - in stable: 11/sys/dev/bwn 12/sys/dev/bwn

2019-02-08 Thread Andriy Voskoboinyk
Author: avos Date: Fri Feb 8 14:27:25 2019 New Revision: 343908 URL: https://svnweb.freebsd.org/changeset/base/343908 Log: MFC r343604: bwn(4): reuse ieee80211_tx_complete function Modified: stable/12/sys/dev/bwn/if_bwn.c Directory Properties: stable/12/ (props changed) Changes in

Re: svn commit: r343896 - head/sbin/dhclient

2019-02-08 Thread Nash Kaminski
I would be in favor of Jilles' implementation as well, since fundamentally dhclient just tests for zero/nonzero exit status and therefore what is critical is making sure such status is nonzero in *any* failure case of dhclient-script, including abnormal termination via signal. - Nash On Fri, Feb

Re: svn commit: r343906 - head/usr.sbin/newsyslog

2019-02-08 Thread David Bright
On Feb 8, 2019, at 7:54 AM, David Bright wrote: > > Author: dab > Date: Fri Feb 8 13:54:16 2019 > New Revision: 343906 > URL: https://svnweb.freebsd.org/changeset/base/343906 > > Log: > Fix several Coverity-detected issues in newsyslog. Oops: Differential Revision:

svn commit: r343906 - head/usr.sbin/newsyslog

2019-02-08 Thread David Bright
Author: dab Date: Fri Feb 8 13:54:16 2019 New Revision: 343906 URL: https://svnweb.freebsd.org/changeset/base/343906 Log: Fix several Coverity-detected issues in newsyslog. - CID 1394815, CID 1305673: Dereference before null check - memory was allocated and the allocation checked for

svn commit: r343907 - in stable: 10/sys/dev/ipw 11/sys/dev/ipw 12/sys/dev/ipw

2019-02-08 Thread Andriy Voskoboinyk
Author: avos Date: Fri Feb 8 13:57:28 2019 New Revision: 343907 URL: https://svnweb.freebsd.org/changeset/base/343907 Log: MFC r343603: ipw(4): reuse ieee80211_tx_complete function This should partially fix 'netstat -b -I wlan0' output Modified: stable/12/sys/dev/ipw/if_ipw.c

svn commit: r343907 - in stable: 10/sys/dev/ipw 11/sys/dev/ipw 12/sys/dev/ipw

2019-02-08 Thread Andriy Voskoboinyk
Author: avos Date: Fri Feb 8 13:57:28 2019 New Revision: 343907 URL: https://svnweb.freebsd.org/changeset/base/343907 Log: MFC r343603: ipw(4): reuse ieee80211_tx_complete function This should partially fix 'netstat -b -I wlan0' output Modified: stable/10/sys/dev/ipw/if_ipw.c

svn commit: r343907 - in stable: 10/sys/dev/ipw 11/sys/dev/ipw 12/sys/dev/ipw

2019-02-08 Thread Andriy Voskoboinyk
Author: avos Date: Fri Feb 8 13:57:28 2019 New Revision: 343907 URL: https://svnweb.freebsd.org/changeset/base/343907 Log: MFC r343603: ipw(4): reuse ieee80211_tx_complete function This should partially fix 'netstat -b -I wlan0' output Modified: stable/11/sys/dev/ipw/if_ipw.c

Re: svn commit: r343896 - head/sbin/dhclient

2019-02-08 Thread Jilles Tjoelker
On Fri, Feb 08, 2019 at 07:36:08AM +, Konstantin Belousov wrote: > Author: kib > Date: Fri Feb 8 07:36:08 2019 > New Revision: 343896 > URL: https://svnweb.freebsd.org/changeset/base/343896 > Log: > Correctly return exit status from the exited process. > This is also OpenBSD rev. 1.117,

svn commit: r343905 - head/usr.sbin/bluetooth/sdpd

2019-02-08 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 8 13:10:45 2019 New Revision: 343905 URL: https://svnweb.freebsd.org/changeset/base/343905 Log: Improve Bluetooth device discovery support for Android and Microsoft devices. Tested using the virtual_bt_speaker(8) tool from the virtual_oss(8) project at

svn commit: r343904 - head/share/misc

2019-02-08 Thread Sergey Kandaurov
Author: pluknet Date: Fri Feb 8 11:49:59 2019 New Revision: 343904 URL: https://svnweb.freebsd.org/changeset/base/343904 Log: Add macOS 10.14. Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree

svn commit: r343903 - in stable/9: lib/libsdp usr.sbin/bluetooth/sdpd

2019-02-08 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 8 10:31:45 2019 New Revision: 343903 URL: https://svnweb.freebsd.org/changeset/base/343903 Log: MFC r343572: Add support for Audio Sink and Audio Source profiles to sdpd(8). This allows user-space programs like virtual_oss(8) to act as a Bluetooth

svn commit: r343902 - in stable/10: lib/libsdp usr.sbin/bluetooth/sdpd

2019-02-08 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 8 10:28:13 2019 New Revision: 343902 URL: https://svnweb.freebsd.org/changeset/base/343902 Log: MFC r343572: Add support for Audio Sink and Audio Source profiles to sdpd(8). This allows user-space programs like virtual_oss(8) to act as a Bluetooth

svn commit: r343901 - in stable/11: lib/libsdp usr.sbin/bluetooth/sdpd

2019-02-08 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 8 10:27:02 2019 New Revision: 343901 URL: https://svnweb.freebsd.org/changeset/base/343901 Log: MFC r343572: Add support for Audio Sink and Audio Source profiles to sdpd(8). This allows user-space programs like virtual_oss(8) to act as a Bluetooth

svn commit: r343900 - in stable/12: lib/libsdp usr.sbin/bluetooth/sdpd

2019-02-08 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 8 10:25:42 2019 New Revision: 343900 URL: https://svnweb.freebsd.org/changeset/base/343900 Log: MFC r343572: Add support for Audio Sink and Audio Source profiles to sdpd(8). This allows user-space programs like virtual_oss(8) to act as a Bluetooth

Re: svn commit: r325728 - head/lib/libkvm

2019-02-08 Thread Bruce Evans
On Wed, 6 Feb 2019, Will Andrews wrote: On Tue, Feb 5, 2019 at 10:25 AM Bruce Evans wrote: Signed kp_offset seems wrong. Apart from it not reaching the top of 64- bit address spaces, adding unsigned kp_len to it gives an unsigned type. It's appropriate, because in this context, we return

svn commit: r343899 - head/sys/fs/nullfs

2019-02-08 Thread Konstantin Belousov
Author: kib Date: Fri Feb 8 08:20:18 2019 New Revision: 343899 URL: https://svnweb.freebsd.org/changeset/base/343899 Log: Un null_vptocnp(), cache vp->v_mount and use it for null_nodeget() call. The vp vnode is unlocked during the execution of the VOP method and can be reclaimed,

svn commit: r343898 - head/sys/fs/nullfs

2019-02-08 Thread Konstantin Belousov
Author: kib Date: Fri Feb 8 08:17:31 2019 New Revision: 343898 URL: https://svnweb.freebsd.org/changeset/base/343898 Log: Before using VTONULL(), check that the covered vnode belongs to nullfs. Reported and tested by: pho Sponsored by: The FreeBSD Foundation MFC after:1 week

svn commit: r343897 - head/sys/fs/nullfs

2019-02-08 Thread Konstantin Belousov
Author: kib Date: Fri Feb 8 08:15:29 2019 New Revision: 343897 URL: https://svnweb.freebsd.org/changeset/base/343897 Log: Some style for nullfs_mount(). Also use bool type for isvnunlocked. Tested by:pho Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: