svn commit: r356145 - head/sys/mips/atheros

2019-12-27 Thread Adrian Chadd
Author: adrian Date: Sat Dec 28 06:56:21 2019 New Revision: 356145 URL: https://svnweb.freebsd.org/changeset/base/356145 Log: [ar71xx] generate a random mac address using eth_gen_addr() This removes a hard-coded random mac address generator and uses the (not so) new system routine.

Re: svn commit: r356142 - in head/sys: dev/ofw sys

2019-12-27 Thread Rodney W. Grimes
> On Fri, Dec 27, 2019 at 10:27 PM Rodney W. Grimes > wrote: > > > > > > > You can choose your own license for original work, sure, but > > obliterating > > > > parts of an existing license by applying a second license which is in > > > > conflict is probably a poor idea. > > > > > > > > > We

Re: svn commit: r356142 - in head/sys: dev/ofw sys

2019-12-27 Thread Warner Losh
On Fri, Dec 27, 2019 at 10:27 PM Rodney W. Grimes wrote: > > > > You can choose your own license for original work, sure, but > obliterating > > > parts of an existing license by applying a second license which is in > > > conflict is probably a poor idea. > > > > > > We don't do that at all:

svn commit: r356144 - vendor/unbound/1.9.6

2019-12-27 Thread Cy Schubert
Author: cy Date: Sat Dec 28 05:28:29 2019 New Revision: 356144 URL: https://svnweb.freebsd.org/changeset/base/356144 Log: Tag Unbound 1.9.6. Added: vendor/unbound/1.9.6/ - copied from r356143, vendor/unbound/dist/ ___ svn-src-all@freebsd.org

Re: svn commit: r356142 - in head/sys: dev/ofw sys

2019-12-27 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > > On 2019-12-27 23:24, Rodney W. Grimes wrote: > > [ Charset UTF-8 unsupported, converting... ] > >> On 2019-12-27 22:16, Rodney W. Grimes wrote: > Author: pfg > Date: Sat Dec 28 02:58:30 2019 > New Revision: 356142 > URL:

svn commit: r356143 - in vendor/unbound/dist: . cachedb compat contrib daemon dns64 dnscrypt doc ipsecmod ipset iterator libunbound pythonmod pythonmod/examples respip services sldns smallapp testc...

2019-12-27 Thread Cy Schubert
Author: cy Date: Sat Dec 28 05:27:06 2019 New Revision: 356143 URL: https://svnweb.freebsd.org/changeset/base/356143 Log: Vendor import of Unbound 1.9.6. Added: vendor/unbound/dist/compat/getentropy_freebsd.c (contents, props changed) vendor/unbound/dist/contrib/drop-tld.diff

Re: svn commit: r356142 - in head/sys: dev/ofw sys

2019-12-27 Thread Pedro Giffuni
On 2019-12-27 23:24, Rodney W. Grimes wrote: > [ Charset UTF-8 unsupported, converting... ] >> On 2019-12-27 22:16, Rodney W. Grimes wrote: Author: pfg Date: Sat Dec 28 02:58:30 2019 New Revision: 356142 URL: https://svnweb.freebsd.org/changeset/base/356142 Log:

Re: svn commit: r356142 - in head/sys: dev/ofw sys

2019-12-27 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > > On 2019-12-27 22:16, Rodney W. Grimes wrote: > >> Author: pfg > >> Date: Sat Dec 28 02:58:30 2019 > >> New Revision: 356142 > >> URL: https://svnweb.freebsd.org/changeset/base/356142 > >> > >> Log: > >> SPDX: update some tags with two licenses. >

Re: svn commit: r356142 - in head/sys: dev/ofw sys

2019-12-27 Thread Pedro Giffuni
On 2019-12-27 22:16, Rodney W. Grimes wrote: >> Author: pfg >> Date: Sat Dec 28 02:58:30 2019 >> New Revision: 356142 >> URL: https://svnweb.freebsd.org/changeset/base/356142 >> >> Log: >> SPDX: update some tags with two licenses. >> >> Modified: >> head/sys/dev/ofw/openfirm.h >>

Re: svn commit: r356142 - in head/sys: dev/ofw sys

2019-12-27 Thread Rodney W. Grimes
> Author: pfg > Date: Sat Dec 28 02:58:30 2019 > New Revision: 356142 > URL: https://svnweb.freebsd.org/changeset/base/356142 > > Log: > SPDX: update some tags with two licenses. > > Modified: > head/sys/dev/ofw/openfirm.h > head/sys/sys/sched.h > > Modified: head/sys/dev/ofw/openfirm.h >

svn commit: r356142 - in head/sys: dev/ofw sys

2019-12-27 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 28 02:58:30 2019 New Revision: 356142 URL: https://svnweb.freebsd.org/changeset/base/356142 Log: SPDX: update some tags with two licenses. Modified: head/sys/dev/ofw/openfirm.h head/sys/sys/sched.h Modified: head/sys/dev/ofw/openfirm.h

svn commit: r356141 - head/lib/libc/arm/string

2019-12-27 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 28 02:11:41 2019 New Revision: 356141 URL: https://svnweb.freebsd.org/changeset/base/356141 Log: arm/ffs.S: remove stale comment. We already use the CLZ instruction. Discussed with: andrew Modified: head/lib/libc/arm/string/ffs.S Modified:

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

2019-12-27 Thread Conrad Meyer
Author: cem Date: Sat Dec 28 01:35:32 2019 New Revision: 356140 URL: https://svnweb.freebsd.org/changeset/base/356140 Log: epoch.9: Add missing functions, clean up documentation Various rototilling. Modified: head/share/man/man9/epoch.9 Modified: head/share/man/man9/epoch.9

svn commit: r356139 - head/sys/vm

2019-12-27 Thread Mark Johnston
Author: markj Date: Fri Dec 27 23:19:21 2019 New Revision: 356139 URL: https://svnweb.freebsd.org/changeset/base/356139 Log: Remove some stale comments from the page allocator. Since r352110 the page lock is not required to wire pages in any context. Modified: head/sys/vm/vm_page.c

svn commit: r356138 - head/sys/geom/uzip

2019-12-27 Thread Alexander Motin
Author: mav Date: Fri Dec 27 21:44:13 2019 New Revision: 356138 URL: https://svnweb.freebsd.org/changeset/base/356138 Log: Fix GEOM_UZIP orphanization. Previous code destroyed softc even with provider still open, that resulted in panic under load. This change postpones the free till the

svn commit: r356137 - head/usr.sbin/usbconfig

2019-12-27 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 27 20:37:14 2019 New Revision: 356137 URL: https://svnweb.freebsd.org/changeset/base/356137 Log: Implement dump_stats command for usbconfig(8). This command is useful when debugging USB device issues. MFC after:1 week Sponsored by: Mellanox

svn commit: r356136 - head/lib/libusb

2019-12-27 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 27 20:35:12 2019 New Revision: 356136 URL: https://svnweb.freebsd.org/changeset/base/356136 Log: Implement new libusb v2.0 API function, libusb20_dev_get_stats(). This function is useful when debugging USB device issues. MFC after:1 week Sponsored

svn commit: r356135 - in head/sys: dev/usb sys

2019-12-27 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 27 20:29:13 2019 New Revision: 356135 URL: https://svnweb.freebsd.org/changeset/base/356135 Log: Make USB statistics per device instead of per bus. Bump the FreeBSD version due to structure change to force recompilation of external USB modules. MFC

svn commit: r356134 - head/sys/powerpc/ofw

2019-12-27 Thread Brandon Bergren
Author: bdragon Date: Fri Dec 27 19:58:14 2019 New Revision: 356134 URL: https://svnweb.freebsd.org/changeset/base/356134 Log: [PowerPC] Ignore fortify-source warning in trap vector copy Due to a bug in clang 9.0.0 source tracking, the trap vector copying will always trigger a

svn commit: r356133 - stable/11/sbin/devd

2019-12-27 Thread Alexander Motin
Author: mav Date: Fri Dec 27 18:53:07 2019 New Revision: 356133 URL: https://svnweb.freebsd.org/changeset/base/356133 Log: MFC r355718: Fix $() handling, broken since the beginning at r108014. Due to off-by-one error in brackets counting it consumed the rest of the string, preventing

svn commit: r356132 - stable/12/sbin/devd

2019-12-27 Thread Alexander Motin
Author: mav Date: Fri Dec 27 18:52:43 2019 New Revision: 356132 URL: https://svnweb.freebsd.org/changeset/base/356132 Log: MFC r355718: Fix $() handling, broken since the beginning at r108014. Due to off-by-one error in brackets counting it consumed the rest of the string, preventing

Re: svn commit: r356113 - in head: libexec/rtld-elf sys/kern sys/sys

2019-12-27 Thread John Baldwin
On 12/27/19 10:43 AM, John Baldwin wrote: > On 12/26/19 8:07 PM, Justin Hibbits wrote: >> Author: jhibbits >> Date: Fri Dec 27 04:07:03 2019 >> New Revision: 356113 >> URL: https://svnweb.freebsd.org/changeset/base/356113 >> >> Log: >> Eliminate the last MI difference in AT_* definitions (for

Re: svn commit: r356113 - in head: libexec/rtld-elf sys/kern sys/sys

2019-12-27 Thread Justin Hibbits
On Fri, 27 Dec 2019 10:43:16 -0800 John Baldwin wrote: > On 12/26/19 8:07 PM, Justin Hibbits wrote: > > Author: jhibbits > > Date: Fri Dec 27 04:07:03 2019 > > New Revision: 356113 > > URL: https://svnweb.freebsd.org/changeset/base/356113 > > > > Log: > > Eliminate the last MI difference in

Re: svn commit: r356113 - in head: libexec/rtld-elf sys/kern sys/sys

2019-12-27 Thread John Baldwin
On 12/26/19 8:07 PM, Justin Hibbits wrote: > Author: jhibbits > Date: Fri Dec 27 04:07:03 2019 > New Revision: 356113 > URL: https://svnweb.freebsd.org/changeset/base/356113 > > Log: > Eliminate the last MI difference in AT_* definitions (for powerpc). > > Summary: > As a transition

svn commit: r356131 - stable/11/sys/fs/tmpfs

2019-12-27 Thread Doug Moore
Author: dougm Date: Fri Dec 27 17:55:56 2019 New Revision: 356131 URL: https://svnweb.freebsd.org/changeset/base/356131 Log: MFC r355913 Allow #include to compile when _KERNEL is not #defined. Modified: stable/11/sys/fs/tmpfs/tmpfs.h Directory Properties: stable/11/ (props changed)

svn commit: r356130 - stable/12/sys/fs/tmpfs

2019-12-27 Thread Doug Moore
Author: dougm Date: Fri Dec 27 17:41:41 2019 New Revision: 356130 URL: https://svnweb.freebsd.org/changeset/base/356130 Log: MFC r355913 Allow #include to compile when _KERNEL is not #defined. Modified: stable/12/sys/fs/tmpfs/tmpfs.h Directory Properties: stable/12/ (props changed)

svn commit: r356129 - in head/sys: kern powerpc/include powerpc/powerpc

2019-12-27 Thread Justin Hibbits
Author: jhibbits Date: Fri Dec 27 17:38:25 2019 New Revision: 356129 URL: https://svnweb.freebsd.org/changeset/base/356129 Log: Fix the powerpc copyout fixup from r356113 Summary: r356113 used an older patch, which predated the freebsd_copyout_auxargs() addition. Fix this by using a

svn commit: r356128 - head/share/man/man5

2019-12-27 Thread Ed Maste
Author: emaste Date: Fri Dec 27 17:12:06 2019 New Revision: 356128 URL: https://svnweb.freebsd.org/changeset/base/356128 Log: src.conf.5: regen after r356127, disable GPL_DTC by default Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r356127 - head/share/mk

2019-12-27 Thread Ed Maste
Author: emaste Date: Fri Dec 27 16:59:26 2019 New Revision: 356127 URL: https://svnweb.freebsd.org/changeset/base/356127 Log: Switch GPL_DTC to default off We use the BSDL devicetree compiler as long as we have a C++11 compiler. dtc is not needed as a build tool on the platforms that are

svn commit: r356126 - head/sys/ufs/ffs

2019-12-27 Thread Konstantin Belousov
Author: kib Date: Fri Dec 27 16:43:34 2019 New Revision: 356126 URL: https://svnweb.freebsd.org/changeset/base/356126 Log: ufs: do not leave non-reclaimed vnodes with zero i_mode around. After a recent change, vput() relocks even the exclusively locked vnode before inactivating it.

Re: svn commit: r356092 - head/sys/dev/kbdmux

2019-12-27 Thread Hans Petter Selasky
On 2019-12-27 17:28, Kyle Evans wrote: At the risk of asking a dumb question, where are you wanting to make this distinction at? For example when implementing applications which allow playing the piano via the system keyboard this is useful. See here for example:

Re: svn commit: r356092 - head/sys/dev/kbdmux

2019-12-27 Thread Kyle Evans
On Fri, Dec 27, 2019 at 9:04 AM Hans Petter Selasky wrote: > > TODO: > > Is there a way to distinguish between key events which are key-presses > and events which are auto-repeated key-presses? > At the risk of asking a dumb question, where are you wanting to make this distinction at? I haven't

svn commit: r356125 - head/share/mk

2019-12-27 Thread Ed Maste
Author: emaste Date: Fri Dec 27 16:28:43 2019 New Revision: 356125 URL: https://svnweb.freebsd.org/changeset/base/356125 Log: src.opts.mk: switch LLVM_LIBUNWIND to opt-out PowerPC switched to LLVM_LIBUNWIND along with the switch to Clang/LLVM in r356111. This leaves only 32-bit Arm and

Re: svn commit: r356116 - head

2019-12-27 Thread Brandon Bergren
On Fri, Dec 27, 2019, at 3:39 AM, Ronald Klop wrote: > Do powerpc people need to do something special while updating? > Like a clean buildkernel/buildworld. Or is this just a note for historical > bookkeeping? Yes. Stay put for the moment, because there's currently a bug in

svn commit: r356124 - head/share/mk

2019-12-27 Thread Ed Maste
Author: emaste Date: Fri Dec 27 15:47:32 2019 New Revision: 356124 URL: https://svnweb.freebsd.org/changeset/base/356124 Log: src.opts.mk: switch LLVM toolchain to opt-out After PowerPC switched in r356111, the list of targets using LLVM as the default toolchain is much longer than those

svn commit: r356123 - head/share/man/man5

2019-12-27 Thread Ed Maste
Author: emaste Date: Fri Dec 27 15:33:43 2019 New Revision: 356123 URL: https://svnweb.freebsd.org/changeset/base/356123 Log: src.conf.5: regenerate after recent changes r355588 Fix WITHOUT_CLANG build r355646 Revert r354348 r355943 add LDNS build knob dependency on OPENSSL r356111

Re: svn commit: r356092 - head/sys/dev/kbdmux

2019-12-27 Thread Hans Petter Selasky
TODO: Is there a way to distinguish between key events which are key-presses and events which are auto-repeated key-presses? --HPS ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send

Re: svn commit: r356113 - in head: libexec/rtld-elf sys/kern sys/sys

2019-12-27 Thread Konstantin Belousov
On Fri, Dec 27, 2019 at 04:07:03AM +, Justin Hibbits wrote: > Author: jhibbits > Date: Fri Dec 27 04:07:03 2019 > New Revision: 356113 > URL: https://svnweb.freebsd.org/changeset/base/356113 > > Log: > Eliminate the last MI difference in AT_* definitions (for powerpc). > > Summary: >

svn commit: r356122 - head/sys/kern

2019-12-27 Thread Mateusz Guzik
Author: mjg Date: Fri Dec 27 13:37:19 2019 New Revision: 356122 URL: https://svnweb.freebsd.org/changeset/base/356122 Log: Plug a warning in read-mostly spinlocks reported by gcc. Modified: head/sys/kern/kern_rmlock.c Modified: head/sys/kern/kern_rmlock.c

Re: svn commit: r356120 - head/sys/security/mac

2019-12-27 Thread Mateusz Guzik
On 12/27/19, Hans Petter Selasky wrote: > On 2019-12-27 12:33, Ronald Klop wrote: >> Wow, this looks like a winner. >> >> Ronald. > > Is this a spin-off from epoch methodology? > > It is possible to use epoch as a part of read mostly locking too. > epoch uses explicit fences which are a

Re: svn commit: r356120 - head/sys/security/mac

2019-12-27 Thread Hans Petter Selasky
On 2019-12-27 12:33, Ronald Klop wrote: Wow, this looks like a winner. Ronald. Is this a spin-off from epoch methodology? It is possible to use epoch as a part of read mostly locking too. The basic idea here is to have a variable/refcount which when set, fallback to a regular mutex during

Re: svn commit: r356120 - head/sys/security/mac

2019-12-27 Thread Ronald Klop
On Fri, 27 Dec 2019 12:23:32 +0100, Mateusz Guzik wrote: Author: mjg Date: Fri Dec 27 11:23:32 2019 New Revision: 356120 URL: https://svnweb.freebsd.org/changeset/base/356120 Log: mac: use a sleepable rmlock instead of an sx lock If any non-static modules are loaded (and mac_ntpd tends to

svn commit: r356121 - head/sys/kern

2019-12-27 Thread Mateusz Guzik
Author: mjg Date: Fri Dec 27 11:26:12 2019 New Revision: 356121 URL: https://svnweb.freebsd.org/changeset/base/356121 Log: vfs: remove production kernel checks and mp == NULL support from vdrop 1. The only place in the tree which calls getnewvnode with mp == NULL does it for vp_crossmp

svn commit: r356120 - head/sys/security/mac

2019-12-27 Thread Mateusz Guzik
Author: mjg Date: Fri Dec 27 11:23:32 2019 New Revision: 356120 URL: https://svnweb.freebsd.org/changeset/base/356120 Log: mac: use a sleepable rmlock instead of an sx lock If any non-static modules are loaded (and mac_ntpd tends to be), the lock is taken all the time al over the kernel.

svn commit: r356119 - in head: share/man/man9 sys/kern sys/sys

2019-12-27 Thread Mateusz Guzik
Author: mjg Date: Fri Dec 27 11:19:57 2019 New Revision: 356119 URL: https://svnweb.freebsd.org/changeset/base/356119 Log: Add read-mostly sleepable locks To be used when like rmlocks, except when sleeping for readers needs to be allowed. See the manpage for more information.

Re: svn commit: r356116 - head

2019-12-27 Thread Ronald Klop
Do powerpc people need to do something special while updating? Like a clean buildkernel/buildworld. Or is this just a note for historical bookkeeping? Regards, Ronald. On Fri, 27 Dec 2019 05:42:04 +0100, Justin Hibbits wrote: Author: jhibbits Date: Fri Dec 27 04:42:03 2019 New