svn commit: r319642 - in head: bin/chmod bin/chmod/tests etc/mtree

2017-06-06 Thread Ngie Cooper
Author: ngie Date: Wed Jun 7 05:33:56 2017 New Revision: 319642 URL: https://svnweb.freebsd.org/changeset/base/319642 Log: Add some basic tests for chmod(1) MFC after:1 month Sponsored by: Dell EMC Isilon Added: head/bin/chmod/tests/ head/bin/chmod/tests/Makefile (contents,

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

2017-06-06 Thread Gleb Smirnoff
Author: glebius Date: Wed Jun 7 01:48:11 2017 New Revision: 319641 URL: https://svnweb.freebsd.org/changeset/base/319641 Log: Provide typedef for socket upcall function. While here change so_gen_t type to modern uint64_t. Modified: head/sys/kern/uipc_socket.c head/sys/sys/socketvar.h

svn commit: r319640 - head/sys/kern

2017-06-06 Thread Gleb Smirnoff
Author: glebius Date: Wed Jun 7 01:21:34 2017 New Revision: 319640 URL: https://svnweb.freebsd.org/changeset/base/319640 Log: Remove a piece of dead code. Modified: head/sys/kern/uipc_socket.c Modified: head/sys/kern/uipc_socket.c

svn commit: r319639 - head/usr.sbin/bluetooth/hccontrol

2017-06-06 Thread Stephen J. Kiernan
Author: stevek Date: Tue Jun 6 22:17:55 2017 New Revision: 319639 URL: https://svnweb.freebsd.org/changeset/base/319639 Log: When the input parameter node is NULL, memory is allocated to it. To later free the memory, introduce a new variable lnode to track when this happens. Submitted

svn commit: r319638 - head/usr.sbin/ppp

2017-06-06 Thread Stephen J. Kiernan
Author: stevek Date: Tue Jun 6 21:51:04 2017 New Revision: 319638 URL: https://svnweb.freebsd.org/changeset/base/319638 Log: Before returning because of an memory allocation error, free the memory already allocated to buf. Found using clang's static analyzer - scan-build Submitted

svn commit: r319637 - in head: bin/cat/tests contrib/netbsd-tests/bin/cat

2017-06-06 Thread Ngie Cooper
Author: ngie Date: Tue Jun 6 21:50:00 2017 New Revision: 319637 URL: https://svnweb.freebsd.org/changeset/base/319637 Log: Add testcases for `cat -b` MFC after:1 month Sponsored by: Dell EMC Isilon Added: head/contrib/netbsd-tests/bin/cat/d_b_output.in (contents, props changed)

svn commit: r319636 - head/usr.bin/tset

2017-06-06 Thread Stephen J. Kiernan
Author: stevek Date: Tue Jun 6 21:40:35 2017 New Revision: 319636 URL: https://svnweb.freebsd.org/changeset/base/319636 Log: The memory assigned to the local variable 'copy' needs to be freed. Found using clang's static analyzer - scan-build Submitted by: Thomas Rix

svn commit: r319635 - head/bin/sh

2017-06-06 Thread Jilles Tjoelker
Author: jilles Date: Tue Jun 6 21:08:05 2017 New Revision: 319635 URL: https://svnweb.freebsd.org/changeset/base/319635 Log: sh: Call fc -e editor with interrupts enabled. Starting the fc -e editor can execute arbitrary script, and executing arbitrary script with INTOFF in effect may

svn commit: r319634 - in head: bin/cat/tests contrib/netbsd-tests/bin/cat

2017-06-06 Thread Ngie Cooper
Author: ngie Date: Tue Jun 6 21:03:43 2017 New Revision: 319634 URL: https://svnweb.freebsd.org/changeset/base/319634 Log: Add additional testcases for cat(1) Verify the following additional cases: - -s (in isolation, in addition to the -se testcase obtained via the NetBSD

svn commit: r319633 - stable/10/sys/contrib/ipfilter/netinet

2017-06-06 Thread Cy Schubert
Author: cy Date: Tue Jun 6 19:21:35 2017 New Revision: 319633 URL: https://svnweb.freebsd.org/changeset/base/319633 Log: MFC r318998: Fix return value of ip_sync_nat. Previously, regardless of error it always returned a return code of 0. Obtained from:NetBSD ip_sync.c r1.5

svn commit: r319632 - stable/11/sys/contrib/ipfilter/netinet

2017-06-06 Thread Cy Schubert
Author: cy Date: Tue Jun 6 19:20:28 2017 New Revision: 319632 URL: https://svnweb.freebsd.org/changeset/base/319632 Log: MFC r318998: Fix return value of ip_sync_nat. Previously, regardless of error it always returned a return code of 0. Obtained from:NetBSD ip_sync.c r1.5

Re: svn commit: r319631 - stable/10/lib/clang

2017-06-06 Thread Glen Barber
On Tue, Jun 06, 2017 at 06:40:15PM +, Dimitry Andric wrote: > Author: dim > Date: Tue Jun 6 18:40:14 2017 > New Revision: 319631 > URL: https://svnweb.freebsd.org/changeset/base/319631 > > Log: > Work around a gcc 4.2 bug on powerpc architectures, where using > -fdata-sections can cause

Re: svn commit: r319631 - stable/10/lib/clang

2017-06-06 Thread Dimitry Andric
On 6 Jun 2017, at 20:40, Dimitry Andric wrote: > > Author: dim > Date: Tue Jun 6 18:40:14 2017 > New Revision: 319631 > URL: https://svnweb.freebsd.org/changeset/base/319631 > > Log: > Work around a gcc 4.2 bug on powerpc architectures, where using > -fdata-sections can

svn commit: r319631 - stable/10/lib/clang

2017-06-06 Thread Dimitry Andric
Author: dim Date: Tue Jun 6 18:40:14 2017 New Revision: 319631 URL: https://svnweb.freebsd.org/changeset/base/319631 Log: Work around a gcc 4.2 bug on powerpc architectures, where using -fdata-sections can cause bogus "section type conflict" errors. See

svn commit: r319630 - in stable/11: share/man/man4 usr.bin/rctl

2017-06-06 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jun 6 17:27:41 2017 New Revision: 319630 URL: https://svnweb.freebsd.org/changeset/base/319630 Log: MFC r319076: Declutter rctl(8) by moving kernel build instructions into newly created rctl(4). Approved by: re (gjb) Added:

svn commit: r319629 - stable/11/usr.bin/rctl

2017-06-06 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jun 6 17:10:34 2017 New Revision: 319629 URL: https://svnweb.freebsd.org/changeset/base/319629 Log: MFC r319075: Random tweaks to rctl(8). This is just wording and formatting fixes. MFC r319432: Use proper capitalization with .Dd. Approved by:

svn commit: r319628 - in stable/11: share/man/man4 usr.sbin/iscsid

2017-06-06 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jun 6 17:00:21 2017 New Revision: 319628 URL: https://svnweb.freebsd.org/changeset/base/319628 Log: MFC r319074: Minor tweaks to iscsi(4) and iscsid(8). This is mostly wording and clarification of the userspace/kernel split. Approved by: re (gjb)

svn commit: r319627 - head/sys/vm

2017-06-06 Thread Alan Cox
Author: alc Date: Tue Jun 6 16:52:07 2017 New Revision: 319627 URL: https://svnweb.freebsd.org/changeset/base/319627 Log: Starting in r118390, swaponsomething() began to reserve the blocks at the beginning of a swap area for a disk label. However, neither r118390 nor r118544, which

svn commit: r319626 - in head: bin/echo bin/echo/tests etc/mtree

2017-06-06 Thread Ngie Cooper
Author: ngie Date: Tue Jun 6 16:04:27 2017 New Revision: 319626 URL: https://svnweb.freebsd.org/changeset/base/319626 Log: Add basic tests for echo(1) Verify that echo(1) does not... - ... print the trailing newline character with option '-n'. - ... print the trailing newline

Re: svn commit: r316311 - in head: lib/libstand sys/boot/geli sys/boot/i386/gptboot sys/boot/i386/loader sys/boot/i386/zfsboot

2017-06-06 Thread Konstantin Belousov
On Tue, Jun 06, 2017 at 03:51:26PM +0200, Hans Petter Selasky wrote: > On 03/31/17 02:04, Allan Jude wrote: > > Author: allanjude > > Date: Fri Mar 31 00:04:32 2017 > > New Revision: 316311 > > URL: https://svnweb.freebsd.org/changeset/base/316311 > > > > > > > > Modified:

svn commit: r319624 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-06-06 Thread Glen Barber
Author: gjb Date: Tue Jun 6 14:46:23 2017 New Revision: 319624 URL: https://svnweb.freebsd.org/changeset/base/319624 Log: MFC r318943 (avg): MFV r318942: 8166 zpool scrub thinks it repaired offline device https://www.illumos.org/issues/8166 If we do a scrub while a leaf device

svn commit: r319625 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-06-06 Thread Glen Barber
Author: gjb Date: Tue Jun 6 14:46:45 2017 New Revision: 319625 URL: https://svnweb.freebsd.org/changeset/base/319625 Log: MFC r318943 (avg): MFV r318942: 8166 zpool scrub thinks it repaired offline device https://www.illumos.org/issues/8166 If we do a scrub while a leaf device

svn commit: r319623 - stable/11/share/man/man4

2017-06-06 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jun 6 14:40:53 2017 New Revision: 319623 URL: https://svnweb.freebsd.org/changeset/base/319623 Log: MFC r319073: Random tweaks to cfiscsi(4) man page. This improves wording and adds a few Xrs. Approved by: re (gjb) Modified:

svn commit: r319622 - stable/11/release/doc/en_US.ISO8859-1/relnotes

2017-06-06 Thread Glen Barber
Author: gjb Date: Tue Jun 6 14:26:37 2017 New Revision: 319622 URL: https://svnweb.freebsd.org/changeset/base/319622 Log: Revert r319607, which documents items that existed in 11.0-RELEASE. Submitted by: jhb Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified:

svn commit: r319621 - head/release

2017-06-06 Thread Glen Barber
Author: gjb Date: Tue Jun 6 14:08:54 2017 New Revision: 319621 URL: https://svnweb.freebsd.org/changeset/base/319621 Log: Ensure ${_CW} is uppercase when passing '-c' to mk-vmimage.sh, otherwise with 'CLOUDWARE=vagrant-virtualbox', the path to the configuration file may be incorrect.

Re: svn commit: r316311 - in head: lib/libstand sys/boot/geli sys/boot/i386/gptboot sys/boot/i386/loader sys/boot/i386/zfsboot

2017-06-06 Thread Hans Petter Selasky
On 03/31/17 02:04, Allan Jude wrote: Author: allanjude Date: Fri Mar 31 00:04:32 2017 New Revision: 316311 URL: https://svnweb.freebsd.org/changeset/base/316311 Modified: head/sys/boot/i386/zfsboot/zfsboot.c == ---

Re: svn commit: r319607 - stable/11/release/doc/en_US.ISO8859-1/relnotes

2017-06-06 Thread Glen Barber
On Mon, Jun 05, 2017 at 04:15:50PM -0700, John Baldwin wrote: > On Monday, June 05, 2017 06:56:45 PM Glen Barber wrote: > > Author: gjb > > Date: Mon Jun 5 18:56:45 2017 > > New Revision: 319607 > > URL: https://svnweb.freebsd.org/changeset/base/319607 > > > > Log: > > Document r295930,

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

2017-06-06 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 6 10:12:58 2017 New Revision: 319620 URL: https://svnweb.freebsd.org/changeset/base/319620 Log: Fix init order in the LinuxKPI for IDR support after recent changes. CPU_FOREACH() is not available until SI_SUB_CPU at SI_ORDER_ANY when the LinuxKPI is loaded

Re: svn commit: r319611 - in head: sys/kern sys/sys usr.sbin/jail

2017-06-06 Thread Fabian Keil
Allan Jude wrote: > Author: allanjude > Date: Tue Jun 6 02:15:00 2017 > New Revision: 319611 > URL: https://svnweb.freebsd.org/changeset/base/319611 > > Log: > Jails: Optionally prevent jailed root from binding to privileged ports > > You may now optionally

svn commit: r319619 - stable/11/usr.sbin/ctld

2017-06-06 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jun 6 09:43:28 2017 New Revision: 319619 URL: https://svnweb.freebsd.org/changeset/base/319619 Log: MFC r319072: Make ctld(8) mention cfiscsi(4). Approved by: re (marius) Modified: stable/11/usr.sbin/ctld/ctld.8 Directory Properties: stable/11/ (props

svn commit: r319618 - in stable/11: lib/lib80211 lib/libc/net lib/libc/sys lib/libpmc share/man/man4 share/man/man7 usr.sbin/pmcstudy

2017-06-06 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jun 6 09:23:12 2017 New Revision: 319618 URL: https://svnweb.freebsd.org/changeset/base/319618 Log: MFC r318816: Don't end up manpage titles with a full stop. Approved by: re (marius) Modified: stable/11/lib/lib80211/lib80211.3

svn commit: r319617 - stable/11/etc/mtree

2017-06-06 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jun 6 08:55:11 2017 New Revision: 319617 URL: https://svnweb.freebsd.org/changeset/base/319617 Log: MFC r318861: Create /net by default, for autofs. Approved by: re (kib) Modified: stable/11/etc/mtree/BSD.root.dist Directory Properties: stable/11/

svn commit: r319616 - stable/11/sys/amd64/include

2017-06-06 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jun 6 08:33:19 2017 New Revision: 319616 URL: https://svnweb.freebsd.org/changeset/base/319616 Log: MFC r318398: Bump default MAXTSIZ (kern.maxtsiz) from 128MB to 32GB. The old limit prevents one from running eg clang built with debug; the new one is arbitrary

svn commit: r319615 - in stable/10: lib/libc/rpc lib/libc/xdr sys/rpc sys/xdr usr.sbin/rpcbind

2017-06-06 Thread Xin LI
Author: delphij Date: Tue Jun 6 07:22:26 2017 New Revision: 319615 URL: https://svnweb.freebsd.org/changeset/base/319615 Log: MFC r319369: * limit size of buffers to RPC_MAXDATASIZE * don't leak memory * be more picky about bad parameters From:

svn commit: r319614 - in stable/11: lib/libc/rpc lib/libc/xdr sys/rpc sys/xdr usr.sbin/rpcbind

2017-06-06 Thread Xin LI
Author: delphij Date: Tue Jun 6 07:21:33 2017 New Revision: 319614 URL: https://svnweb.freebsd.org/changeset/base/319614 Log: MFC r319369: * limit size of buffers to RPC_MAXDATASIZE * don't leak memory * be more picky about bad parameters From: