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: 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: 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: 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

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: 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: 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

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

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

2017-03-15 Thread Matteo Riondato
> 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 named states. > > Since the state name is an

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

2017-03-15 Thread Alexander Motin
Author: mav Date: Wed Mar 15 14:58:29 2017 New Revision: 315307 URL: https://svnweb.freebsd.org/changeset/base/315307 Log: Refactor interrupt handling. Instead of single isp_intr() function doing all possible magic, introduce four different functions to handle mailbox operation

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

2017-03-15 Thread Ed Maste
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: > [fdt] Make DTBs generated by make_dtb.sh overlay-ready This breaks

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

2017-03-15 Thread Sean Bruno
Author: sbruno Date: Wed Mar 15 14:44:59 2017 New Revision: 315306 URL: https://svnweb.freebsd.org/changeset/base/315306 Log: Actually set the MTU to the requested value and fixup handling of jumbo frames. Submitted by: Matt Macy Reported by: pho Sponsored by:

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

2017-03-15 Thread Andrey V. Elsukov
== --- head/UPDATING Wed Mar 15 13:34:51 2017(r315304) +++ head/UPDATING Wed Mar 15 13:36:35 2017(r315305) @@ -51,6 +51,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12 ** SPECIAL WARNING: ** +20170315

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

2017-03-15 Thread Ed Maste
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 types; not just int - homogenize option parsing - fix single letter parsing -

Re: svn commit: r315272 - in head: lib/libc/sys sys/sys sys/vm

2017-03-15 Thread Alan Cox
On 03/14/2017 12:10, Xin LI wrote: > Author: delphij > Date: Tue Mar 14 17:10:42 2017 > New Revision: 315272 > URL: https://svnweb.freebsd.org/changeset/base/315272 > > Log: > Implement INHERIT_ZERO for minherit(2). > > INHERIT_ZERO is an OpenBSD feature. > > When a page is marked as

Re: svn commit: r310232 - head/sys/dev/mlx4/mlx4_ib

2017-03-15 Thread Hans Petter Selasky
Hi, Can you MFC this patch to 11-stable and 10-stable. The directory layout is a bit different, so you'll need to manually apply the patch to sys/ofed/drivers/infiniband/hw/mlx4/sysfs.c after merging the patch and resolving the non-existing path. --HPS On 12/18/16 16:21, Dimitry Andric

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

2017-03-15 Thread Alexander Motin
Author: mav Date: Wed Mar 15 11:16:26 2017 New Revision: 315303 URL: https://svnweb.freebsd.org/changeset/base/315303 Log: Fix panic when SIM dereferenced before allocation. MFC after:2 weeks Modified: head/sys/dev/isp/isp_freebsd.c Modified: head/sys/dev/isp/isp_freebsd.c

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

2017-03-15 Thread Alexander Motin
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. MFC after:13 days Modified: head/sys/dev/isp/isp_pci.c Modified: head/sys/dev/isp/isp_pci.c

svn commit: r315294 - head/sys/dev/wi

2017-03-15 Thread Kevin Lo
Author: kevlo Date: Wed Mar 15 09:31:58 2017 New Revision: 315294 URL: https://svnweb.freebsd.org/changeset/base/315294 Log: Fix unreachable code in wi_pci_resume(). PR: 217784 Submitted by: Svyatoslav Found by: PVS-Studio Modified: head/sys/dev/wi/if_wi_pci.c Modified:

Re: svn commit: r315051 - in head: . gnu/usr.bin gnu/usr.bin/diff usr.bin usr.bin/diff usr.bin/diff/tests

2017-03-15 Thread Baptiste Daroussin
On Tue, Mar 14, 2017 at 11:02:12PM -0700, Ngie Cooper (yaneurabeya) wrote: > > > On Mar 10, 2017, at 21:01, Baptiste Daroussin wrote: > > > > Author: bapt > > Date: Sat Mar 11 05:01:29 2017 > > New Revision: 315051 > > URL: https://svnweb.freebsd.org/changeset/base/315051 > >

svn commit: r315293 - head/usr.bin/diff/tests

2017-03-15 Thread Ngie Cooper
Author: ngie Date: Wed Mar 15 06:18:14 2017 New Revision: 315293 URL: https://svnweb.freebsd.org/changeset/base/315293 Log: Integrate contrib/netbsd-tests/usr.bin/diff/t_diff.sh in as .../usr.bin/diff/diff_test Some minor adjustment needed to be done for :same as it currently has the

Re: svn commit: r315051 - in head: . gnu/usr.bin gnu/usr.bin/diff usr.bin usr.bin/diff usr.bin/diff/tests

2017-03-15 Thread Ngie Cooper (yaneurabeya)
> On Mar 10, 2017, at 21:01, Baptiste Daroussin wrote: > > Author: bapt > Date: Sat Mar 11 05:01:29 2017 > New Revision: 315051 > URL: https://svnweb.freebsd.org/changeset/base/315051 > > Log: > Import diff from OpenBSD and remove GNU diff > > Some of the modifications