svn commit: r368751 - in head/contrib/unbound: services util

2020-12-17 Thread Xin LI
Author: delphij Date: Fri Dec 18 04:23:20 2020 New Revision: 368751 URL: https://svnweb.freebsd.org/changeset/base/368751 Log: MFV r368746: Apply upstream fix 08968baec1122a58bb90d8f97ad948a75f8a5d69: Fix error cases when udp-connect is set and send() returns an error Obtained fro

svn commit: r368750 - head/tools/tools/locale

2020-12-17 Thread Yuri Pankov
Author: yuripv Date: Fri Dec 18 04:01:05 2020 New Revision: 368750 URL: https://svnweb.freebsd.org/changeset/base/368750 Log: tools/tools/locale: install generated files in current src checkout Modified: head/tools/tools/locale/Makefile Modified: head/tools/tools/locale/Makefile

svn commit: r368749 - head/sys/dev/pci

2020-12-17 Thread Konstantin Belousov
Author: kib Date: Fri Dec 18 03:46:50 2020 New Revision: 368749 URL: https://svnweb.freebsd.org/changeset/base/368749 Log: pci_iov: When pci_iov_detach(9) is called, destroy VF children instead of bailing out with EBUSY if there are any. If driver module is unloaded, or just device is

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

2020-12-17 Thread Peter Grehan
Author: grehan Date: Fri Dec 18 00:38:48 2020 New Revision: 368747 URL: https://svnweb.freebsd.org/changeset/base/368747 Log: Fix issues with various VNC clients. - support VNC version 3.3 (macos "Screen Sharing" builtin client) - wait until client has requested an update prior to sending

svn commit: r368745 - head/sys/dev/ice

2020-12-17 Thread Ryan Libby
Author: rlibby Date: Thu Dec 17 22:53:45 2020 New Revision: 368745 URL: https://svnweb.freebsd.org/changeset/base/368745 Log: ice: quiet -Wredundant-decls Reapply r364240 after driver update in r365617. Reviewed by: lwhsu Sponsored by: Dell EMC Isilon Differential Revision:

svn commit: r368744 - in head: share/man/man9 sys/fs/nfs

2020-12-17 Thread Brooks Davis
Author: brooks Date: Thu Dec 17 21:58:10 2020 New Revision: 368744 URL: https://svnweb.freebsd.org/changeset/base/368744 Log: VFS_QUOTACTL: Remove needless casts of arg The argument is a void * so there's no need to cast it to caddr_t. Update documentation to match function decleration

svn commit: r368743 - head/tests/sys/net

2020-12-17 Thread Kristof Provost
Author: kp Date: Thu Dec 17 21:54:25 2020 New Revision: 368743 URL: https://svnweb.freebsd.org/changeset/base/368743 Log: net tests: Re-enable most if_clone tests All but one of these (tap_ipv6_up_stress) currently pass, so we should enable them so we don't regress. Modified: head/test

Re: svn commit: r368721 - head/stand/efi/loader

2020-12-17 Thread Warner Losh
On Thu, Dec 17, 2020 at 1:00 PM Andrew Gallatin wrote: > On 12/17/20 2:49 PM, Kyle Evans wrote: > > On Thu, Dec 17, 2020 at 1:47 PM Andrew Gallatin > wrote: > >> > >> On 12/17/20 12:02 PM, Warner Losh wrote: > >>> Author: imp > >>> Date: Thu Dec 17 17:02:09 2020 > >>> New Revision: 368721 > >>>

svn commit: r368742 - head/share/man/man9

2020-12-17 Thread Alexander Motin
Author: mav Date: Thu Dec 17 21:02:58 2020 New Revision: 368742 URL: https://svnweb.freebsd.org/changeset/base/368742 Log: Fix f_pkt_into_t typo. MFC after:1 week Modified: head/share/man/man9/iflibtxrx.9 Modified: head/share/man/man9/iflibtxrx.9

svn commit: r368741 - in head/sys/dev/usb: . controller

2020-12-17 Thread John Baldwin
Author: jhb Date: Thu Dec 17 20:45:10 2020 New Revision: 368741 URL: https://svnweb.freebsd.org/changeset/base/368741 Log: Use __containerof() instead of home-rolled versions. Reviewed by: imp, hselasky Obtained from:CheriBSD Sponsored by: DARPA Differential Revision:

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

2020-12-17 Thread Jessica Clarke
On 17 Dec 2020, at 20:28, John Baldwin wrote: > > Author: jhb > Date: Thu Dec 17 20:28:53 2020 > New Revision: 368738 > URL: https://svnweb.freebsd.org/changeset/base/368738 > > Log: > Cleanups to *ERR* compat shims. > > - Use [u]intptr_t casts to convert pointers to integers. > > - Change

svn commit: r368740 - head/tools/tools/git/hooks

2020-12-17 Thread Ed Maste
Author: emaste Date: Thu Dec 17 20:31:45 2020 New Revision: 368740 URL: https://svnweb.freebsd.org/changeset/base/368740 Log: Describe the commit message template our git hook script produces Reported by: rpokala Modified: head/tools/tools/git/hooks/prepare-commit-msg Modified: head/to

svn commit: r368739 - in head/sys: conf kern tools

2020-12-17 Thread John Baldwin
Author: jhb Date: Thu Dec 17 20:31:17 2020 New Revision: 368739 URL: https://svnweb.freebsd.org/changeset/base/368739 Log: Use a template assembly file for firmware object files. Similar to r366897, this uses the .incbin directive to pull in a firmware file's contents into a .fwo file. T

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

2020-12-17 Thread John Baldwin
Author: jhb Date: Thu Dec 17 20:28:53 2020 New Revision: 368738 URL: https://svnweb.freebsd.org/changeset/base/368738 Log: Cleanups to *ERR* compat shims. - Use [u]intptr_t casts to convert pointers to integers. - Change IS_ERR* to return bool instead of long. Reviewed by: manu

svn commit: r368737 - head/tools/tools/git/hooks

2020-12-17 Thread Ed Maste
Author: emaste Date: Thu Dec 17 20:11:31 2020 New Revision: 368737 URL: https://svnweb.freebsd.org/changeset/base/368737 Log: chmod +x the git commit message prep hook Modified: Directory Properties: head/tools/tools/git/hooks/prepare-commit-msg (props changed) _

Re: svn commit: r368721 - head/stand/efi/loader

2020-12-17 Thread Andrew Gallatin
On 12/17/20 2:49 PM, Kyle Evans wrote: On Thu, Dec 17, 2020 at 1:47 PM Andrew Gallatin wrote: On 12/17/20 12:02 PM, Warner Losh wrote: Author: imp Date: Thu Dec 17 17:02:09 2020 New Revision: 368721 URL: https://urldefense.com/v3/__https://svnweb.freebsd.org/changeset/base/368721__;!!OToaGQ!

svn commit: r368736 - head/tools/tools/git/hooks

2020-12-17 Thread Ed Maste
Author: emaste Date: Thu Dec 17 19:58:29 2020 New Revision: 368736 URL: https://svnweb.freebsd.org/changeset/base/368736 Log: Add initial version of git commit message preparation hook Start with a slightly modified version of the SVN commit template, to allow developers to experiment. T

svn commit: r368735 - head/sys/kern

2020-12-17 Thread Konstantin Belousov
Author: kib Date: Thu Dec 17 19:51:39 2020 New Revision: 368735 URL: https://svnweb.freebsd.org/changeset/base/368735 Log: Fix a race in tty_signal_sessleader() with unlocked read of s_leader. Since we do not own the session lock, a parallel killjobc() might reset s_leader to NULL after w

svn commit: r368734 - head/usr.sbin/unbound

2020-12-17 Thread Cy Schubert
Author: cy Date: Thu Dec 17 19:50:41 2020 New Revision: 368734 URL: https://svnweb.freebsd.org/changeset/base/368734 Log: Update the unbound version number from r368478. Updating the version number is an extra manual step. Pointy hat to:cy Reported by: Herbert J. Skuhra M

Re: svn commit: r368721 - head/stand/efi/loader

2020-12-17 Thread Kyle Evans
On Thu, Dec 17, 2020 at 1:47 PM Andrew Gallatin wrote: > > On 12/17/20 12:02 PM, Warner Losh wrote: > > Author: imp > > Date: Thu Dec 17 17:02:09 2020 > > New Revision: 368721 > > URL: > > https://urldefense.com/v3/__https://svnweb.freebsd.org/changeset/base/368721__;!!OToaGQ!5c1mLnhtRtEV6Cv_MTWp

Re: svn commit: r368721 - head/stand/efi/loader

2020-12-17 Thread Andrew Gallatin
On 12/17/20 12:02 PM, Warner Losh wrote: Author: imp Date: Thu Dec 17 17:02:09 2020 New Revision: 368721 URL: https://urldefense.com/v3/__https://svnweb.freebsd.org/changeset/base/368721__;!!OToaGQ!5c1mLnhtRtEV6Cv_MTWpzXWaGZEYYDp4TJ6wVDzjVZiehAItts7ZWC15uNnQYRa5Fg$ Log: Drop EFI_STAGING_SIZE

svn commit: r368732 - head/sys/kern

2020-12-17 Thread Mateusz Guzik
Author: mjg Date: Thu Dec 17 18:52:30 2020 New Revision: 368732 URL: https://svnweb.freebsd.org/changeset/base/368732 Log: fd: reimplement close_range to avoid spurious relocking Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c ===

svn commit: r368731 - in head/sys: kern security/audit

2020-12-17 Thread Mateusz Guzik
Author: mjg Date: Thu Dec 17 18:52:04 2020 New Revision: 368731 URL: https://svnweb.freebsd.org/changeset/base/368731 Log: audit: rework AUDIT_SYSCLOSE This in particular avoids spurious lookups on close. Modified: head/sys/kern/kern_descrip.c head/sys/security/audit/audit.h head/sys

svn commit: r368730 - head/sys/kern

2020-12-17 Thread Mateusz Guzik
Author: mjg Date: Thu Dec 17 18:51:09 2020 New Revision: 368730 URL: https://svnweb.freebsd.org/changeset/base/368730 Log: fd: refactor closefp in preparation for close_range rework Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c

svn commit: r368729 - in head: stand/lua tools/boot

2020-12-17 Thread Kyle Evans
Author: kevans Date: Thu Dec 17 18:29:30 2020 New Revision: 368729 URL: https://svnweb.freebsd.org/changeset/base/368729 Log: lualoader: fix lua-lint run luacheck rightfully complains that i is unused in the show-module-options loop at the end (it was used for some debugging in the proces

svn commit: r368728 - head/stand/lua

2020-12-17 Thread Kyle Evans
Author: kevans Date: Thu Dec 17 18:24:36 2020 New Revision: 368728 URL: https://svnweb.freebsd.org/changeset/base/368728 Log: lualoader: cli: provide a show-module-options loader command This effectively dumps everything lualoader knows about to the console using the libsa pager; that par

svn commit: r368727 - head/sys/netgraph

2020-12-17 Thread Aleksandr Fedorov
Author: afedorov Date: Thu Dec 17 18:15:07 2020 New Revision: 368727 URL: https://svnweb.freebsd.org/changeset/base/368727 Log: [ng_socket] Don't take the SOCKBUF_LOCK() twice in the RX data path. This is just a minor optimization, but it's sensitive. This gives an improvement of 30-50 kpp

svn commit: r368725 - head/sys/dev/spibus

2020-12-17 Thread Emmanuel Vadot
Author: manu Date: Thu Dec 17 17:11:14 2020 New Revision: 368725 URL: https://svnweb.freebsd.org/changeset/base/368725 Log: Add IRQ resource to SPIBUS Add capability to SPIBUS to have child device with IRQ. For example many ADC chip have a dedicated pin to signal "data ready" and the ho

svn commit: r368724 - head/sys/arm/samsung

2020-12-17 Thread Emmanuel Vadot
Author: manu Date: Thu Dec 17 17:09:43 2020 New Revision: 368724 URL: https://svnweb.freebsd.org/changeset/base/368724 Log: arm: Remove samsung exnynos port Remove the exynos SoC support, this haven't been updated in a while, isn't present in GENERIC and nobody is motivated to resurect it

svn commit: r368723 - head/include

2020-12-17 Thread Konstantin Belousov
Author: kib Date: Thu Dec 17 17:08:25 2020 New Revision: 368723 URL: https://svnweb.freebsd.org/changeset/base/368723 Log: Change POSIX compliance level for visibility of strerror_l(3). Third-party code tests for strerror_l(3) without specifying _POSIX_SOURCE, and then expects that the fu

svn commit: r368722 - head/usr.bin/kyua

2020-12-17 Thread Emmanuel Vadot
Author: manu Date: Thu Dec 17 17:06:57 2020 New Revision: 368722 URL: https://svnweb.freebsd.org/changeset/base/368722 Log: kyua: Only install examples if requested Reviewed by: brooks Differential Revision:https://reviews.freebsd.org/D27638 Modified: head/usr.bin/kyua/Makefil

svn commit: r368721 - head/stand/efi/loader

2020-12-17 Thread Warner Losh
Author: imp Date: Thu Dec 17 17:02:09 2020 New Revision: 368721 URL: https://svnweb.freebsd.org/changeset/base/368721 Log: Drop EFI_STAGING_SIZE back down to 64M vmware can't cope with anything larger than 64MB. Drop this back to 64MB everywhere but arm. PR: 251866 MFC After: 1 wee

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

2020-12-17 Thread Aleksandr Fedorov
Author: afedorov Date: Thu Dec 17 16:52:40 2020 New Revision: 368720 URL: https://svnweb.freebsd.org/changeset/base/368720 Log: [bhyve] virtio-net: Do not allow receiving packets until features have been negotiated. Enforce the requirement that the RX callback cannot be called after a rese

Re: svn commit: r368692 - in head: include/xlocale lib/libc/include lib/libc/nls lib/libc/string

2020-12-17 Thread Antoine Brodin
On Thu, Dec 17, 2020 at 4:53 PM Konstantin Belousov wrote: > > On Thu, Dec 17, 2020 at 04:02:05PM +0100, Antoine Brodin wrote: > > On Thu, Dec 17, 2020 at 11:07 AM Konstantin Belousov > > wrote: > > > Could you please try the following, which might be a right thing to do > > > regardless p11-kit

Re: svn commit: r368714 - head/lib/libc/string

2020-12-17 Thread Jessica Clarke
On 17 Dec 2020, at 16:22, Konstantin Belousov wrote: > On Thu, Dec 17, 2020 at 01:01:01PM +, Jessica Clarke wrote: >> On 17 Dec 2020, at 12:53, Konstantin Belousov wrote: >>> >>> On Thu, Dec 17, 2020 at 12:41:47PM +, Mateusz Piotrowski wrote: Author: 0mp (doc,ports committer) D

Re: svn commit: r368714 - head/lib/libc/string

2020-12-17 Thread Ian Lepore
On Thu, 2020-12-17 at 18:22 +0200, Konstantin Belousov wrote: > On Thu, Dec 17, 2020 at 01:01:01PM +, Jessica Clarke wrote: > > On 17 Dec 2020, at 12:53, Konstantin Belousov > > wrote: > > > > > > On Thu, Dec 17, 2020 at 12:41:47PM +, Mateusz Piotrowski > > > wrote: > > > > Author: 0mp (d

Re: svn commit: r368714 - head/lib/libc/string

2020-12-17 Thread Konstantin Belousov
On Thu, Dec 17, 2020 at 01:01:01PM +, Jessica Clarke wrote: > On 17 Dec 2020, at 12:53, Konstantin Belousov wrote: > > > > On Thu, Dec 17, 2020 at 12:41:47PM +, Mateusz Piotrowski wrote: > >> Author: 0mp (doc,ports committer) > >> Date: Thu Dec 17 12:41:47 2020 > >> New Revision: 368714 >

Re: svn commit: r368692 - in head: include/xlocale lib/libc/include lib/libc/nls lib/libc/string

2020-12-17 Thread Konstantin Belousov
On Thu, Dec 17, 2020 at 04:02:05PM +0100, Antoine Brodin wrote: > On Thu, Dec 17, 2020 at 11:07 AM Konstantin Belousov > wrote: > > Could you please try the following, which might be a right thing to do > > regardless p11-kit quirk. > > Hi, > > This change fixes p11-kit. Initially you said that

Re: svn commit: r368692 - in head: include/xlocale lib/libc/include lib/libc/nls lib/libc/string

2020-12-17 Thread Antoine Brodin
On Thu, Dec 17, 2020 at 11:07 AM Konstantin Belousov wrote: > > On Thu, Dec 17, 2020 at 10:32:14AM +0100, Antoine Brodin wrote: > > On Wed, Dec 16, 2020 at 10:02 AM Konstantin Belousov > > wrote: > > > > > > Author: kib > > > Date: Wed Dec 16 09:02:09 2020 > > > New Revision: 368692 > > > URL: h

svn commit: r368719 - head/usr.sbin/bsdinstall/partedit

2020-12-17 Thread Mitchell Horne
Author: mhorne Date: Thu Dec 17 15:00:19 2020 New Revision: 368719 URL: https://svnweb.freebsd.org/changeset/base/368719 Log: bsdinstall: remove VTOC8 partition scheme option Now that sparc64 has been removed, there are no kernels built with support for the VTOC8 partitioning scheme by de

svn commit: r368718 - head/sys/modules/if_wg

2020-12-17 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Dec 17 14:20:36 2020 New Revision: 368718 URL: https://svnweb.freebsd.org/changeset/base/368718 Log: Make non-debug kernels installable. Setting DEBUG_FLAGS results in make installkernel trying to install debug information that doesn't exist if the kernel was

Re: svn commit: r368714 - head/lib/libc/string

2020-12-17 Thread Jessica Clarke
On 17 Dec 2020, at 12:53, Konstantin Belousov wrote: > > On Thu, Dec 17, 2020 at 12:41:47PM +, Mateusz Piotrowski wrote: >> Author: 0mp (doc,ports committer) >> Date: Thu Dec 17 12:41:47 2020 >> New Revision: 368714 >> URL: https://svnweb.freebsd.org/changeset/base/368714 >> >> Log: >> stre

Re: svn commit: r368714 - head/lib/libc/string

2020-12-17 Thread Konstantin Belousov
On Thu, Dec 17, 2020 at 12:41:47PM +, Mateusz Piotrowski wrote: > Author: 0mp (doc,ports committer) > Date: Thu Dec 17 12:41:47 2020 > New Revision: 368714 > URL: https://svnweb.freebsd.org/changeset/base/368714 > > Log: > strerror.3: Add an example for perror() > > This is a nice and q

svn commit: r368714 - head/lib/libc/string

2020-12-17 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Thu Dec 17 12:41:47 2020 New Revision: 368714 URL: https://svnweb.freebsd.org/changeset/base/368714 Log: strerror.3: Add an example for perror() This is a nice and quick reference. Reviewed by: jilles, yuripv MFC after:2 weeks Differenti

Re: svn commit: r368692 - in head: include/xlocale lib/libc/include lib/libc/nls lib/libc/string

2020-12-17 Thread Konstantin Belousov
On Thu, Dec 17, 2020 at 10:32:14AM +0100, Antoine Brodin wrote: > On Wed, Dec 16, 2020 at 10:02 AM Konstantin Belousov wrote: > > > > Author: kib > > Date: Wed Dec 16 09:02:09 2020 > > New Revision: 368692 > > URL: https://svnweb.freebsd.org/changeset/base/368692 > > > > Log: > > Implement strer

Re: svn commit: r368692 - in head: include/xlocale lib/libc/include lib/libc/nls lib/libc/string

2020-12-17 Thread Antoine Brodin
On Wed, Dec 16, 2020 at 10:02 AM Konstantin Belousov wrote: > > Author: kib > Date: Wed Dec 16 09:02:09 2020 > New Revision: 368692 > URL: https://svnweb.freebsd.org/changeset/base/368692 > > Log: > Implement strerror_l(). > > Only for the arches that provide user-mode TLS. > > PR: 251651 >