svn commit: r319491 - head/sys/dev/xen/netfront

2017-06-02 Thread Colin Percival
Author: cperciva Date: Fri Jun 2 07:03:31 2017 New Revision: 319491 URL: https://svnweb.freebsd.org/changeset/base/319491 Log: Skip setting the MTU in the netfront driver (xn# devices) if the new MTU is the same as the old MTU. In particular, on Amazon EC2 "T2" instances without this

Re: svn commit: r319491 - head/sys/dev/xen/netfront

2017-06-02 Thread Roger Pau Monné
On Fri, Jun 02, 2017 at 07:03:31AM +, Colin Percival wrote: > Author: cperciva > Date: Fri Jun 2 07:03:31 2017 > New Revision: 319491 > URL: https://svnweb.freebsd.org/changeset/base/319491 > > Log: > Skip setting the MTU in the netfront driver (xn# devices) if the new MTU > is the same

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

2017-06-02 Thread John Baldwin
Author: jhb Date: Fri Jun 2 13:33:50 2017 New Revision: 319493 URL: https://svnweb.freebsd.org/changeset/base/319493 Log: Decode the arguments passed to __cap_rights_get() and cap_rights_limit(). Submitted by: tobik Modified: head/usr.bin/truss/syscall.h head/usr.bin/truss/syscalls.c

svn commit: r319496 - head/sys/arm64/arm64

2017-06-02 Thread Olivier Houchard
Author: cognet Date: Fri Jun 2 14:17:14 2017 New Revision: 319496 URL: https://svnweb.freebsd.org/changeset/base/319496 Log: - Don't bother flushing the data cache for pages we're about to unmap, there's no need to. - Remove pmap_is_current(), pmap_[pte|l3]_valid_cacheable as there were

svn commit: r319501 - head/sys/compat/linuxkpi/common/src

2017-06-02 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jun 2 16:52:18 2017 New Revision: 319501 URL: https://svnweb.freebsd.org/changeset/base/319501 Log: Improve kqueue() support in the LinuxKPI. Some applications using the kqueue() does not set non-blocking I/O mode for event driven read of file descriptors. This

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

2017-06-02 Thread Gleb Smirnoff
Author: glebius Date: Fri Jun 2 17:31:25 2017 New Revision: 319502 URL: https://svnweb.freebsd.org/changeset/base/319502 Log: For UNIX sockets make vnode point not to the socket, but to the UNIX PCB, since the latter is the thing that links together VFS and sockets. While here, make the

svn commit: r319500 - head/sys/compat/linuxkpi/common/src

2017-06-02 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jun 2 16:30:40 2017 New Revision: 319500 URL: https://svnweb.freebsd.org/changeset/base/319500 Log: Add support for setting the non-blocking I/O flag for LinuxKPI character devices. In Linux the FIONBIO IOCTL is handled by the kernel and not the drivers. Also

svn commit: r319494 - head/sys/dev/uart

2017-06-02 Thread Andrew Turner
Author: andrew Date: Fri Jun 2 14:01:17 2017 New Revision: 319494 URL: https://svnweb.freebsd.org/changeset/base/319494 Log: Fix device lookup of for the stdout-path chosen property. The stdout-path chosen property may include the serial connection details, e.g. the baud rate. When

svn commit: r319498 - head/sys/dev/etherswitch/e6000sw

2017-06-02 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jun 2 15:12:32 2017 New Revision: 319498 URL: https://svnweb.freebsd.org/changeset/base/319498 Log: style(9) fixes, remove unnecessary headers, remove duplicate #defines and in some cases, shuffle the code around to simplify locking. No functional changes.

svn commit: r319499 - head/share/man/man7

2017-06-02 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Jun 2 15:32:11 2017 New Revision: 319499 URL: https://svnweb.freebsd.org/changeset/base/319499 Log: Consistently use lowercase hex numbers in ascii(7). MFC after:2 weeks Modified: head/share/man/man7/ascii.7 Modified: head/share/man/man7/ascii.7

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

2017-06-02 Thread Gleb Smirnoff
Author: glebius Date: Fri Jun 2 17:39:05 2017 New Revision: 319503 URL: https://svnweb.freebsd.org/changeset/base/319503 Log: Remove write only flag UNP_HAVEPCCACHED. Modified: head/sys/kern/uipc_usrreq.c head/sys/sys/unpcb.h Modified: head/sys/kern/uipc_usrreq.c

svn commit: r319506 - head/sys/dev/cxgbe

2017-06-02 Thread Navdeep Parhar
Author: np Date: Fri Jun 2 17:57:27 2017 New Revision: 319506 URL: https://svnweb.freebsd.org/changeset/base/319506 Log: cxgbe(4): Update the statistics for compound tx work requests once per work request, not once per frame. MFC after:1 week Sponsored by: Chelsio Communications

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

2017-06-02 Thread Gleb Smirnoff
Author: glebius Date: Fri Jun 2 17:49:21 2017 New Revision: 319505 URL: https://svnweb.freebsd.org/changeset/base/319505 Log: Rename accept filter getopt/setopt functions, so that they are prefixed with module name and match other functions in the module. There is no functional change.

svn commit: r319507 - head/sys/fs/msdosfs

2017-06-02 Thread Ed Maste
Author: emaste Date: Fri Jun 2 18:39:53 2017 New Revision: 319507 URL: https://svnweb.freebsd.org/changeset/base/319507 Log: msdosfs: use mem{cpy,move,set} instead of bcopy,bzero This somewhat simplifies use of msdosfs code in userland (for makefs), reduces diffs with NetBSD and is

svn commit: r319504 - head/sys/kern

2017-06-02 Thread Gleb Smirnoff
Author: glebius Date: Fri Jun 2 17:43:47 2017 New Revision: 319504 URL: https://svnweb.freebsd.org/changeset/base/319504 Log: Style: unwrap lines that doesn't have a good reason to be wrapped. Modified: head/sys/kern/uipc_accf.c Modified: head/sys/kern/uipc_accf.c

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

2017-06-02 Thread John Baldwin
Author: jhb Date: Fri Jun 2 22:35:18 2017 New Revision: 319509 URL: https://svnweb.freebsd.org/changeset/base/319509 Log: Decode the argument passed to cap_getmode(). The returned integer value is output. Modified: head/usr.bin/truss/syscall.h head/usr.bin/truss/syscalls.c Modified:

Re: svn commit: r319491 - head/sys/dev/xen/netfront

2017-06-02 Thread Colin Percival
On 06/02/17 03:29, Roger Pau Monn� wrote: > On Fri, Jun 02, 2017 at 07:03:31AM +, Colin Percival wrote: >> Skip setting the MTU in the netfront driver (xn# devices) if the new MTU >> is the same as the old MTU. [...] >> Maintainers of other network interface drivers may wish to

svn commit: r319508 - head/usr.bin/last

2017-06-02 Thread Stephen J. Kiernan
Author: stevek Date: Fri Jun 2 20:25:25 2017 New Revision: 319508 URL: https://svnweb.freebsd.org/changeset/base/319508 Log: Fix a memory leak with last free memory allocated to 'buf' Submitted by: Thomas Rix Reviewed by: ed Approved by: sjg (mentor) MFC

svn commit: r319513 - head/sys/conf

2017-06-02 Thread Ed Maste
Author: emaste Date: Sat Jun 3 03:40:11 2017 New Revision: 319513 URL: https://svnweb.freebsd.org/changeset/base/319513 Log: linux vdso: pass -fPIC to the assembler, not linker -fPIC has no effect on linking although it seems to be ignored by GNU ld.bfd. However, it causes ld.lld to

svn commit: r319510 - head/contrib/xz/src/liblzma/check

2017-06-02 Thread Ed Maste
Author: emaste Date: Sat Jun 3 02:42:49 2017 New Revision: 319510 URL: https://svnweb.freebsd.org/changeset/base/319510 Log: xz: set noexec stack flag on FreeBSD Will also be proposed upstream. Reviewed by: delphij Sponsored by: The FreeBSD Foundation Differential Revision: