Re: svn commit: r363088 - head/usr.bin/xinstall/tests

2020-07-10 Thread Eugene Grosbein
11.07.2020 8:07, Eugene Grosbein wrote: >>> Fix the tests for install(1): add support for STRIPBIN's -o option. >> Is this feature now completely gone? Are binaries being stripped >> properly in ports, etc? Support for STRIPBIN has not changed. Stripping of ports etc. still works as

Re: svn commit: r363088 - head/usr.bin/xinstall/tests

2020-07-10 Thread Eugene Grosbein
11.07.2020 6:34, Enji Cooper wrote: >> On Jul 10, 2020, at 3:59 PM, Eugene Grosbein wrote: >> >> Author: eugen >> Date: Fri Jul 10 22:59:26 2020 >> New Revision: 363088 >> URL: https://svnweb.freebsd.org/changeset/base/363088 >> >> Log: >> Fix the tests for install(1): add support for

Re: svn commit: r363088 - head/usr.bin/xinstall/tests

2020-07-10 Thread Enji Cooper
> On Jul 10, 2020, at 3:59 PM, Eugene Grosbein wrote: > > Author: eugen > Date: Fri Jul 10 22:59:26 2020 > New Revision: 363088 > URL: https://svnweb.freebsd.org/changeset/base/363088 > > Log: > Fix the tests for install(1): add support for STRIPBIN's -o option. Is this feature now

svn commit: r363088 - head/usr.bin/xinstall/tests

2020-07-10 Thread Eugene Grosbein
Author: eugen Date: Fri Jul 10 22:59:26 2020 New Revision: 363088 URL: https://svnweb.freebsd.org/changeset/base/363088 Log: Fix the tests for install(1): add support for STRIPBIN's -o option. Reported by: lwhsu MFC after:1 week Modified:

svn commit: r363087 - head/sys/compat/linux

2020-07-10 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Jul 10 21:41:09 2020 New Revision: 363087 URL: https://svnweb.freebsd.org/changeset/base/363087 Log: Don't emit warnings on MADV_HUGEPAGE; Firefox uses it a lot. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified:

svn commit: r363086 - head

2020-07-10 Thread Mark Johnston
Author: markj Date: Fri Jul 10 19:58:26 2020 New Revision: 363086 URL: https://svnweb.freebsd.org/changeset/base/363086 Log: Add a RELNOTES entry for r363084. Modified: head/RELNOTES Modified: head/RELNOTES == ---

svn commit: r363085 - head/contrib/netcat

2020-07-10 Thread Mark Johnston
Author: markj Date: Fri Jul 10 19:58:07 2020 New Revision: 363085 URL: https://svnweb.freebsd.org/changeset/base/363085 Log: Adjust .Dd, missed in r363084. MFC with: r363084 Modified: head/contrib/netcat/nc.1 Modified: head/contrib/netcat/nc.1

svn commit: r363084 - head/contrib/netcat

2020-07-10 Thread Mark Johnston
Author: markj Date: Fri Jul 10 19:54:04 2020 New Revision: 363084 URL: https://svnweb.freebsd.org/changeset/base/363084 Log: Add a --sctp flag to nc. The change adds an SCTP mode akin to UDP mode. This is handy for doing smoke testing of SCTP. Use a long option to minimize the risk

svn commit: r363081 - head/usr.bin/xinstall

2020-07-10 Thread Eugene Grosbein
Author: eugen Date: Fri Jul 10 17:42:22 2020 New Revision: 363081 URL: https://svnweb.freebsd.org/changeset/base/363081 Log: install(1): addition to r363067 Also, make it not break if STRIPBIN points to strip version without -o support and destination does not exist before installing.

Re: svn commit: r352558 - head/usr.bin/top

2020-07-10 Thread Steve Wills
On 11/28/19 4:08 PM, Mark Millard via svn-src-head wrote: Author: daichi Date: Fri Sep 20 17:37:23 2019 New Revision: 352558 URL: https://svnweb.freebsd.org/changeset/base/352558 Log: top(1): support multibyte characters in command names (ARGV array) depending on locale. - add

svn commit: r363080 - head/sys/netinet

2020-07-10 Thread Michael Tuexen
Author: tuexen Date: Fri Jul 10 16:59:06 2020 New Revision: 363080 URL: https://svnweb.freebsd.org/changeset/base/363080 Log: Whitespace changes due to upstreaming r363079. Modified: head/sys/netinet/sctp_os_bsd.h head/sys/netinet/sctp_usrreq.c Modified: head/sys/netinet/sctp_os_bsd.h

Re: svn commit: r363061 - in head/usr.sbin/wpa: hostapd wpa_supplicant

2020-07-10 Thread Cy Schubert
In message , "Bjoern A. Zeeb" writes: > On 9 Jul 2020, at 23:01, Cy Schubert wrote: > > > Author: cy > > Date: Thu Jul 9 23:01:36 2020 > > New Revision: 363061 > > URL: https://svnweb.freebsd.org/changeset/base/363061 > > > > Log: > > Enable support for IEEE 802.11N, 802.11W, 802.11AC and

Re: svn commit: r363061 - in head/usr.sbin/wpa: hostapd wpa_supplicant

2020-07-10 Thread Bjoern A. Zeeb
On 9 Jul 2020, at 23:01, Cy Schubert wrote: > Author: cy > Date: Thu Jul 9 23:01:36 2020 > New Revision: 363061 > URL: https://svnweb.freebsd.org/changeset/base/363061 > > Log: > Enable support for IEEE 802.11N, 802.11W, 802.11AC and 802.11.AX to > hostapd and wpa_supplicant. Thank you for

svn commit: r363079 - in head: share/man/man4 sys/modules sys/modules/sctp sys/netinet

2020-07-10 Thread Mark Johnston
Author: markj Date: Fri Jul 10 14:56:05 2020 New Revision: 363079 URL: https://svnweb.freebsd.org/changeset/base/363079 Log: Provide support for building SCTP as a loadable module. With this change, a kernel compiled with "options SCTP_SUPPORT" and without "options SCTP" supports dynamic

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

2020-07-10 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jul 10 12:06:18 2020 New Revision: 363078 URL: https://svnweb.freebsd.org/changeset/base/363078 Log: Implement the bitmap_subset() function in the LinuxKPI. This function checks if the bitmap pointed to by the first argument is a subset of the bitmap pointed to by

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

2020-07-10 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jul 10 11:27:54 2020 New Revision: 363077 URL: https://svnweb.freebsd.org/changeset/base/363077 Log: Implement the array_size() function in the LinuxKPI. This function basically multiplies its two arguments and returns SIZE_MAX if the result overflows the size_t

svn commit: r363076 - head/sys/netinet

2020-07-10 Thread Michael Tuexen
Author: tuexen Date: Fri Jul 10 11:15:10 2020 New Revision: 363076 URL: https://svnweb.freebsd.org/changeset/base/363076 Log: Fix a use-after-free bug for the userland stack. The kernel stack is not affected. Thanks to Mark Wodrich from Google for finding and reporting the bug. MFC

Re: svn commit: r363067 - head/usr.bin/xinstall

2020-07-10 Thread Li-Wen Hsu
On Fri, Jul 10, 2020 at 8:45 AM Eugene Grosbein wrote: > > Author: eugen > Date: Fri Jul 10 00:45:34 2020 > New Revision: 363067 > URL: https://svnweb.freebsd.org/changeset/base/363067 > > Log: > install(1): correction after r363064 > > Make it not break if STRIPBIN points to strip version

Re: svn commit: r363069 - head/sys/kern

2020-07-10 Thread Peter Holm
g mountlist_mtx for each entry. > >>> > >>> Modified: > >>> head/sys/kern/vfs_syscalls.c > >>> > >>> Modified: head/sys/kern/vfs_syscalls.c > >>> ====== > >

svn commit: r363073 - head/sys/arm/broadcom/bcm2835

2020-07-10 Thread Andrew Turner
Author: andrew Date: Fri Jul 10 09:34:47 2020 New Revision: 363073 URL: https://svnweb.freebsd.org/changeset/base/363073 Log: Split long lines in the Raspberry Pi FB driver Sponsored by: Innovate UK Modified: head/sys/arm/broadcom/bcm2835/bcm2835_fbd.c Modified:

Re: svn commit: r363069 - head/sys/kern

2020-07-10 Thread Mateusz Guzik
gt; >>> Modified: >>> head/sys/kern/vfs_syscalls.c >>> >>> Modified: head/sys/kern/vfs_syscalls.c >>> ====== >>> --- head/sys/kern/vfs_syscalls.cFri Jul 10 06:46:42 2020 >>> (r363068) >> >> Could this one be yours? >>

svn commit: r363072 - head/sys/kern

2020-07-10 Thread Mateusz Guzik
Author: mjg Date: Fri Jul 10 09:24:27 2020 New Revision: 363072 URL: https://svnweb.freebsd.org/changeset/base/363072 Log: vfs: fix early termination of kern_getfsstat The kernel would unlock already unlocked mutex if the buffer got filled up before the mount list ended. Reported

Re: svn commit: r363069 - head/sys/kern

2020-07-10 Thread Mateusz Guzik
= >> --- head/sys/kern/vfs_syscalls.c Fri Jul 10 06:46:42 2020 >> (r363068) > > Could this one be yours? > > 20200710 09:46:31 all (267/723): procfs.sh > panic: lock (sleep mutex) mountlist not locked @ kern/vfs_syscalls.c:5

svn commit: r363071 - head/sys/kern

2020-07-10 Thread Mateusz Guzik
Author: mjg Date: Fri Jul 10 09:01:36 2020 New Revision: 363071 URL: https://svnweb.freebsd.org/changeset/base/363071 Log: vfs: fix trivial whitespace issues which don't interefere with blame .. even without the -w switch Modified: head/sys/kern/vfs_acl.c head/sys/kern/vfs_bio.c

Re: svn commit: r363069 - head/sys/kern

2020-07-10 Thread Peter Holm
6:46:42 2020 > (r363068) Could this one be yours? 20200710 09:46:31 all (267/723): procfs.sh panic: lock (sleep mutex) mountlist not locked @ kern/vfs_syscalls.c:561 cpuid = 4 time = 1594367192 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/fram

Re: svn commit: r363068 - head/sys/kern

2020-07-10 Thread Mateusz Guzik
On 7/10/20, Mateusz Guzik wrote: > On 7/10/20, Piotr P. Stefaniak wrote: >>> */ >>>-memcpy(sbp, >mnt_stat, sizeof(*sbp)); >>>+if (sbp != >mnt_stat) >>>+memcpy(sbp, >mnt_stat, sizeof(*sbp)); >>> >> >> Slightly unrelated question: wouldn't it be prudent to incorporate this

Re: svn commit: r363068 - head/sys/kern

2020-07-10 Thread Mateusz Guzik
On 7/10/20, Piotr P. Stefaniak wrote: >> */ >>- memcpy(sbp, >mnt_stat, sizeof(*sbp)); >>+ if (sbp != >mnt_stat) >>+ memcpy(sbp, >mnt_stat, sizeof(*sbp)); >> > > Slightly unrelated question: wouldn't it be prudent to incorporate this > logic into memcpy? > Calls like

Re: svn commit: r363068 - head/sys/kern

2020-07-10 Thread Piotr P. Stefaniak
*/ - memcpy(sbp, >mnt_stat, sizeof(*sbp)); + if (sbp != >mnt_stat) + memcpy(sbp, >mnt_stat, sizeof(*sbp)); Slightly unrelated question: wouldn't it be prudent to incorporate this logic into memcpy? ___

svn commit: r363070 - head/usr.sbin/bhyve

2020-07-10 Thread Peter Grehan
Author: grehan Date: Fri Jul 10 07:26:50 2020 New Revision: 363070 URL: https://svnweb.freebsd.org/changeset/base/363070 Log: Advertise 64-bit physical-address capability. This fixes a coredump with NetBSD guests when XHCI is configured. On seeing the AC64 flag clear, the NetBSD XHCI

svn commit: r363069 - head/sys/kern

2020-07-10 Thread Mateusz Guzik
Author: mjg Date: Fri Jul 10 06:47:58 2020 New Revision: 363069 URL: https://svnweb.freebsd.org/changeset/base/363069 Log: vfs: depessimize getfsstat when only the count is requested This avoids relocking mountlist_mtx for each entry. Modified: head/sys/kern/vfs_syscalls.c Modified:

svn commit: r363068 - head/sys/kern

2020-07-10 Thread Mateusz Guzik
Author: mjg Date: Fri Jul 10 06:46:42 2020 New Revision: 363068 URL: https://svnweb.freebsd.org/changeset/base/363068 Log: vfs: avoid spurious memcpy in vfs_statfs It is quite often called for the very same buffer. Modified: head/sys/kern/vfs_mount.c Modified: head/sys/kern/vfs_mount.c