svn commit: r315442 - head/sys/compat/linuxkpi/common/include/linux

2017-03-17 Thread Hans Petter Selasky
Author: hselasky Date: Fri Mar 17 08:02:46 2017 New Revision: 315442 URL: https://svnweb.freebsd.org/changeset/base/315442 Log: Add comment describing the use of pagefault_disable() and pagefault_enable() in the LinuxKPI. Suggested by: rpokala@ MFC after:1 we

svn commit: r315443 - in head/sys/compat/linuxkpi/common: include/linux src

2017-03-17 Thread Hans Petter Selasky
Author: hselasky Date: Fri Mar 17 10:30:06 2017 New Revision: 315443 URL: https://svnweb.freebsd.org/changeset/base/315443 Log: Implement minimalistic memory mapping structure, struct mm_struct, and some associated helper functions in the LinuxKPI. Let the existing linux_alloc_current() func

svn commit: r315447 - head/usr.sbin/bsdinstall/scripts

2017-03-17 Thread Bartek Rutkowski
Author: robak (ports committer) Date: Fri Mar 17 11:45:46 2017 New Revision: 315447 URL: https://svnweb.freebsd.org/changeset/base/315447 Log: Revert changes introduced in r314036 on demand by jhb and bapt. Approved by: bapt, jhb Modified: head/usr.sbin/bsdinstall/scripts/hardening Mod

svn commit: r315448 - in head/sys/arm: conf freescale/imx

2017-03-17 Thread Andrew Turner
Author: andrew Date: Fri Mar 17 12:34:56 2017 New Revision: 315448 URL: https://svnweb.freebsd.org/changeset/base/315448 Log: Move the IMX6 kernels to use PLATFORM_SMP. This is the last SMP config to be migrated to this and will allow the removal of this option. Reviewed by: ian Sponso

svn commit: r315449 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-03-17 Thread Steven Hartland
Author: smh Date: Fri Mar 17 12:34:57 2017 New Revision: 315449 URL: https://svnweb.freebsd.org/changeset/base/315449 Log: Reduce ARC fragmentation threshold As ZFS can request up to SPA_MAXBLOCKSIZE memory block e.g. during zfs recv, update the threshold at which we start agressive recla

svn commit: r315450 - in head/sys: arm/qemu dev/fdt

2017-03-17 Thread Andrew Turner
Author: andrew Date: Fri Mar 17 12:45:53 2017 New Revision: 315450 URL: https://svnweb.freebsd.org/changeset/base/315450 Log: Make the default FDT implementation of platform_mp_setmaxid use the cpu nodes from the DTB by default. This will allow us to enumerate the CPUs without hard coding th

svn commit: r315451 - in head/sys: arm/mv conf

2017-03-17 Thread Andrew Turner
Author: andrew Date: Fri Mar 17 12:59:16 2017 New Revision: 315451 URL: https://svnweb.freebsd.org/changeset/base/315451 Log: Remove code for Marvell SoCs that lack a kernel config. It seems to be old code from the armv6 project branch that never had a kernel config. Reviewed by: mm

svn commit: r315452 - head/sys/boot/efi/loader/arch/arm64

2017-03-17 Thread Andrew Turner
Author: andrew Date: Fri Mar 17 13:31:24 2017 New Revision: 315452 URL: https://svnweb.freebsd.org/changeset/base/315452 Log: Mark the EFI PE header as allocated. While ld.bfd doesn't seem to care about not having this flag ld.lld fails to link without it. Sponsored by: DARPA, AFRL Modif

svn commit: r315453 - head/sys/kern

2017-03-17 Thread Konstantin Belousov
Author: kib Date: Fri Mar 17 13:37:37 2017 New Revision: 315453 URL: https://svnweb.freebsd.org/changeset/base/315453 Log: When clearing altsigstack settings on exec, do it to the right thread. Diagnosed by: smh Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head

svn commit: r315454 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include

2017-03-17 Thread Bruce Evans
Author: bde Date: Fri Mar 17 13:49:05 2017 New Revision: 315454 URL: https://svnweb.freebsd.org/changeset/base/315454 Log: Don't access the reserved registers %dr4 and %dr5 on i386. On the original i386, %dr[4-5] were unimplemented but not very clearly reserved, so debuggers read them to

svn commit: r315455 - head/lib/libfetch

2017-03-17 Thread Dag-Erling Smørgrav
Author: des Date: Fri Mar 17 14:18:52 2017 New Revision: 315455 URL: https://svnweb.freebsd.org/changeset/base/315455 Log: r308996 broke IP literals by assuming that a colon could only occur as a separator between host and port, and using strchr() to search for it. Rewrite fetch_resolve() so

svn commit: r315457 - in head/sys/compat/linuxkpi/common: include/linux src

2017-03-17 Thread Hans Petter Selasky
Author: hselasky Date: Fri Mar 17 15:40:24 2017 New Revision: 315457 URL: https://svnweb.freebsd.org/changeset/base/315457 Log: Implement get_pid_task(), pid_task() and some other PID helper functions in the LinuxKPI. Add a usage atomic to the task_struct structure to facilitate refcounting

svn commit: r315458 - in head: sys/netinet6 tests/sys/netinet

2017-03-17 Thread Alan Somers
Author: asomers Date: Fri Mar 17 16:50:37 2017 New Revision: 315458 URL: https://svnweb.freebsd.org/changeset/base/315458 Log: Constrain IPv6 routes to single FIBs when net.add_addr_allfibs=0 sys/netinet6/icmp6.c Use the interface's FIB for source address selection in ICMPv6 error

svn commit: r315459 - head/sys/conf

2017-03-17 Thread Bryan Drewery
Author: bdrewery Date: Fri Mar 17 18:08:00 2017 New Revision: 315459 URL: https://svnweb.freebsd.org/changeset/base/315459 Log: kmod: Fix depending on ILINKS for tracked DEPENDOBJS. The objects that may be in the dependency graph may not match ${OBJS}. Ensure the ilink link is added as a

svn commit: r315460 - head/sys/conf

2017-03-17 Thread Bryan Drewery
Author: bdrewery Date: Fri Mar 17 18:08:33 2017 New Revision: 315460 URL: https://svnweb.freebsd.org/changeset/base/315460 Log: kmod: Fix building assym.o not building missing dependencies. For instance, in the dtrace/dtrace module, building dtrace_asm.o wants to build genassym.o first, b

svn commit: r315461 - head/share/mk

2017-03-17 Thread Bryan Drewery
Author: bdrewery Date: Fri Mar 17 18:08:36 2017 New Revision: 315461 URL: https://svnweb.freebsd.org/changeset/base/315461 Log: META_MODE: Fix not using .depend files when no OBJDIR is present. By default bmake does not allow meta mode to work unless an OBJDIR is present. It allows this

svn commit: r315464 - in head/sys/powerpc: booke conf include powerpc

2017-03-17 Thread Justin Hibbits
Author: jhibbits Date: Fri Mar 17 21:40:14 2017 New Revision: 315464 URL: https://svnweb.freebsd.org/changeset/base/315464 Log: Introduce 64-bit PowerPC Book-E support Extend the Book-E pmap to support 64-bit operation. Much of this was taken from Juniper's Junos FreeBSD port. It uses

svn commit: r315465 - head/sys/mips/broadcom

2017-03-17 Thread Landon J. Fuller
Author: landonf Date: Fri Mar 17 22:02:02 2017 New Revision: 315465 URL: https://svnweb.freebsd.org/changeset/base/315465 Log: Add MIPS boot support for the BCM4706/Northstar ChipCommon core. This adds support for matching against a core lookup table when performing early boot core lookup

svn commit: r315466 - in head/sys/dev: mmc sdhci

2017-03-17 Thread Marius Strobl
Author: marius Date: Fri Mar 17 22:57:37 2017 New Revision: 315466 URL: https://svnweb.freebsd.org/changeset/base/315466 Log: Again, fixes regarding style(4), to comments, includes and unused parameters. Modified: head/sys/dev/mmc/bridge.h head/sys/dev/mmc/mmc.c head/sys/dev/mmc/mmcbr_i

Re: svn commit: r315466 - in head/sys/dev: mmc sdhci

2017-03-17 Thread Ian Lepore
On Fri, 2017-03-17 at 22:57 +, Marius Strobl wrote: > Author: marius > Date: Fri Mar 17 22:57:37 2017 > New Revision: 315466 > URL: https://svnweb.freebsd.org/changeset/base/315466 > > Log: >   Again, fixes regarding style(4), to comments, includes and unused >   parameters. > > Modified: >  

Re: svn commit: r315466 - in head/sys/dev: mmc sdhci

2017-03-17 Thread Marius Strobl
On Sat, Mar 18, 2017 at 12:39:47AM +0100, Marius Strobl wrote: > On Fri, Mar 17, 2017 at 05:09:26PM -0600, Ian Lepore wrote: > > On Fri, 2017-03-17 at 22:57 +, Marius Strobl wrote: > > > Author: marius > > > Date: Fri Mar 17 22:57:37 2017 > > > New Revision: 315466 > > > URL: https://svnweb.fre

Re: svn commit: r315466 - in head/sys/dev: mmc sdhci

2017-03-17 Thread Marius Strobl
On Fri, Mar 17, 2017 at 05:09:26PM -0600, Ian Lepore wrote: > On Fri, 2017-03-17 at 22:57 +, Marius Strobl wrote: > > Author: marius > > Date: Fri Mar 17 22:57:37 2017 > > New Revision: 315466 > > URL: https://svnweb.freebsd.org/changeset/base/315466 > > > > Log: > >   Again, fixes regarding s

svn commit: r315467 - head/lib/libc/string

2017-03-17 Thread Ed Maste
Author: emaste Date: Sat Mar 18 00:51:39 2017 New Revision: 315467 URL: https://svnweb.freebsd.org/changeset/base/315467 Log: libc: Use musl's O(n) memmem and strstr It is O(n) in the length of the haystack (big) string, and has special cases for short needle (little) strings, of one to f

svn commit: r315468 - head/lib/libc/string

2017-03-17 Thread Ed Maste
Author: emaste Date: Sat Mar 18 00:53:24 2017 New Revision: 315468 URL: https://svnweb.freebsd.org/changeset/base/315468 Log: libc: add reference to two-way algorithm and bad shift table in memmem/strstr Requested by: ed Modified: head/lib/libc/string/memmem.c head/lib/libc/string/strs

svn commit: r315469 - head/sys/netpfil/pf

2017-03-17 Thread Kristof Provost
Author: kp Date: Sat Mar 18 01:37:20 2017 New Revision: 315469 URL: https://svnweb.freebsd.org/changeset/base/315469 Log: pf: Fix memory leak on vnet shutdown or unload Rules are unlinked in shutdown_pf(), so we must call pf_unload_vnet_purge(), which frees unlinked rules, after that, not