svn commit: r347562 - stable/10/lib/libc/gen

2019-05-13 Thread David E. O'Brien
Author: obrien Date: Tue May 14 04:34:58 2019 New Revision: 347562 URL: https://svnweb.freebsd.org/changeset/base/347562 Log: MF11 r347561. MFC r344085: Note that readpassphrase() came into FreeBSD's libc at 4.6. Modified: stable/10/lib/libc/gen/readpassphrase.3 Directory Properties:

svn commit: r347561 - stable/11/lib/libc/gen

2019-05-13 Thread David E. O'Brien
Author: obrien Date: Tue May 14 04:14:31 2019 New Revision: 347561 URL: https://svnweb.freebsd.org/changeset/base/347561 Log: MFC r344085: Note that readpassphrase() came into FreeBSD's libc at 4.6. Modified: stable/11/lib/libc/gen/readpassphrase.3 Directory Properties: stable/11/

svn commit: r347559 - stable/12/sys/dev/usb/net

2019-05-13 Thread Ganbold Tsagaankhuu
Author: ganbold Date: Tue May 14 03:08:37 2019 New Revision: 347559 URL: https://svnweb.freebsd.org/changeset/base/347559 Log: MFC r346028: Fix URE_WDT6_SET_MODE value in the register definition. Both linux and u-boot sources for RTL8152 driver has this value. RTL8152 USB ethernet is used

svn commit: r347558 - stable/11/sys/dev/usb/net

2019-05-13 Thread Ganbold Tsagaankhuu
Author: ganbold Date: Tue May 14 03:05:06 2019 New Revision: 347558 URL: https://svnweb.freebsd.org/changeset/base/347558 Log: MFC r346028: Fix URE_WDT6_SET_MODE value in the register definition. Both linux and u-boot sources for RTL8152 driver has this value. RTL8152 USB ethernet is used

svn commit: r347557 - in stable: 11/sbin/ifconfig 12/sbin/ifconfig

2019-05-13 Thread Kyle Evans
Author: kevans Date: Tue May 14 02:00:12 2019 New Revision: 347557 URL: https://svnweb.freebsd.org/changeset/base/347557 Log: MFC r347241 (partial), r347392, r347429: ifconfig(8) ifname <-> kld mapping MFC r347241 (partial): Initial mechanism for mapping ifname <-> kld if_tun/if_tap

svn commit: r347557 - in stable: 11/sbin/ifconfig 12/sbin/ifconfig

2019-05-13 Thread Kyle Evans
Author: kevans Date: Tue May 14 02:00:12 2019 New Revision: 347557 URL: https://svnweb.freebsd.org/changeset/base/347557 Log: MFC r347241 (partial), r347392, r347429: ifconfig(8) ifname <-> kld mapping MFC r347241 (partial): Initial mechanism for mapping ifname <-> kld if_tun/if_tap

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

2019-05-13 Thread Mark Johnston
Author: markj Date: Tue May 14 00:34:08 2019 New Revision: 347556 URL: https://svnweb.freebsd.org/changeset/base/347556 Log: MFC r347227: Simplify the test against maxproc in fork1(). Modified: stable/12/sys/kern/kern_fork.c Directory Properties: stable/12/ (props changed) Modified:

Re: svn commit: r347526 - head/sys/net

2019-05-13 Thread Mark Johnston
On Mon, May 13, 2019 at 06:09:59PM -0400, Li-Wen Hsu wrote: > On Mon, May 13, 2019 at 3:38 PM Mark Johnston wrote: > > > > On Mon, May 13, 2019 at 01:45:29PM +, Andrey V. Elsukov wrote: > > > Author: ae > > > Date: Mon May 13 13:45:28 2019 > > > New Revision: 347526 > > > URL:

svn commit: r347555 - in head: . sys/kern

2019-05-13 Thread Conrad Meyer
Author: cem Date: Mon May 13 23:37:44 2019 New Revision: 347555 URL: https://svnweb.freebsd.org/changeset/base/347555 Log: Revert r346292 (permit_nonrandom_stackcookies) We have a better, more comprehensive knob for this now: kern.random.initial_seeding.bypass_before_seeding=1.

svn commit: r347553 - head/stand/common

2019-05-13 Thread Toomas Soome
Author: tsoome Date: Mon May 13 22:17:11 2019 New Revision: 347553 URL: https://svnweb.freebsd.org/changeset/base/347553 Log: loader: fix memory handling errors in module.c file_loadraw(): check for file_alloc() and strdup() results. we leak 'name'. mod_load() does leak

Re: svn commit: r347526 - head/sys/net

2019-05-13 Thread Li-Wen Hsu
On Mon, May 13, 2019 at 3:38 PM Mark Johnston wrote: > > On Mon, May 13, 2019 at 01:45:29PM +, Andrey V. Elsukov wrote: > > Author: ae > > Date: Mon May 13 13:45:28 2019 > > New Revision: 347526 > > URL: https://svnweb.freebsd.org/changeset/base/347526 > > > > Log: > > Rework locking in BPF

svn commit: r347549 - head/sys/net

2019-05-13 Thread Andrey V. Elsukov
Author: ae Date: Mon May 13 20:17:55 2019 New Revision: 347549 URL: https://svnweb.freebsd.org/changeset/base/347549 Log: Avoid possible recursion on BPF_LOCK() in bpfwrite(). Release BPF_LOCK() before invoking if_output() and if_input(). Also enter epoch section before releasing lock,

Re: svn commit: r347526 - head/sys/net

2019-05-13 Thread Mark Johnston
On Mon, May 13, 2019 at 01:45:29PM +, Andrey V. Elsukov wrote: > Author: ae > Date: Mon May 13 13:45:28 2019 > New Revision: 347526 > URL: https://svnweb.freebsd.org/changeset/base/347526 > > Log: > Rework locking in BPF code to remove rwlock from fast path. > > On high packets rate

svn commit: r347546 - head/sys/dev/random

2019-05-13 Thread Conrad Meyer
Author: cem Date: Mon May 13 19:35:35 2019 New Revision: 347546 URL: https://svnweb.freebsd.org/changeset/base/347546 Log: Fortuna: Fix false negatives in is_random_seeded() (1) We may have had sufficient entropy to consider Fortuna seeded, but the random_fortuna_seeded() function would

svn commit: r347543 - in head: . sys/sys

2019-05-13 Thread Mark Johnston
: disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20190513: + User-wired pages now have their own counter, + vm.stats.vm.v_user_wire_count. The vm.max_wired sysctl was renamed + to vm.max_user_wired a

svn commit: r347542 - in stable/12: share/man/man4 sys/net

2019-05-13 Thread Stephen Hurd
Author: shurd Date: Mon May 13 18:48:08 2019 New Revision: 347542 URL: https://svnweb.freebsd.org/changeset/base/347542 Log: MFC r346708: iflib: Better control over queue core assignment By default, cores are now assigned to queues in a sequential manner rather than all NICs

svn commit: r347541 - head/sys/vm

2019-05-13 Thread Mark Johnston
Author: markj Date: Mon May 13 18:40:01 2019 New Revision: 347541 URL: https://svnweb.freebsd.org/changeset/base/347541 Log: Restore the pre-r347532 behaviour of ignoring wiring failures in mmap(). The error handling added in r347532 is not right when mapping vnodes and will be fixed

Re: svn commit: r347532 - in head: contrib/netbsd-tests/lib/libc/sys lib/libc/sys lib/libc/tests/sys sys/amd64/vmm sys/sys sys/vm usr.bin/vmstat

2019-05-13 Thread Oliver Pinter
And it would be nice to bump __freebsd_version too. On Monday, May 13, 2019, Rodney W. Grimes wrote: > > > Author: markj > > > Date: Mon May 13 16:38:48 2019 > > > New Revision: 347532 > > > URL: https://svnweb.freebsd.org/changeset/base/347532 > > > > > > Log: > > > Provide separate

svn commit: r347540 - in head/sys/modules: linprocfs linsysfs linux linux64 linux_common

2019-05-13 Thread Dmitry Chagin
Author: dchagin Date: Mon May 13 18:28:40 2019 New Revision: 347540 URL: https://svnweb.freebsd.org/changeset/base/347540 Log: Add warning to the Linuxulator makefiles that building it outside of a kernel does not make sence. PR: 222861 MFC after:2 weeks Differential

svn commit: r347538 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/linux i386/linux modules/linux modules/linux64 modules/linux_common

2019-05-13 Thread Dmitry Chagin
Author: dchagin Date: Mon May 13 18:24:29 2019 New Revision: 347538 URL: https://svnweb.freebsd.org/changeset/base/347538 Log: Linuxulator depends on a fundamental kernel settings such as SMP. Many of them listed in opt_global.h which is not generated while building modules outside of a

svn commit: r347537 - head/sys/compat/linux

2019-05-13 Thread Dmitry Chagin
Author: dchagin Date: Mon May 13 18:14:20 2019 New Revision: 347537 URL: https://svnweb.freebsd.org/changeset/base/347537 Log: Linuxulator getpeername() returns EINVAL in case then namelen less then 0. MFC after:2 weeks Modified: head/sys/compat/linux/linux_socket.c Modified:

svn commit: r347536 - head/lib/libcasper/services/cap_sysctl/tests

2019-05-13 Thread Mark Johnston
Author: markj Date: Mon May 13 17:53:03 2019 New Revision: 347536 URL: https://svnweb.freebsd.org/changeset/base/347536 Log: Extend the libcap_sysctl tests. - Add some coverage for cap_sysctl(3). - Add a test for the case where the caller wishes to find the sysctl output length

svn commit: r347535 - head/lib/libcasper/services/cap_sysctl/tests

2019-05-13 Thread Mark Johnston
Author: markj Date: Mon May 13 17:51:03 2019 New Revision: 347535 URL: https://svnweb.freebsd.org/changeset/base/347535 Log: Convert the libcap_sysctl test cases to ATF. Reviewed by: oshogbo Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r347534 - in head: . lib/libcasper/services/cap_sysctl lib/libcasper/services/cap_sysctl/tests

2019-05-13 Thread Mark Johnston
; # done +# 20190513: libcap_sysctl interface change +OLD_FILES+=lib/casper/libcap_sysctl.1 # 20190509: tests/sys/opencrypto requires the net/py-dpkt package. OLD_FILES+=usr/tests/sys/opencrypto/dpkt.py OLD_FILES+=usr/tests/sys/opencrypto/dpkt.pyc Modified: head/lib/libcasper/services/cap_sysctl

svn commit: r347533 - in head/sys: compat/linux modules/linux_common

2019-05-13 Thread Dmitry Chagin
Author: dchagin Date: Mon May 13 17:48:16 2019 New Revision: 347533 URL: https://svnweb.freebsd.org/changeset/base/347533 Log: Our bsd_to_linux_sockaddr() and linux_to_bsd_sockaddr() functions alter the userspace sockaddr to convert the format between linux and BSD versions. That's the

Re: svn commit: r347532 - in head: contrib/netbsd-tests/lib/libc/sys lib/libc/sys lib/libc/tests/sys sys/amd64/vmm sys/sys sys/vm usr.bin/vmstat

2019-05-13 Thread Rodney W. Grimes
> > Author: markj > > Date: Mon May 13 16:38:48 2019 > > New Revision: 347532 > > URL: https://svnweb.freebsd.org/changeset/base/347532 > > > > Log: > > Provide separate accounting for user-wired pages. > > > > Historically we have not distinguished between kernel wirings and user > >

Re: svn commit: r347532 - in head: contrib/netbsd-tests/lib/libc/sys lib/libc/sys lib/libc/tests/sys sys/amd64/vmm sys/sys sys/vm usr.bin/vmstat

2019-05-13 Thread Rodney W. Grimes
> Author: markj > Date: Mon May 13 16:38:48 2019 > New Revision: 347532 > URL: https://svnweb.freebsd.org/changeset/base/347532 > > Log: > Provide separate accounting for user-wired pages. > > Historically we have not distinguished between kernel wirings and user > wirings for accounting

svn commit: r347532 - in head: contrib/netbsd-tests/lib/libc/sys lib/libc/sys lib/libc/tests/sys sys/amd64/vmm sys/sys sys/vm usr.bin/vmstat

2019-05-13 Thread Mark Johnston
Author: markj Date: Mon May 13 16:38:48 2019 New Revision: 347532 URL: https://svnweb.freebsd.org/changeset/base/347532 Log: Provide separate accounting for user-wired pages. Historically we have not distinguished between kernel wirings and user wirings for accounting purposes. User

Re: svn commit: r347488 - head/usr.sbin/ntp/ntpd

2019-05-13 Thread Xin LI
On Sat, May 11, 2019 at 10:42 AM Cy Schubert wrote: > In message <201905111637.x4bgbawj032...@gndrsh.dnsmgr.net>, "Rodney W. > Grimes" > writes: > > > On Sat, 2019-05-11 at 14:22 +, Xin LI wrote: > > > > Author: delphij > > > > Date: Sat May 11 14:22:21 2019 > > > > New Revision: 347488 > >

svn commit: r347529 - stable/12/sys/net

2019-05-13 Thread Ed Maste
Author: emaste Date: Mon May 13 14:52:50 2019 New Revision: 347529 URL: https://svnweb.freebsd.org/changeset/base/347529 Log: MFC r347031: iflib: remove assertion that isc_capabilities is nonzero It's atypical, but not invalid, for a driver to pass no capabilities. Submitted by:

svn commit: r347528 - stable/12/sys/arm64/linux

2019-05-13 Thread Ed Maste
Author: emaste Date: Mon May 13 14:50:51 2019 New Revision: 347528 URL: https://svnweb.freebsd.org/changeset/base/347528 Log: MFC r347186: Reformat arm64 linux syscalls.master per current style Modified: stable/12/sys/arm64/linux/syscalls.master Directory Properties: stable/12/ (props

svn commit: r347527 - head/sys/net

2019-05-13 Thread Andrey V. Elsukov
Author: ae Date: Mon May 13 14:07:02 2019 New Revision: 347527 URL: https://svnweb.freebsd.org/changeset/base/347527 Log: Do not leak memory used for binary filter. Modified: head/sys/net/bpf.c Modified: head/sys/net/bpf.c

svn commit: r347526 - head/sys/net

2019-05-13 Thread Andrey V. Elsukov
Author: ae Date: Mon May 13 13:45:28 2019 New Revision: 347526 URL: https://svnweb.freebsd.org/changeset/base/347526 Log: Rework locking in BPF code to remove rwlock from fast path. On high packets rate the contention on rwlock in bpf_*tap*() functions can lead to packets dropping. To

svn commit: r347525 - stable/11/sys/cam/ata

2019-05-13 Thread Alexander Motin
Author: mav Date: Mon May 13 13:30:34 2019 New Revision: 347525 URL: https://svnweb.freebsd.org/changeset/base/347525 Log: MFC r347160: Decode some more ATA commands found in ACS-4. Modified: stable/11/sys/cam/ata/ata_all.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r347524 - stable/12/sys/cam/ata

2019-05-13 Thread Alexander Motin
Author: mav Date: Mon May 13 13:29:51 2019 New Revision: 347524 URL: https://svnweb.freebsd.org/changeset/base/347524 Log: MFC r347160: Decode some more ATA commands found in ACS-4. Modified: stable/12/sys/cam/ata/ata_all.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r347523 - in stable/12: sbin/nvmecontrol sys/dev/nvme

2019-05-13 Thread Alexander Motin
Author: mav Date: Mon May 13 13:28:42 2019 New Revision: 347523 URL: https://svnweb.freebsd.org/changeset/base/347523 Log: MFC r347158: Decode Deallocate Logical Block Features. Modified: stable/12/sbin/nvmecontrol/identify.c stable/12/sys/dev/nvme/nvme.h Directory Properties: stable/12/

svn commit: r347522 - head/etc

2019-05-13 Thread Emmanuel Vadot
Author: manu Date: Mon May 13 12:38:33 2019 New Revision: 347522 URL: https://svnweb.freebsd.org/changeset/base/347522 Log: Revert r347356 and r347371 passwd related files need to be tagged as config file so pkg update will attempt merging them when we install a new package. We should

svn commit: r347521 - stable/11/sys/compat/linux

2019-05-13 Thread Dmitry Chagin
Author: dchagin Date: Mon May 13 11:17:31 2019 New Revision: 347521 URL: https://svnweb.freebsd.org/changeset/base/347521 Log: MFC r346965: Follow the FreeBSD and implement PDEATH_SIG prctl ops in the Linuxulator. It was first introduced in r163734 and missied by me in r283383.

svn commit: r347520 - stable/12/sys/compat/linux

2019-05-13 Thread Dmitry Chagin
Author: dchagin Date: Mon May 13 10:43:18 2019 New Revision: 347520 URL: https://svnweb.freebsd.org/changeset/base/347520 Log: MFC r346965: Follow the FreeBSD and implement PDEATH_SIG prctl ops in the Linuxulator. It was first introduced in r163734 and missied by me in r283383.

svn commit: r347519 - head/sys/modules/ipsec

2019-05-13 Thread Andrey V. Elsukov
Author: ae Date: Mon May 13 08:34:13 2019 New Revision: 347519 URL: https://svnweb.freebsd.org/changeset/base/347519 Log: Revert r347402. After r347429 symlink is no longer needed. Modified: head/sys/modules/ipsec/Makefile Modified: head/sys/modules/ipsec/Makefile

svn commit: r347518 - stable/12/libexec/rc/rc.d

2019-05-13 Thread Andrey V. Elsukov
Author: ae Date: Mon May 13 08:29:28 2019 New Revision: 347518 URL: https://svnweb.freebsd.org/changeset/base/347518 Log: MFC r347178: Add ipsec.ko to required_modules for rc.d/ipsec script. Thus it can be automatically loaded if ipsec_enable="YES" and option IPSEC is not in the

svn commit: r347517 - stable/11/sbin/ipfw

2019-05-13 Thread Andrey V. Elsukov
Author: ae Date: Mon May 13 08:27:52 2019 New Revision: 347517 URL: https://svnweb.freebsd.org/changeset/base/347517 Log: MFC r346885: Handle HAVE_PROTO flag and print "proto" keyword for O_IP4 and O_IP6 opcodes when it is needed. This should fix the problem, when printed by `ipfw

svn commit: r347516 - stable/12/sbin/ipfw

2019-05-13 Thread Andrey V. Elsukov
Author: ae Date: Mon May 13 08:26:21 2019 New Revision: 347516 URL: https://svnweb.freebsd.org/changeset/base/347516 Log: MFC r346885: Handle HAVE_PROTO flag and print "proto" keyword for O_IP4 and O_IP6 opcodes when it is needed. This should fix the problem, when printed by `ipfw