svn commit: r347079 - head/sys/powerpc/powerpc

2019-05-03 Thread Justin Hibbits
Author: jhibbits Date: Sat May 4 02:45:24 2019 New Revision: 347079 URL: https://svnweb.freebsd.org/changeset/base/347079 Log: powerpc: Optimize padding in bus_dma_tag Avoid 8 bytes of padding (2 noncontiguous ints). Submitted by: Brandon Bergren Differential Revision: https://revi

svn commit: r347078 - head/sys/powerpc/include

2019-05-03 Thread Justin Hibbits
Author: jhibbits Date: Sat May 4 02:34:28 2019 New Revision: 347078 URL: https://svnweb.freebsd.org/changeset/base/347078 Log: powerpc: Merge all pmap struct definitions Summary: A few ports fail to build due to missing pmap-related definitions, which are specific per-pmap type. This

svn commit: r347075 - head/usr.sbin/lpr/common_source

2019-05-03 Thread Enji Cooper
Author: ngie Date: Sat May 4 02:09:30 2019 New Revision: 347075 URL: https://svnweb.freebsd.org/changeset/base/347075 Log: Fix `clang -Wcast-qual` issues Remove unnecessary `char*` casting for arguments passed to `cget*(3)`, and deconst `_PATH_PRINTCAP` before passing it to `cget*` via t

svn commit: r347066 - in head: sbin/fsck_ffs sys/ufs/ufs

2019-05-03 Thread Kirk McKusick
Author: mckusick Date: Fri May 3 21:54:14 2019 New Revision: 347066 URL: https://svnweb.freebsd.org/changeset/base/347066 Log: This update eliminates a kernel stack disclosure bug in UFS/FFS directory entries that is caused by uninitialized directory entry padding written to the disk. It ca

svn commit: r347064 - head/sys/ufs/ufs

2019-05-03 Thread Kirk McKusick
Author: mckusick Date: Fri May 3 21:46:25 2019 New Revision: 347064 URL: https://svnweb.freebsd.org/changeset/base/347064 Log: Simplify calculation of DIRECTSIZ. No functional change intended. Suggested by: kib MFC after:1 week Modified: head/sys/ufs/ufs/dir.h Modified: head/sys/

svn commit: r347065 - head/sys/amd64/vmm

2019-05-03 Thread John Baldwin
Author: jhb Date: Fri May 3 21:48:42 2019 New Revision: 347065 URL: https://svnweb.freebsd.org/changeset/base/347065 Log: Emulate the "ADD reg, r/m" instruction (opcode 03H). OVMF's flash variable storage is using add instructions when indexing the variable store bootrom location. S

svn commit: r347063 - head/sys/kern

2019-05-03 Thread Mark Johnston
Author: markj Date: Fri May 3 21:26:44 2019 New Revision: 347063 URL: https://svnweb.freebsd.org/changeset/base/347063 Log: Disallow excessively small times of day in clock_settime(2). Reported by: syzkaller Reviewed by: cem, kib MFC after:1 week Sponsored by: The FreeBSD Found

svn commit: r347062 - head/stand/efi/boot1

2019-05-03 Thread Warner Losh
Author: imp Date: Fri May 3 21:13:09 2019 New Revision: 347062 URL: https://svnweb.freebsd.org/changeset/base/347062 Log: Use SRC+= rather than SRC= To allow boot1/Makefile to be included, use SRC+= rathern than SRC= so the including Makefile can add additional sources to the build. Mod

svn commit: r347061 - head/stand/efi/boot1

2019-05-03 Thread Warner Losh
Author: imp Date: Fri May 3 21:13:04 2019 New Revision: 347061 URL: https://svnweb.freebsd.org/changeset/base/347061 Log: Substitute boot1 with ${BOOT1} Allow for other names to be built, so parameterize this makefile to avoid hard coding boot1. Modified: head/stand/efi/boot1/Makefile

svn commit: r347060 - head/stand/efi/boot1

2019-05-03 Thread Warner Losh
Author: imp Date: Fri May 3 21:09:25 2019 New Revision: 347060 URL: https://svnweb.freebsd.org/changeset/base/347060 Log: When we can't get memory, trying again right away is going to fail. Rather than print N failure messages, bail on the first one. Modified: head/stand/efi/boot1/boot1.c

svn commit: r347059 - head/stand/efi/boot1

2019-05-03 Thread Warner Losh
Author: imp Date: Fri May 3 21:06:34 2019 New Revision: 347059 URL: https://svnweb.freebsd.org/changeset/base/347059 Log: Remove stray '*' We're storing an EFI_HANDLE, not an pointer to a handle. Since EFI_HANDLE is a void * anyway, this has little practical effect since the conversion

svn commit: r347058 - head/sys/security/mac

2019-05-03 Thread Robert Watson
Author: rwatson Date: Fri May 3 20:38:43 2019 New Revision: 347058 URL: https://svnweb.freebsd.org/changeset/base/347058 Log: When MAC is enabled and a policy module is loaded, don't unconditionally lock mac_ifnet_mtx, which protects labels on struct ifnet, unless at least one policy is act

svn commit: r347057 - head/sys/net

2019-05-03 Thread Matt Macy
Author: mmacy Date: Fri May 3 20:05:31 2019 New Revision: 347057 URL: https://svnweb.freebsd.org/changeset/base/347057 Log: Allow iflib drivers to pass a pointer to their own ifmedia structure. Tested by: emaste@ Differential Revision:https://reviews.freebsd.org/D19946 Modifi

svn commit: r347056 - head/release/tools

2019-05-03 Thread Glen Barber
Author: gjb Date: Fri May 3 17:23:08 2019 New Revision: 347056 URL: https://svnweb.freebsd.org/changeset/base/347056 Log: Increase the default size of the GCE disk image from 3GB to 20GB, as 3GB is too small as discovered in this week's snapshot builds. MFC after:3 days Sponsored b

Re: svn commit: r346217 - in head/sys: fs/nfs fs/nfsclient kern sys

2019-05-03 Thread Rick Macklem
Harry Schmalzbauer wrote: >Am 15.04.2019 um 03:27 schrieb Rick Macklem: >> Author: rmacklem >> Date: Mon Apr 15 01:27:15 2019 >> New Revision: 346217 >> URL: https://svnweb.freebsd.org/changeset/base/346217 >> >> Log: >>Fix the NFSv4 client to safely find processes. >> >>r340744 broke the N

svn commit: r347055 - in head: sbin/ifconfig sys/net

2019-05-03 Thread Andrew Gallatin
Author: gallatin Date: Fri May 3 14:43:21 2019 New Revision: 347055 URL: https://svnweb.freebsd.org/changeset/base/347055 Log: Select lacp egress ports based on NUMA domain This change creates an array of port maps indexed by numa domain for lacp port selection. If we have lacp interface

svn commit: r347054 - head/lib/libvgl

2019-05-03 Thread Bruce Evans
Author: bde Date: Fri May 3 13:06:46 2019 New Revision: 347054 URL: https://svnweb.freebsd.org/changeset/base/347054 Log: Fix copying planar bitmaps when the horizontal start and end are both not multiples of 8. Then the misaligned pixels at the end were not copied. Clean up variable mi

Re: svn commit: r346217 - in head/sys: fs/nfs fs/nfsclient kern sys

2019-05-03 Thread Harry Schmalzbauer
Am 15.04.2019 um 03:27 schrieb Rick Macklem: Author: rmacklem Date: Mon Apr 15 01:27:15 2019 New Revision: 346217 URL: https://svnweb.freebsd.org/changeset/base/346217 Log: Fix the NFSv4 client to safely find processes. r340744 broke the NFSv4 client, because it replaced pfind_locked()

svn commit: r347052 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/linux i386/linux

2019-05-03 Thread Dmitry Chagin
Author: dchagin Date: Fri May 3 08:42:49 2019 New Revision: 347052 URL: https://svnweb.freebsd.org/changeset/base/347052 Log: In order to reduce duplication between MD parts of the Linuxulator move bits that are MI out into the headers in compat/linux. For that remove bogus _packed attribut

svn commit: r347051 - head/sys/compat/linprocfs

2019-05-03 Thread Edward Tomasz Napierala
Author: trasz Date: Fri May 3 08:27:03 2019 New Revision: 347051 URL: https://svnweb.freebsd.org/changeset/base/347051 Log: Decode more CPU flags in cpuinfo. Reviewed by: dchagin MFC after:2 weeks Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews