svn commit: r349451 - head/contrib/ipfilter/tools

2019-06-26 Thread Cy Schubert
Author: cy Date: Thu Jun 27 03:50:13 2019 New Revision: 349451 URL: https://svnweb.freebsd.org/changeset/base/349451 Log: Return a return code scripts might expect. I missed this while reviewing and rewriting a patch in PR/238816. PR: 238816 Reported by: rgrimes@ Pointy

Re: svn commit: r349450 - head/contrib/ipfilter/tools

2019-06-26 Thread Cy Schubert
In message <201906270301.x5r31slh057...@gndrsh.dnsmgr.net>, "Rodney W. Grimes" writes: > > Author: cy > > Date: Thu Jun 27 02:43:30 2019 > > New Revision: 349450 > > URL: https://svnweb.freebsd.org/changeset/base/349450 > > > > Log: > > Update usage() to refect the current state of ipmon. > >

Re: svn commit: r349450 - head/contrib/ipfilter/tools

2019-06-26 Thread Rodney W. Grimes
> Author: cy > Date: Thu Jun 27 02:43:30 2019 > New Revision: 349450 > URL: https://svnweb.freebsd.org/changeset/base/349450 > > Log: > Update usage() to refect the current state of ipmon. > > PR: 238816 > MFC after: 1 week > > Modified: > head/contrib/ipfilter/tools/ipmon.c

svn commit: r349449 - in head: sbin/ipf/ipmon tools/build/mk

2019-06-26 Thread Cy Schubert
Author: cy Date: Thu Jun 27 02:43:26 2019 New Revision: 349449 URL: https://svnweb.freebsd.org/changeset/base/349449 Log: Add the ipmon.5 man page. PR/238816 initially addressed updates to usage() however the PR has morphed into a shopping list of updates to usage() and man pages.

svn commit: r349450 - head/contrib/ipfilter/tools

2019-06-26 Thread Cy Schubert
Author: cy Date: Thu Jun 27 02:43:30 2019 New Revision: 349450 URL: https://svnweb.freebsd.org/changeset/base/349450 Log: Update usage() to refect the current state of ipmon. PR: 238816 MFC after:1 week Modified: head/contrib/ipfilter/tools/ipmon.c Modified:

svn commit: r349448 - head/contrib/ipfilter/man

2019-06-26 Thread Cy Schubert
Author: cy Date: Thu Jun 27 02:42:56 2019 New Revision: 349448 URL: https://svnweb.freebsd.org/changeset/base/349448 Log: Fix a typo. PR/238816 initially addressed updates to usage() however it has now become a shopping list of fixes to ipmon man pages and usage(). PR:

svn commit: r349446 - in head/lib/libsecureboot: . h openpgp

2019-06-26 Thread Simon J. Gerraty
Author: sjg Date: Wed Jun 26 23:33:32 2019 New Revision: 349446 URL: https://svnweb.freebsd.org/changeset/base/349446 Log: libsecureboot: allow OpenPGP support to be dormant Since we can now add OpenPGP trust anchors at runtime, ensure the latent support is available. Ensure we do

Re: svn commit: r349435 - stable/11/usr.sbin/bhyve

2019-06-26 Thread Mark Johnston
On Wed, Jun 26, 2019 at 01:45:44PM -0700, Rodney W. Grimes wrote: > > Author: markj > > Date: Wed Jun 26 17:42:47 2019 > > New Revision: 349435 > > URL: https://svnweb.freebsd.org/changeset/base/349435 > > > > Log: > > MFC r349196: > > Make zlib encoding messages idempotent. > > Is this

svn commit: r349444 - head/sys/arm64/arm64

2019-06-26 Thread Olivier Houchard
Author: cognet Date: Wed Jun 26 22:06:40 2019 New Revision: 349444 URL: https://svnweb.freebsd.org/changeset/base/349444 Log: In get_fpcontext32() and set_fpcontext32(), we can't just use memcpy() to copy the VFP registers. arvm7 VFP uses 32 64bits fp registers (but those could be used in

svn commit: r349443 - in stable: 11/sys/amd64/vmm 12/sys/amd64/vmm

2019-06-26 Thread Rodney W. Grimes
Author: rgrimes Date: Wed Jun 26 21:59:43 2019 New Revision: 349443 URL: https://svnweb.freebsd.org/changeset/base/349443 Log: MFC: r347065 (by jhb) Emulate the "ADD reg, r/m" instruction (opcode 03H). OVMF's flash variable storage is using add instructions when indexing the variable

svn commit: r349443 - in stable: 11/sys/amd64/vmm 12/sys/amd64/vmm

2019-06-26 Thread Rodney W. Grimes
Author: rgrimes Date: Wed Jun 26 21:59:43 2019 New Revision: 349443 URL: https://svnweb.freebsd.org/changeset/base/349443 Log: MFC: r347065 (by jhb) Emulate the "ADD reg, r/m" instruction (opcode 03H). OVMF's flash variable storage is using add instructions when indexing the variable

svn commit: r349442 - head/sys/arm64/arm64

2019-06-26 Thread Alan Cox
Author: alc Date: Wed Jun 26 21:43:41 2019 New Revision: 349442 URL: https://svnweb.freebsd.org/changeset/base/349442 Log: Revert one of the changes from r349323. Specifically, undo the change that replaced a pmap_invalidate_page() with a dsb(ishst) in pmap_enter_quick_locked(). Even

svn commit: r349441 - head/sys/amd64/vmm

2019-06-26 Thread Rodney W. Grimes
Author: rgrimes Date: Wed Jun 26 21:19:43 2019 New Revision: 349441 URL: https://svnweb.freebsd.org/changeset/base/349441 Log: Emulate the "TEST r/m{16,32,64}, imm{16,32,32}" instructions (opcode F7H). This adds emulation for: test r/m16, imm16 test r/m32, imm32

Re: svn commit: r349435 - stable/11/usr.sbin/bhyve

2019-06-26 Thread Rodney W. Grimes
> Author: markj > Date: Wed Jun 26 17:42:47 2019 > New Revision: 349435 > URL: https://svnweb.freebsd.org/changeset/base/349435 > > Log: > MFC r349196: > Make zlib encoding messages idempotent. Is this headed for 11.3RC3? IIRC this fixes a significant number of vnc client related issues? >

svn commit: r349439 - head/sbin/dhclient

2019-06-26 Thread Mark Johnston
Author: markj Date: Wed Jun 26 20:19:48 2019 New Revision: 349439 URL: https://svnweb.freebsd.org/changeset/base/349439 Log: Free DHCP options with length zero. Otherwise they are leaked, allowing an attacker to trigger memory exhaustion. This is options.c rev. 1.70 from OpenBSD.

svn commit: r349438 - head/sbin/dhclient

2019-06-26 Thread Mark Johnston
Author: markj Date: Wed Jun 26 20:11:52 2019 New Revision: 349438 URL: https://svnweb.freebsd.org/changeset/base/349438 Log: Avoid a divide-by-zero when bad checksum counters overflow. A mixture of IP or UDP packets with valid and invalid checksum could cause

svn commit: r349435 - stable/11/usr.sbin/bhyve

2019-06-26 Thread Mark Johnston
Author: markj Date: Wed Jun 26 17:42:47 2019 New Revision: 349435 URL: https://svnweb.freebsd.org/changeset/base/349435 Log: MFC r349196: Make zlib encoding messages idempotent. PR: 238333 Modified: stable/11/usr.sbin/bhyve/rfb.c Directory Properties: stable/11/ (props changed)

svn commit: r349434 - stable/12/usr.sbin/bhyve

2019-06-26 Thread Mark Johnston
Author: markj Date: Wed Jun 26 17:41:38 2019 New Revision: 349434 URL: https://svnweb.freebsd.org/changeset/base/349434 Log: MFC r349196: Make zlib encoding messages idempotent. PR: 238333 Modified: stable/12/usr.sbin/bhyve/rfb.c Directory Properties: stable/12/ (props changed)

svn commit: r349433 - head/sys/dev/ow

2019-06-26 Thread Andriy Gapon
Author: avg Date: Wed Jun 26 17:38:38 2019 New Revision: 349433 URL: https://svnweb.freebsd.org/changeset/base/349433 Log: fix up r349428, fix a typo made during "fdt" removal Reported by: ian MFC after:11 days Modified: head/sys/dev/ow/owc_gpiobus.c Modified:

svn commit: r349432 - in head/sys: amd64/sgx dev/drm2/ttm vm

2019-06-26 Thread Mark Johnston
Author: markj Date: Wed Jun 26 17:37:51 2019 New Revision: 349432 URL: https://svnweb.freebsd.org/changeset/base/349432 Log: Add a return value to vm_page_remove(). Use it to indicate whether the page may be safely freed following its removal from the object. Also change

Re: svn commit: r349428 - head/sys/dev/ow

2019-06-26 Thread Andriy Gapon
On 26/06/2019 20:31, Ian Lepore wrote: > On Wed, 2019-06-26 at 17:17 +, Andriy Gapon wrote: >> +MODULE_DEPEND(owc_gpiobust, ow, 1, 1, 1); > > Looks like a typo there. Busted! Thank you! -- Andriy Gapon ___ svn-src-all@freebsd.org mailing list

Re: svn commit: r349428 - head/sys/dev/ow

2019-06-26 Thread Ian Lepore
On Wed, 2019-06-26 at 17:17 +, Andriy Gapon wrote: > +MODULE_DEPEND(owc_gpiobust, ow, 1, 1, 1); Looks like a typo there. -- Ian ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send

svn commit: r349430 - in stable/12: etc/mtree include share/man/man4 share/man/man9 sys/arm/allwinner sys/arm/conf sys/arm/ti/am335x sys/conf sys/dev/pwm sys/modules sys/modules/allwinner sys/modul...

2019-06-26 Thread Ian Lepore
Author: ian Date: Wed Jun 26 17:28:55 2019 New Revision: 349430 URL: https://svnweb.freebsd.org/changeset/base/349430 Log: MFC r343826, r346698, r349057-r349060, r349073-r349077, r349080-r349086, r349088, r349091-r349097, r349115, r349119, r349130-r349132, r349143-r349145,

svn commit: r349429 - releng/11.3/sys/netpfil/ipfw/nat64

2019-06-26 Thread Andrey V. Elsukov
Author: ae Date: Wed Jun 26 17:21:30 2019 New Revision: 349429 URL: https://svnweb.freebsd.org/changeset/base/349429 Log: Merge from stable/11: Fix the uninitialized use of source IPv6 address in NAT64LSN. This code is already refactored in head/, but due to the missing epoch(9)

svn commit: r349428 - head/sys/dev/ow

2019-06-26 Thread Andriy Gapon
Author: avg Date: Wed Jun 26 17:17:33 2019 New Revision: 349428 URL: https://svnweb.freebsd.org/changeset/base/349428 Log: owc_gpiobus: clean / fix up the driver module things "fdt" is removed from the driver module name as the driver does not require FDT and can work very well on hints

svn commit: r349427 - head/sys/amd64/amd64

2019-06-26 Thread Konstantin Belousov
Author: kib Date: Wed Jun 26 17:16:26 2019 New Revision: 349427 URL: https://svnweb.freebsd.org/changeset/base/349427 Log: amd64 pmap: Fix pkru handling in pmap_remove(). When pmap_pkru_on_remove() is called, the sva argument value was advanced. Clear PKRU earlier when sva still

svn commit: r349426 - head/sys/arm64/arm64

2019-06-26 Thread Olivier Houchard
Author: cognet Date: Wed Jun 26 16:56:56 2019 New Revision: 349426 URL: https://svnweb.freebsd.org/changeset/base/349426 Log: Fix debugging of 32bits arm binaries on arm64. In set_regs32()/fill_regs32(), we have to get/set SP and LR from/to tf_x[13] and tf_x[14]. set_regs() and

Re: svn commit: r349349 - in head/stand: efi/include efi/include/Protocol efi/libefi efi/loader libsa

2019-06-26 Thread Dave Cottlehuber
On Tue, 25 Jun 2019, at 21:37, Warner Losh wrote: > > > On Tue, Jun 25, 2019, 3:29 PM Rebecca Cran wrote: > > On 2019-06-25 11:23, Dave Cottlehuber wrote: > > > > > This fails to identify the partition with a bootable zpool on both a > > laptop (details > > > in the PR) and also a server (2

svn commit: r349425 - stable/12/lib/libcapsicum

2019-06-26 Thread Ian Lepore
Author: ian Date: Wed Jun 26 16:38:46 2019 New Revision: 349425 URL: https://svnweb.freebsd.org/changeset/base/349425 Log: MFC r340130, r340134: r340130: (by oshogbo) libcapsicum: Introduce caph_{rights,ioctls,fcntls}_limit The idea behind those functions is not to force

svn commit: r349424 - head/contrib/elftoolchain/libdwarf

2019-06-26 Thread Mark Johnston
Author: markj Date: Wed Jun 26 16:38:30 2019 New Revision: 349424 URL: https://svnweb.freebsd.org/changeset/base/349424 Log: libdwarf: Use the cached strtab pointer when reading string attributes. Previously we would perform a linear search of the DWARF section list for ".debug_str".

svn commit: r349423 - head/contrib/elftoolchain/elfcopy

2019-06-26 Thread Mark Johnston
Author: markj Date: Wed Jun 26 16:35:37 2019 New Revision: 349423 URL: https://svnweb.freebsd.org/changeset/base/349423 Log: elfcopy: Provide a size hint when creating the section string table. Use the input file's .shstrtab size as the hint if it exists. This gives a small performance

svn commit: r349422 - head/contrib/elftoolchain/libelftc

2019-06-26 Thread Mark Johnston
Author: markj Date: Wed Jun 26 16:32:41 2019 New Revision: 349422 URL: https://svnweb.freebsd.org/changeset/base/349422 Log: libelftc: Fix the documented prototype for elftc_string_table_destroy(). MFC after:1 week Sponsored by: The FreeBSD Foundation Modified:

svn commit: r349421 - head/contrib/elftoolchain/libelftc

2019-06-26 Thread Mark Johnston
Author: markj Date: Wed Jun 26 16:31:50 2019 New Revision: 349421 URL: https://svnweb.freebsd.org/changeset/base/349421 Log: libelftc: Consistently use size_t for string table offsets and sizes. Reviewed by: emaste MFC after:1 week Sponsored by: The FreeBSD Foundation

svn commit: r349420 - head/contrib/elftoolchain/libelftc

2019-06-26 Thread Mark Johnston
Author: markj Date: Wed Jun 26 16:30:14 2019 New Revision: 349420 URL: https://svnweb.freebsd.org/changeset/base/349420 Log: libelftc: Micro-optimize string table insertion. The string's length is already known, so use memcpy() instead of strcpy() to add it to the string table image.

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

2019-06-26 Thread Mark Johnston
Author: markj Date: Wed Jun 26 16:28:42 2019 New Revision: 349419 URL: https://svnweb.freebsd.org/changeset/base/349419 Log: Remove references to splbio in ffs_softdep.c. Assert that the per-mountpoint softdep mutex is held in modified functions that do not already have this assertion.

svn commit: r349418 - head/sys/conf

2019-06-26 Thread Alexander Motin
Author: mav Date: Wed Jun 26 16:23:24 2019 New Revision: 349418 URL: https://svnweb.freebsd.org/changeset/base/349418 Log: Fix qlxgbe(4) static build. MFC after:2 weeks Modified: head/sys/conf/files.amd64 Modified: head/sys/conf/files.amd64

svn commit: r349417 - head/libexec/rtld-elf

2019-06-26 Thread Alex Richardson
Author: arichardson Date: Wed Jun 26 15:43:26 2019 New Revision: 349417 URL: https://svnweb.freebsd.org/changeset/base/349417 Log: Use rtld_putstr() instead of write() for the rtld msg() macro This removes an unnecessary libc dependency from rtld. See https://reviews.freebsd.org/D20663

svn commit: r349416 - head/lib/libc/stdlib

2019-06-26 Thread Alex Richardson
Author: arichardson Date: Wed Jun 26 15:43:20 2019 New Revision: 349416 URL: https://svnweb.freebsd.org/changeset/base/349416 Log: Fix -Wsign-compare warnings in realpath.c This is needed in order to build realpath.c as part of rtld. Modified: head/lib/libc/stdlib/realpath.c Modified:

svn commit: r349415 - in stable/12: share/man/man9 sys/arm/allwinner sys/arm64/conf sys/conf sys/dev/pwm sys/dts/arm64/overlays sys/modules/dtb/allwinner sys/sys usr.sbin usr.sbin/pwm

2019-06-26 Thread Ian Lepore
Author: ian Date: Wed Jun 26 15:34:35 2019 New Revision: 349415 URL: https://svnweb.freebsd.org/changeset/base/349415 Log: MFC r341268, r342003-r342007, r342087-r342088, r342091 r341268 by manu: arm64: allwinner: Add a dtbo to have cpu operating points This enables cpufreq on A64

svn commit: r349414 - head/sys/net

2019-06-26 Thread Marius Strobl
Author: marius Date: Wed Jun 26 15:28:21 2019 New Revision: 349414 URL: https://svnweb.freebsd.org/changeset/base/349414 Log: o In iflib_txq_drain(): - Remove desc_used, which is only ever written to. - Remove a dead store to reclaimed. - Don't recycle avail. - Sort variables

svn commit: r349413 - releng/11.3/release/doc/share/xml

2019-06-26 Thread Glen Barber
Author: gjb Date: Wed Jun 26 15:16:23 2019 New Revision: 349413 URL: https://svnweb.freebsd.org/changeset/base/349413 Log: Bump the release.manpath.freebsd macro version, although I do not see any place this is actually used. Approved by: re (implicit) Sponsored by: Rubicon

svn commit: r349411 - stable/11/sys/netpfil/ipfw/nat64

2019-06-26 Thread Andrey V. Elsukov
Author: ae Date: Wed Jun 26 12:26:38 2019 New Revision: 349411 URL: https://svnweb.freebsd.org/changeset/base/349411 Log: Fix the uninitialized use of source IPv6 address in NAT64LSN. This code is already refactored in head/, but due to the missing epoch(9) support it is impossible to

svn commit: r349410 - head/lib/libusb

2019-06-26 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 26 12:04:54 2019 New Revision: 349410 URL: https://svnweb.freebsd.org/changeset/base/349410 Log: Only call libusb_hotplug_enumerate() once from libusb_hotplug_register_callback(). Else when registering multiple filters the same USB device may appear twice in

svn commit: r349409 - head/lib/libusb

2019-06-26 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 26 11:28:08 2019 New Revision: 349409 URL: https://svnweb.freebsd.org/changeset/base/349409 Log: Fix support for LIBUSB_HOTPLUG_ENUMERATE in libusb. Currently all devices are enumerated regardless of of the LIBUSB_HOTPLUG_ENUMERATE flag. Make sure when the

svn commit: r349408 - head/share/man/man4

2019-06-26 Thread Andriy Gapon
Author: avg Date: Wed Jun 26 07:38:31 2019 New Revision: 349408 URL: https://svnweb.freebsd.org/changeset/base/349408 Log: gpio.4: document device hints common to all devices on gpiobus "at" keyword is documented in device.hints(5) for all buses, but it does hurt to add another reference

svn commit: r349407 - head/share/man/man4

2019-06-26 Thread Andriy Gapon
Author: avg Date: Wed Jun 26 07:08:51 2019 New Revision: 349407 URL: https://svnweb.freebsd.org/changeset/base/349407 Log: fix up r349406, add missing .El MFC after:1 week Modified: head/share/man/man4/owc.4 Modified: head/share/man/man4/owc.4

svn commit: r349406 - head/share/man/man4

2019-06-26 Thread Andriy Gapon
Author: avg Date: Wed Jun 26 06:40:30 2019 New Revision: 349406 URL: https://svnweb.freebsd.org/changeset/base/349406 Log: owc.4: document how to set up the 1-wire bus on a device.hints system MFC after:1 week Modified: head/share/man/man4/owc.4 Modified: head/share/man/man4/owc.4