svn commit: r312403 - in stable/10: lib/libstand sys/boot/libstand32 sys/boot/userboot/libstand

2017-01-18 Thread Xin LI
Author: delphij Date: Thu Jan 19 07:29:52 2017 New Revision: 312403 URL: https://svnweb.freebsd.org/changeset/base/312403 Log: MFC r293040,293341,293435: Reduce libstand Makefile duplication. PR: 216251 Modified: stable/10/lib/libstand/Makefile

svn commit: r312402 - stable/10/libexec/rtld-elf

2017-01-18 Thread Konstantin Belousov
Author: kib Date: Thu Jan 19 06:48:03 2017 New Revision: 312402 URL: https://svnweb.freebsd.org/changeset/base/312402 Log: MFC r311984: For the main binary, postpone enforcing relro read-only protection until copy relocations are done. Modified: stable/10/libexec/rtld-elf/rtld.c

svn commit: r312401 - stable/11/libexec/rtld-elf

2017-01-18 Thread Konstantin Belousov
Author: kib Date: Thu Jan 19 06:44:27 2017 New Revision: 312401 URL: https://svnweb.freebsd.org/changeset/base/312401 Log: MFC r311984: For the main binary, postpone enforcing relro read-only protection until copy relocations are done. Modified: stable/11/libexec/rtld-elf/rtld.c

svn commit: r312399 - in stable/11/sys/dev: ichiic mmc sdhci

2017-01-18 Thread Marius Strobl
Author: marius Date: Wed Jan 18 23:25:46 2017 New Revision: 312399 URL: https://svnweb.freebsd.org/changeset/base/312399 Log: MFC: r310309, r310340-310341, r311664, r311793-r311794 o sdhci/mmc: Minor whitespace cleanups o Add Braswell PCI IDs for Intel Cherryview o mmc: Accept

svn commit: r312400 - in stable/10/sys/dev: mmc sdhci

2017-01-18 Thread Marius Strobl
Author: marius Date: Wed Jan 18 23:26:10 2017 New Revision: 312400 URL: https://svnweb.freebsd.org/changeset/base/312400 Log: MFC: r273180, r283754, r297329, r299414, r300707, r310309, r310340 (partial), r310341, r311664, r311793-311794 o Use correct response bits for MMC_RSP_R4-R7

svn commit: r312398 - in stable/10/sys/dev: amdsbwd arcmsr hpt27xx hptmv hptnr hptrr sdhci sound/pci tws

2017-01-18 Thread Marius Strobl
Author: marius Date: Wed Jan 18 23:23:46 2017 New Revision: 312398 URL: https://svnweb.freebsd.org/changeset/base/312398 Log: MFC: r296135 Replace several bus_alloc_resource() calls with bus_alloc_resource_any() Most of these are BARs, and we allocate them in their entirety. The one

svn commit: r312397 - in stable: 10/sys/vm 11/sys/vm

2017-01-18 Thread John Baldwin
Author: jhb Date: Wed Jan 18 22:40:22 2017 New Revision: 312397 URL: https://svnweb.freebsd.org/changeset/base/312397 Log: MFC 310028: Use db_lookup_proc() in the DDB 'show procvm' command. This allows processes to be identified by PID as well as a pointer address. Modified:

svn commit: r312397 - in stable: 10/sys/vm 11/sys/vm

2017-01-18 Thread John Baldwin
Author: jhb Date: Wed Jan 18 22:40:22 2017 New Revision: 312397 URL: https://svnweb.freebsd.org/changeset/base/312397 Log: MFC 310028: Use db_lookup_proc() in the DDB 'show procvm' command. This allows processes to be identified by PID as well as a pointer address. Modified:

Re: svn commit: r286700 - in head: sbin/ifconfig sys/net

2017-01-18 Thread Hiren Panchasara
Adding the submitter and other reviewers for their comments. On 01/18/17 at 03:03P, Alan Somers wrote: > Is the change to lacp_port_create correct? The comment indicates that > fast is configurable, but it's actually constant. Later on, there's > some dead code that depends on the value of fast

svn commit: r312396 - head/cddl/usr.sbin/zfsd

2017-01-18 Thread Alan Somers
Author: asomers Date: Wed Jan 18 22:10:18 2017 New Revision: 312396 URL: https://svnweb.freebsd.org/changeset/base/312396 Log: Fix an unchecked return value in zfsd It's pretty unlikely to actually hit this, but good to check it anyway Reported by: Coverity CID: 1362018

Re: svn commit: r286700 - in head: sbin/ifconfig sys/net

2017-01-18 Thread Alan Somers
Is the change to lacp_port_create correct? The comment indicates that fast is configurable, but it's actually constant. Later on, there's some dead code that depends on the value of fast (it was dead before this commit, too). CID: 1305734 CID: 1305692 -Alan On Wed, Aug 12, 2015 at 2:21 PM,

svn commit: r312395 - head/sbin/devd

2017-01-18 Thread Alan Somers
Author: asomers Date: Wed Jan 18 20:24:37 2017 New Revision: 312395 URL: https://svnweb.freebsd.org/changeset/base/312395 Log: Fix several Coverity CIDs in devd CID 1362055, 1362054: File descriptor leaks during shutdown CID 1362013: Potential null-termination fail with long network

Re: svn commit: r312379 - in head: lib/libc/sys sbin/ifconfig sys/conf sys/kern sys/modules/if_lagg sys/modules/if_vlan sys/net sys/netinet sys/netinet6 sys/sys

2017-01-18 Thread Adrian Chadd
It depends, is this -HEAD or is this -stable? If this thing doesn't pan out with the chelsio/mellanox hardware socket rate limiting then we can either evolve it or remove it. -adrian ___ svn-src-all@freebsd.org mailing list

svn commit: r312394 - in stable/11/sys: amd64/amd64 arm/arm arm64/arm64 i386/i386 mips/mips powerpc/powerpc sparc64/sparc64

2017-01-18 Thread John Baldwin
Author: jhb Date: Wed Jan 18 19:38:53 2017 New Revision: 312394 URL: https://svnweb.freebsd.org/changeset/base/312394 Log: MFC 307332,312086: Drop support for using mmap() with /dev/kmem. 307332: Drop support for using mmap() with /dev/kmem. Using the device pager with /dev/kmem is

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

2017-01-18 Thread John Baldwin
On Wednesday, January 18, 2017 05:09:22 PM Gleb Smirnoff wrote: > Author: glebius > Date: Wed Jan 18 17:09:22 2017 > New Revision: 312387 > URL: https://svnweb.freebsd.org/changeset/base/312387 > > Log: > Fix regression from r311568: collision of MSG_NOSIGNAL with MSG_MORETOCOME > lead to

svn commit: r312393 - in head: sbin/restore sys/sys sys/ufs/ufs

2017-01-18 Thread Conrad E. Meyer
Author: cem Date: Wed Jan 18 18:16:57 2017 New Revision: 312393 URL: https://svnweb.freebsd.org/changeset/base/312393 Log: restore(8): Handle extended attribute names correctly UFS2 extended attribute names are not NUL-terminated. Handle appropriately. Correct the

Re: svn commit: r312379 - in head: lib/libc/sys sbin/ifconfig sys/conf sys/kern sys/modules/if_lagg sys/modules/if_vlan sys/net sys/netinet sys/netinet6 sys/sys

2017-01-18 Thread Gleb Smirnoff
On Wed, Jan 18, 2017 at 07:04:05PM +0100, Hans Petter Selasky wrote: H> > there were no production testing of the feature, H> > that will prove that the idea actually works. H> H> Hi Gleb, H> H> This feature has been tested small scale in production environments and H> it for sure saves CPU

svn commit: r312392 - head/lib/libwrap

2017-01-18 Thread Ngie Cooper
Author: ngie Date: Wed Jan 18 18:14:50 2017 New Revision: 312392 URL: https://svnweb.freebsd.org/changeset/base/312392 Log: Use SRCTOP instead of .CURDIR-relative path in .PATH directive MFC after:3 weeks Sponsored by: Dell EMC Isilon Modified: head/lib/libwrap/Makefile Modified:

Re: svn commit: r312391 - in head: share/man/man5 sys/ufs/ufs

2017-01-18 Thread Conrad Meyer
On Wed, Jan 18, 2017 at 9:55 AM, Conrad E. Meyer wrote: > Author: cem > Date: Wed Jan 18 17:55:49 2017 > New Revision: 312391 > URL: https://svnweb.freebsd.org/changeset/base/312391 > > Log: > ufs/extattr.h: Fix documentation of ea_name termination > > The ea_name string is

Re: svn commit: r312379 - in head: lib/libc/sys sbin/ifconfig sys/conf sys/kern sys/modules/if_lagg sys/modules/if_vlan sys/net sys/netinet sys/netinet6 sys/sys

2017-01-18 Thread Hans Petter Selasky
On 01/18/17 18:31, Gleb Smirnoff wrote: there were no production testing of the feature, that will prove that the idea actually works. Hi Gleb, This feature has been tested small scale in production environments and it for sure saves CPU versus doing rate limiting all in software. Mellanox

svn commit: r312389 - in head/sys: kern sys

2017-01-18 Thread Mateusz Guzik
Author: mjg Date: Wed Jan 18 17:53:57 2017 New Revision: 312389 URL: https://svnweb.freebsd.org/changeset/base/312389 Log: rwlock: reduce lock accesses similarly to r311172 Discussed with: jhb Tested by:pho (previous version) Modified: head/sys/kern/kern_rwlock.c

svn commit: r312391 - in head: share/man/man5 sys/ufs/ufs

2017-01-18 Thread Conrad E. Meyer
Author: cem Date: Wed Jan 18 17:55:49 2017 New Revision: 312391 URL: https://svnweb.freebsd.org/changeset/base/312391 Log: ufs/extattr.h: Fix documentation of ea_name termination The ea_name string is not nul-terminated. Correct the documentation. Because the subsequent field is

svn commit: r312390 - in head/sys: kern sys

2017-01-18 Thread Mateusz Guzik
Author: mjg Date: Wed Jan 18 17:55:08 2017 New Revision: 312390 URL: https://svnweb.freebsd.org/changeset/base/312390 Log: sx: reduce lock accesses similarly to r311172 Discussed with: jhb Tested by:pho (previous version) Modified: head/sys/kern/kern_sx.c head/sys/sys/sx.h

Re: svn commit: r312379 - in head: lib/libc/sys sbin/ifconfig sys/conf sys/kern sys/modules/if_lagg sys/modules/if_vlan sys/net sys/netinet sys/netinet6 sys/sys

2017-01-18 Thread Gleb Smirnoff
Hi! I'm quite disappointed by this checkin. This is an interesting experimental feature, but to my knowledge, there were no production testing of the feature, that will prove that the idea actually works. To my knowledge the code isn't used anywhere right now, it was just tested to work as a

svn commit: r312388 - head/sys/sys

2017-01-18 Thread Gleb Smirnoff
Author: glebius Date: Wed Jan 18 17:21:28 2017 New Revision: 312388 URL: https://svnweb.freebsd.org/changeset/base/312388 Log: Format and sort MSG_* flags, to prevent misedits in future. There is no functional change. Modified: head/sys/sys/socket.h Modified: head/sys/sys/socket.h

svn commit: r312387 - head/sys/sys

2017-01-18 Thread Gleb Smirnoff
Author: glebius Date: Wed Jan 18 17:09:22 2017 New Revision: 312387 URL: https://svnweb.freebsd.org/changeset/base/312387 Log: Fix regression from r311568: collision of MSG_NOSIGNAL with MSG_MORETOCOME lead to delayed send of data sent with sendto(MSG_NOSIGNAL). Submitted by: rrs

svn commit: r312386 - stable/10/usr.bin/rpcgen

2017-01-18 Thread Pedro F. Giffuni
Author: pfg Date: Wed Jan 18 15:23:40 2017 New Revision: 312386 URL: https://svnweb.freebsd.org/changeset/base/312386 Log: MFC r311947, r311981: rpcgen(1): Avoid unused variable warning on generated code. Avoid "unused variable 'i'" warnings in generated .c files by only emitting

svn commit: r312385 - stable/11/usr.bin/rpcgen

2017-01-18 Thread Pedro F. Giffuni
Author: pfg Date: Wed Jan 18 15:22:54 2017 New Revision: 312385 URL: https://svnweb.freebsd.org/changeset/base/312385 Log: MFC r311947, r311981: rpcgen(1): Avoid unused variable warning on generated code. Avoid "unused variable 'i'" warnings in generated .c files by only emitting

svn commit: r312384 - head/sys/boot/fdt/dts/mips

2017-01-18 Thread Ruslan Bukin
Author: br Date: Wed Jan 18 14:41:59 2017 New Revision: 312384 URL: https://svnweb.freebsd.org/changeset/base/312384 Log: Remove empty ranges property so beri_simplebus can be attached again. Sponsored by: DARPA, AFRL Modified: head/sys/boot/fdt/dts/mips/beri-netfpga.dts

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

2017-01-18 Thread Sean Bruno
Author: sbruno Date: Wed Jan 18 14:23:43 2017 New Revision: 312383 URL: https://svnweb.freebsd.org/changeset/base/312383 Log: ugh, device_t not device_t * Reported by: hps Modified: head/sys/dev/e1000/if_em.h Modified: head/sys/dev/e1000/if_em.h

Re: svn commit: r312380 - head/sys/dev/e1000

2017-01-18 Thread Mateusz Guzik
On Wed, Jan 18, 2017 at 01:57:29PM +, Sean Bruno wrote: > Author: sbruno > Date: Wed Jan 18 13:57:29 2017 > New Revision: 312380 > URL: https://svnweb.freebsd.org/changeset/base/312380 > > Log: > Change device type to unbreak drm-next testing and builds. > > Submitted by: Matt

svn commit: r312382 - in stable/10: include lib/libkvm

2017-01-18 Thread Andriy Gapon
Author: avg Date: Wed Jan 18 14:14:00 2017 New Revision: 312382 URL: https://svnweb.freebsd.org/changeset/base/312382 Log: MFC r310630: libkvm: support access to vmm guest memory, allow writes to fwmem and vmm Sponsored by: Panzura Modified: stable/10/include/paths.h

svn commit: r312381 - in stable/11: include lib/libkvm

2017-01-18 Thread Andriy Gapon
Author: avg Date: Wed Jan 18 14:13:28 2017 New Revision: 312381 URL: https://svnweb.freebsd.org/changeset/base/312381 Log: MFC r310630: libkvm: support access to vmm guest memory, allow writes to fwmem and vmm Sponsored by: Panzura Modified: stable/11/include/paths.h

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

2017-01-18 Thread Sean Bruno
Author: sbruno Date: Wed Jan 18 13:57:29 2017 New Revision: 312380 URL: https://svnweb.freebsd.org/changeset/base/312380 Log: Change device type to unbreak drm-next testing and builds. Submitted by: Matt Macy Modified: head/sys/dev/e1000/if_em.h Modified:

svn commit: r312379 - in head: lib/libc/sys sbin/ifconfig sys/conf sys/kern sys/modules/if_lagg sys/modules/if_vlan sys/net sys/netinet sys/netinet6 sys/sys

2017-01-18 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jan 18 13:31:17 2017 New Revision: 312379 URL: https://svnweb.freebsd.org/changeset/base/312379 Log: Implement kernel support for hardware rate limited sockets. - Add RATELIMIT kernel configuration keyword which must be set to enable the new functionality.

svn commit: r312378 - head/sys/cddl/dev/fbt/arm

2017-01-18 Thread Andrew Turner
Author: andrew Date: Wed Jan 18 13:27:24 2017 New Revision: 312378 URL: https://svnweb.freebsd.org/changeset/base/312378 Log: Use the kernel stack in the ARM FBT DTrace provider. This is used to find the fifth argument to functions being traced, however there was an error where the

svn commit: r312375 - in stable/10: lib/libstand lib/libz lib/libz/contrib lib/libz/doc lib/libz/test usr.bin/minigzip

2017-01-18 Thread Xin LI
Author: delphij Date: Wed Jan 18 08:20:36 2017 New Revision: 312375 URL: https://svnweb.freebsd.org/changeset/base/312375 Log: MFC r311275: Restructure libz. Added: - copied from r311275, head/contrib/zlib/ Directory Properties: stable/10/contrib/zlib/ (props changed) Deleted:

svn commit: r312374 - head/sys/boot/efi/libefi

2017-01-18 Thread Toomas Soome
Author: tsoome Date: Wed Jan 18 08:18:07 2017 New Revision: 312374 URL: https://svnweb.freebsd.org/changeset/base/312374 Log: loader: efi devpath api usage should be more aware of NULL pointers As the efi_devpath_last_node() and efi_devpath_trim() can return NULL pointers, the consumers

svn commit: r312373 - in stable/11: lib/libstand lib/libz lib/libz/contrib lib/libz/doc lib/libz/test usr.bin/minigzip

2017-01-18 Thread Xin LI
Author: delphij Date: Wed Jan 18 08:11:18 2017 New Revision: 312373 URL: https://svnweb.freebsd.org/changeset/base/312373 Log: MFC r311275: Restructure libz. Added: - copied from r311275, head/contrib/zlib/ Directory Properties: stable/11/contrib/zlib/ (props changed) Deleted: