svn commit: r315370 - head/sys/vm

2017-03-15 Thread Xin LI
Author: delphij Date: Thu Mar 16 05:44:16 2017 New Revision: 315370 URL: https://svnweb.freebsd.org/changeset/base/315370 Log: The adj_free and max_free values of new_entry will be calculated and assigned by subsequent vm_map_entry_link(), therefore, remove the pointless copying.

Re: svn commit: r315136 - head/sys/netpfil/pf

2017-03-15 Thread John Baldwin
On Thursday, March 16, 2017 11:32:38 AM Kristof Provost wrote: > On 15 Mar 2017, at 15:45, John Baldwin wrote: > > You are ignoring interrupts and preemption. Suppose you get an > > interrupt > > after 'wakeup_one(pf_purge_thread)' and before 'tsleep(..., 0)' in > > pf_unload(). If the

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

2017-03-15 Thread Conrad Meyer
I don't have much to add. Warner is totally correct here. It is a (good) style cleanup with no functional change. Let's leave it alone. Thanks, Conrad On Wed, Mar 15, 2017 at 9:53 PM, Warner Losh wrote: > On Wed, Mar 15, 2017 at 10:44 PM, Ngie Cooper (yaneurabeya) >

Re: svn commit: r315333 - in stable/10/sys: conf dev/ixgbe modules/ix modules/ixv

2017-03-15 Thread Ngie Cooper (yaneurabeya)
> On Mar 15, 2017, at 14:20, Eric Joyner wrote: > > Author: erj > Date: Wed Mar 15 21:20:17 2017 > New Revision: 315333 > URL: https://svnweb.freebsd.org/changeset/base/315333 > > Log: > ixgbe(4): Update to 3.2.11-k > > Includes: > > 1. Support for X553 (Denverton)

svn commit: r315369 - stable/11/sys/geom

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 04:58:12 2017 New Revision: 315369 URL: https://svnweb.freebsd.org/changeset/base/315369 Log: MFC r310345: r310345 (by sephe): build: Unbreak LINT Modified: stable/11/sys/geom/geom_map.c Directory Properties: stable/11/ (props changed) Modified:

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

2017-03-15 Thread Ngie Cooper (yaneurabeya)
> On Mar 15, 2017, at 21:53, Warner Losh wrote: > > On Wed, Mar 15, 2017 at 10:44 PM, Ngie Cooper (yaneurabeya) > wrote: >> >>> On Mar 15, 2017, at 21:32, Warner Losh wrote: >>> >>> On Wed, Mar 15, 2017 at 8:31 PM, Ngie Cooper

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

2017-03-15 Thread Warner Losh
On Wed, Mar 15, 2017 at 10:44 PM, Ngie Cooper (yaneurabeya) wrote: > >> On Mar 15, 2017, at 21:32, Warner Losh wrote: >> >> On Wed, Mar 15, 2017 at 8:31 PM, Ngie Cooper wrote: >>> Author: ngie >>> Date: Thu Mar 16 02:31:42 2017 >>> New

Re: svn commit: r315230 - in head: etc/mtree tests/sys/geom tests/sys/geom/class/eli tests/sys/geom/eli

2017-03-15 Thread Ngie Cooper (yaneurabeya)
> On Mar 15, 2017, at 21:48, Ngie Cooper (yaneurabeya) > wrote: > >> >> On Mar 15, 2017, at 21:25, Allan Jude wrote: >> >> On 2017-03-15 01:22, Gleb Smirnoff wrote: >>> On Tue, Mar 14, 2017 at 07:00:22AM +, Ngie Cooper wrote: >>> N> Author:

Re: svn commit: r315230 - in head: etc/mtree tests/sys/geom tests/sys/geom/class/eli tests/sys/geom/eli

2017-03-15 Thread Ngie Cooper (yaneurabeya)
> On Mar 15, 2017, at 21:25, Allan Jude wrote: > > On 2017-03-15 01:22, Gleb Smirnoff wrote: >> On Tue, Mar 14, 2017 at 07:00:22AM +, Ngie Cooper wrote: >> N> Author: ngie >> N> Date: Tue Mar 14 07:00:22 2017 >> N> New Revision: 315230 >> N> URL:

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

2017-03-15 Thread Ngie Cooper (yaneurabeya)
> On Mar 15, 2017, at 21:32, Warner Losh wrote: > > On Wed, Mar 15, 2017 at 8:31 PM, Ngie Cooper wrote: >> Author: ngie >> Date: Thu Mar 16 02:31:42 2017 >> New Revision: 315360 >> URL: https://svnweb.freebsd.org/changeset/base/315360 >> >> Log: >> Return

svn commit: r315368 - in head/contrib/ipfilter: . iplang ipsd ipsend lib tools

2017-03-15 Thread Cy Schubert
Author: cy Date: Thu Mar 16 04:40:07 2017 New Revision: 315368 URL: https://svnweb.freebsd.org/changeset/base/315368 Log: calloc() and realloc() modernization. This commit replaces calloc calls, which called calloc() as if it were malloc() by allocating a multiple of objects as a sizeof

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

2017-03-15 Thread Warner Losh
On Wed, Mar 15, 2017 at 8:31 PM, Ngie Cooper wrote: > Author: ngie > Date: Thu Mar 16 02:31:42 2017 > New Revision: 315360 > URL: https://svnweb.freebsd.org/changeset/base/315360 > > Log: > Return NULL instead of 0 on failure in _kvm_open, kvm_open{,2,files} > > This is

Re: svn commit: r315230 - in head: etc/mtree tests/sys/geom tests/sys/geom/class/eli tests/sys/geom/eli

2017-03-15 Thread Allan Jude
On 2017-03-15 01:22, Gleb Smirnoff wrote: > On Tue, Mar 14, 2017 at 07:00:22AM +, Ngie Cooper wrote: > N> Author: ngie > N> Date: Tue Mar 14 07:00:22 2017 > N> New Revision: 315230 > N> URL: https://svnweb.freebsd.org/changeset/base/315230 > N> > N> Log: > N> Move .../sys/geom/eli/pbkdf2...

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

2017-03-15 Thread Ngie Cooper (yaneurabeya)
> On Mar 15, 2017, at 21:00, Bruce Evans wrote: > > On Thu, 16 Mar 2017, Ngie Cooper wrote: > >> Log: >> Tweak r315363 slightly >> >> I noticed after commit that kvm_dpcpu_setcpu was defined in the manpage. >> Thus, the correct macro for the function reference is .Fn,

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

2017-03-15 Thread Bruce Evans
On Thu, 16 Mar 2017, Ngie Cooper wrote: Log: Tweak r315363 slightly I noticed after commit that kvm_dpcpu_setcpu was defined in the manpage. Thus, the correct macro for the function reference is .Fn, not .Xr. Is .Xr ever correct for a function? I think it names man pages, not functions,

svn commit: r315367 - stable/11/sys/dev/uart

2017-03-15 Thread Ian Lepore
Author: ian Date: Thu Mar 16 03:49:06 2017 New Revision: 315367 URL: https://svnweb.freebsd.org/changeset/base/315367 Log: MFC r314918, r314919: Add the pnp id for a Wacom 'WACF00e' tablet. Update the comment for the Wacom WACF00e to make it clear it's not an accidental

svn commit: r315366 - stable/11/sys/arm/ti/cpsw

2017-03-15 Thread Ian Lepore
Author: ian Date: Thu Mar 16 03:41:31 2017 New Revision: 315366 URL: https://svnweb.freebsd.org/changeset/base/315366 Log: MFC r310189: Fix sscanf() format string to match an argument. This also fixes kernel build after r310171. Modified: stable/11/sys/arm/ti/cpsw/if_cpsw.c Directory

svn commit: r315365 - head/lib/libkvm

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 03:24:15 2017 New Revision: 315365 URL: https://svnweb.freebsd.org/changeset/base/315365 Log: Tweak r315363 slightly I noticed after commit that kvm_dpcpu_setcpu was defined in the manpage. Thus, the correct macro for the function reference is .Fn, not .Xr.

svn commit: r315364 - head/sys/amd64/vmm

2017-03-15 Thread Peter Grehan
Author: grehan Date: Thu Mar 16 03:21:42 2017 New Revision: 315364 URL: https://svnweb.freebsd.org/changeset/base/315364 Log: Hide the AMD MONITORX/MWAITX capability. Otherwise, recent Linux guests will use these instructions, resulting in #UD exceptions since bhyve doesn't implement

svn commit: r315363 - head/lib/libkvm

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 03:20:59 2017 New Revision: 315363 URL: https://svnweb.freebsd.org/changeset/base/315363 Log: Fix manlint errors - Add missing comma after kvm_dpcpu_setcpu .Nm macro use (multiple .Nm entries should be separated by commas) - Add missing section for

svn commit: r315362 - head/lib/libkvm

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 03:18:06 2017 New Revision: 315362 URL: https://svnweb.freebsd.org/changeset/base/315362 Log: Capitalize .Dt macro argument By convention, per mdoc(7), the document title should be all caps. MFC after:1 week Sponsored by: Dell EMC Isilon Modified:

svn commit: r315361 - in head/sys/x86: include x86

2017-03-15 Thread Peter Grehan
Author: grehan Date: Thu Mar 16 03:06:50 2017 New Revision: 315361 URL: https://svnweb.freebsd.org/changeset/base/315361 Log: Add the AMD MONITORX/MWAITX feature definition introduced in Bulldozer/Ryzen CPUs. Reviewed by: kib MFC after:1 week Modified:

Re: svn commit: r315136 - head/sys/netpfil/pf

2017-03-15 Thread Kristof Provost
On 15 Mar 2017, at 15:45, John Baldwin wrote: You are ignoring interrupts and preemption. Suppose you get an interrupt after 'wakeup_one(pf_purge_thread)' and before 'tsleep(..., 0)' in pf_unload(). If the interrupt preempts and results in the purge thread running and issuing its wakeup

svn commit: r315360 - head/lib/libkvm

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 02:31:42 2017 New Revision: 315360 URL: https://svnweb.freebsd.org/changeset/base/315360 Log: Return NULL instead of 0 on failure in _kvm_open, kvm_open{,2,files} This is being done for the following reasons: - kvm_open(3), etc says they will return NULL.

svn commit: r315359 - stable/11/lib/msun/tests

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 02:09:51 2017 New Revision: 315359 URL: https://svnweb.freebsd.org/changeset/base/315359 Log: MFC r314951: Expect :test_zero_input to fail on amd64 The clang 4.x+ upgrade now causes this testcase to fail, but only on amd64. More investigation will

svn commit: r315357 - in stable/11: rescue/rescue tools/build/mk

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 02:04:13 2017 New Revision: 315357 URL: https://svnweb.freebsd.org/changeset/base/315357 Log: MFC r315113: Conditionally compile [additional] programs into rescue(8) if requested Trivial oversight missed in r314240 cleanup because I enable these knobs on

svn commit: r315358 - stable/10/lib/libc/tests/sys

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 02:04:16 2017 New Revision: 315358 URL: https://svnweb.freebsd.org/changeset/base/315358 Log: MFC r314954: style(9): sort the #includes Modified: stable/10/lib/libc/tests/sys/mlock_helper.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r315356 - in stable/10: rescue/rescue tools/build/mk

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 02:02:33 2017 New Revision: 315356 URL: https://svnweb.freebsd.org/changeset/base/315356 Log: MFC r315113: Conditionally compile [additional] programs into rescue(8) if requested Trivial oversight missed in r314240 cleanup because I enable these knobs on

svn commit: r315355 - stable/10/sbin/devfs

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 01:59:43 2017 New Revision: 315355 URL: https://svnweb.freebsd.org/changeset/base/315355 Log: MFC r314924: sbin/devfs: clarify usage - Note existence of -m option. - Note that -s applies to rule keyword, only, by adding usage text specifically for

svn commit: r315354 - stable/11/sbin/devfs

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 01:59:41 2017 New Revision: 315354 URL: https://svnweb.freebsd.org/changeset/base/315354 Log: MFC r314924: sbin/devfs: clarify usage - Note existence of -m option. - Note that -s applies to rule keyword, only, by adding usage text specifically for

svn commit: r315353 - stable/10/tools/build/mk

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 01:58:09 2017 New Revision: 315353 URL: https://svnweb.freebsd.org/changeset/base/315353 Log: MFC r315111: Remove /rescue/iscsictl and /rescue/iscsid if MK_ISCSI == no Modified: stable/10/tools/build/mk/OptionalObsoleteFiles.inc Directory Properties:

svn commit: r315352 - stable/11/tools/build/mk

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 01:58:06 2017 New Revision: 315352 URL: https://svnweb.freebsd.org/changeset/base/315352 Log: MFC r315111: Remove /rescue/iscsictl and /rescue/iscsid if MK_ISCSI == no Modified: stable/11/tools/build/mk/OptionalObsoleteFiles.inc Directory Properties:

svn commit: r315351 - stable/10/tools/build/mk

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 01:56:19 2017 New Revision: 315351 URL: https://svnweb.freebsd.org/changeset/base/315351 Log: MFC r315114: Remove /rescue/zdb if MK_ZFS == no Missed in r202452. Modified: stable/10/tools/build/mk/OptionalObsoleteFiles.inc Directory Properties:

svn commit: r315350 - stable/11/tools/build/mk

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 01:54:56 2017 New Revision: 315350 URL: https://svnweb.freebsd.org/changeset/base/315350 Log: MFC r315114: Remove /rescue/zdb if MK_ZFS == no Missed in r202452. Modified: stable/11/tools/build/mk/OptionalObsoleteFiles.inc Directory Properties:

svn commit: r315349 - stable/11/usr.bin/fortune

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 01:53:21 2017 New Revision: 315349 URL: https://svnweb.freebsd.org/changeset/base/315349 Log: MFC r314831: Don't rely on dependency in Makefile.inc1 for strfile; make datfiles depend on strfile In most cases strfile is built as part of build-tools, but

svn commit: r315348 - stable/10/etc/periodic/security

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 01:50:11 2017 New Revision: 315348 URL: https://svnweb.freebsd.org/changeset/base/315348 Log: MFC r314895: Only install 900.tcpwrap if MK_INETD != "no" and MK_TCP_WRAPPERS != "no" It relies on output from inetd that is triggered by MK_TCP_WRAPPERS=yes.

svn commit: r315347 - stable/11/etc/periodic/security

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 01:48:08 2017 New Revision: 315347 URL: https://svnweb.freebsd.org/changeset/base/315347 Log: MFC r314895: Only install 900.tcpwrap if MK_INETD != "no" and MK_TCP_WRAPPERS != "no" It relies on output from inetd that is triggered by MK_TCP_WRAPPERS=yes.

svn commit: r315346 - stable/10/etc/periodic/security

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 01:47:26 2017 New Revision: 315346 URL: https://svnweb.freebsd.org/changeset/base/315346 Log: MFC r274130: r274130 (by bapt): Avoid installing security.functions with executable bits, periodic(8) will try to execute all files with an executable bit in

svn commit: r315345 - stable/10/sys/kern

2017-03-15 Thread Eric Badger
Author: badger Date: Thu Mar 16 01:41:36 2017 New Revision: 315345 URL: https://svnweb.freebsd.org/changeset/base/315345 Log: MFC r313733: sleepq_catch_signals: do thread suspension before signal check Since locks are dropped when a thread suspends, it's possible for another thread

svn commit: r315344 - stable/11/usr.sbin/mergemaster

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 01:38:07 2017 New Revision: 315344 URL: https://svnweb.freebsd.org/changeset/base/315344 Log: MFC r314830: mergemaster: fix description of -p -p only handles updating /etc/master.passwd and /etc/group . No more, no less. Also, mergemaster (and no

svn commit: r315343 - stable/10/usr.sbin/mergemaster

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 01:38:04 2017 New Revision: 315343 URL: https://svnweb.freebsd.org/changeset/base/315343 Log: MFC r314830: mergemaster: fix description of -p -p only handles updating /etc/master.passwd and /etc/group . No more, no less. Also, mergemaster (and no

svn commit: r315342 - stable/11/share/mk

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Thu Mar 16 01:36:09 2017 New Revision: 315342 URL: https://svnweb.freebsd.org/changeset/base/315342 Log: MFC r314869,r314871,r314872: r314869: Alphabetically sort variables The only content change is minor rewording around CLEANDIRS/CLEANFILES to accomodate

svn commit: r315341 - in stable/11/sys: kern sys

2017-03-15 Thread Mateusz Guzik
Author: mjg Date: Thu Mar 16 01:32:56 2017 New Revision: 315341 URL: https://svnweb.freebsd.org/changeset/base/315341 Log: MFC r311172,r311194,r311226,r312389,r312390: mtx: reduce lock accesses Instead of spuriously re-reading the lock value, read it once. This change also has a

svn commit: r315340 - stable/11/sys/kern

2017-03-15 Thread Mateusz Guzik
Author: mjg Date: Thu Mar 16 01:04:30 2017 New Revision: 315340 URL: https://svnweb.freebsd.org/changeset/base/315340 Log: MFC r305671: locks: add backoff for spin mutexes and thread lock Modified: stable/11/sys/kern/kern_mutex.c Directory Properties: stable/11/ (props changed)

svn commit: r315339 - in stable/11/sys: kern sys

2017-03-15 Thread Mateusz Guzik
Author: mjg Date: Thu Mar 16 00:51:24 2017 New Revision: 315339 URL: https://svnweb.freebsd.org/changeset/base/315339 Log: MFC r312890,r313386,r313390: Sprinkle __read_mostly on backoff and lock profiling code. == locks: change backoff to exponential Previous implementation

svn commit: r315338 - head/sys/mips/cavium

2017-03-15 Thread Alexander Kabaev
Author: kan Date: Thu Mar 16 00:49:59 2017 New Revision: 315338 URL: https://svnweb.freebsd.org/changeset/base/315338 Log: Add cavium octeon 'bootoctlinux' boot argument support While there, parse u-boot provided command line arguments for supported switches and update boothowto

Re: svn commit: r315323 - head/sys/kern

2017-03-15 Thread Konstantin Belousov
On Wed, Mar 15, 2017 at 12:21:00PM -0700, John Baldwin wrote: > On Wednesday, March 15, 2017 06:23:32 PM John Baldwin wrote: > > Author: jhb > > Date: Wed Mar 15 18:23:32 2017 > > New Revision: 315323 > > URL: https://svnweb.freebsd.org/changeset/base/315323 > > > > Log: > > Use UMA_ALIGN_PTR

svn commit: r315337 - head/libexec/rtld-elf

2017-03-15 Thread Konstantin Belousov
Author: kib Date: Wed Mar 15 23:47:19 2017 New Revision: 315337 URL: https://svnweb.freebsd.org/changeset/base/315337 Log: Disable LD_BIND_NOT for setugid processes. Requested by: jilles Sponsored by: The FreeBSD Foundation MFC after:2 weeks Modified:

svn commit: r315336 - head/usr.bin/truss

2017-03-15 Thread John Baldwin
Author: jhb Date: Wed Mar 15 23:08:11 2017 New Revision: 315336 URL: https://svnweb.freebsd.org/changeset/base/315336 Log: Automate the handling of QUAD_ALIGN and QUAD_SLOTS. Previously, the offset in a system call description specified the array index of the start of a system call

Re: svn commit: r315331 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv sparc64

2017-03-15 Thread Jilles Tjoelker
On Wed, Mar 15, 2017 at 09:11:58PM +, Konstantin Belousov wrote: > Author: kib > Date: Wed Mar 15 21:11:57 2017 > New Revision: 315331 > URL: https://svnweb.freebsd.org/changeset/base/315331 > Log: > Implement LD_BIND_NOT knob for rtld. > From the manpage: > When set to a nonempty

Re: svn commit: r315331 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv sparc64

2017-03-15 Thread Konstantin Belousov
On Wed, Mar 15, 2017 at 05:19:54PM -0400, Shawn Webb wrote: > On Wed, Mar 15, 2017 at 09:11:58PM +, Konstantin Belousov wrote: > > Author: kib > > Date: Wed Mar 15 21:11:57 2017 > > New Revision: 315331 > > URL: https://svnweb.freebsd.org/changeset/base/315331 > > > > Log: > > Implement

Re: svn commit: r315280 - in head/sys: kern sys

2017-03-15 Thread Eric van Gyzen
On 03/14/2017 17:16, Ngie Cooper wrote: I'll take a look at running "open_posix_testsuite" from LTP and (when time/appropriate), I'll help out with integrating in the clock_nanosleep tests from NetBSD (contrib/netbsd-tests/lib/libc/sys/t_clock_nanosleep.c, ). I hadn't heard of

svn commit: r315335 - head/usr.bin/truss

2017-03-15 Thread John Baldwin
Author: jhb Date: Wed Mar 15 22:39:15 2017 New Revision: 315335 URL: https://svnweb.freebsd.org/changeset/base/315335 Log: Remove duplicate argument from linux_stat64() decoding. Modified: head/usr.bin/truss/syscalls.c Modified: head/usr.bin/truss/syscalls.c

svn commit: r315334 - head/usr.bin/kdump

2017-03-15 Thread John Baldwin
Author: jhb Date: Wed Mar 15 22:36:26 2017 New Revision: 315334 URL: https://svnweb.freebsd.org/changeset/base/315334 Log: Decode arguments to chflagsat(). Modified: head/usr.bin/kdump/kdump.c Modified: head/usr.bin/kdump/kdump.c

svn commit: r315333 - in stable/10/sys: conf dev/ixgbe modules/ix modules/ixv

2017-03-15 Thread Eric Joyner
Author: erj Date: Wed Mar 15 21:20:17 2017 New Revision: 315333 URL: https://svnweb.freebsd.org/changeset/base/315333 Log: ixgbe(4): Update to 3.2.11-k Includes: 1. Support for X553 (Denverton) Ethernet devices. 2. Initialization code refactoring. 3. ixgbe-specific netmap code

Re: svn commit: r315331 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv sparc64

2017-03-15 Thread Shawn Webb
On Wed, Mar 15, 2017 at 09:11:58PM +, Konstantin Belousov wrote: > Author: kib > Date: Wed Mar 15 21:11:57 2017 > New Revision: 315331 > URL: https://svnweb.freebsd.org/changeset/base/315331 > > Log: > Implement LD_BIND_NOT knob for rtld. > > From the manpage: > When set to a

svn commit: r315332 - head/gnu/usr.bin

2017-03-15 Thread Bryan Drewery
Author: bdrewery Date: Wed Mar 15 21:17:45 2017 New Revision: 315332 URL: https://svnweb.freebsd.org/changeset/base/315332 Log: Fix SUBDIR_DEPEND for gdb on binutils after r307659. Sponsored by: Dell EMC Isilon Modified: head/gnu/usr.bin/Makefile Modified: head/gnu/usr.bin/Makefile

svn commit: r315331 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv sparc64

2017-03-15 Thread Konstantin Belousov
Author: kib Date: Wed Mar 15 21:11:57 2017 New Revision: 315331 URL: https://svnweb.freebsd.org/changeset/base/315331 Log: Implement LD_BIND_NOT knob for rtld. From the manpage: When set to a nonempty string, prevents modifications of the PLT slots when doing bindings. As result, each

svn commit: r315330 - in stable/11/sys: conf dev/etherswitch/rtl8366

2017-03-15 Thread Michael Zhilin
Author: mizhka Date: Wed Mar 15 21:03:51 2017 New Revision: 315330 URL: https://svnweb.freebsd.org/changeset/base/315330 Log: MFC r308700: [etherswitch] add RTL8366SR support Add RTL8366SR support at etherswitch driver. Tested on RTL8366RB and RTL8366SR. Submitted by: Hiroki

svn commit: r315329 - in stable/11/sys/dev: gpio spibus

2017-03-15 Thread Michael Zhilin
Author: mizhka Date: Wed Mar 15 21:01:03 2017 New Revision: 315329 URL: https://svnweb.freebsd.org/changeset/base/315329 Log: MFC r310017-r310018 r310017: [spi] reformat message and ar5315_spi minor fix This commit corrects print of nomatch (newline was too early) and fix unit

svn commit: r315328 - in stable: 10/sys/ofed/drivers/infiniband/hw/mlx4 11/sys/ofed/drivers/infiniband/hw/mlx4

2017-03-15 Thread Dimitry Andric
Author: dim Date: Wed Mar 15 19:50:58 2017 New Revision: 315328 URL: https://svnweb.freebsd.org/changeset/base/315328 Log: MFC r310232: After r310171, the kernel version of sscanf() has format string checking enabled. This results in a -Werror warning in mlx4ib:

svn commit: r315328 - in stable: 10/sys/ofed/drivers/infiniband/hw/mlx4 11/sys/ofed/drivers/infiniband/hw/mlx4

2017-03-15 Thread Dimitry Andric
Author: dim Date: Wed Mar 15 19:50:58 2017 New Revision: 315328 URL: https://svnweb.freebsd.org/changeset/base/315328 Log: MFC r310232: After r310171, the kernel version of sscanf() has format string checking enabled. This results in a -Werror warning in mlx4ib:

svn commit: r315327 - head/sys/dev/isp

2017-03-15 Thread Alexander Motin
Author: mav Date: Wed Mar 15 19:49:45 2017 New Revision: 315327 URL: https://svnweb.freebsd.org/changeset/base/315327 Log: Remove not very useful ATIO/INOT stats. While there polish respective debug logging. MFC after:2 weeks Modified: head/sys/dev/isp/isp_freebsd.c

svn commit: r315326 - head/sys/boot/efi/boot1

2017-03-15 Thread Toomas Soome
Author: tsoome Date: Wed Mar 15 19:48:22 2017 New Revision: 315326 URL: https://svnweb.freebsd.org/changeset/base/315326 Log: boot1.efi: can't boot from ZFS on 4kn HDD The boot1.efi immediate issue from PR216964 is that we are reading into too small buffer, from UEFI spec 2.6: The

Re: svn commit: r315323 - head/sys/kern

2017-03-15 Thread John Baldwin
On Wednesday, March 15, 2017 06:23:32 PM John Baldwin wrote: > Author: jhb > Date: Wed Mar 15 18:23:32 2017 > New Revision: 315323 > URL: https://svnweb.freebsd.org/changeset/base/315323 > > Log: > Use UMA_ALIGN_PTR instead of sizeof(void *) for zone alignment. > > uma_zcreate()'s

Re: svn commit: r315136 - head/sys/netpfil/pf

2017-03-15 Thread John Baldwin
On Wednesday, March 15, 2017 10:26:39 AM Kristof Provost wrote: > On 15 Mar 2017, at 6:57, Gleb Smirnoff wrote: > > On Sun, Mar 12, 2017 at 05:42:57AM +, Kristof Provost wrote: > > K> Log: > > K> pf: Fix incorrect rw_sleep() in pf_unload() > > K> > > K> When we unload we don't hold the

svn commit: r315325 - head/sys/dev/cxgbe/iw_cxgbe

2017-03-15 Thread Navdeep Parhar
Author: np Date: Wed Mar 15 19:10:04 2017 New Revision: 315325 URL: https://svnweb.freebsd.org/changeset/base/315325 Log: cxgbe/iw_cxgbe: Use the socket and not the toepcb to reach for the inpcb. t4_tom detaches the inpcb from the toepcb as soon as the hardware is done with the connection

Re: svn commit: r315311 - head/usr.sbin/makefs

2017-03-15 Thread Ngie Cooper (yaneurabeya)
> On Mar 15, 2017, at 11:49, Ngie Cooper (yaneurabeya) > wrote: > > >> On Mar 15, 2017, at 11:44, Ed Maste wrote: >> >> On 15 March 2017 at 14:39, Ngie Cooper (yaneurabeya) >> wrote: >>> Yeah… I think I filed a bug,

svn commit: r315324 - head/sys/dev/bhnd/cores/pmu

2017-03-15 Thread Michael Zhilin
Author: mizhka Date: Wed Mar 15 18:57:18 2017 New Revision: 315324 URL: https://svnweb.freebsd.org/changeset/base/315324 Log: [bhnd] fix mask for PMU control This patch fixes typo which results in extra bits of PMU control register. PR: 217782 Submitted by: Svyatoslav Found

Re: svn commit: r315311 - head/usr.sbin/makefs

2017-03-15 Thread Ngie Cooper (yaneurabeya)
> On Mar 15, 2017, at 11:44, Ed Maste wrote: > > On 15 March 2017 at 14:39, Ngie Cooper (yaneurabeya) > wrote: >> >>> Yeah… I think I filed a bug, somewhere for improving the makefs(8) manpage >>> (maybe NetBSD’s GNATS; maybe FreeBSD bugzilla).

Re: svn commit: r315311 - head/usr.sbin/makefs

2017-03-15 Thread Ed Maste
On 15 March 2017 at 14:39, Ngie Cooper (yaneurabeya) wrote: > >> Yeah… I think I filed a bug, somewhere for improving the makefs(8) manpage >> (maybe NetBSD’s GNATS; maybe FreeBSD bugzilla). mail.app isn’t finding the >> results I want for the query I’m inputting

Re: svn commit: r315311 - head/usr.sbin/makefs

2017-03-15 Thread Ngie Cooper (yaneurabeya)
> On Mar 15, 2017, at 11:33, Ed Maste wrote: > > On 15 March 2017 at 13:32, Ngie Cooper (yaneurabeya) > wrote: >> >> Hi Ed, >>I agree with the change, but doesn’t this break backwards >> compatibility in FreeBSD? > > Not really: the 'd'

Re: svn commit: r315304 - head/usr.sbin/makefs

2017-03-15 Thread Ed Maste
On 15 March 2017 at 13:34, Ngie Cooper (yaneurabeya) wrote: > >> On Mar 15, 2017, at 06:34, Ed Maste wrote: >> >> Author: emaste >> Date: Wed Mar 15 13:34:51 2017 >> New Revision: 315304 >> URL: https://svnweb.freebsd.org/changeset/base/315304 >> >>

Re: svn commit: r315311 - head/usr.sbin/makefs

2017-03-15 Thread Ngie Cooper (yaneurabeya)
> On Mar 15, 2017, at 11:35, Warner Losh wrote: > > On Wed, Mar 15, 2017 at 12:33 PM, Ed Maste wrote: >> On 15 March 2017 at 13:32, Ngie Cooper (yaneurabeya) >> wrote: >>> >>> Hi Ed, >>>I agree with the change, but doesn’t

Re: svn commit: r315311 - head/usr.sbin/makefs

2017-03-15 Thread Warner Losh
On Wed, Mar 15, 2017 at 12:33 PM, Ed Maste wrote: > On 15 March 2017 at 13:32, Ngie Cooper (yaneurabeya) > wrote: >> >> Hi Ed, >> I agree with the change, but doesn’t this break backwards >> compatibility in FreeBSD? > > Not really: the 'd'

Re: svn commit: r315311 - head/usr.sbin/makefs

2017-03-15 Thread Ed Maste
On 15 March 2017 at 13:32, Ngie Cooper (yaneurabeya) wrote: > > Hi Ed, > I agree with the change, but doesn’t this break backwards > compatibility in FreeBSD? Not really: the 'd' option only appeared as of r315304 earlier today. The options are documented in

svn commit: r315323 - head/sys/kern

2017-03-15 Thread John Baldwin
Author: jhb Date: Wed Mar 15 18:23:32 2017 New Revision: 315323 URL: https://svnweb.freebsd.org/changeset/base/315323 Log: Use UMA_ALIGN_PTR instead of sizeof(void *) for zone alignment. uma_zcreate()'s alignment argument is supposed to be sizeof(foo) - 1, and uma.h provides a set of

svn commit: r315322 - head/usr.sbin/syslogd

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Wed Mar 15 18:15:30 2017 New Revision: 315322 URL: https://svnweb.freebsd.org/changeset/base/315322 Log: syslogd: fix memory leaks in main(..) and allowaddr(..) - main(..): free memory assigned to fdsr before calling die(..). - allowaddr(..): free memory assigned to ap

svn commit: r315321 - in head/usr.sbin/makefs: . ffs

2017-03-15 Thread Ed Maste
Author: emaste Date: Wed Mar 15 18:14:54 2017 New Revision: 315321 URL: https://svnweb.freebsd.org/changeset/base/315321 Log: makefs: improve error messages - remove \n - use __func__ - err adds the error string itself NetBSD revs: cd9660.c 1.48 1.49 ffs/buf.c 1.21

Re: svn commit: r315318 - in head/sys: kern vm

2017-03-15 Thread Alan Cox
On 03/15/2017 12:59, Benjamin Kaduk wrote: > Should __FreeBSD_version be bumped, e.g., for out-of-tree filesystems > that have custom vop_advise? No, I don't think so. > On Wed, Mar 15, 2017 at 12:43 PM, Alan Cox > wrote: > > Author: alc >

svn commit: r315320 - in head: etc/mtree lib/libcam lib/libcam/tests

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Wed Mar 15 18:00:54 2017 New Revision: 315320 URL: https://svnweb.freebsd.org/changeset/base/315320 Log: Start adding basic tests for cam(3) This change contains several negative and positive tests for: - cam_open_device - cam_close_device - cam_getccb -

Re: svn commit: r315318 - in head/sys: kern vm

2017-03-15 Thread Benjamin Kaduk
Should __FreeBSD_version be bumped, e.g., for out-of-tree filesystems that have custom vop_advise? -Ben On Wed, Mar 15, 2017 at 12:43 PM, Alan Cox wrote: > Author: alc > Date: Wed Mar 15 17:43:45 2017 > New Revision: 315318 > URL:

svn commit: r315319 - head/usr.bin/diff

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Wed Mar 15 17:54:47 2017 New Revision: 315319 URL: https://svnweb.freebsd.org/changeset/base/315319 Log: diff(1): sort long options under -D example in SYNOPSYS Sponsored by: Dell EMC Isilon Modified: head/usr.bin/diff/diff.1 Modified: head/usr.bin/diff/diff.1

svn commit: r315318 - in head/sys: kern vm

2017-03-15 Thread Alan Cox
Author: alc Date: Wed Mar 15 17:43:45 2017 New Revision: 315318 URL: https://svnweb.freebsd.org/changeset/base/315318 Log: Relax the locking requirements for vm_object_page_noreuse(). While reviewing all uses of OFF_TO_IDX(), I observed that vm_object_page_noreuse() is requiring an

Re: svn commit: r315298 - head/sys/dev/isp

2017-03-15 Thread Alexander Motin
On 15.03.2017 19:36, Ngie Cooper (yaneurabeya) wrote: >> On Mar 15, 2017, at 03:33, Alexander Motin wrote: >> Author: mav >> Date: Wed Mar 15 10:33:44 2017 >> New Revision: 315298 >> URL: https://svnweb.freebsd.org/changeset/base/315298 >> >> Log: >> Fix ancient bug from

Re: svn commit: r315298 - head/sys/dev/isp

2017-03-15 Thread Ngie Cooper (yaneurabeya)
> On Mar 15, 2017, at 03:33, Alexander Motin wrote: > > Author: mav > Date: Wed Mar 15 10:33:44 2017 > New Revision: 315298 > URL: https://svnweb.freebsd.org/changeset/base/315298 > > Log: > Fix ancient bug from r84597, which broke 23xx after r315234. To someone

Re: svn commit: r315031 - head/sys/tools/fdt

2017-03-15 Thread Warner Losh
On Wed, Mar 15, 2017 at 8:52 AM, Ed Maste wrote: > On 10 March 2017 at 17:45, Oleksandr Tymoshenko wrote: >> Author: gonzo >> Date: Fri Mar 10 22:45:07 2017 >> New Revision: 315031 >> URL: https://svnweb.freebsd.org/changeset/base/315031 >> >> Log: >>

Re: svn commit: r315304 - head/usr.sbin/makefs

2017-03-15 Thread Ngie Cooper (yaneurabeya)
> On Mar 15, 2017, at 06:34, Ed Maste wrote: > > Author: emaste > Date: Wed Mar 15 13:34:51 2017 > New Revision: 315304 > URL: https://svnweb.freebsd.org/changeset/base/315304 > > Log: > makefs: sync option parsing with NetBSD > > - add support for parsing different

Re: svn commit: r315311 - head/usr.sbin/makefs

2017-03-15 Thread Ngie Cooper (yaneurabeya)
> On Mar 15, 2017, at 09:16, Ed Maste wrote: > > Author: emaste > Date: Wed Mar 15 16:16:30 2017 > New Revision: 315311 > URL: https://svnweb.freebsd.org/changeset/base/315311 > > Log: > makefs: use 'm' for cd9660 allow-multidot, per NetBSD > > NetBSD revisions: >

svn commit: r315317 - head/usr.sbin/makefs/ffs

2017-03-15 Thread Ed Maste
Author: emaste Date: Wed Mar 15 17:26:19 2017 New Revision: 315317 URL: https://svnweb.freebsd.org/changeset/base/315317 Log: makefs: don't print pointers in debugging messages NetBSD revisions: ffs/buf.c 1.14 Obtained from:NetBSD Modified:

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

2017-03-15 Thread Dmitry Chagin
Author: dchagin Date: Wed Mar 15 17:16:43 2017 New Revision: 315316 URL: https://svnweb.freebsd.org/changeset/base/315316 Log: MFC r314643: Hide Linux socketcall constants under corresponding #ifdef since they are used only in i386 Linuxulator. Modified:

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

2017-03-15 Thread Dmitry Chagin
Author: dchagin Date: Wed Mar 15 17:14:05 2017 New Revision: 315315 URL: https://svnweb.freebsd.org/changeset/base/315315 Log: MFC r314132: Right clock defines specified in linux_timer.h. Get rid of spirious clock defines from linux_misc.h. Modified:

svn commit: r315314 - in stable/11/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2017-03-15 Thread Dmitry Chagin
Author: dchagin Date: Wed Mar 15 17:11:01 2017 New Revision: 315314 URL: https://svnweb.freebsd.org/changeset/base/315314 Log: MFC r313940: Implement rt_tgsigqueueinfo system call used by glibc for pthread_sigqueue(3). Modified: stable/11/sys/amd64/linux/linux_dummy.c

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

2017-03-15 Thread Dmitry Chagin
Author: dchagin Date: Wed Mar 15 17:06:04 2017 New Revision: 315313 URL: https://svnweb.freebsd.org/changeset/base/315313 Log: MFC r313913: Initialize cap_rights before use. MFC r313914: Style(9), some XXX comments fix. No functional changes. Modified:

svn commit: r315312 - in stable/11/sys: compat/cloudabi compat/linux dev/iscsi_initiator kern netinet sys

2017-03-15 Thread Dmitry Chagin
Author: dchagin Date: Wed Mar 15 16:38:39 2017 New Revision: 315312 URL: https://svnweb.freebsd.org/changeset/base/315312 Log: MFC r305093 (by mjg@): fd: add fdeget_locked and use in kern_descrip MFC r305756 (by oshogbo@): fd: add fget_cap and fget_cap_locked primitives. They

svn commit: r315311 - head/usr.sbin/makefs

2017-03-15 Thread Ed Maste
Author: emaste Date: Wed Mar 15 16:16:30 2017 New Revision: 315311 URL: https://svnweb.freebsd.org/changeset/base/315311 Log: makefs: use 'm' for cd9660 allow-multidot, per NetBSD NetBSD revisions: cd9660.c 1.55 Obtained from:NetBSD Modified:

svn commit: r315310 - head/lib/libsysdecode

2017-03-15 Thread Maxim Konovalov
Author: maxim Date: Wed Mar 15 16:13:52 2017 New Revision: 315310 URL: https://svnweb.freebsd.org/changeset/base/315310 Log: Spell "const" properly. PR: 217797 Submitted by: tobik Modified: head/lib/libsysdecode/sysdecode_ioctlname.3 Modified:

svn commit: r315309 - head/usr.bin/lam

2017-03-15 Thread Baptiste Daroussin
Author: bapt Date: Wed Mar 15 15:57:11 2017 New Revision: 315309 URL: https://svnweb.freebsd.org/changeset/base/315309 Log: Do not die on system built without CAPSICUM Modified: head/usr.bin/lam/lam.c Modified: head/usr.bin/lam/lam.c

svn commit: r315308 - in stable/11/lib/libc: gen iconv stdlib

2017-03-15 Thread Pedro F. Giffuni
Author: pfg Date: Wed Mar 15 15:33:32 2017 New Revision: 315308 URL: https://svnweb.freebsd.org/changeset/base/315308 Log: MFC r315095, r315096, r315097, r315187: libc: small cleanups. Rename nitems to numitems: it shares the anme with an existing macro in sys/params.h. Also initialize

Re: svn commit: r315305 - in head: . sbin/ipfw

2017-03-15 Thread Andrey V. Elsukov
On 15.03.2017 18:29, Matteo Riondato wrote: > >> On Mar 15, 2017, at 9:36 AM, Andrey V. Elsukov wrote: >> >> Author: ae >> Date: Wed Mar 15 13:36:35 2017 >> New Revision: 315305 >> URL: https://svnweb.freebsd.org/changeset/base/315305 >> >> Log: >> Change the syntax of ipfw's

  1   2   >