svn commit: r346430 - in head/stand/efi: include libefi loader

2019-04-19 Thread Warner Losh
Author: imp Date: Sat Apr 20 05:31:56 2019 New Revision: 346430 URL: https://svnweb.freebsd.org/changeset/base/346430 Log: Start to reduce the number of #ifdef EFI_ZFS_BOOT There's a number of EFI_ZFS_BOOT #ifdefs that aren't needed, or can be eliminated with some trivial #defines. Remove

svn commit: r346428 - in head/sys: arm64/conf conf

2019-04-19 Thread Ganbold Tsagaankhuu
Author: ganbold Date: Sat Apr 20 03:21:47 2019 New Revision: 346428 URL: https://svnweb.freebsd.org/changeset/base/346428 Log: Add SY8106A Buck Regulator and Allwinner CIR devices to GENERIC arm64 kernel. Modified: head/sys/arm64/conf/GENERIC head/sys/conf/files.arm64 Modified: head/sys/ar

svn commit: r346427 - in head/usr.sbin/cron: cron crontab

2019-04-19 Thread Kyle Evans
Author: kevans Date: Sat Apr 20 02:54:20 2019 New Revision: 346427 URL: https://svnweb.freebsd.org/changeset/base/346427 Log: cron(8): schedule interval jobs that get loaded during execution Jobs using the @ syntax currently only get executed if they exist when cron is started. The simple

svn commit: r346426 - head/sys/powerpc/powernv

2019-04-19 Thread Justin Hibbits
Author: jhibbits Date: Sat Apr 20 02:44:38 2019 New Revision: 346426 URL: https://svnweb.freebsd.org/changeset/base/346426 Log: powerpc64/powernv: Relax flash block write requirements Since writes don't necessarily need to be on erase-block boundaries, we can relax the block size and alig

svn commit: r346424 - in head/sys/fs: nfs nfsserver

2019-04-19 Thread Rick Macklem
Author: rmacklem Date: Fri Apr 19 23:35:08 2019 New Revision: 346424 URL: https://svnweb.freebsd.org/changeset/base/346424 Log: Add support for the ModeSetMasked attribute to the NFSv4.1 server. I do not know of an extant NFSv4.1 client that currently does a Setattr operation for the Mode

svn commit: r346423 - head/sys/fs/nfsserver

2019-04-19 Thread Rick Macklem
Author: rmacklem Date: Fri Apr 19 23:27:23 2019 New Revision: 346423 URL: https://svnweb.freebsd.org/changeset/base/346423 Log: Replace "vp" with NULL to make the code more readable. At the time of this nfsv4_sattr() call, "vp == NULL", so this patch doesn't change the semantics, but I th

svn commit: r346421 - head/tests/sys/opencrypto

2019-04-19 Thread John Baldwin
Author: jhb Date: Fri Apr 19 22:20:42 2019 New Revision: 346421 URL: https://svnweb.freebsd.org/changeset/base/346421 Log: Test SHA2-224-HMAC now that OCF supports it. Reviewed by: cem MFC after:2 weeks Sponsored by: Chelsio Communications Differential Revision:https://re

svn commit: r346420 - in head: lib/libc/gen share/man/man9 sys/conf sys/libkern sys/sys

2019-04-19 Thread Conrad Meyer
Author: cem Date: Fri Apr 19 22:08:17 2019 New Revision: 346420 URL: https://svnweb.freebsd.org/changeset/base/346420 Log: Revert r346410 and r346411 libkern in .PATH has too many filename conflicts with libc and my -DNO_CLEAN tinderbox didn't catch that ahead of time. Mea culpa. Added:

svn commit: r346419 - head/tests/sys/opencrypto

2019-04-19 Thread John Baldwin
Author: jhb Date: Fri Apr 19 21:58:51 2019 New Revision: 346419 URL: https://svnweb.freebsd.org/changeset/base/346419 Log: Sync cryptographic algorithm constants with current cryptodev.h. Reviewed by: cem MFC after:2 weeks Sponsored by: Chelsio Communications Differential Revisio

Re: svn commit: r346410 - in head: lib/libc/gen share/man/man9 sys/conf sys/libkern sys/sys

2019-04-19 Thread Charlie Li via svn-src-head
O. Hartmann wrote: > Am Fri, 19 Apr 2019 20:05:48 + (UTC) Conrad Meyer schrieb: >> Modified: head/lib/libc/gen/Makefile.inc >> == >> --- head/lib/libc/gen/Makefile.inc Fri Apr 19 19:45:19 2019 >> (r346409) >>

Re: svn commit: r346410 - in head: lib/libc/gen share/man/man9 sys/conf sys/libkern sys/sys

2019-04-19 Thread O. Hartmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Am Fri, 19 Apr 2019 20:05:48 + (UTC) Conrad Meyer schrieb: > Author: cem > Date: Fri Apr 19 20:05:47 2019 > New Revision: 346410 > URL: https://svnweb.freebsd.org/changeset/base/346410 > > Log: > libkern: Bring in arc4random_uniform(9) from

svn commit: r346416 - head/lib/libvgl

2019-04-19 Thread Bruce Evans
Author: bde Date: Fri Apr 19 20:29:49 2019 New Revision: 346416 URL: https://svnweb.freebsd.org/changeset/base/346416 Log: Fix copying of overlapping bitmaps. The cases of copying within the screen bitmap and within a single MEMBUF were broken when first source line is before the first dest

svn commit: r346412 - head/sys/conf

2019-04-19 Thread Conrad Meyer
Author: cem Date: Fri Apr 19 20:08:45 2019 New Revision: 346412 URL: https://svnweb.freebsd.org/changeset/base/346412 Log: kernel build: Disable unhelpful GCC warning (tripped after r346352) -Wformat-zero-length does not highlight any particularly wrong code and it is especially meaningle

svn commit: r346411 - head/sys/sys

2019-04-19 Thread Conrad Meyer
Author: cem Date: Fri Apr 19 20:06:22 2019 New Revision: 346411 URL: https://svnweb.freebsd.org/changeset/base/346411 Log: Bump __FreeBSD_version after r346410 Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h ==

svn commit: r346410 - in head: lib/libc/gen share/man/man9 sys/conf sys/libkern sys/sys

2019-04-19 Thread Conrad Meyer
Author: cem Date: Fri Apr 19 20:05:47 2019 New Revision: 346410 URL: https://svnweb.freebsd.org/changeset/base/346410 Log: libkern: Bring in arc4random_uniform(9) from libc It is a useful arc4random wrapper in the kernel for much the same reasons as in userspace. Move the source to libke

svn commit: r346409 - in head/stand/efi: include libefi

2019-04-19 Thread Warner Losh
Author: imp Date: Fri Apr 19 19:45:19 2019 New Revision: 346409 URL: https://svnweb.freebsd.org/changeset/base/346409 Log: Add wrapper functions to convert strings to EFI_DEVICE_PATH In anticipation of new functionality, create routines to convert char * and a CHAR16 * to a EFI_DEVICE_PAT

svn commit: r346408 - head/stand/efi/include

2019-04-19 Thread Warner Losh
Author: imp Date: Fri Apr 19 19:45:15 2019 New Revision: 346408 URL: https://svnweb.freebsd.org/changeset/base/346408 Log: Add UEFI definitions related to converting string to DEVICE_PATH Add definitions from UEFI 2.7 Errata B standards doc for converting a text string to a device path. A

svn commit: r346407 - head/stand/efi/include

2019-04-19 Thread Warner Losh
Author: imp Date: Fri Apr 19 19:44:59 2019 New Revision: 346407 URL: https://svnweb.freebsd.org/changeset/base/346407 Log: Add define for CONST. Newer interfaces take CONST parameters, so define CONST to minimize differences between our headers and the standards docs. Differential Re

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

2019-04-19 Thread Enji Cooper
> On Apr 19, 2019, at 11:29, Alexander Motin wrote: > > On 19.04.2019 14:09, Enji Cooper wrote: >>> On Apr 19, 2019, at 08:44, Alexander Motin wrote: >>> >>> Author: mav >>> Date: Fri Apr 19 15:44:45 2019 >>> New Revision: 346390 >>> URL: https://svnweb.freebsd.org/changeset/base/346390 >>> >

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

2019-04-19 Thread Alexander Motin
On 19.04.2019 14:09, Enji Cooper wrote: >> On Apr 19, 2019, at 08:44, Alexander Motin wrote: >> >> Author: mav >> Date: Fri Apr 19 15:44:45 2019 >> New Revision: 346390 >> URL: https://svnweb.freebsd.org/changeset/base/346390 >> >> Log: >> Change the way FreeBSD GID inheritance is hacked. >> >>

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

2019-04-19 Thread Enji Cooper
> On Apr 19, 2019, at 08:44, Alexander Motin wrote: > > Author: mav > Date: Fri Apr 19 15:44:45 2019 > New Revision: 346390 > URL: https://svnweb.freebsd.org/changeset/base/346390 > > Log: > Change the way FreeBSD GID inheritance is hacked. > > I believe previous ifdef caused NULL dereferen

svn commit: r346406 - head/sys/netinet6

2019-04-19 Thread Michael Tuexen
Author: tuexen Date: Fri Apr 19 18:09:37 2019 New Revision: 346406 URL: https://svnweb.freebsd.org/changeset/base/346406 Log: When an IPv6 packet is received for a raw socket which has the IPPROTO_IPV6 level socket option IPV6_CHECKSUM enabled and the checksum check fails, drop the message.

svn commit: r346405 - head/sys/dev/ath

2019-04-19 Thread Adrian Chadd
Author: adrian Date: Fri Apr 19 18:00:33 2019 New Revision: 346405 URL: https://svnweb.freebsd.org/changeset/base/346405 Log: [ath] Fix return value check to not complain. Compilers complain more about things, so let's keep them happy. Modified: head/sys/dev/ath/if_athvar.h Modified: he

Re: svn commit: r346399 - head/share/man/man4

2019-04-19 Thread Enji Cooper
> On Apr 19, 2019, at 10:15, Conrad Meyer wrote: > > Author: cem > Date: Fri Apr 19 17:15:58 2019 > New Revision: 346399 > URL: https://svnweb.freebsd.org/changeset/base/346399 > > Log: > random.4: Include description of knobs added in r346358 > > Reported by:ngie > Sponsored by:Del

svn commit: r346402 - head/sys/netinet6

2019-04-19 Thread Michael Tuexen
Author: tuexen Date: Fri Apr 19 17:28:28 2019 New Revision: 346402 URL: https://svnweb.freebsd.org/changeset/base/346402 Log: When a checksum has to be computed for a received IPv6 packet because it is requested by the application using the IPPROTO_IPV6 level socket option IPV6_CHECKSUM on a

svn commit: r346401 - head/sys/netinet6

2019-04-19 Thread Michael Tuexen
Author: tuexen Date: Fri Apr 19 17:21:35 2019 New Revision: 346401 URL: https://svnweb.freebsd.org/changeset/base/346401 Log: Avoid a buffer overwrite in rip6_output() when computing the checksum as requested by the user via the IPPROTO_IPV6 level socket option IPV6_CHECKSUM. The check if th

svn commit: r346400 - head/sys/netinet6

2019-04-19 Thread Michael Tuexen
Author: tuexen Date: Fri Apr 19 17:17:41 2019 New Revision: 346400 URL: https://svnweb.freebsd.org/changeset/base/346400 Log: Improve input validation for the socket option IPV6_CHECKSUM. When using the IPPROTO_IPV6 level socket option IPV6_CHECKSUM on a raw IPv6 socket, ensure that the v

svn commit: r346399 - head/share/man/man4

2019-04-19 Thread Conrad Meyer
Author: cem Date: Fri Apr 19 17:15:58 2019 New Revision: 346399 URL: https://svnweb.freebsd.org/changeset/base/346399 Log: random.4: Include description of knobs added in r346358 Reported by: ngie Sponsored by: Dell EMC Isilon Modified: head/share/man/man4/random.4 Modified: head/sha

svn commit: r346398 - in head: sys/netinet6 usr.bin/netstat usr.bin/systat

2019-04-19 Thread Tom Jones
Author: thj Date: Fri Apr 19 17:06:43 2019 New Revision: 346398 URL: https://svnweb.freebsd.org/changeset/base/346398 Log: Add stat counter for ipv6 atomic fragments Add a stat counter to track ipv6 atomic fragments. Atomic fragments can be generated in response to invalid path MTU values

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

2019-04-19 Thread Alexander Motin
Author: mav Date: Fri Apr 19 15:44:45 2019 New Revision: 346390 URL: https://svnweb.freebsd.org/changeset/base/346390 Log: Change the way FreeBSD GID inheritance is hacked. I believe previous ifdef caused NULL dereference in later zfs_log_create() on attempt to create file inside director

svn commit: r346386 - in head/sys: dev/bge dev/pci dev/twa x86/iommu

2019-04-19 Thread Tycho Nightingale
Author: tychon Date: Fri Apr 19 13:43:33 2019 New Revision: 346386 URL: https://svnweb.freebsd.org/changeset/base/346386 Log: remove the 4GB boundary requirement on PCI DMA segments Reviewed by: kib Discussed with: jhb Sponsored by: Dell EMC Isilon Differential Revision:

Re: svn commit: r346322 - head/lib/libcasper/services/cap_fileargs

2019-04-19 Thread Mariusz Zaborski
On Wed, Apr 17, 2019 at 04:58:38PM +, Adrian Chadd wrote: > Author: adrian > Date: Wed Apr 17 16:58:38 2019 > New Revision: 346322 > URL: https://svnweb.freebsd.org/changeset/base/346322 > > Log: > [casper] fix compilation when casper is disabled. > > This triggers an error in gcc-mips

svn commit: r346370 - head/sbin/pfctl

2019-04-19 Thread Kristof Provost
Author: kp Date: Fri Apr 19 10:52:54 2019 New Revision: 346370 URL: https://svnweb.freebsd.org/changeset/base/346370 Log: pfctl: Fix ifgroup check We cannot just assume that any name which ends with a letter is a group That's not been true since we allowed renaming of network interfaces.