svn commit: r355647 - head/usr.bin/showmount

2019-12-11 Thread Eitan Adler
Author: eadler Date: Thu Dec 12 05:11:53 2019 New Revision: 355647 URL: https://svnweb.freebsd.org/changeset/base/355647 Log: [showmount] implement long options add long options support to showmount. Where mappings exist use the GNU names for said options. Differential Revision:

svn commit: r355646 - head/share/mk

2019-12-11 Thread Conrad Meyer
Author: cem Date: Thu Dec 12 04:47:02 2019 New Revision: 355646 URL: https://svnweb.freebsd.org/changeset/base/355646 Log: Revert r354348 Switch ARM32 default libunwind back to old GPL2 libgcc version. Reportedly, the llvm-libunwind code is nonfunctional. Requested by: mmel

svn commit: r355645 - head/contrib/libunwind/src

2019-12-11 Thread Conrad Meyer
Author: cem Date: Thu Dec 12 04:44:09 2019 New Revision: 355645 URL: https://svnweb.freebsd.org/changeset/base/355645 Log: arm: libgcc_s: Fix ABI breakage introduced in r354347 Provide the symbol version for llvm-libunwind's _Unwind_Backtrace that libgcc has historically provided on arm,

svn commit: r355644 - head/sys/kern

2019-12-11 Thread Mark Johnston
Author: markj Date: Thu Dec 12 02:43:24 2019 New Revision: 355644 URL: https://svnweb.freebsd.org/changeset/base/355644 Log: Rename tdq_ipipending and clear it in sched_switch(). This fixes a regression after r355311. Specifically, sched_preempt() may trigger a context switch by calling

svn commit: r355643 - head/sys/sys

2019-12-11 Thread Kyle Evans
Author: kevans Date: Thu Dec 12 02:42:27 2019 New Revision: 355643 URL: https://svnweb.freebsd.org/changeset/base/355643 Log: Bump __FreeBSD_version for r355641, new sig set ops This will be needed to unbreak qemu-user-static. Modified: head/sys/sys/param.h Modified:

svn commit: r355642 - head

2019-12-11 Thread Ed Maste
Author: emaste Date: Thu Dec 12 02:18:18 2019 New Revision: 355642 URL: https://svnweb.freebsd.org/changeset/base/355642 Log: ObsoleteFiles.inc: remove stale comment A comment at the top of the file claimed that the file was grouped into OLD_FILES, OLD_LIBS, then OLD_DIRS, but that

svn commit: r355641 - in head: include lib/libc/gen lib/libc/tests/gen

2019-12-11 Thread Kyle Evans
Author: kevans Date: Thu Dec 12 01:41:55 2019 New Revision: 355641 URL: https://svnweb.freebsd.org/changeset/base/355641 Log: Add sigsetop extensions commonly found in musl libc and glibc These functions (sigandset, sigisemptyset, sigorset) are commonly available in at least musl libc

svn commit: r355640 - head/stand/liblua

2019-12-11 Thread Kyle Evans
Author: kevans Date: Thu Dec 12 01:35:56 2019 New Revision: 355640 URL: https://svnweb.freebsd.org/changeset/base/355640 Log: stand: liblua: drop default buffer size to 128 Lua allocates LUAL_BUFFERSIZE buffers on the stack for various string functions (string.format, string.gsub) --

svn commit: r355639 - in head/usr.sbin/ntp: . scripts

2019-12-11 Thread Kyle Evans
Author: kevans Date: Thu Dec 12 01:33:45 2019 New Revision: 355639 URL: https://svnweb.freebsd.org/changeset/base/355639 Log: usr.sbin/ntp: don't emit versions w/ make -s defines ECHO=echo when not using make -s, and ECHO=true when using make -s. export ECHO for ntp products and

svn commit: r355638 - head

2019-12-11 Thread Ed Maste
Author: emaste Date: Thu Dec 12 00:51:08 2019 New Revision: 355638 URL: https://svnweb.freebsd.org/changeset/base/355638 Log: ObsoleteFiles.inc: chase libpcap update in r334277 libpcap 1.9.0 (pre-release) update removed the export-defs.h header. PR: 242559 Submitted by:

svn commit: r355635 - in head: . lib/libpmc

2019-12-11 Thread Ed Maste
Author: emaste Date: Thu Dec 12 00:14:01 2019 New Revision: 355635 URL: https://svnweb.freebsd.org/changeset/base/355635 Log: libpmc: build json event support also on arm64 Modified: head/Makefile.inc1 head/lib/libpmc/Makefile Modified: head/Makefile.inc1

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

2019-12-11 Thread John Baldwin
Author: jhb Date: Wed Dec 11 23:41:39 2019 New Revision: 355634 URL: https://svnweb.freebsd.org/changeset/base/355634 Log: Emulate reads of the PCI command register for passthrough devices. VFs return zero for the memory enable bit even if it has been set by a prior write. After r348779

svn commit: r355633 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs fs/tmpfs kern sys

2019-12-11 Thread Mateusz Guzik
Author: mjg Date: Wed Dec 11 23:11:21 2019 New Revision: 355633 URL: https://svnweb.freebsd.org/changeset/base/355633 Log: vfs: locking primitives which elide ->v_vnlock and shared locking disablement Both of these features are not needed by many consumers and result in avoidable reads

svn commit: r355632 - in head/sys: kern sys

2019-12-11 Thread Mateusz Guzik
Author: mjg Date: Wed Dec 11 23:09:12 2019 New Revision: 355632 URL: https://svnweb.freebsd.org/changeset/base/355632 Log: fd: static-ize and devolatile openfiles Almost all access is using atomics. The only read is sysctl which should use a whole-int-at-a-time friendly read internally.

svn commit: r355631 - head/sys/dev/nvme

2019-12-11 Thread Warner Losh
Author: imp Date: Wed Dec 11 22:51:02 2019 New Revision: 355631 URL: https://svnweb.freebsd.org/changeset/base/355631 Log: Move reset to the interrutp processing stage This trims the boot time a bit more for AWS and other platforms that have nvme drives. There's no reason too do this

svn commit: r355630 - in head/lib/libpmc/pmu-events/arch/arm64: . arm/cortex-a53 cavium/thunderx2 hisilicon/hip08

2019-12-11 Thread Ed Maste
Author: emaste Date: Wed Dec 11 22:09:22 2019 New Revision: 355630 URL: https://svnweb.freebsd.org/changeset/base/355630 Log: libpmc: convert arm64 data files to proper json jevents includes a very permissive json parser that accepts invalid json, of which there are many examples in

Re: svn commit: r355611 - head/sys/kern

2019-12-11 Thread Konstantin Belousov
On Wed, Dec 11, 2019 at 03:52:30PM +, Andriy Gapon wrote: > Author: avg > Date: Wed Dec 11 15:52:29 2019 > New Revision: 355611 > URL: https://svnweb.freebsd.org/changeset/base/355611 > > Log: > add a sanity check to the system call registration code > > A system call number should be

svn commit: r355629 - head/sys/dev/mmc/host

2019-12-11 Thread Emmanuel Vadot
Author: manu Date: Wed Dec 11 19:40:30 2019 New Revision: 355629 URL: https://svnweb.freebsd.org/changeset/base/355629 Log: dwmmc: Use device_delete_children Instead of first detaching the children(s) and then delete them, use the device_delete_children function that does all of that.

svn commit: r355628 - head/sys/tools

2019-12-11 Thread Kyle Evans
Author: kevans Date: Wed Dec 11 19:32:52 2019 New Revision: 355628 URL: https://svnweb.freebsd.org/changeset/base/355628 Log: makesyscalls.lua: trim trailing spaces/commas from args These are insignificant as far as declarations go, and we've historically allowed it. fhlinkat in

svn commit: r355627 - head/sys/dev/mmc/host

2019-12-11 Thread Emmanuel Vadot
Author: manu Date: Wed Dec 11 18:50:23 2019 New Revision: 355627 URL: https://svnweb.freebsd.org/changeset/base/355627 Log: dwmmc: Handle the card detect interrupt The driver used to always add the mmc device as it's child even it no card was detected. Add a function that will detect if

svn commit: r355626 - in head/sys/modules/rockchip: . rk_dwmmc

2019-12-11 Thread Emmanuel Vadot
Author: manu Date: Wed Dec 11 18:43:39 2019 New Revision: 355626 URL: https://svnweb.freebsd.org/changeset/base/355626 Log: arm64: rockchip: Add a module for rk_dwmmc This is mostly needed for dev/debug as most users will have their root on the sdcard or emmc. MFC after:1 month

svn commit: r355625 - head/sys/dev/mmc/host

2019-12-11 Thread Emmanuel Vadot
Author: manu Date: Wed Dec 11 18:41:13 2019 New Revision: 355625 URL: https://svnweb.freebsd.org/changeset/base/355625 Log: dwmmc: Add a detach method This method will disable the regulators, clocks and assert the reset of the module. It will also detach it's children (the mmc device)

svn commit: r355624 - head/sys/arm64/rockchip/clk

2019-12-11 Thread Emmanuel Vadot
Author: manu Date: Wed Dec 11 18:39:05 2019 New Revision: 355624 URL: https://svnweb.freebsd.org/changeset/base/355624 Log: arm64: rk3328: Add the *clk_peri_niu clocks Those clocks are always enable by default and are not really explained in the TRM but the reason we had them is that

svn commit: r355623 - in head/sys: arm64/conf conf

2019-12-11 Thread Emmanuel Vadot
Author: manu Date: Wed Dec 11 18:36:07 2019 New Revision: 355623 URL: https://svnweb.freebsd.org/changeset/base/355623 Log: arm64: Add explicit devices for dwmmc variant We used to include the hisi version if soc_hisi_hi6220 was present, include the altera version if dwmmc_altera was

svn commit: r355622 - head/sys/arm/linux

2019-12-11 Thread Ed Maste
Author: emaste Date: Wed Dec 11 18:24:43 2019 New Revision: 355622 URL: https://svnweb.freebsd.org/changeset/base/355622 Log: arm linuxulator: regen sysent after r355621 Modified: head/sys/arm/linux/linux_proto.h head/sys/arm/linux/linux_systrace_args.c Modified:

svn commit: r355621 - head/sys/arm/linux

2019-12-11 Thread Ed Maste
Author: emaste Date: Wed Dec 11 18:21:35 2019 New Revision: 355621 URL: https://svnweb.freebsd.org/changeset/base/355621 Log: arm linuxulator: put syscall type and argument on one line Modified: head/sys/arm/linux/syscalls.master Modified: head/sys/arm/linux/syscalls.master

svn commit: r355620 - head/sys/arm/linux

2019-12-11 Thread Ed Maste
Author: emaste Date: Wed Dec 11 17:52:06 2019 New Revision: 355620 URL: https://svnweb.freebsd.org/changeset/base/355620 Log: arm linuxulator: add "make sysent" generated files Sponsored by: The FreeBSD Foundation Added: head/sys/arm/linux/linux_proto.h (contents, props changed)

svn commit: r355619 - head

2019-12-11 Thread Ed Maste
Author: emaste Date: Wed Dec 11 17:48:34 2019 New Revision: 355619 URL: https://svnweb.freebsd.org/changeset/base/355619 Log: connect arm linuxulator to top-level make sysent Reported by: kevans Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

Re: svn commit: r355430 - head/sys/cam/scsi

2019-12-11 Thread Warner Losh
At some point, we used to replace bad chars with spaces, but that may have been two ata stacks ago.. Warner On Wed, Dec 11, 2019, 9:35 AM Alan Somers wrote: > No, and there's no possibility of connecting a Windows host to this > particular device. We have some Oracle Solaris servers hooked up

svn commit: r355618 - in head: lib/libbsnmp/libbsnmp lib/libgcc_eh lib/libmagic lib/libpmc share/mk targets

2019-12-11 Thread Simon J. Gerraty
Author: sjg Date: Wed Dec 11 17:38:15 2019 New Revision: 355618 URL: https://svnweb.freebsd.org/changeset/base/355618 Log: Update dirdeps.mk and gendirdeps.mk The env space consumed by exporting all libc's .meta files left little room for command line, so unexport when done.

svn commit: r355617 - in head: bin/ls cddl/lib/libavl cddl/lib/libctf cddl/lib/libnvpair cddl/lib/libumem cddl/lib/libuutil cddl/lib/libzfs cddl/lib/libzfs_core gnu/lib/libdialog gnu/lib/libgomp gn...

2019-12-11 Thread Simon J. Gerraty
Author: sjg Date: Wed Dec 11 17:37:53 2019 New Revision: 355617 URL: https://svnweb.freebsd.org/changeset/base/355617 Log: Update Makefile.depend files Update a bunch of Makefile.depend files as a result of adding Makefile.depend.options files Reviewed by: bdrewery MFC after:

svn commit: r355616 - in head: bin/ls lib/libarchive lib/libbsnmp/libbsnmp lib/libc lib/libfetch lib/libpam/modules/pam_unix lib/libpcap lib/libproc lib/libradius libexec/fingerd libexec/ftpd libex...

2019-12-11 Thread Simon J. Gerraty
Author: sjg Date: Wed Dec 11 17:37:37 2019 New Revision: 355616 URL: https://svnweb.freebsd.org/changeset/base/355616 Log: Add Makefile.depend.options Leaf directories that have dependencies impacted by options need a Makefile.depend.options file to avoid churn in Makefile.depend

Re: svn commit: r355430 - head/sys/cam/scsi

2019-12-11 Thread Alan Somers
No, and there's no possibility of connecting a Windows host to this particular device. We have some Oracle Solaris servers hooked up to these expanders, but it looks like Solaris completely ignores the offending element type. -Alan On Wed, Dec 11, 2019 at 10:19 AM Scott Long wrote: > U+FFFD

Re: svn commit: r355615 - head/sys/arm/linux

2019-12-11 Thread Kyle Evans
On Wed, Dec 11, 2019 at 11:28 AM Ed Maste wrote: > > Author: emaste > Date: Wed Dec 11 17:28:49 2019 > New Revision: 355615 > URL: https://svnweb.freebsd.org/changeset/base/355615 > > Log: > arm linuxulator: add syscalls.conf and Makefile for "make sysent" > > Differential Revision:

svn commit: r355615 - head/sys/arm/linux

2019-12-11 Thread Ed Maste
Author: emaste Date: Wed Dec 11 17:28:49 2019 New Revision: 355615 URL: https://svnweb.freebsd.org/changeset/base/355615 Log: arm linuxulator: add syscalls.conf and Makefile for "make sysent" Differential Revision:https://reviews.freebsd.org/D7973 Added:

svn commit: r355614 - head/usr.sbin/kbdmap

2019-12-11 Thread Ed Maste
Author: emaste Date: Wed Dec 11 17:19:36 2019 New Revision: 355614 URL: https://svnweb.freebsd.org/changeset/base/355614 Log: kbdmap: allow INDEX.keymaps to provide the dialog title Previously kbdmap had a localized menu heading ("Choose your keyboard layout") but not the dialog title

Re: svn commit: r355430 - head/sys/cam/scsi

2019-12-11 Thread Scott Long
U+FFFD doesn’t make sense for an ASCII string, but 0x3F might. Any idea what Windows shows for this device? Scott > On Dec 11, 2019, at 8:42 AM, Alan Somers wrote: > > In this case the offending descriptor is solid 0xFF, so replacing individual > characters wouldn't accomplish anything. I

svn commit: r355613 - head/share/man/man7

2019-12-11 Thread Ed Maste
Author: emaste Date: Wed Dec 11 16:43:54 2019 New Revision: 355613 URL: https://svnweb.freebsd.org/changeset/base/355613 Log: security.7: add caveat about interim sysctl paths from r355436 r355436 moved mitigation sysctls to machdep.mitigations but did not rationalize the sense of the

svn commit: r355612 - head/sys/vm

2019-12-11 Thread Doug Moore
Author: dougm Date: Wed Dec 11 16:09:57 2019 New Revision: 355612 URL: https://svnweb.freebsd.org/changeset/base/355612 Log: Extract code common to _vm_map_clip_start and _vm_map_clip_end into a function, vm_map_entry_clone, that can be invoked by each. Reviewed by: kib, markj

svn commit: r355611 - head/sys/kern

2019-12-11 Thread Andriy Gapon
Author: avg Date: Wed Dec 11 15:52:29 2019 New Revision: 355611 URL: https://svnweb.freebsd.org/changeset/base/355611 Log: add a sanity check to the system call registration code A system call number should be at least reserved. We do not expect an attempt to register a fixed number

Re: svn commit: r355430 - head/sys/cam/scsi

2019-12-11 Thread Alan Somers
In this case the offending descriptor is solid 0xFF, so replacing individual characters wouldn't accomplish anything. I can imagine a different buggy expander that has just one or two bad characters. In that case, it would make sense to replace them. But replace them with what? The UTF

svn commit: r355609 - head

2019-12-11 Thread Ed Maste
Author: emaste Date: Wed Dec 11 14:54:29 2019 New Revision: 355609 URL: https://svnweb.freebsd.org/changeset/base/355609 Log: Make NOCLEAN an error instead of a warning The warning was added in r289728 (over four years ago) and at that time NO_CLEAN was already the correct spelling for

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

2019-12-11 Thread Hans Petter Selasky
On 2019-12-11 10:26, Alexey Dokuchaev wrote: That's one of those things that make Linux so unpleasant to work with. Frankly, I don't think we want that for FreeBSD. The argument for the current callback is still a "void *". container_of() has some type checks at least. It is not a big deal

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

2019-12-11 Thread Alexey Dokuchaev
On Tue, Dec 10, 2019 at 11:09:41PM +0100, Hans Petter Selasky wrote: > On 2019-12-10 22:58, John Baldwin wrote: > > While here, add to the manpage. > > FYI: > > Linux guys eliminated the "void *c_arg" in their timer implementation by > using container_of() to get callback argument. We could

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

2019-12-11 Thread Hans Petter Selasky
On 2019-12-10 23:47, John Baldwin wrote: You mean passing the pointer to the callout itself and using that to get to the relevant pointer? Yes. --HPS ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head