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: 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: 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 flag

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 t

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 acc

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: h

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 fo

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: 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. N

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: 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 Differentia

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: head/contrib/elftool

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 i

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". How

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 fill_reg

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 specifie

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 b

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-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send a

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-head@freebsd.org mailing list htt

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 vm_page_remove()

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: head/sys/dev/ow/owc

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 {ip,udp}_packets_bad_checksum

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: 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 test

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 thoug

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 pa

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 no

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: 2388

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. PR

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: head/contrib

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 >

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. > >

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 hat