svn commit: r305922 - head/sys/kern

2016-09-18 Thread Sepherosa Ziehau
Author: sephe Date: Sun Sep 18 07:37:00 2016 New Revision: 305922 URL: https://svnweb.freebsd.org/changeset/base/305922 Log: Fix LINT building. Sponsored by: Microsoft Modified: head/sys/kern/kern_lockf.c Modified: head/sys/kern/kern_lockf.c =

svn commit: r305923 - head/sys/dev/hyperv/netvsc

2016-09-18 Thread Sepherosa Ziehau
Author: sephe Date: Sun Sep 18 07:37:59 2016 New Revision: 305923 URL: https://svnweb.freebsd.org/changeset/base/305923 Log: hyperv/hn: Regroup ifnet setup code. While I'm here, add comment along the attach DEVMETHOD. MFC after:1 week Sponsored by: Microsoft Differential Revisi

svn commit: r305924 - head/sys/dev/hyperv/netvsc

2016-09-18 Thread Sepherosa Ziehau
Author: sephe Date: Sun Sep 18 07:47:57 2016 New Revision: 305924 URL: https://svnweb.freebsd.org/changeset/base/305924 Log: hyperv/hn: Put debug message under bootverbose MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7875 Modif

svn commit: r305925 - head/sys/dev/hyperv/netvsc

2016-09-18 Thread Sepherosa Ziehau
Author: sephe Date: Sun Sep 18 08:10:40 2016 New Revision: 305925 URL: https://svnweb.freebsd.org/changeset/base/305925 Log: hyperv/hn: Don't mess up RSS key and indirect table after attachment. MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.f

svn commit: r305926 - head/sys/dev/hyperv/netvsc

2016-09-18 Thread Sepherosa Ziehau
Author: sephe Date: Sun Sep 18 08:19:33 2016 New Revision: 305926 URL: https://svnweb.freebsd.org/changeset/base/305926 Log: hyperv/hn: Add sysctls to dynamic adjust RSS key and indirect table MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.fre

svn commit: r305927 - head/usr.bin/sdiff

2016-09-18 Thread Baptiste Daroussin
Author: bapt Date: Sun Sep 18 10:06:35 2016 New Revision: 305927 URL: https://svnweb.freebsd.org/changeset/base/305927 Log: Remove reference of z(s)diff which was dropped before importing Modified: head/usr.bin/sdiff/sdiff.c Modified: head/usr.bin/sdiff/sdiff.c ==

svn commit: r305928 - in head/sys: arm/cloudabi32 conf contrib/cloudabi

2016-09-18 Thread Ed Schouten
Author: ed Date: Sun Sep 18 11:36:54 2016 New Revision: 305928 URL: https://svnweb.freebsd.org/changeset/base/305928 Log: Add very preliminary support for CloudABI for ARMv6. In order to make CloudABI work on ARMv6, start off by copying over the sysvec for ARM64 and adjust it to use 32-bi

svn commit: r305929 - in head: . etc share/man/man8

2016-09-18 Thread Baptiste Daroussin
ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20160918: + The backup_uses_rcs functionality has been removed from rc.subr. + 20160908: The queue(3) debugging macro, QUEUE_MACRO_DEBUG, has been split into two separate components, QUEUE_MACRO_DEBUG_TRACE and Modifi

svn commit: r305930 - head/usr.sbin/freebsd-update

2016-09-18 Thread Baptiste Daroussin
Author: bapt Date: Sun Sep 18 14:48:28 2016 New Revision: 305930 URL: https://svnweb.freebsd.org/changeset/base/305930 Log: In preparation for removal of GNU rcs, replace merge(1) usage with direct diff3(1) usage Modified: head/usr.sbin/freebsd-update/freebsd-update.sh Modified: head/usr.s

svn commit: r305931 - in head: . share/mk tools/build/options

2016-09-18 Thread Baptiste Daroussin
Sun Sep 18 14:48:28 2016(r305930) +++ head/UPDATING Sun Sep 18 15:01:11 2016(r305931) @@ -32,6 +32,10 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12 "ln -s 'abort:false,junk:false' /etc/malloc.conf".) 20160918: + GNU rcs has been turned of

svn commit: r305932 - head/share/mk

2016-09-18 Thread Baptiste Daroussin
Author: bapt Date: Sun Sep 18 15:06:28 2016 New Revision: 305932 URL: https://svnweb.freebsd.org/changeset/base/305932 Log: Remove cruft that accidently crept in r305931 Modified: head/share/mk/src.libnames.mk Modified: head/share/mk/src.libnames.mk ==

svn commit: r305933 - head/share/man/man5

2016-09-18 Thread Baptiste Daroussin
Author: bapt Date: Sun Sep 18 15:40:36 2016 New Revision: 305933 URL: https://svnweb.freebsd.org/changeset/base/305933 Log: Modify manually given makeman is broken due to errors in share/mk/* Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ==

svn commit: r305934 - head

2016-09-18 Thread Baptiste Daroussin
etc/malloc.conf".) 20160918: - GNU rcs has been turned off by default. It can (temporary) be built + GNU rcs has been turned off by default. It can (temporary) be built again by adding WITH_RCS knob in src.conf. 20160918: ___ svn-

svn commit: r305935 - head

2016-09-18 Thread Baptiste Daroussin
== --- head/UPDATING Sun Sep 18 15:51:34 2016(r305934) +++ head/UPDATING Sun Sep 18 15:55:57 2016(r305935) @@ -32,7 +32,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12 "ln -s 'abort:false,junk:false' /etc/malloc.conf".) 20160918: - GNU

svn commit: r305936 - head/usr.bin/soelim

2016-09-18 Thread Baptiste Daroussin
Author: bapt Date: Sun Sep 18 16:25:41 2016 New Revision: 305936 URL: https://svnweb.freebsd.org/changeset/base/305936 Log: Capsicum-ize soelim(1). As a trick to be able to access all files passed in arguments (readonly) within the sandbox we first open the root directory, then consider

svn commit: r305937 - head/usr.bin/tee

2016-09-18 Thread Baptiste Daroussin
Author: bapt Date: Sun Sep 18 16:34:40 2016 New Revision: 305937 URL: https://svnweb.freebsd.org/changeset/base/305937 Log: Capsicum-ize tee(1) Reviewed by: allanjude Differential Revision:https://reviews.freebsd.org/D7940 Modified: head/usr.bin/tee/tee.c Modified: head/usr.b

svn commit: r305938 - head/sys/contrib/cloudabi

2016-09-18 Thread Ed Schouten
Author: ed Date: Sun Sep 18 17:23:53 2016 New Revision: 305938 URL: https://svnweb.freebsd.org/changeset/base/305938 Log: Fix badly computed register/stack offset of system call output arguments. Bugs in the Python code used to generate this vDSO caused us to miscompute the register numbe

svn commit: r305939 - head/sys/amd64/amd64

2016-09-18 Thread Konstantin Belousov
Author: kib Date: Sun Sep 18 17:33:49 2016 New Revision: 305939 URL: https://svnweb.freebsd.org/changeset/base/305939 Log: Remove trailing space. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/sys/amd64/amd64/machdep.c Modified: head/sys/amd64/amd64/machdep.c

svn commit: r305940 - head/sys/netpfil/ipfw

2016-09-18 Thread Andrey V. Elsukov
Author: ae Date: Sun Sep 18 17:35:17 2016 New Revision: 305940 URL: https://svnweb.freebsd.org/changeset/base/305940 Log: Move opcode rewriter init and destroy handlers into non-VENT code. PR: 212576,212649,212077 Submitted by: John Zielinski MFC after:1 week Modified:

svn commit: r305941 - head/sys/boot/efi/include

2016-09-18 Thread Konstantin Belousov
Author: kib Date: Sun Sep 18 17:35:24 2016 New Revision: 305941 URL: https://svnweb.freebsd.org/changeset/base/305941 Log: Add double-inclusion protection. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/boot/efi/include/efilib.h Modified: head/sys/boot/ef

svn commit: r305942 - in head: sbin/sysctl sys/amd64/amd64 sys/arm/arm sys/arm64/arm64 sys/sys

2016-09-18 Thread Konstantin Belousov
Author: kib Date: Sun Sep 18 17:38:02 2016 New Revision: 305942 URL: https://svnweb.freebsd.org/changeset/base/305942 Log: Consolidate four efi_next_descriptor() definitions. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sbin/sysctl/sysctl.c head/sys/amd64/

svn commit: r305943 - head/sys/boot/efi/loader/arch/amd64

2016-09-18 Thread Konstantin Belousov
Author: kib Date: Sun Sep 18 17:41:16 2016 New Revision: 305943 URL: https://svnweb.freebsd.org/changeset/base/305943 Log: Utilize pmap.h names for constants and types used to construct EFI trampoline page table. Also do some style cleanup. Reviewed by: imp Sponsored by: The FreeBSD F

svn commit: r305944 - head/usr.bin/soelim

2016-09-18 Thread Baptiste Daroussin
Author: bapt Date: Sun Sep 18 17:56:14 2016 New Revision: 305944 URL: https://svnweb.freebsd.org/changeset/base/305944 Log: style(9) fix Reported by: oshogbo Modified: head/usr.bin/soelim/soelim.c Modified: head/usr.bin/soelim/soelim.c ==

svn commit: r305945 - head/usr.bin/soelim

2016-09-18 Thread Baptiste Daroussin
Author: bapt Date: Sun Sep 18 18:03:06 2016 New Revision: 305945 URL: https://svnweb.freebsd.org/changeset/base/305945 Log: Better error checking if getcwd fails: just ignore it and do not try to adding to the list of possible path where to find the files. if fdopen fails, warn and

Re: svn commit: r305930 - head/usr.sbin/freebsd-update

2016-09-18 Thread Cy Schubert
In message <201609181448.u8iemsnm060...@repo.freebsd.org>, Baptiste Daroussin w rites: > Author: bapt > Date: Sun Sep 18 14:48:28 2016 > New Revision: 305930 > URL: https://svnweb.freebsd.org/changeset/base/305930 > > Log: > In preparation for removal of GNU rcs, replace merge(1) usage with dir

svn commit: r305946 - head

2016-09-18 Thread Baptiste Daroussin
== --- head/UPDATING Sun Sep 18 18:03:06 2016(r305945) +++ head/UPDATING Sun Sep 18 18:27:28 2016(r305946) @@ -34,6 +34,9 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12 20160918: GNU rcs has been turned off by default. It can

svn commit: r305947 - head/sys/boot/efi/include

2016-09-18 Thread Konstantin Belousov
Author: kib Date: Sun Sep 18 18:40:27 2016 New Revision: 305947 URL: https://svnweb.freebsd.org/changeset/base/305947 Log: Add comment for the closing guard. Requested by: tsoome MFC after:1 week Modified: head/sys/boot/efi/include/efilib.h Modified: head/sys/boot/efi/include/efil

svn commit: r305948 - head/usr.bin/soelim

2016-09-18 Thread Baptiste Daroussin
Author: bapt Date: Sun Sep 18 18:49:18 2016 New Revision: 305948 URL: https://svnweb.freebsd.org/changeset/base/305948 Log: Fix building as bootstrap tools on pre-capsicum.h systems Modified: head/usr.bin/soelim/soelim.c Modified: head/usr.bin/soelim/soelim.c

svn commit: r305949 - head/usr.bin/soelim

2016-09-18 Thread Baptiste Daroussin
Author: bapt Date: Sun Sep 18 19:16:48 2016 New Revision: 305949 URL: https://svnweb.freebsd.org/changeset/base/305949 Log: Simplify the fix for bootstrap tools building head is not supported from prior to stable/10 where sys/capsicum.h was named sys/capabilities.h Reported by: kib

svn commit: r305951 - head/usr.bin/elfdump

2016-09-18 Thread Ed Maste
Author: emaste Date: Sun Sep 18 20:23:26 2016 New Revision: 305951 URL: https://svnweb.freebsd.org/changeset/base/305951 Log: elfdump: adjust stdout/stderr capabilities stdio uses fstat and the TIOCGETA ioctl. Also collapse the cap_rights_limit and new cap_ioctls_limit calls into one if s

svn commit: r305952 - head/lib/libc/gen

2016-09-18 Thread Ed Schouten
Author: ed Date: Sun Sep 18 20:47:55 2016 New Revision: 305952 URL: https://svnweb.freebsd.org/changeset/base/305952 Log: Replace dirname(3) by a copy that complies to POSIX. It turns out that the path normalization that our brand new copy of dirname(3) does is actually not allowed by the

svn commit: r305953 - in head/sys: dev/bhnd mips/broadcom

2016-09-18 Thread Landon J. Fuller
Author: landonf Date: Sun Sep 18 21:28:09 2016 New Revision: 305953 URL: https://svnweb.freebsd.org/changeset/base/305953 Log: Split bcm_mipscore.c into bcm_bmips (BMIPS32/BMIPS3300) and bcm_mips74k drivers. The BMIPS32/BMIPS3300 cores use a register layout distinct from the MIPS74K cor

svn commit: r305954 - head/sys/compat/freebsd32

2016-09-18 Thread Konstantin Belousov
Author: kib Date: Sun Sep 18 22:03:07 2016 New Revision: 305954 URL: https://svnweb.freebsd.org/changeset/base/305954 Log: Add compat32 support for capsicum. Reviewed by: bapt, emaste Sponsored by: The FreeBSD Foundation MFC after:2 weeks Differential revision:https://rev

svn commit: r305955 - head/sys/compat/freebsd32

2016-09-18 Thread Konstantin Belousov
Author: kib Date: Sun Sep 18 22:03:26 2016 New Revision: 305955 URL: https://svnweb.freebsd.org/changeset/base/305955 Log: Regen. Modified: head/sys/compat/freebsd32/freebsd32_proto.h head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_syscalls.c head/sys/c

Re: svn commit: r305949 - head/usr.bin/soelim

2016-09-18 Thread Allan Jude
On 2016-09-18 15:16, Baptiste Daroussin wrote: > Author: bapt > Date: Sun Sep 18 19:16:48 2016 > New Revision: 305949 > URL: https://svnweb.freebsd.org/changeset/base/305949 > > Log: > Simplify the fix for bootstrap tools > > building head is not supported from prior to stable/10 where sys/

svn commit: r305956 - head/lib/libc/sys

2016-09-18 Thread Eric Badger
Author: badger Date: Mon Sep 19 02:25:30 2016 New Revision: 305956 URL: https://svnweb.freebsd.org/changeset/base/305956 Log: Add manpage for rctl_* system calls Reviewed by: trasz, wblock Approved by: kib (mentor) MFC after:3 days Sponsored by: Dell Technologies Differential

svn commit: r305957 - head/usr.bin/soelim

2016-09-18 Thread Ngie Cooper
Author: ngie Date: Mon Sep 19 03:02:43 2016 New Revision: 305957 URL: https://svnweb.freebsd.org/changeset/base/305957 Log: Fix typo introduced in r305949 with the stable/10 bootstrapping logic The header is sys/capability.h, not sys/capabilities.h X-MFC with: r305949 Pointyhat to:

svn commit: r305958 - head/contrib/netbsd-tests/usr.bin/dirname

2016-09-18 Thread Ngie Cooper
Author: ngie Date: Mon Sep 19 06:39:08 2016 New Revision: 305958 URL: https://svnweb.freebsd.org/changeset/base/305958 Log: Remove expected failure for :basic (effectively reverting r305007, r305031) This no longer fails as of r305952 PR: 212193 Sponsored by: Dell EMC Isilo

svn commit: r305959 - head/usr.bin/soelim

2016-09-18 Thread Baptiste Daroussin
Author: bapt Date: Mon Sep 19 06:39:11 2016 New Revision: 305959 URL: https://svnweb.freebsd.org/changeset/base/305959 Log: Revert capsicum support In some corner case VFS lookup is not working and I do not have time to debug it for now. Modified: head/usr.bin/soelim/soelim.c Modified

Re: svn commit: r305949 - head/usr.bin/soelim

2016-09-18 Thread Warner Losh
On Sun, Sep 18, 2016 at 6:24 PM, Allan Jude wrote: > On 2016-09-18 15:16, Baptiste Daroussin wrote: >> Author: bapt >> Date: Sun Sep 18 19:16:48 2016 >> New Revision: 305949 >> URL: https://svnweb.freebsd.org/changeset/base/305949 >> >> Log: >> Simplify the fix for bootstrap tools >> >> buildi

Re: svn commit: r305949 - head/usr.bin/soelim

2016-09-18 Thread Baptiste Daroussin
On Mon, Sep 19, 2016 at 12:04:16AM -0600, Warner Losh wrote: > On Sun, Sep 18, 2016 at 11:52 PM, Warner Losh wrote: > > On Sun, Sep 18, 2016 at 11:44 PM, Warner Losh wrote: > >> On Sun, Sep 18, 2016 at 6:24 PM, Allan Jude wrote: > >>> On 2016-09-18 15:16, Baptiste Daroussin wrote: > Author:

Re: svn commit: r305949 - head/usr.bin/soelim

2016-09-18 Thread Warner Losh
On Mon, Sep 19, 2016 at 12:41 AM, Baptiste Daroussin wrote: > On Mon, Sep 19, 2016 at 12:04:16AM -0600, Warner Losh wrote: >> On Sun, Sep 18, 2016 at 11:52 PM, Warner Losh wrote: >> > On Sun, Sep 18, 2016 at 11:44 PM, Warner Losh wrote: >> >> On Sun, Sep 18, 2016 at 6:24 PM, Allan Jude wrote: >

svn commit: r305960 - head/sys/dev/hyperv/netvsc

2016-09-18 Thread Sepherosa Ziehau
Author: sephe Date: Mon Sep 19 06:46:22 2016 New Revision: 305960 URL: https://svnweb.freebsd.org/changeset/base/305960 Log: hyperv/hn: Apply RSS indirect table fixup before configure RNDIS RSS. MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.f

svn commit: r305961 - in head/lib/libc/tests: net/getaddrinfo sys

2016-09-18 Thread Ngie Cooper
Author: ngie Date: Mon Sep 19 06:59:17 2016 New Revision: 305961 URL: https://svnweb.freebsd.org/changeset/base/305961 Log: Re-add PACKAGE=> tests to lib/libc/tests/net/getaddrinfo/Makefile and add it to lib/libc/tests/sys/Makefile [*] Even though make -VPACKAGE and make -n install seem t