svn commit: r360068 - in head/sys: kern net sys

2020-04-18 Thread Kristof Provost
Author: kp Date: Sat Apr 18 07:50:30 2020 New Revision: 360068 URL: https://svnweb.freebsd.org/changeset/base/360068 Log: ethersubr: Make the mac address generation more robust If we create two (vnet) jails and create a bridge interface in each we end up with the same mac address on both

svn commit: r360069 - head/sys/net

2020-04-18 Thread Kristof Provost
Author: kp Date: Sat Apr 18 08:00:58 2020 New Revision: 360069 URL: https://svnweb.freebsd.org/changeset/base/360069 Log: bridge: Simplify mac address generation Unconditionally use ether_gen_addr() to generate bridge mac addresses. This function is now less likely to generate duplicate

svn commit: r360070 - head/usr.sbin/bluetooth/hccontrol

2020-04-18 Thread Hans Petter Selasky
Author: hselasky Date: Sat Apr 18 08:29:16 2020 New Revision: 360070 URL: https://svnweb.freebsd.org/changeset/base/360070 Log: Add missing feature descriptions to hci_features2str(). The list of possible features in hccontrol/features2str() is incomplete. Refer to "Bluetooth Core Specifi

Re: svn commit: r360064 - in head: share/man/man4 sys/dev/amr

2020-04-18 Thread Warner Losh
On Sat, Apr 18, 2020, 12:02 AM Rodney W. Grimes wrote: > > Author: imp > > Date: Sat Apr 18 02:53:19 2020 > > New Revision: 360064 > > URL: https://svnweb.freebsd.org/changeset/base/360064 > > > > Log: > > Add deprecation notice to amr(4) > > > > I take it this group of deprecations is also MFC

svn commit: r360072 - in head/sys: conf modules/linux modules/linux64 modules/vmm

2020-04-18 Thread Alex Richardson
Author: arichardson Date: Sat Apr 18 12:54:40 2020 New Revision: 360072 URL: https://svnweb.freebsd.org/changeset/base/360072 Log: More fixes to build the kernel with a compiler that defaults to -fno-common Using the same approach as the last commit for the files used by genassym.sh. O

svn commit: r360073 - head/tests/sys/kqueue/libkqueue

2020-04-18 Thread Alex Richardson
Author: arichardson Date: Sat Apr 18 12:54:47 2020 New Revision: 360073 URL: https://svnweb.freebsd.org/changeset/base/360073 Log: Fix various warnings in tests/sys/kqueue and bump WARNS Reviewed By: kevans Differential Revision: https://reviews.freebsd.org/D24296 Modified: head/tests

svn commit: r360071 - head/sys/conf

2020-04-18 Thread Alex Richardson
Author: arichardson Date: Sat Apr 18 12:54:35 2020 New Revision: 360071 URL: https://svnweb.freebsd.org/changeset/base/360071 Log: Allow kernel modules to build with a compiler that defaults to -fno-common This uses the same approach as r359691. Reviewed By: brooks Differential Revi

svn commit: r360074 - head/usr.bin/find

2020-04-18 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Sat Apr 18 13:29:54 2020 New Revision: 360074 URL: https://svnweb.freebsd.org/changeset/base/360074 Log: Use the Ic macro for find(1) primaries consistently MFC after:3 days Modified: head/usr.bin/find/find.1 Modified: head/usr.bin/find/find.1

svn commit: r360075 - head/sys/dev/usb/controller

2020-04-18 Thread Hans Petter Selasky
Author: hselasky Date: Sat Apr 18 15:05:10 2020 New Revision: 360075 URL: https://svnweb.freebsd.org/changeset/base/360075 Log: Set the maximum exit latency to 0 for XHCI USB 3.0 devices, because we don't implement link power management, LPM. This fixes error code XHCI_TRB_ERROR_BANDWIDTH

svn commit: r360076 - head/sys/dev/sound/pci/hda

2020-04-18 Thread Ed Maste
Author: emaste Date: Sat Apr 18 18:25:30 2020 New Revision: 360076 URL: https://svnweb.freebsd.org/changeset/base/360076 Log: hda: remove hda*_lockowned macros These are not used anywhere. Modified: head/sys/dev/sound/pci/hda/hdaa.c head/sys/dev/sound/pci/hda/hdac.c head/sys/dev/soun

Re: svn commit: r360073 - head/tests/sys/kqueue/libkqueue

2020-04-18 Thread Conrad Meyer
Hi Alex, We usually do not use "extern" for function declarations in headers. Best, Conrad On Sat, Apr 18, 2020 at 5:55 AM Alex Richardson wrote: > > Author: arichardson > Date: Sat Apr 18 12:54:47 2020 > New Revision: 360073 > URL: https://svnweb.freebsd.org/changeset/base/360073 > > Log: >

svn commit: r360077 - head/cddl/usr.sbin/zfsd

2020-04-18 Thread Alan Somers
Author: asomers Date: Sat Apr 18 19:47:38 2020 New Revision: 360077 URL: https://svnweb.freebsd.org/changeset/base/360077 Log: zfsd.8: fix orphan .Xr Though ZFS is a kernel module, it has no man page in section 4. Reported by: phk MFC after:2 weeks Modified: head/cddl/usr.sbi

svn commit: r360078 - in head: sbin/bectl share/man/man8

2020-04-18 Thread Alan Somers
Author: asomers Date: Sat Apr 18 19:53:47 2020 New Revision: 360078 URL: https://svnweb.freebsd.org/changeset/base/360078 Log: bectl.8, beinstall.sh.8: fix man page section of beinstall.sh Reported by: phk MFC after:2 weeks Modified: head/sbin/bectl/bectl.8 head/share/man/man8/b

svn commit: r360079 - head/lib/libcasper/services/cap_dns

2020-04-18 Thread Alan Somers
Author: asomers Date: Sat Apr 18 20:13:43 2020 New Revision: 360079 URL: https://svnweb.freebsd.org/changeset/base/360079 Log: cap_dns.3: fix some orphan .Xr links Reported by: phk MFC after:2 weeks Modified: head/lib/libcasper/services/cap_dns/cap_dns.3 Modified: head/lib/libcas

Re: svn commit: r360073 - head/tests/sys/kqueue/libkqueue

2020-04-18 Thread Alexander Richardson
On Sat, 18 Apr 2020 at 20:13, Conrad Meyer wrote: > > Hi Alex, > > We usually do not use "extern" for function declarations in headers. > > Best, > Conrad Hi Conrad, I decided to follow the style that was used in the header already, but I agree those externs should probably be dropped. I can com

svn commit: r360080 - head/cddl/contrib/opensolaris/cmd/zfs

2020-04-18 Thread Alan Somers
Author: asomers Date: Sat Apr 18 20:55:43 2020 New Revision: 360080 URL: https://svnweb.freebsd.org/changeset/base/360080 Log: zfs-program.8: fix orphan .Xr Reported by: phk Reviewed by: avg MFC after:2 weeks Differential Revision:https://reviews.freebsd.org/D24488 Modi

Re: svn commit: r360078 - in head: sbin/bectl share/man/man8

2020-04-18 Thread Yuri Pankov
Alan Somers wrote: Author: asomers Date: Sat Apr 18 19:53:47 2020 New Revision: 360078 URL: https://svnweb.freebsd.org/changeset/base/360078 Log: bectl.8, beinstall.sh.8: fix man page section of beinstall.sh Reported by: phk MFC after: 2 weeks Modified: head/sbin/bectl/bectl.

svn commit: r360081 - head/usr.sbin/nfscbd

2020-04-18 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 18 23:46:58 2020 New Revision: 360081 URL: https://svnweb.freebsd.org/changeset/base/360081 Log: Change the type of "len" to avoid warnings. The "len" variable is used as the last argument to getsockname(2) and accept(2). It was declared an "int" and this pa

svn commit: r360082 - in head/sys: arm/arm arm/include arm64/arm64 conf kern sys

2020-04-18 Thread Mitchell Horne
Author: mhorne Date: Sun Apr 19 00:12:30 2020 New Revision: 360082 URL: https://svnweb.freebsd.org/changeset/base/360082 Log: Convert arm's physmem interface to MI code The arm_physmem interface found in arm's MD code provides a convenient set of routines for adding/excluding physical mem

svn commit: r360083 - in head/sys: conf riscv/include riscv/riscv

2020-04-18 Thread Mitchell Horne
Author: mhorne Date: Sun Apr 19 00:18:16 2020 New Revision: 360083 URL: https://svnweb.freebsd.org/changeset/base/360083 Log: RISC-V: use physmem to manage physical memory Replace our hand-rolled functions with the generic ones provided by kern/subr_physmem.c. This greatly simplifies the

svn commit: r360084 - head/sys/riscv/riscv

2020-04-18 Thread Mitchell Horne
Author: mhorne Date: Sun Apr 19 00:33:05 2020 New Revision: 360084 URL: https://svnweb.freebsd.org/changeset/base/360084 Log: RISC-V: exclude reserved memory regions The device tree may contain a "reserved-memory" node, whose purpose is to communicate sections of physical memory that shou

svn commit: r360085 - head/sys/riscv/riscv

2020-04-18 Thread Mitchell Horne
Author: mhorne Date: Sun Apr 19 00:34:49 2020 New Revision: 360085 URL: https://svnweb.freebsd.org/changeset/base/360085 Log: RISC-V: provide the correct value for kernstart pmap_bootstrap() expects the kernel's physical load address, but we have been providing the start of physical memor

svn commit: r360086 - head/sbin/bectl

2020-04-18 Thread Alan Somers
Author: asomers Date: Sun Apr 19 01:43:59 2020 New Revision: 360086 URL: https://svnweb.freebsd.org/changeset/base/360086 Log: bectl.8: correctly sort SEE ALSO section after 360078 Reported by: yuripv MFC after:2 weeks MFC with: 360078 Modified: head/sbin/bectl/bectl.8 Modi

svn commit: r360087 - in head: . lib/libbsm

2020-04-18 Thread Alan Somers
02:18:40 2020(r360087) @@ -36,6 +36,10 @@ # xargs -n1 | sort | uniq -d; # done +# 20200418: Remove bogus man links +OLD_FILES+=usr/share/man/man3/getauusernam_R.3.gz +OLD_FILES+=usr/share/man/man3/getauclassnam_3.3.gz + # 20200401: Remove procfs-based process debugging OLD_FILES

svn commit: r360088 - in head: . contrib/openbsm/bin/auditd lib/libauditd share/mk

2020-04-18 Thread Alan Somers
9 02:20:39 2020(r360088) @@ -36,6 +36,12 @@ # xargs -n1 | sort | uniq -d; # done +# 20200418: Make libauditd private +OLD_FILES+=usr/lib/libauditd.a +OLD_FILES+=usr/lib/libauditd.so +OLD_LIBS+=usr/lib/libauditd.so.5 +OLD_FILES+=usr/lib/libauditd_p.a + # 20200418: Remove bogus man links OLD_F

Re: svn commit: r360077 - head/cddl/usr.sbin/zfsd

2020-04-18 Thread Rodney W. Grimes
> Author: asomers > Date: Sat Apr 18 19:47:38 2020 > New Revision: 360077 > URL: https://svnweb.freebsd.org/changeset/base/360077 > > Log: > zfsd.8: fix orphan .Xr > > Though ZFS is a kernel module, it has no man page in section 4. Wouldn't of been better to create a section 4 man page for

Re: svn commit: r360077 - head/cddl/usr.sbin/zfsd

2020-04-18 Thread Alan Somers
Definitely if there were some meaningful information in it. But an empty file? I'm not sure. I'm only sure that I can fix the bad .Xr faster by removing it. -Alan On Sat, Apr 18, 2020 at 8:25 PM Rodney W. Grimes wrote: > > Author: asomers > > Date: Sat Apr 18 19:47:38 2020 > > New Revision: 3