svn commit: r364004 - head/sbin/mount

2020-08-06 Thread Warner Losh
Author: imp Date: Fri Aug 7 02:48:19 2020 New Revision: 364004 URL: https://svnweb.freebsd.org/changeset/base/364004 Log: All the other printf() calls cast to (void) here, do the two newer ones for consistency. Modified: head/sbin/mount/mount.c Modified: head/sbin/mount/mount.c

svn commit: r363997 - head/sys/net

2020-08-06 Thread Vincenzo Maffione
Author: vmaffione Date: Thu Aug 6 21:37:38 2020 New Revision: 363997 URL: https://svnweb.freebsd.org/changeset/base/363997 Log: iflib: netmap: drop redundant check The validity of head is already checked by nm_rxsync_prologue(). MFC after:2 weeks Modified: head/sys/net/iflib.c

svn commit: r363996 - head/sys/net

2020-08-06 Thread Vincenzo Maffione
Author: vmaffione Date: Thu Aug 6 21:32:25 2020 New Revision: 363996 URL: https://svnweb.freebsd.org/changeset/base/363996 Log: iflib: netmap: don't increment ifl_cidx on the wrong free list Netmap only uses free list 0 to keep it consistent with its one-to-one mapping between each

svn commit: r363995 - head/sys/dev/e1000

2020-08-06 Thread Vincenzo Maffione
Author: vmaffione Date: Thu Aug 6 21:01:26 2020 New Revision: 363995 URL: https://svnweb.freebsd.org/changeset/base/363995 Log: em(4): honor vlanhwtag offload The FreeBSD em driver fails to properly reset the VME flag in the e1000 CTRL register oneg the following ifconfig command

svn commit: r363992 - head/usr.sbin/pwd_mkdb

2020-08-06 Thread Alex Richardson
Author: arichardson Date: Thu Aug 6 20:46:13 2020 New Revision: 363992 URL: https://svnweb.freebsd.org/changeset/base/363992 Log: Allow bootstrapping pwd_mkdb on Linux/macOS We need to provide a struct passwd that is compatible with the target system and this is not the case when

svn commit: r363993 - head/stand

2020-08-06 Thread Alex Richardson
Author: arichardson Date: Thu Aug 6 20:46:18 2020 New Revision: 363993 URL: https://svnweb.freebsd.org/changeset/base/363993 Log: stand: use portable ln -n instead of ln -h This fixes the build on Linux Differential Revision: https://reviews.freebsd.org/D24783 Modified:

svn commit: r363991 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2020-08-06 Thread Alex Richardson
Author: arichardson Date: Thu Aug 6 20:44:40 2020 New Revision: 363991 URL: https://svnweb.freebsd.org/changeset/base/363991 Log: ctfmerge: Fix missing pthread_cond_init() This does not appear to matter on FreeBSD or Linux, but when building an amd64 kernel on macOS I was seeing

svn commit: r363988 - head/usr.sbin/yp_mkdb

2020-08-06 Thread Dimitry Andric
Author: dim Date: Thu Aug 6 20:31:50 2020 New Revision: 363988 URL: https://svnweb.freebsd.org/changeset/base/363988 Log: Fix clang 11 -Wformat warnings in yp_mkdb: usr.sbin/yp_mkdb/yp_mkdb.c:91:40: error: format specifies type 'char *' but the argument has type 'void *'

svn commit: r363979 - in head: sys/cam/ctl sys/cam/scsi usr.sbin/ctladm

2020-08-06 Thread Alexander Motin
Author: mav Date: Thu Aug 6 19:16:11 2020 New Revision: 363979 URL: https://svnweb.freebsd.org/changeset/base/363979 Log: Add CTL support for REPORT IDENTIFYING INFORMATION command. It allows to report to initiator LU identifying information, preset via "ident_info" and

svn commit: r363972 - head/lib/libc/powerpc64/gen

2020-08-06 Thread Brandon Bergren
Author: bdragon Date: Thu Aug 6 17:49:19 2020 New Revision: 363972 URL: https://svnweb.freebsd.org/changeset/base/363972 Log: [POWERPC] Fix ppc64 makecontext() parameter overflow handling. On ELFv2, the overflow parameters in the stack frame are at a different offset from sp than ELFv1.

Re: svn commit: r363966 - head/sys/vm

2020-08-06 Thread Brooks Davis
On Thu, Aug 06, 2020 at 04:20:21PM +, Brooks Davis wrote: > Author: brooks > Date: Thu Aug 6 16:20:20 2020 > New Revision: 363966 > URL: https://svnweb.freebsd.org/changeset/base/363966 > > Log: > Preserve ASLR vm_map flags across fork > > In the most common case (fork+execve) this

svn commit: r363966 - head/sys/vm

2020-08-06 Thread Brooks Davis
Author: brooks Date: Thu Aug 6 16:20:20 2020 New Revision: 363966 URL: https://svnweb.freebsd.org/changeset/base/363966 Log: Preserve ASLR vm_map flags across fork In the most common case (fork+execve) this doesn't matter, but further attempts to apply entropy would fail in (e.g.) a

svn commit: r363965 - head

2020-08-06 Thread Emmanuel Vadot
Author: manu Date: Thu Aug 6 16:14:43 2020 New Revision: 363965 URL: https://svnweb.freebsd.org/changeset/base/363965 Log: pkgbase: Add the possibility to choose the output dir The output dir is set to ${REPODIR}/${PKG_ABI}/${PKG_VERSION} now. Add the possibility to specify the last

svn commit: r363964 - head

2020-08-06 Thread Emmanuel Vadot
Author: manu Date: Thu Aug 6 16:13:54 2020 New Revision: 363964 URL: https://svnweb.freebsd.org/changeset/base/363964 Log: pkgbase: Add a new variable PKG_TIMESTAMP libarchive uses the SOURCE_DATE_EPOCH env variable to set the date of file in an archive, this is useful for

svn commit: r363962 - head/release/packages

2020-08-06 Thread Emmanuel Vadot
Author: manu Date: Thu Aug 6 16:11:30 2020 New Revision: 363962 URL: https://svnweb.freebsd.org/changeset/base/363962 Log: pkgbase: Remove vcs revision from kernel and runtime comment This is not needed and we don't do that for other packages. Modified: head/release/packages/kernel.ucl

svn commit: r363960 - head/sys/kern

2020-08-06 Thread Mark Johnston
Author: markj Date: Thu Aug 6 15:43:15 2020 New Revision: 363960 URL: https://svnweb.freebsd.org/changeset/base/363960 Log: Clean up reassignbuf() and buf_vlist_remove() a bit. - Convert panic() calls to INVARIANTS-only assertions. The PCTRIE code provides some of the same protection

svn commit: r363959 - head/sys/kern

2020-08-06 Thread Mark Johnston
Author: markj Date: Thu Aug 6 15:42:59 2020 New Revision: 363959 URL: https://svnweb.freebsd.org/changeset/base/363959 Log: Remove the vfs.reassignbufcalls counter and sysctl. As the 20-year old comment above it suggests, the counter is of dubious value. Moreover, the (global) counter

svn commit: r363955 - head/sys/dev/ahci

2020-08-06 Thread Alexander Motin
Author: mav Date: Thu Aug 6 15:17:44 2020 New Revision: 363955 URL: https://svnweb.freebsd.org/changeset/base/363955 Log: Add Intel Apollo Lake AHCI ID. Submitted by: Dmitry Luhtionov MFC after:1 week Modified: head/sys/dev/ahci/ahci_pci.c Modified: head/sys/dev/ahci/ahci_pci.c

svn commit: r363951 - in head/sys: conf dev/usb/misc modules/usb modules/usb/cp2112

2020-08-06 Thread Andriy Gapon
Author: avg Date: Thu Aug 6 13:41:42 2020 New Revision: 363951 URL: https://svnweb.freebsd.org/changeset/base/363951 Log: cp2112: driver for the namesake GPIO and I2C master gadget Documentation: - CP2112 Datasheet

svn commit: r363950 - in head/sys/dev: rtwn/usb usb

2020-08-06 Thread Hans Petter Selasky
Author: hselasky Date: Thu Aug 6 13:25:04 2020 New Revision: 363950 URL: https://svnweb.freebsd.org/changeset/base/363950 Log: Add new USB ID. Submitted by: Dmitry Luhtionov MFC after:1 week Sponsored by: Mellanox Technologies Modified:

svn commit: r363949 - in head/sys: dev/iommu x86/iommu

2020-08-06 Thread Ruslan Bukin
Author: br Date: Thu Aug 6 12:49:25 2020 New Revision: 363949 URL: https://svnweb.freebsd.org/changeset/base/363949 Log: Move dmar_domain_unload_task to busdma_iommu.c. Reviewed by: kib Sponsored by: DARPA/AFRL Differential Revision:https://reviews.freebsd.org/D25972

svn commit: r363948 - head/sys/arm/allwinner/clkng

2020-08-06 Thread Andriy Gapon
Author: avg Date: Thu Aug 6 11:18:06 2020 New Revision: 363948 URL: https://svnweb.freebsd.org/changeset/base/363948 Log: ccu_sun8i_r: minor comment update MFC after:1 week Modified: head/sys/arm/allwinner/clkng/ccu_sun8i_r.c Modified: head/sys/arm/allwinner/clkng/ccu_sun8i_r.c

svn commit: r363946 - in head/sys: dev/iommu x86/iommu

2020-08-06 Thread Ruslan Bukin
Author: br Date: Thu Aug 6 08:48:23 2020 New Revision: 363946 URL: https://svnweb.freebsd.org/changeset/base/363946 Log: Add iommu_domain constructor and destructor. Reviewed by: kib Sponsored by: DARPA/AFRL Differential Revision:https://reviews.freebsd.org/D25956 Modified:

svn commit: r363945 - head/sys/cam/mmc

2020-08-06 Thread Emmanuel Vadot
Author: manu Date: Thu Aug 6 08:21:33 2020 New Revision: 363945 URL: https://svnweb.freebsd.org/changeset/base/363945 Log: mmccam: Unhold the periph when we add the device Otherwise the device node aren't created. Pointy hat to: manu Reported by: bz Modified: