svn commit: r348047 - head/tests/sys/opencrypto

2019-05-20 Thread Enji Cooper
Author: ngie Date: Tue May 21 04:11:16 2019 New Revision: 348047 URL: https://svnweb.freebsd.org/changeset/base/348047 Log: Add my name to the copyright I have contributed a number of changes to these tests over the past few hundred revisions, and believe I deserve credit for the changes

svn commit: r348045 - head/tests/sys/opencrypto

2019-05-20 Thread Enji Cooper
Author: ngie Date: Tue May 21 04:03:22 2019 New Revision: 348045 URL: https://svnweb.freebsd.org/changeset/base/348045 Log: Follow up to r348042: cast `aad` to a byte array This is not completely necessary today, but this change is being made in a conservative manner to avoid accidental

svn commit: r348042 - head/tests/sys/opencrypto

2019-05-20 Thread Enji Cooper
Author: ngie Date: Tue May 21 03:52:48 2019 New Revision: 348042 URL: https://svnweb.freebsd.org/changeset/base/348042 Log: Fix encoding issues with python 3 In python 3, the default encoding was switched from ascii character sets to unicode character sets in order to support

svn commit: r348040 - head/stand/powerpc

2019-05-20 Thread Justin Hibbits
Author: jhibbits Date: Tue May 21 03:05:24 2019 New Revision: 348040 URL: https://svnweb.freebsd.org/changeset/base/348040 Log: stand: TARGET_ARCH is spelled MACHINE_ARCH in Makefiles Reported by: imp Modified: head/stand/powerpc/Makefile Modified: head/stand/powerpc/Makefile

svn commit: r348039 - head/tests/sys/opencrypto

2019-05-20 Thread Enji Cooper
Author: ngie Date: Tue May 21 02:49:15 2019 New Revision: 348039 URL: https://svnweb.freebsd.org/changeset/base/348039 Log: Remove spurious newline Even though some python styles suggest there should be multiple newlines between methods/classes, for consistency with the surrounding

svn commit: r348036 - stable/12/sys/sys

2019-05-20 Thread Johannes Lundberg
Author: johalun Date: Tue May 21 02:42:42 2019 New Revision: 348036 URL: https://svnweb.freebsd.org/changeset/base/348036 Log: Bump FreeBSD version after change to struct in linuxkpi from r348035. Modified: stable/12/sys/sys/param.h Modified: stable/12/sys/sys/param.h

svn commit: r348034 - stable/12/sys/compat/linuxkpi/common/include/linux

2019-05-20 Thread Johannes Lundberg
Author: johalun Date: Tue May 21 02:36:12 2019 New Revision: 348034 URL: https://svnweb.freebsd.org/changeset/base/348034 Log: MFC r347600: LinuxKPI: Add vm_fault_t type. This patch is part of D19565 Reviewed by: hps Approved by: imp (mentor), hps Modified:

svn commit: r348035 - stable/12/sys/compat/linuxkpi/common/include/linux

2019-05-20 Thread Johannes Lundberg
Author: johalun Date: Tue May 21 02:38:21 2019 New Revision: 348035 URL: https://svnweb.freebsd.org/changeset/base/348035 Log: MFC r347601: LinuxKPI: Add prepare to pm_ops and bump FreeBSD version. This patch is part of D19565 Reviewed by: hps Approved by: imp (mentor), hps

svn commit: r348033 - in stable/12/sys/compat/linuxkpi/common: include/linux src

2019-05-20 Thread Johannes Lundberg
Author: johalun Date: Tue May 21 02:31:34 2019 New Revision: 348033 URL: https://svnweb.freebsd.org/changeset/base/348033 Log: MFC r347592: LinuxKPI: Let del_timer return a value to match Linux. This patch is part of https://reviews.freebsd.org/D19565. Reviewed by: hps Approved

svn commit: r348032 - head/tests/sys/opencrypto

2019-05-20 Thread Enji Cooper
Author: ngie Date: Tue May 21 02:30:43 2019 New Revision: 348032 URL: https://svnweb.freebsd.org/changeset/base/348032 Log: Fix `KAT(CCM)?Parser` file descriptor leaks Make `KAT(CCM)?Parser` into a context suite-capable object by implementing `__enter__` and `__exit__` methods which

svn commit: r348031 - head/tests/sys/opencrypto

2019-05-20 Thread Enji Cooper
Author: ngie Date: Tue May 21 02:13:46 2019 New Revision: 348031 URL: https://svnweb.freebsd.org/changeset/base/348031 Log: Squash deprecation warning related to array.array(..).tostring() In version 3.2+, `array.array(..).tostring()` was renamed to `array.array(..).tobytes()`.

svn commit: r348028 - head/stand/powerpc

2019-05-20 Thread Justin Hibbits
Author: jhibbits Date: Tue May 21 01:42:57 2019 New Revision: 348028 URL: https://svnweb.freebsd.org/changeset/base/348028 Log: stand/powerpc: Only build loader.kboot for powerpc64 kboot is only made for powerpc64 systems, not 32-bit systems. This unbreaks the build for powerpcspe.

Re: svn commit: r348012 - in stable/12: libexec/rc sbin/ifconfig share/man/man5 tools/tools/tinybsd/conf/firewall/etc usr.sbin/jail

2019-05-20 Thread Rodney W. Grimes
> Author: brooks > Date: Mon May 20 21:33:22 2019 > New Revision: 348012 > URL: https://svnweb.freebsd.org/changeset/base/348012 > > Log: > MFC r347963: > > Change ed(4), ep(4), and fxp(4) examples to em(4). > > ed(4) and ep(4) will be removed in FreeBSD 13. fxp(4) remains > popular

svn commit: r348027 - stable/12/sys/conf

2019-05-20 Thread Mark Johnston
Author: markj Date: Tue May 21 01:27:08 2019 New Revision: 348027 URL: https://svnweb.freebsd.org/changeset/base/348027 Log: MFC r347570: Specify -z notext when building with -z ifunc-noplt. Modified: stable/12/sys/conf/kern.pre.mk Directory Properties: stable/12/ (props changed)

svn commit: r348026 - in head/sys: arm/allwinner arm/amlogic/aml8726 arm/freescale/imx arm/rockchip arm/ti/am335x compat/linuxkpi/common/src dev/drm2/ttm dev/fb dev/hdmi dev/iscsi_initiator dev/mlx...

2019-05-20 Thread Conrad Meyer
Author: cem Date: Tue May 21 01:18:43 2019 New Revision: 348026 URL: https://svnweb.freebsd.org/changeset/base/348026 Log: Include eventhandler.h in more compilation units This was enumerated with exhaustive search for sys/eventhandler.h includes, cross-referenced against EVENTHANDLER_*

Re: svn commit: r347982 - head/sys/net

2019-05-20 Thread Rodney W. Grimes
> 20.05.2019, 07:50, "Rodney W. Grimes" : > >> ?Author: melifaro > >> ?Date: Sun May 19 21:49:56 2019 > >> ?New Revision: 347982 > >> ?URL: https://svnweb.freebsd.org/changeset/base/347982 > >> > >> ?Log: > >> ???Fix rt_ifa selection during loopback route insertion process. > >> ?Currently

svn commit: r348025 - head/stand/common

2019-05-20 Thread Enji Cooper
Author: ngie Date: Tue May 21 00:46:47 2019 New Revision: 348025 URL: https://svnweb.freebsd.org/changeset/base/348025 Log: Unbreak the build when `ELF_VERBOSE` is defined after r348005 This change properly terminates the formatting string quote modification done in r348005, which is

svn commit: r348024 - head/tests/sys/opencrypto

2019-05-20 Thread Enji Cooper
Author: ngie Date: Tue May 21 00:30:29 2019 New Revision: 348024 URL: https://svnweb.freebsd.org/changeset/base/348024 Log: Followup to r347996 Replace uses of `foo.encode("hex")` with `binascii.hexlify(foo)` for forwards compatibility between python 2.x and python 3. PR:

Re: svn commit: r347984 - in head/sys: amd64/vmm/io arm/allwinner arm/allwinner/a10 arm/allwinner/clkng arm/arm arm/broadcom/bcm2835 arm/freescale/imx arm/mv arm/mv/armada arm/nvidia arm/nvidia/tegra1

2019-05-20 Thread Conrad Meyer
Hi Peter, Can you share what your kernel configuration is? I believe the error is masked in existing tinderbox kernel configurations ( https://ci.freebsd.org/tinderbox/ ) by some remaining header pollution that must be conditional on an option. The files you've pointed out are missing the

svn commit: r348022 - in head/sys: dev/netmap netinet/netdump

2019-05-20 Thread Conrad Meyer
Author: cem Date: Tue May 21 00:04:19 2019 New Revision: 348022 URL: https://svnweb.freebsd.org/changeset/base/348022 Log: Add two missing eventhandler.h headers These are obviously missing from the .c files, but don't show up in any tinderbox configuration (due to latent header

Re: svn commit: r347982 - head/sys/net

2019-05-20 Thread Alexander V . Chernikov
20.05.2019, 07:50, "Rodney W. Grimes" : >>  Author: melifaro >>  Date: Sun May 19 21:49:56 2019 >>  New Revision: 347982 >>  URL: https://svnweb.freebsd.org/changeset/base/347982 >> >>  Log: >>    Fix rt_ifa selection during loopback route insertion process. >>  Currently such routes are added

svn commit: r348020 - head/sys/dev/usb/net

2019-05-20 Thread Ian Lepore
Author: ian Date: Mon May 20 22:32:31 2019 New Revision: 348020 URL: https://svnweb.freebsd.org/changeset/base/348020 Log: Reverse the bit logic of sc_led_modes_mask. Instead of initializing it to all-ones then carving out blocks of zeroes where specified values go, init it to all-zeroes,

svn commit: r348019 - head/tests/sys/opencrypto

2019-05-20 Thread Enji Cooper
Author: ngie Date: Mon May 20 22:32:26 2019 New Revision: 348019 URL: https://svnweb.freebsd.org/changeset/base/348019 Log: Allow the end-user to pass along arguments to cryptotest.py via `$CRYPTOTEST_ARGS` This allows someone to use `-v` to dump out standard output. Modified:

svn commit: r348018 - head/sys/dev/usb/net

2019-05-20 Thread Ian Lepore
Author: ian Date: Mon May 20 22:21:47 2019 New Revision: 348018 URL: https://svnweb.freebsd.org/changeset/base/348018 Log: A MAC adddress from FDT data should override anything stored in eeprom or OTP registers (because the user is in control of the fdt data). Remove the early returns from

svn commit: r348016 - head/sys/dev/usb/net

2019-05-20 Thread Ian Lepore
Author: ian Date: Mon May 20 22:04:01 2019 New Revision: 348016 URL: https://svnweb.freebsd.org/changeset/base/348016 Log: Don't detour through sc->sc_ue when we have a direct pointer to ue in hand already. Also, shorten a variable name for nicer line-wrapping. No functional changes.

svn commit: r348013 - head/sys/dev/usb/net

2019-05-20 Thread Ian Lepore
Author: ian Date: Mon May 20 21:45:00 2019 New Revision: 348013 URL: https://svnweb.freebsd.org/changeset/base/348013 Log: Use the new usb fdt support functions to locate the proper fdt node for the device instance, and to get the MAC address for the device instance. The ad-hoc code this

svn commit: r348012 - in stable/12: libexec/rc sbin/ifconfig share/man/man5 tools/tools/tinybsd/conf/firewall/etc usr.sbin/jail

2019-05-20 Thread Brooks Davis
Author: brooks Date: Mon May 20 21:33:22 2019 New Revision: 348012 URL: https://svnweb.freebsd.org/changeset/base/348012 Log: MFC r347963: Change ed(4), ep(4), and fxp(4) examples to em(4). ed(4) and ep(4) will be removed in FreeBSD 13. fxp(4) remains popular in older systems, but

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

2019-05-20 Thread Mark Johnston
Author: markj Date: Mon May 20 21:23:33 2019 New Revision: 348011 URL: https://svnweb.freebsd.org/changeset/base/348011 Log: Hook DEFINE_IFUNC.9 up to the build. Reported by: pluknet MFC with: r348003 Modified: head/share/man/man9/Makefile Modified: head/share/man/man9/Makefile

svn commit: r348008 - head/lib/csu/mips

2019-05-20 Thread Ed Maste
Author: emaste Date: Mon May 20 20:48:04 2019 New Revision: 348008 URL: https://svnweb.freebsd.org/changeset/base/348008 Log: mips: remove 16-byte alignment from .init and .fini epilogues The .init and .fini epilogues from crtn should be placed immediately after any instructions in .init

Re: svn commit: r347984 - in head/sys: amd64/vmm/io arm/allwinner arm/allwinner/a10 arm/allwinner/clkng arm/arm arm/broadcom/bcm2835 arm/freescale/imx arm/mv arm/mv/armada arm/nvidia arm/nvidia/tegra1

2019-05-20 Thread Conrad Meyer
Hi Peter, Thanks for reporting this. I ran a full tinderbox on this change (many many tinderboxes) and am not sure how I missed this. I have to run to an appointment now, but will fix these in a couple hours if no one else beats me to it. The fix is straightforward — include . Best, Conrad

svn commit: r348006 - head/sys/dev/usb/net

2019-05-20 Thread Ed Maste
Author: emaste Date: Mon May 20 19:31:49 2019 New Revision: 348006 URL: https://svnweb.freebsd.org/changeset/base/348006 Log: muge: update FDT LED configuration Also use LED mode settings from the FDT to set the PHY. From v3 of the patch submitted in the PR. I moved the sc_led_modes

svn commit: r348005 - in head: cddl/contrib/opensolaris/lib/libzfs/common stand/common stand/ofw/libofw stand/powerpc/boot1.chrp stand/powerpc/kboot stand/powerpc/ofw

2019-05-20 Thread Leandro Lupori
Author: luporl Date: Mon May 20 19:21:35 2019 New Revision: 348005 URL: https://svnweb.freebsd.org/changeset/base/348005 Log: [PowerPC64] stand: fix build using clang 8 as compiler This change fixes "stand" build issues when using clang 8 as compiler. Submitted by:

Re: svn commit: r347984 - in head/sys: amd64/vmm/io arm/allwinner arm/allwinner/a10 arm/allwinner/clkng arm/arm arm/broadcom/bcm2835 arm/freescale/imx arm/mv arm/mv/armada arm/nvidia arm/nvidia/tegra1

2019-05-20 Thread Peter Jeremy
On 2019-May-20 00:38:23 +, Conrad Meyer wrote: >Author: cem >Date: Mon May 20 00:38:23 2019 >New Revision: 347984 >URL: https://svnweb.freebsd.org/changeset/base/347984 > >Log: > Extract eventfilter declarations to sys/_eventfilter.h ... > No functional change (intended). Of course, any

svn commit: r348004 - head/sys/kern

2019-05-20 Thread Mark Johnston
Author: markj Date: Mon May 20 19:14:07 2019 New Revision: 348004 URL: https://svnweb.freebsd.org/changeset/base/348004 Log: kcov depends on eventhandler.h. MFC after:3 days Modified: head/sys/kern/kern_kcov.c Modified: head/sys/kern/kern_kcov.c

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

2019-05-20 Thread Mark Johnston
Author: markj Date: Mon May 20 19:12:29 2019 New Revision: 348003 URL: https://svnweb.freebsd.org/changeset/base/348003 Log: Add a man page for DEFINE_IFUNC. Reviewed by: kib Discussed with: emaste MFC after:2 weeks Event:Waterloo Hackathon 2019

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

2019-05-20 Thread Mark Johnston
Author: markj Date: Mon May 20 19:08:55 2019 New Revision: 348002 URL: https://svnweb.freebsd.org/changeset/base/348002 Log: Typo. MFC after:3 days Modified: head/share/man/man9/DRIVER_MODULE.9 Modified: head/share/man/man9/DRIVER_MODULE.9

svn commit: r348001 - head/sys/dev/usb/net

2019-05-20 Thread Ed Maste
Author: emaste Date: Mon May 20 18:41:07 2019 New Revision: 348001 URL: https://svnweb.freebsd.org/changeset/base/348001 Log: muge: configure LEDs per dtb (for Raspberry Pi 3B+) Also apply some style(9) and remove the message about EEPROM configuration (if there's an EEPROM the hardware

svn commit: r348000 - head/tests/sys/sys

2019-05-20 Thread Edward Tomasz Napierala
Author: trasz Date: Mon May 20 18:35:23 2019 New Revision: 348000 URL: https://svnweb.freebsd.org/changeset/base/348000 Log: Improve tree(3) tests by using ATF_REQUIRE where applicable. MFC after:2 weeks Sponsored by: Klara Inc. Modified: head/tests/sys/sys/rb_test.c

Re: svn commit: r347980 - head/lib/libsecureboot/openpgp

2019-05-20 Thread Rodney W. Grimes
> Rodney W. Grimes wrote: > > > Log: > > > load_key_buf do not free data from dearmor > > > > > > The data returned by dearmor is referenced by the key > > > leave it alone! > > > > > > Reviewed by:stevek > > > MFC after: 2 days > > > > This is an exception below the

svn commit: r347999 - head/lib/libarchive/tests

2019-05-20 Thread Li-Wen Hsu
Author: lwhsu Date: Mon May 20 18:07:45 2019 New Revision: 347999 URL: https://svnweb.freebsd.org/changeset/base/347999 Log: Install missing data file for lib.libarchive.functional_test.test_read_format_zip_utf8_paths MFC after:2 weeks (with r347989) Sponsored by: The FreeBSD

Re: svn commit: r347951 - stable/12/lib/libc/stdlib

2019-05-20 Thread Rodney W. Grimes
> On Sun, May 19, 2019 at 9:56 AM Yoshihiro Ota wrote: > > > I wonder if we can use a tool to confirm coding style like > > clang-format or something else. > > > > I don't know... it might be hard to do that inside a man page... Given the current tooling I concur, so we need .include for

svn commit: r347998 - head/sys/mips/mediatek

2019-05-20 Thread Adrian Chadd
Author: adrian Date: Mon May 20 17:43:58 2019 New Revision: 347998 URL: https://svnweb.freebsd.org/changeset/base/347998 Log: [mediatek] Add support for non-flash devices on the SPI bus of the Mediatek SoCs. The existing SPI support only worked for directly attached flash chips. it

svn commit: r347996 - head/tests/sys/opencrypto

2019-05-20 Thread Enji Cooper
Author: ngie Date: Mon May 20 16:38:12 2019 New Revision: 347996 URL: https://svnweb.freebsd.org/changeset/base/347996 Log: Replace uses of `foo.(de|en)code('hex')` with `binascii.(un)?hexlify(foo)` Python 3 no longer doesn't support encoding/decoding hexadecimal numbers using the

svn commit: r347995 - in stable/11: sys/sys usr.bin/ipcrm usr.bin/ipcs

2019-05-20 Thread Konstantin Belousov
Author: kib Date: Mon May 20 16:31:45 2019 New Revision: 347995 URL: https://svnweb.freebsd.org/changeset/base/347995 Log: MFC r329348 (by brooks): Get rid of the requirement to include SysV IPC headers with _KERNEL defined in ipcrm by introducing _WANT_SYSVxxx_INTERNALS defines. MFC

svn commit: r347992 - head/gnu/usr.bin/binutils

2019-05-20 Thread Leandro Lupori
Author: luporl Date: Mon May 20 16:00:32 2019 New Revision: 347992 URL: https://svnweb.freebsd.org/changeset/base/347992 Log: [PPC] Enable build/install of ld.bfd on base When using LLVM+clang+lld on PowerPC64, ld.bfd is also needed, to link 32-bit binaries correctly, as lld support for

svn commit: r347990 - in head: contrib/libarchive contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/libarchive/libarchive/test contrib/libarchive/tar contrib/libarchive/tar/test co...

2019-05-20 Thread Martin Matuska
Author: mm Date: Mon May 20 12:57:39 2019 New Revision: 347990 URL: https://svnweb.freebsd.org/changeset/base/347990 Log: MFV r347989: Sync libarchive with vendor. Relevant vendor changes: Issue #795: XAR - do not try to add xattrs without an allocated name PR #812: non-recursive

svn commit: r347989 - in vendor/libarchive/dist: . build/ci build/ci/cirrus_ci contrib cpio/test libarchive libarchive/test tar tar/test test_utils

2019-05-20 Thread Martin Matuska
Author: mm Date: Mon May 20 12:32:00 2019 New Revision: 347989 URL: https://svnweb.freebsd.org/changeset/base/347989 Log: Update vendor/libarchive/dist to git b5818e39e128eca4951e2ab10467d4d850a2ba57 Relevant vendor changes: Issue #795: XAR - do not try to add xattrs without an allocated

Re: svn commit: r347984 - in head/sys: amd64/vmm/io arm/allwinner arm/allwinner/a10 arm/allwinner/clkng arm/arm arm/broadcom/bcm2835 arm/freescale/imx arm/mv arm/mv/armada arm/nvidia arm/nvidia/tegra1

2019-05-20 Thread Bruce Evans
On Mon, 20 May 2019, Conrad Meyer wrote: Log: Extract eventfilter declarations to sys/_eventfilter.h sys/_eventhandler.h has 2 identical 72-line copies of the correct version. The second copy of the reinclusion guard works as a guard against the doubling too. This allows replacing

Re: svn commit: r347951 - stable/12/lib/libc/stdlib

2019-05-20 Thread Bruce Evans
On Sun, 19 May 2019, Warner Losh wrote: On Sun, May 19, 2019 at 9:56 AM Yoshihiro Ota wrote: I wonder if we can use a tool to confirm coding style like clang-format or something else. I don't know... it might be hard to do that inside a man page... Examples in man pages need special

Re: svn commit: r347951 - stable/12/lib/libc/stdlib

2019-05-20 Thread Warner Losh
On Sun, May 19, 2019 at 9:56 AM Yoshihiro Ota wrote: > I wonder if we can use a tool to confirm coding style like > clang-format or something else. > I don't know... it might be hard to do that inside a man page... Warner ___ svn-src-all@freebsd.org

Re: svn commit: r347980 - head/lib/libsecureboot/openpgp

2019-05-20 Thread Simon J. Gerraty via svn-src-all
Rodney W. Grimes wrote: > > Log: > > load_key_buf do not free data from dearmor > > > > The data returned by dearmor is referenced by the key > > leave it alone! > > > > Reviewed by: stevek > > MFC after:2 days > > This is an exception below the standard minimal

Re: svn commit: r347533 - in head/sys: compat/linux modules/linux_common

2019-05-20 Thread Dmitry Chagin
вс, 19 мая 2019 г. в 20:05, Tijl Coosemans : > On Mon, 13 May 2019 17:48:16 + (UTC) Dmitry Chagin > wrote: > > Author: dchagin > > Date: Mon May 13 17:48:16 2019 > > New Revision: 347533 > > URL: https://svnweb.freebsd.org/changeset/base/347533 > > > > Log: > > Our bsd_to_linux_sockaddr()

Re: svn commit: r347984 - in head/sys: amd64/vmm/io arm/allwinner arm/allwinner/a10 arm/allwinner/clkng arm/arm arm/broadcom/bcm2835 arm/freescale/imx arm/mv arm/mv/armada arm/nvidia arm/nvidia/tegra1

2019-05-20 Thread Michael Tuexen
> On 20. May 2019, at 02:38, Conrad Meyer wrote: > > Author: cem > Date: Mon May 20 00:38:23 2019 > New Revision: 347984 > URL: https://svnweb.freebsd.org/changeset/base/347984 > > Log: > Extract eventfilter declarations to sys/_eventfilter.h > > This allows replacing "sys/eventfilter.h"