svn commit: r323383 - in head/sys/dev: mpr mps

2017-09-09 Thread Scott Long
Author: scottl Date: Sun Sep 10 04:09:18 2017 New Revision: 323383 URL: https://svnweb.freebsd.org/changeset/base/323383 Log: More code refactoring in preparation for enabling multiqueue. Sponsored by: Netflix Modified: head/sys/dev/mpr/mpr.c head/sys/dev/mps/mps.c Modified:

svn commit: r323382 - head/contrib/zlib

2017-09-09 Thread Marius Strobl
Author: marius Date: Sun Sep 10 01:25:15 2017 New Revision: 323382 URL: https://svnweb.freebsd.org/changeset/base/323382 Log: MFV: r323381 Permit a deflateParams() parameter change as soon as possible. This change fixes compression errors seen when the embedded Tomcat web server of

Re: svn commit: r323365 - in head: cddl/lib/libzpool gnu/usr.bin/binutils/libbfd usr.bin/svn/lib/libsvn_client

2017-09-09 Thread Ngie Cooper (yaneurabeya)
> On Sep 9, 2017, at 14:51, Konstantin Belousov wrote: … > Then, why peigen.c was left in the SRCS ? I’m not sure, but you might have thought peigen.c and pepigen.c were the same file. If so, they’re not — they have slightly different spelling. HTH, -Ngie signature.asc

svn commit: r323380 - in head/sys/dev: mpr mps

2017-09-09 Thread Scott Long
Author: scottl Date: Sat Sep 9 22:02:36 2017 New Revision: 323380 URL: https://svnweb.freebsd.org/changeset/base/323380 Log: Convert some in-line printing of diagnostic into tables. Sponsored by: Netflix Modified: head/sys/dev/mpr/mpr_sas.c head/sys/dev/mpr/mpr_table.c

Re: svn commit: r323365 - in head: cddl/lib/libzpool gnu/usr.bin/binutils/libbfd usr.bin/svn/lib/libsvn_client

2017-09-09 Thread Konstantin Belousov
On Sat, Sep 09, 2017 at 12:56:20PM -0700, Ngie Cooper (yaneurabeya) wrote: > > > On Sep 9, 2017, at 11:35, Konstantin Belousov wrote: > > > > On Sat, Sep 09, 2017 at 01:18:33PM +, Jonathan Anderson wrote: > >> Author: jonathan > >> Date: Sat Sep 9 13:18:32 2017 > >>

svn commit: r323379 - head/sys/boot/common

2017-09-09 Thread Warner Losh
Author: imp Date: Sat Sep 9 21:33:43 2017 New Revision: 323379 URL: https://svnweb.freebsd.org/changeset/base/323379 Log: It's been pointed out that init_script at least is useful w/o re-rooting. Remove deprecation notice for it. init_chroot likely is still better served with reroot.

svn commit: r323378 - head/sys/netinet

2017-09-09 Thread Michael Tuexen
Author: tuexen Date: Sat Sep 9 21:03:40 2017 New Revision: 323378 URL: https://svnweb.freebsd.org/changeset/base/323378 Log: Fix MTU computation. Coverity scanning usrsctp pointed to this code... MFC after:3 days Modified: head/sys/netinet/sctp_output.c Modified:

svn commit: r323377 - head/sys/netinet6

2017-09-09 Thread Michael Tuexen
Author: tuexen Date: Sat Sep 9 20:51:54 2017 New Revision: 323377 URL: https://svnweb.freebsd.org/changeset/base/323377 Log: Fix a locking issue found by Coverity scanning the usrsctp library. MFC after:3 days Modified: head/sys/netinet6/sctp6_usrreq.c Modified:

svn commit: r323376 - head/sys/netinet

2017-09-09 Thread Michael Tuexen
Author: tuexen Date: Sat Sep 9 20:44:56 2017 New Revision: 323376 URL: https://svnweb.freebsd.org/changeset/base/323376 Log: Fix locking issues found by Coverity scanning the usrsctp library. MFC after:3 days Modified: head/sys/netinet/sctp_usrreq.c Modified:

Re: svn commit: r323371 - head/sys/conf

2017-09-09 Thread Cy Schubert
Cy Schubert writes: > In message , Sean Bruno > write > s: > > This is an OpenPGP/MIME signed message (RFC 4880 and 3156) > > --TihrB0CKT3jqUaMs7S3eH1inAg6bsh5sX > > Content-Type: multipart/mixed; boundary="6nk2xUFgscbwBqdTs6JuLWhnhbTJx5KiL" > ; >

Re: svn commit: r323375 - head/sys/modules/uart

2017-09-09 Thread Cy Schubert
In message <201709092014.v89keitk099...@repo.freebsd.org>, Warner Losh writes: > Author: imp > Date: Sat Sep 9 20:14:18 2017 > New Revision: 323375 > URL: https://svnweb.freebsd.org/changeset/base/323375 > > Log: > Don't build uart_dev_mvebu unless we're on arm64. > > This module is

Re: svn commit: r323371 - head/sys/conf

2017-09-09 Thread Cy Schubert
In message , Sean Bruno write s: > This is an OpenPGP/MIME signed message (RFC 4880 and 3156) > --TihrB0CKT3jqUaMs7S3eH1inAg6bsh5sX > Content-Type: multipart/mixed; boundary="6nk2xUFgscbwBqdTs6JuLWhnhbTJx5KiL"; > protected-headers="v1" > From:

svn commit: r323375 - head/sys/modules/uart

2017-09-09 Thread Warner Losh
Author: imp Date: Sat Sep 9 20:14:18 2017 New Revision: 323375 URL: https://svnweb.freebsd.org/changeset/base/323375 Log: Don't build uart_dev_mvebu unless we're on arm64. This module is specific to a single Marvel board that we currently only support in 64-bit mode. Remove it from the

svn commit: r323374 - head/sys/netinet

2017-09-09 Thread Michael Tuexen
Author: tuexen Date: Sat Sep 9 20:08:26 2017 New Revision: 323374 URL: https://svnweb.freebsd.org/changeset/base/323374 Log: Silence a Coverity warning from scanning the usrsctp library. MFC after:3 days Modified: head/sys/netinet/sctp_pcb.c Modified: head/sys/netinet/sctp_pcb.c

svn commit: r323373 - head/sys/conf

2017-09-09 Thread Sean Bruno
Author: sbruno Date: Sat Sep 9 20:07:04 2017 New Revision: 323373 URL: https://svnweb.freebsd.org/changeset/base/323373 Log: revert r323371 in prepartion for a proper fix Submitted by: imp Modified: head/sys/conf/files head/sys/conf/files.arm64 Modified: head/sys/conf/files

Re: svn commit: r323371 - head/sys/conf

2017-09-09 Thread Warner Losh
On Sat, Sep 9, 2017 at 1:57 PM, Sean Bruno wrote: > > > On 09/09/17 13:51, Warner Losh wrote: > > > > > > On Sat, Sep 9, 2017 at 1:19 PM, Sean Bruno > > wrote: > > > > Author: sbruno > > Date: Sat Sep 9 19:19:13 2017 >

Re: svn commit: r323371 - head/sys/conf

2017-09-09 Thread Sean Bruno
On 09/09/17 13:38, Cy Schubert wrote: > In message <201709091919.v89jje8z075...@repo.freebsd.org>, Sean Bruno > writes: >> Author: sbruno >> Date: Sat Sep 9 19:19:13 2017 >> New Revision: 323371 >> URL: https://svnweb.freebsd.org/changeset/base/323371 >> >> Log: >> r323359 instroduced an

Re: svn commit: r323371 - head/sys/conf

2017-09-09 Thread Sean Bruno
On 09/09/17 13:51, Warner Losh wrote: > > > On Sat, Sep 9, 2017 at 1:19 PM, Sean Bruno > wrote: > > Author: sbruno > Date: Sat Sep 9 19:19:13 2017 > New Revision: 323371 > URL: https://svnweb.freebsd.org/changeset/base/323371 >

Re: svn commit: r323365 - in head: cddl/lib/libzpool gnu/usr.bin/binutils/libbfd usr.bin/svn/lib/libsvn_client

2017-09-09 Thread Ngie Cooper (yaneurabeya)
> On Sep 9, 2017, at 11:35, Konstantin Belousov wrote: > > On Sat, Sep 09, 2017 at 01:18:33PM +, Jonathan Anderson wrote: >> Author: jonathan >> Date: Sat Sep 9 13:18:32 2017 >> New Revision: 323365 >> URL: https://svnweb.freebsd.org/changeset/base/323365 >> >> Log:

Re: svn commit: r323371 - head/sys/conf

2017-09-09 Thread Warner Losh
On Sat, Sep 9, 2017 at 1:19 PM, Sean Bruno wrote: > Author: sbruno > Date: Sat Sep 9 19:19:13 2017 > New Revision: 323371 > URL: https://svnweb.freebsd.org/changeset/base/323371 > > Log: > r323359 instroduced an ARMv8 only uart(4) device to the tree but placed > the

svn commit: r323372 - head/sys/netinet

2017-09-09 Thread Michael Tuexen
Author: tuexen Date: Sat Sep 9 19:49:50 2017 New Revision: 323372 URL: https://svnweb.freebsd.org/changeset/base/323372 Log: Savely remove a chunk from the control queue. This bug was found by Coverity scanning the usrsctp library. MFC after:3 days Modified:

Re: svn commit: r323371 - head/sys/conf

2017-09-09 Thread Cy Schubert
In message <201709091919.v89jje8z075...@repo.freebsd.org>, Sean Bruno writes: > Author: sbruno > Date: Sat Sep 9 19:19:13 2017 > New Revision: 323371 > URL: https://svnweb.freebsd.org/changeset/base/323371 > > Log: > r323359 instroduced an ARMv8 only uart(4) device to the tree but placed >

svn commit: r323371 - head/sys/conf

2017-09-09 Thread Sean Bruno
Author: sbruno Date: Sat Sep 9 19:19:13 2017 New Revision: 323371 URL: https://svnweb.freebsd.org/changeset/base/323371 Log: r323359 instroduced an ARMv8 only uart(4) device to the tree but placed the driver in a place where it will be built for all targets. x86 doesn't have all the

Re: svn commit: r323359 - in head/sys: conf dev/uart modules/uart

2017-09-09 Thread Ian Lepore
On Sat, 2017-09-09 at 12:45 -0600, Sean Bruno wrote: > > On 09/09/17 12:20, Ian Lepore wrote: > > > > On Sat, 2017-09-09 at 12:09 -0600, Sean Bruno wrote: > > > > > > > > > On 09/09/17 05:42, Marcin Wojtas wrote: > > > > > > > > > > > > Author: mw > > > > Date: Sat Sep  9 11:42:32 2017 > > >

Re: svn commit: r323359 - in head/sys: conf dev/uart modules/uart

2017-09-09 Thread Sean Bruno
On 09/09/17 12:20, Ian Lepore wrote: > On Sat, 2017-09-09 at 12:09 -0600, Sean Bruno wrote: >> >> On 09/09/17 05:42, Marcin Wojtas wrote: >>> >>> Author: mw >>> Date: Sat Sep 9 11:42:32 2017 >>> New Revision: 323359 >>> URL: https://svnweb.freebsd.org/changeset/base/323359 >>> >>> Log: >>>

svn commit: r323370 - in head/sys/dev: mpr mps

2017-09-09 Thread Scott Long
Author: scottl Date: Sat Sep 9 18:39:55 2017 New Revision: 323370 URL: https://svnweb.freebsd.org/changeset/base/323370 Log: Remove the unnecessary use of a temporary string buffer. Sponsored by: Netflix Modified: head/sys/dev/mpr/mpr_sas.c head/sys/dev/mpr/mprvar.h

Re: svn commit: r323365 - in head: cddl/lib/libzpool gnu/usr.bin/binutils/libbfd usr.bin/svn/lib/libsvn_client

2017-09-09 Thread Konstantin Belousov
On Sat, Sep 09, 2017 at 01:18:33PM +, Jonathan Anderson wrote: > Author: jonathan > Date: Sat Sep 9 13:18:32 2017 > New Revision: 323365 > URL: https://svnweb.freebsd.org/changeset/base/323365 > > Log: > Remove redundant source and object files. > Modified:

Re: svn commit: r323359 - in head/sys: conf dev/uart modules/uart

2017-09-09 Thread Ian Lepore
On Sat, 2017-09-09 at 12:09 -0600, Sean Bruno wrote: > > On 09/09/17 05:42, Marcin Wojtas wrote: > > > > Author: mw > > Date: Sat Sep  9 11:42:32 2017 > > New Revision: 323359 > > URL: https://svnweb.freebsd.org/changeset/base/323359 > > > > Log: > >   Introduce UART driver module for Armada

Re: svn commit: r323359 - in head/sys: conf dev/uart modules/uart

2017-09-09 Thread Sean Bruno
On 09/09/17 05:42, Marcin Wojtas wrote: > Author: mw > Date: Sat Sep 9 11:42:32 2017 > New Revision: 323359 > URL: https://svnweb.freebsd.org/changeset/base/323359 > > Log: > Introduce UART driver module for Armada 3700 > > This patch adds support for UART in Armada 3700 family. > It

svn commit: r323369 - in head/sys/dev: mpr mps

2017-09-09 Thread Scott Long
Author: scottl Date: Sat Sep 9 18:03:40 2017 New Revision: 323369 URL: https://svnweb.freebsd.org/changeset/base/323369 Log: Start separating the LSI drivers into per-queue structures. No functional change. Sponsored by: Netflix Modified: head/sys/dev/mpr/mpr.c

svn commit: r323368 - head/sys/vm

2017-09-09 Thread Konstantin Belousov
Author: kib Date: Sat Sep 9 17:35:19 2017 New Revision: 323368 URL: https://svnweb.freebsd.org/changeset/base/323368 Log: Add a vm_page_change_lock() helper, the common code to not relock page lock if both old and new pages use the same underlying lock. Convert existing places to use the

svn commit: r323367 - head/sys/boot/common

2017-09-09 Thread Warner Losh
Author: imp Date: Sat Sep 9 16:04:49 2017 New Revision: 323367 URL: https://svnweb.freebsd.org/changeset/base/323367 Log: Mark init_chroot and init_script variables as deprecated. Modified: head/sys/boot/common/loader.8 Modified: head/sys/boot/common/loader.8

Re: svn commit: r323365 - in head: cddl/lib/libzpool gnu/usr.bin/binutils/libbfd usr.bin/svn/lib/libsvn_client

2017-09-09 Thread O. Hartmann
Am Sat, 9 Sep 2017 13:18:33 + (UTC) Jonathan Anderson schrieb: This bug has just been introduced in the transition r323342 -> r323365: [...] building shared library libncurses.so.8 --- lib/libgeom__L --- /usr/obj/usr/src/tmp/usr/bin/ld:

svn commit: r323365 - in head: cddl/lib/libzpool gnu/usr.bin/binutils/libbfd usr.bin/svn/lib/libsvn_client

2017-09-09 Thread Jonathan Anderson
Author: jonathan Date: Sat Sep 9 13:18:32 2017 New Revision: 323365 URL: https://svnweb.freebsd.org/changeset/base/323365 Log: Remove redundant source and object files. Reviewed by: bdrewery, ngie MFC after:1 week Sponsored by: DARPA, AFRL Differential Revision:

Re: svn commit: r323351 - head/sys/compat/linuxkpi/common/include/linux

2017-09-09 Thread Hans Petter Selasky
On 09/09/17 13:10, Andrey V. Elsukov wrote: On 09.09.2017 10:21, Hans Petter Selasky wrote: Author: hselasky Date: Sat Sep 9 07:21:27 2017 New Revision: 323351 URL: https://svnweb.freebsd.org/changeset/base/323351 This doesn't look right. We use s6_addr16[1] to keep scope zone id. And

svn commit: r323364 - head/sys/compat/linuxkpi/common/include/linux

2017-09-09 Thread Hans Petter Selasky
Author: hselasky Date: Sat Sep 9 12:50:12 2017 New Revision: 323364 URL: https://svnweb.freebsd.org/changeset/base/323364 Log: Only search the scope ID in ip6_find_dev() for IPv6 addresses which have a scope ID. Change size of the searched scope ID to the full 16-bits. There can typically

svn commit: r323363 - head/sys/arm64/conf

2017-09-09 Thread Marcin Wojtas
Author: mw Date: Sat Sep 9 11:56:48 2017 New Revision: 323363 URL: https://svnweb.freebsd.org/changeset/base/323363 Log: Enable compilation of Marvell NETA controller with arm64 GENERIC This patch enables network operation on Marvell Armada 3700 SoC. Submitted by: Patryk Duda

svn commit: r323362 - in head/sys: conf dev/neta

2017-09-09 Thread Marcin Wojtas
Author: mw Date: Sat Sep 9 11:54:04 2017 New Revision: 323362 URL: https://svnweb.freebsd.org/changeset/base/323362 Log: Add support for Armada 3700 in the NETA driver This patch enables using NETA driver on Marvell Armada 3700 SoC by introducing new compatible string, modifying clock

svn commit: r323361 - head/sys/dev/neta

2017-09-09 Thread Marcin Wojtas
Author: mw Date: Sat Sep 9 11:49:36 2017 New Revision: 323361 URL: https://svnweb.freebsd.org/changeset/base/323361 Log: Store virtual address of buffer in mvneta_rx_ring Now the virtual address of received buffer is taken from a software ring. Thanks to this, we can use the NETA driver

svn commit: r323360 - head/sys/arm64/conf

2017-09-09 Thread Marcin Wojtas
Author: mw Date: Sat Sep 9 11:46:34 2017 New Revision: 323360 URL: https://svnweb.freebsd.org/changeset/base/323360 Log: Add support for uart_mvebu driver arm64 GENERIC config This patch enables console output on Armada 3700 SoCs with kernel GENERIC. Submitted by: Patryk Duda

svn commit: r323359 - in head/sys: conf dev/uart modules/uart

2017-09-09 Thread Marcin Wojtas
Author: mw Date: Sat Sep 9 11:42:32 2017 New Revision: 323359 URL: https://svnweb.freebsd.org/changeset/base/323359 Log: Introduce UART driver module for Armada 3700 This patch adds support for UART in Armada 3700 family. It exposes both low-level UART interface, as well as standard

svn commit: r323358 - head/sys/arm64/conf

2017-09-09 Thread Marcin Wojtas
Author: mw Date: Sat Sep 9 11:16:10 2017 New Revision: 323358 URL: https://svnweb.freebsd.org/changeset/base/323358 Log: Enable compilation of Marvell EHCI driver in arm64 GENERIC Enabled driver can be used on boards equipped with Marvell Armada 3700 SoC. Submitted by: Patryk Duda

Re: svn commit: r323351 - head/sys/compat/linuxkpi/common/include/linux

2017-09-09 Thread Andrey V. Elsukov
On 09.09.2017 10:21, Hans Petter Selasky wrote: > Author: hselasky > Date: Sat Sep 9 07:21:27 2017 > New Revision: 323351 > URL: https://svnweb.freebsd.org/changeset/base/323351 > > Log: > Resolve IPv6 scope ID issues when using ip6_find_dev() in the LinuxKPI. > > Workaround problem that

svn commit: r323357 - in head/sys: conf dev/usb/controller

2017-09-09 Thread Marcin Wojtas
Author: mw Date: Sat Sep 9 11:06:58 2017 New Revision: 323357 URL: https://svnweb.freebsd.org/changeset/base/323357 Log: Add support for Armada 3700 EHCI This patch reuses ehci_mv driver by adding a support for the new compatible string and adding ehci_mv.c to list of available options

svn commit: r323356 - head/sys/dev/ahci

2017-09-09 Thread Marcin Wojtas
Author: mw Date: Sat Sep 9 11:01:44 2017 New Revision: 323356 URL: https://svnweb.freebsd.org/changeset/base/323356 Log: Add support for AHCI in Armada 3700 This patch simply AHCI generic driver by extending compatible list. Submitted by: Patryk Duda Obtained

svn commit: r323355 - in head: cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/f...

2017-09-09 Thread Andriy Gapon
Author: avg Date: Sat Sep 9 11:00:07 2017 New Revision: 323355 URL: https://svnweb.freebsd.org/changeset/base/323355 Log: MFV r323107: 8414 Implemented zpool scrub pause/resume illumos/illumos-gate@1702cce751c5cb7ead878d0205a6c90b027e3de8

svn commit: r323354 - head/sys/arm64/conf

2017-09-09 Thread Marcin Wojtas
Author: mw Date: Sat Sep 9 10:58:45 2017 New Revision: 323354 URL: https://svnweb.freebsd.org/changeset/base/323354 Log: Enable compilation of Marvell XHCI driver in arm64 GENERIC Enabled driver can be used on boards equipped with Marvell Armada 3700/7k/8k SoCs. Submitted by:

svn commit: r323353 - in head/sys: conf dev/usb/controller

2017-09-09 Thread Marcin Wojtas
Author: mw Date: Sat Sep 9 10:54:13 2017 New Revision: 323353 URL: https://svnweb.freebsd.org/changeset/base/323353 Log: Add support for xhci in Armada 3700 and 7k/8k This driver will be used by Marvell Armada 3700 and 7k/8k SoC families. The same, generic xhci device also appears in

Re: svn commit: r323329 - head/sys/sys

2017-09-09 Thread Bruce Evans
On Sat, 9 Sep 2017, David Chisnall wrote: On 8 Sep 2017, at 21:09, Mateusz Guzik wrote: Author: mjg Date: Fri Sep 8 20:09:14 2017 New Revision: 323329 URL: https://svnweb.freebsd.org/changeset/base/323329 Log: Allow __builtin_memset instead of bzero for small buffers of

svn commit: r323352 - head/usr.bin/netstat

2017-09-09 Thread Michael Tuexen
Author: tuexen Date: Sat Sep 9 07:48:58 2017 New Revision: 323352 URL: https://svnweb.freebsd.org/changeset/base/323352 Log: The combination of IPv6 and SCTP is also supported. MFC after:1 week Modified: head/usr.bin/netstat/netstat.1 Modified: head/usr.bin/netstat/netstat.1

Re: svn commit: r323346 - in head/sys: powerpc/powerpc riscv/riscv

2017-09-09 Thread Bruce Evans
On Sat, 9 Sep 2017, Mateusz Guzik wrote: Log: Fix riscv and powerpc compilation after r323329. On these archs bzero is a C function, which triggers a compilation error as the compiler tries to expand the macro. bzero() is a C function on all arches. It is just written in C on these

svn commit: r323351 - head/sys/compat/linuxkpi/common/include/linux

2017-09-09 Thread Hans Petter Selasky
Author: hselasky Date: Sat Sep 9 07:21:27 2017 New Revision: 323351 URL: https://svnweb.freebsd.org/changeset/base/323351 Log: Resolve IPv6 scope ID issues when using ip6_find_dev() in the LinuxKPI. Workaround problem that ifa_ifwithaddr() also matches the scope ID of the IPv6 address

Re: svn commit: r323329 - head/sys/sys

2017-09-09 Thread David Chisnall
On 8 Sep 2017, at 21:09, Mateusz Guzik wrote: > > Author: mjg > Date: Fri Sep 8 20:09:14 2017 > New Revision: 323329 > URL: https://svnweb.freebsd.org/changeset/base/323329 > > Log: > Allow __builtin_memset instead of bzero for small buffers of known size This change seems

Re: svn commit: r323192 - head/contrib/binutils/opcodes

2017-09-09 Thread Bruce Evans
On Tue, 5 Sep 2017, Ryan Libby wrote: Log: gnu binutils: FSGSBASE assembly/disassembly Enable the in-tree binutils to assemble and disassemble amd64 FSGSBASE instructions (rdfsbase, rdgsbase, wrfsbase, wrgsbase), used in the base system since r322763. Thanks. This gives one last gasp

Re: svn commit: r323329 - head/sys/sys

2017-09-09 Thread Bruce Evans
On Fri, 8 Sep 2017, Ngie Cooper (yaneurabeya) wrote: On Sep 8, 2017, at 13:09, Mateusz Guzik wrote: ... Log: Allow __builtin_memset instead of bzero for small buffers of known size This change breaks all platforms that use gcc. If it???s not reverted in the next 3 hours,

svn commit: r323350 - head/sys/ofed/drivers/infiniband/core

2017-09-09 Thread Hans Petter Selasky
Author: hselasky Date: Sat Sep 9 06:34:20 2017 New Revision: 323350 URL: https://svnweb.freebsd.org/changeset/base/323350 Log: Remove unsafe access to the LinuxKPI file structure from ibcore. selwakeup() is now done by the wake_up() family of functions. MFC after:1 week

svn commit: r323349 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src sys

2017-09-09 Thread Hans Petter Selasky
Author: hselasky Date: Sat Sep 9 06:29:29 2017 New Revision: 323349 URL: https://svnweb.freebsd.org/changeset/base/323349 Log: Properly implement poll_wait() in the LinuxKPI. This prevents direct use of the linux_poll_wakeup() function from unsafe contexts, which can lead to use-after-free

svn commit: r323348 - head/usr.bin/tail/tests

2017-09-09 Thread Ngie Cooper
Author: ngie Date: Sat Sep 9 06:24:21 2017 New Revision: 323348 URL: https://svnweb.freebsd.org/changeset/base/323348 Log: Unbreak :broken_pipe - Capture exit code in pipeline and test in output. - Drop awk use in favor of `sleep 2`. This helps guarantee the EPIPE behavior without

Re: svn commit: r322941 - head/sys/boot/efi/boot1

2017-09-09 Thread Tomoaki AOKI
On Sat, 2 Sep 2017 11:26:50 -0600 Warner Losh wrote: > On Sat, Sep 2, 2017 at 11:25 AM, Warner Losh wrote: > > > > > > > On Sat, Sep 2, 2017 at 1:43 AM, Tomoaki AOKI > > wrote: > > > >> Hi. > >> > >> This broke boot drive selection

svn commit: r323347 - head/sys/compat/linuxkpi/common/include/linux

2017-09-09 Thread Hans Petter Selasky
Author: hselasky Date: Sat Sep 9 06:04:05 2017 New Revision: 323347 URL: https://svnweb.freebsd.org/changeset/base/323347 Log: Add more sanity checks to linux_fget() in the LinuxKPI. This prevents returning pointers to file descriptors which were not created by the LinuxKPI. MFC