Re: svn commit: r339350 - head/contrib/elftoolchain/elfcopy

2018-10-15 Thread Antoine Brodin
On Mon, Oct 15, 2018 at 3:53 PM Ed Maste wrote: > On Mon, 15 Oct 2018 at 07:13, Ed Maste wrote: > > Hi Antoine, did you bisect to this rev or does it just look like the > > most probable candidate? Can you copy a pair of differing .o files > > (say, gcc/cc1plus-checksum.o) from the work dir to

svn commit: r339375 - head/sys/contrib/ck/src

2018-10-15 Thread Jonathan T. Looney
Author: jtl Date: Tue Oct 16 02:30:13 2018 New Revision: 339375 URL: https://svnweb.freebsd.org/changeset/base/339375 Log: Import CK as of commit 5221ae2f3722a78c7fc41e47069ad94983d3bccb. This fixes two problems, one where epoch calls could occur before all the readers had exited the epoch

svn commit: r339372 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-10-15 Thread Alexander Motin
Author: mav Date: Mon Oct 15 21:59:24 2018 New Revision: 339372 URL: https://svnweb.freebsd.org/changeset/base/339372 Log: Skip VDEV_IO_DONE stage only for ZIO_TYPE_FREE. Device removal code uses zio_vdev_child_io() with ZIO_TYPE_NULL parent, that never happened before. It confused

svn commit: r339371 - in head/sys: compat/freebsd32 kern

2018-10-15 Thread Kyle Evans
Author: kevans Date: Mon Oct 15 21:35:57 2018 New Revision: 339371 URL: https://svnweb.freebsd.org/changeset/base/339371 Log: Correct COMPAT* macro names in syscalls.master Both ^/sys/compat/freebsd32/syscalls.master and ^/sys/kern/syscalls.master cited "COMPAT[n] #ifdef" instead of

svn commit: r339370 - head/lib/libc/string

2018-10-15 Thread Gleb Smirnoff
Author: glebius Date: Mon Oct 15 20:20:57 2018 New Revision: 339370 URL: https://svnweb.freebsd.org/changeset/base/339370 Log: Avoid OOB reads in memmem(3). commit 51bdcdc424bd7169c8cccdc2de7cad17f5ea0f70 Author: Alexander Monakov Date: Fri Jun 30 00:35:33 2017 +0300 fix

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

2018-10-15 Thread Yuri Pankov
Author: yuripv Date: Mon Oct 15 20:11:53 2018 New Revision: 339369 URL: https://svnweb.freebsd.org/changeset/base/339369 Log: pw: respect path specified using -V when writing pw.conf, and -C is not explicitly specified. -V path is already used to determine which file to read default values

Re: svn commit: r339349 - in head/sys/amd64: amd64 include

2018-10-15 Thread Mateusz Guzik
On 10/15/18, Gleb Smirnoff wrote: > Mateusz, > > On Sat, Oct 13, 2018 at 09:18:32PM +, Mateusz Guzik wrote: > M> Return is almost always 0. The change replaces 3 branches with 1 in the > common > M> case. > > This isn't true. For a webserver working with blocking sockets > returning

svn commit: r339368 - head/lib/libc/net

2018-10-15 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Oct 15 19:48:36 2018 New Revision: 339368 URL: https://svnweb.freebsd.org/changeset/base/339368 Log: Prevent flex(1) from generating calls to isatty(3) - and, in turn, TIOCGETA ioctls - when parsing nsswitch.conf(5). Reviewed by: imp, markj Approved by: re

Re: svn commit: r339349 - in head/sys/amd64: amd64 include

2018-10-15 Thread Gleb Smirnoff
Mateusz, On Sat, Oct 13, 2018 at 09:18:32PM +, Mateusz Guzik wrote: M> Return is almost always 0. The change replaces 3 branches with 1 in the common M> case. This isn't true. For a webserver working with blocking sockets returning EAGAIN for a very large number of syscalls is normal.

svn commit: r339367 - in head/sys: cddl/dev/fbt/riscv riscv/include riscv/riscv

2018-10-15 Thread John Baldwin
Author: jhb Date: Mon Oct 15 18:56:54 2018 New Revision: 339367 URL: https://svnweb.freebsd.org/changeset/base/339367 Log: Various fixes for TLB management on RISC-V. - Remove the arm64-specific cpu_*cache* and cpu_tlb_flush* functions. Instead, add RISC-V specific inline functions in

svn commit: r339366 - head/sys/dev/bxe

2018-10-15 Thread David C Somayajulu
Author: davidcs Date: Mon Oct 15 18:39:33 2018 New Revision: 339366 URL: https://svnweb.freebsd.org/changeset/base/339366 Log: Add support for Error Recovery Submitted by:vaishali.kulka...@cavium.com Approved by:re(kib) MFC after:5 days Modified: head/sys/dev/bxe/bxe.c

svn commit: r339365 - head/share/man/man4

2018-10-15 Thread Mark Johnston
Author: markj Date: Mon Oct 15 18:28:34 2018 New Revision: 339365 URL: https://svnweb.freebsd.org/changeset/base/339365 Log: Typo. Submitted by: Fred Schlechter Approved by: re (gjb) MFC after:3 days Modified: head/share/man/man4/dtrace_ip.4 Modified:

svn commit: r339364 - head/sys/amd64/vmm/amd

2018-10-15 Thread John Baldwin
Author: jhb Date: Mon Oct 15 18:12:25 2018 New Revision: 339364 URL: https://svnweb.freebsd.org/changeset/base/339364 Log: Reload the LDT selector after an AMD-v #VMEXIT. cpu_switch() always reloads the LDT, so this can only affect the hypervisor process itself. Fix this by explicitly

svn commit: r339363 - head/lib/libc/net

2018-10-15 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Oct 15 17:50:02 2018 New Revision: 339363 URL: https://svnweb.freebsd.org/changeset/base/339363 Log: Don't call dlopen(3) for built-in NSS types - "cache", "compat", "dns", "files", "db", and "nis". It saves some path lookups during binary startup. Reviewed by:

svn commit: r339362 - in head/sys: conf dev/ixl modules/iavf

2018-10-15 Thread Eric Joyner
Author: erj Date: Mon Oct 15 17:23:41 2018 New Revision: 339362 URL: https://svnweb.freebsd.org/changeset/base/339362 Log: iavf(4): Finish rename/rebrand internally Rename functions and variables from ixlv to iavf to match the user-facing name change. There shouldn't be any functional

svn commit: r339361 - head

2018-10-15 Thread Glen Barber
) @@ -38,6 +38,19 @@ # xargs -n1 | sort | uniq -d; # done +# 20181015: Stale libcasper(3) files following 20181009: OpenSSL 1.1.1 +OLD_LIBS+=lib/casper/libcap_sysctl.so.0 +OLD_LIBS+=lib/casper/libcap_grp.so.0 +OLD_LIBS+=lib/casper/libcap_pwd.so.0 +OLD_LIBS+=lib/casper/libcap_random.so.0 +OLD_LIBS+=lib

svn commit: r339360 - head/sys/powerpc/powerpc

2018-10-15 Thread Leandro Lupori
Author: luporl Date: Mon Oct 15 16:43:07 2018 New Revision: 339360 URL: https://svnweb.freebsd.org/changeset/base/339360 Log: Initialize SPRG0 before its first possible use At early boot, PCPU_GET(), that obtains a pointer from SPRG0, was being used with SPRG0 not yet initialized. If it

Re: svn commit: r339350 - head/contrib/elftoolchain/elfcopy

2018-10-15 Thread Ed Maste
On Mon, 15 Oct 2018 at 07:13, Ed Maste wrote: > > Hi Antoine, did you bisect to this rev or does it just look like the > most probable candidate? Can you copy a pair of differing .o files > (say, gcc/cc1plus-checksum.o) from the work dir to freefall? Antoine provided a tarball of the work dir to

Re: svn commit: r339350 - head/contrib/elftoolchain/elfcopy

2018-10-15 Thread Ed Maste
On Mon, 15 Oct 2018 at 05:43, Antoine Brodin wrote: > > On Sat, Oct 13, 2018 at 11:26 PM Ed Maste wrote: > > > > Author: emaste > > Date: Sat Oct 13 21:26:07 2018 > > New Revision: 339350 > > URL: https://svnweb.freebsd.org/changeset/base/339350 > > > > Log: > > elfcopy: delete filter_reloc,

svn commit: r339358 - head/sys/net

2018-10-15 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 15 10:29:29 2018 New Revision: 339358 URL: https://svnweb.freebsd.org/changeset/base/339358 Log: Fix deadlock when destroying VLANs. Synchronizing the epoch before freeing the multicast addresses while holding the VLAN_XLOCK() might lead to a deadlock. Use

svn commit: r339357 - head/sys/netpfil/ipfw

2018-10-15 Thread Andrey V. Elsukov
Author: ae Date: Mon Oct 15 10:25:34 2018 New Revision: 339357 URL: https://svnweb.freebsd.org/changeset/base/339357 Log: Add extra parentheses to fix "versrcreach" opcode, (oif != NULL) should not be used as condition for ternary operator. Submitted by: Tatsuki Makino Approved by:

Re: svn commit: r339350 - head/contrib/elftoolchain/elfcopy

2018-10-15 Thread Antoine Brodin
On Sat, Oct 13, 2018 at 11:26 PM Ed Maste wrote: > > Author: emaste > Date: Sat Oct 13 21:26:07 2018 > New Revision: 339350 > URL: https://svnweb.freebsd.org/changeset/base/339350 > > Log: > elfcopy: delete filter_reloc, it is broken and unnecessary > > elfcopy contained logic to filter