svn commit: r350740 - head/share/mk

2019-08-07 Thread Conrad Meyer
Author: cem Date: Thu Aug 8 04:29:46 2019 New Revision: 350740 URL: https://svnweb.freebsd.org/changeset/base/350740 Log: r350739 try #2 For some inexplicable reason, C++ compilers reject the -Wno- flag, and also (ab)use CWARNFLAGS. Reported by: imp Modified:

svn commit: r350739 - in head: share/mk sys/conf

2019-08-07 Thread Conrad Meyer
Author: cem Date: Thu Aug 8 03:27:46 2019 New Revision: 350739 URL: https://svnweb.freebsd.org/changeset/base/350739 Log: Disable useless -Wformat-zero-length It is part of -Wformat, which is enabled by -Wall. Empty format strings are well defined and it is perfectly reasonable to

svn commit: r350738 - head/sys/powerpc/booke

2019-08-07 Thread Justin Hibbits
Author: jhibbits Date: Thu Aug 8 03:18:35 2019 New Revision: 350738 URL: https://svnweb.freebsd.org/changeset/base/350738 Log: powerpc/pmap: Minor optimizations to 64-bit booke pmap Don't recalculate the VM page of the page table pages, just pass them down to free. Also, use the pmap's

svn commit: r350737 - head/usr.sbin/autofs

2019-08-07 Thread Justin Hibbits
Author: jhibbits Date: Thu Aug 8 03:16:32 2019 New Revision: 350737 URL: https://svnweb.freebsd.org/changeset/base/350737 Log: Change autounmountd(8) to use time_t for duration instead of double Summary: autounmountd(8) uses doubles to handle mount time durations. However, it must

Re: svn commit: r350315 - in head/sys: kern sys

2019-08-07 Thread Conrad Meyer
Hi Rick, Coverity reports that the following portion of vn_generic_copy_file_range() is deadcode (CID 1403974), and it is: On Wed, Jul 24, 2019 at 10:46 PM Rick Macklem wrote: > > Author: rmacklem > Date: Thu Jul 25 05:46:16 2019 > New Revision: 350315 > URL:

svn commit: r350715 - head/sys/kern

2019-08-07 Thread Conrad Meyer
Author: cem Date: Thu Aug 8 01:37:41 2019 New Revision: 350715 URL: https://svnweb.freebsd.org/changeset/base/350715 Log: Fix !DDB kernel configurations after r350713 KDB is standard and the kdb_active variable is always available. So, de-conditionalize inclusion of sys/kdb.h in

Re: svn commit: r350714 - head/share/man/man9

2019-08-07 Thread Conrad Meyer
Thanks Li-Wen Hsu! On Wed, Aug 7, 2019 at 5:51 PM Li-Wen Hsu wrote: > > Author: lwhsu > Date: Thu Aug 8 00:51:17 2019 > New Revision: 350714 > URL: https://svnweb.freebsd.org/changeset/base/350714 > > Log: > Follow r350693 to add a link for sbuf_nl_terminate(9) > > Sponsored by: The FreeBSD

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

2019-08-07 Thread Li-Wen Hsu
Author: lwhsu Date: Thu Aug 8 00:51:17 2019 New Revision: 350714 URL: https://svnweb.freebsd.org/changeset/base/350714 Log: Follow r350693 to add a link for sbuf_nl_terminate(9) Sponsored by: The FreeBSD Foundation Modified: head/share/man/man9/Makefile Modified:

svn commit: r350713 - head/sys/kern

2019-08-07 Thread Conrad Meyer
Author: cem Date: Thu Aug 8 00:42:29 2019 New Revision: 350713 URL: https://svnweb.freebsd.org/changeset/base/350713 Log: ddb(4): Add 'sysctl' command Implement `sysctl` in `ddb` by overriding `SYSCTL_OUT`. When handling the req, we install custom ddb in/out handlers. The out handler

Re: svn commit: r350702 - head/share/man/man8

2019-08-07 Thread Ian Lepore
On Wed, 2019-08-07 at 21:20 +, Andriy Gapon wrote: > Author: avg > Date: Wed Aug 7 21:20:25 2019 > New Revision: 350702 > URL: https://svnweb.freebsd.org/changeset/base/350702 > > Log: > rc.8: fix a typo in r350701 > > I wronlgy expected that igor(1) checks spelling of all words. >

svn commit: r350702 - head/share/man/man8

2019-08-07 Thread Andriy Gapon
Author: avg Date: Wed Aug 7 21:20:25 2019 New Revision: 350702 URL: https://svnweb.freebsd.org/changeset/base/350702 Log: rc.8: fix a typo in r350701 I wronlgy expected that igor(1) checks spelling of all words. MFC after:1 week Modified: head/share/man/man8/rc.8 Modified:

svn commit: r350701 - head/share/man/man8

2019-08-07 Thread Andriy Gapon
Author: avg Date: Wed Aug 7 21:07:59 2019 New Revision: 350701 URL: https://svnweb.freebsd.org/changeset/base/350701 Log: rc.8: add a reference to service(8) While here: - use Xr macro for a reference to sysrc(8) - clarify that rc.shutdown invokes rc.d scripts with "faststop" argument

Re: svn commit: r350512 - head/tests/sys/kern

2019-08-07 Thread Li-Wen Hsu
On Thu, Aug 8, 2019 at 4:27 AM Mark Johnston wrote: > > On Thu, Aug 01, 2019 at 06:19:16PM +, Li-Wen Hsu wrote: > > Author: lwhsu > > Date: Thu Aug 1 18:19:16 2019 > > New Revision: 350512 > > URL: https://svnweb.freebsd.org/changeset/base/350512 > > > > Log: > > Only skip test cases

svn commit: r350700 - head/tests/sys/kern

2019-08-07 Thread Li-Wen Hsu
Author: lwhsu Date: Wed Aug 7 21:02:23 2019 New Revision: 350700 URL: https://svnweb.freebsd.org/changeset/base/350700 Log: Get configuration variable with default value for not breaking default setting Reported by: markj Sponsored by: The FreeBSD Foundation Modified:

Re: svn commit: r350550 - head/share/mk

2019-08-07 Thread Rodney W. Grimes
> On 07/08/2019 15:12, Rodney W. Grimes wrote: > >> On 07/08/2019 11:00, John Baldwin wrote: > >>> On 8/6/19 9:56 AM, Glen Barber wrote: > On Sat, Aug 03, 2019 at 01:06:18AM +, John Baldwin wrote: > > Author: jhb > > Date: Sat Aug 3 01:06:17 2019 > > New Revision: 350550 >

Re: svn commit: r350550 - head/share/mk

2019-08-07 Thread Pedro Giffuni
On 07/08/2019 15:12, Rodney W. Grimes wrote: On 07/08/2019 11:00, John Baldwin wrote: On 8/6/19 9:56 AM, Glen Barber wrote: On Sat, Aug 03, 2019 at 01:06:18AM +, John Baldwin wrote: Author: jhb Date: Sat Aug 3 01:06:17 2019 New Revision: 350550 URL:

svn commit: r350698 - head/sys/modules/fusefs

2019-08-07 Thread Alan Somers
Author: asomers Date: Wed Aug 7 20:28:27 2019 New Revision: 350698 URL: https://svnweb.freebsd.org/changeset/base/350698 Log: Remove the fuse.ko -> fusefs.ko symlink On FreeBSD 13.0, the fuse driver will always be known as fusefs. The backwards compatibility symlink will still be used

Re: svn commit: r350512 - head/tests/sys/kern

2019-08-07 Thread Mark Johnston
On Thu, Aug 01, 2019 at 06:19:16PM +, Li-Wen Hsu wrote: > Author: lwhsu > Date: Thu Aug 1 18:19:16 2019 > New Revision: 350512 > URL: https://svnweb.freebsd.org/changeset/base/350512 > > Log: > Only skip test cases sometimes failing in CI when they are running in CI > > Suggested by:

svn commit: r350697 - head/lib/libc/string

2019-08-07 Thread Dimitry Andric
Author: dim Date: Wed Aug 7 20:13:43 2019 New Revision: 350697 URL: https://svnweb.freebsd.org/changeset/base/350697 Log: Fix a possible segfault in wcsxfrm(3) and wcsxfrm_l(3). If the length of the source wide character string, passed in via the "size_t n" parameter, is set to zero,

Re: svn commit: r350550 - head/share/mk

2019-08-07 Thread Rodney W. Grimes
> On 07/08/2019 11:00, John Baldwin wrote: > > On 8/6/19 9:56 AM, Glen Barber wrote: > >> On Sat, Aug 03, 2019 at 01:06:18AM +, John Baldwin wrote: > >>> Author: jhb > >>> Date: Sat Aug 3 01:06:17 2019 > >>> New Revision: 350550 > >>> URL: https://svnweb.freebsd.org/changeset/base/350550 >

svn commit: r350696 - in head/sys/amd64/vmm: amd intel

2019-08-07 Thread Mark Johnston
Author: markj Date: Wed Aug 7 19:45:44 2019 New Revision: 350696 URL: https://svnweb.freebsd.org/changeset/base/350696 Log: Use designated initializers for vmm_ops. MFC after:3 days Modified: head/sys/amd64/vmm/amd/svm.c head/sys/amd64/vmm/intel/vmx.c Modified:

Re: svn commit: r350694 - in head: share/man/man9 sys/dev/fdc sys/geom sys/geom/cache sys/geom/concat sys/geom/eli sys/geom/gate sys/geom/journal sys/geom/label sys/geom/linux_lvm sys/geom/mirror sys/

2019-08-07 Thread Scott Long
Good work on this and on r347229 and the sbuf improvements! Scott > On Aug 7, 2019, at 1:28 PM, Conrad Meyer wrote: > > Author: cem > Date: Wed Aug 7 19:28:35 2019 > New Revision: 350694 > URL: https://svnweb.freebsd.org/changeset/base/350694 > > Log: > GEOM: Reduce unnecessary log

svn commit: r350695 - head/lib/libcasper/services/cap_fileargs

2019-08-07 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Aug 7 19:30:33 2019 New Revision: 350695 URL: https://svnweb.freebsd.org/changeset/base/350695 Log: cap_filergs: limit size of the file name The limit of the name in fileargs is twice the size of the MAXPATH. The nvlist will not add an element with the longer

svn commit: r350694 - in head: share/man/man9 sys/dev/fdc sys/geom sys/geom/cache sys/geom/concat sys/geom/eli sys/geom/gate sys/geom/journal sys/geom/label sys/geom/linux_lvm sys/geom/mirror sys/g...

2019-08-07 Thread Conrad Meyer
Author: cem Date: Wed Aug 7 19:28:35 2019 New Revision: 350694 URL: https://svnweb.freebsd.org/changeset/base/350694 Log: GEOM: Reduce unnecessary log interleaving with sbufs Similar to what was done for device_printfs in r347229. Convert g_print_bio() to a thin shim around

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

2019-08-07 Thread Conrad Meyer
Author: cem Date: Wed Aug 7 19:27:14 2019 New Revision: 350693 URL: https://svnweb.freebsd.org/changeset/base/350693 Log: sbuf(9): Add sbuf_nl_terminate() API The API is used to gracefully terminate text line(s) with a single \n. If the formatted buffer was empty or already ended in

svn commit: r350692 - head/sys/kern

2019-08-07 Thread Conrad Meyer
Author: cem Date: Wed Aug 7 19:25:56 2019 New Revision: 350692 URL: https://svnweb.freebsd.org/changeset/base/350692 Log: sbuf(9): Refactor sbuf_newbuf into sbuf_new Code flow was somewhat difficult to read due to the combination of multiple return sites and the 4x possible dynamic

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

2019-08-07 Thread Conrad Meyer
Author: cem Date: Wed Aug 7 19:23:07 2019 New Revision: 350691 URL: https://svnweb.freebsd.org/changeset/base/350691 Log: sbuf(9): Add NOWAIT dynamic buffer extension mode The goal is to avoid some kinds of low-memory deadlock when formatting heap-allocated buffers. Reviewed by:

svn commit: r350688 - head/usr.bin/procstat

2019-08-07 Thread Gleb Smirnoff
Author: glebius Date: Wed Aug 7 18:32:01 2019 New Revision: 350688 URL: https://svnweb.freebsd.org/changeset/base/350688 Log: resource.h is sufficient here, no need for resoursevar.h. Modified: head/usr.bin/procstat/procstat_rlimit.c Modified: head/usr.bin/procstat/procstat_rlimit.c

svn commit: r350685 - in head: share/man/man4 sys/conf sys/dev/usb sys/dev/usb/net sys/dev/usb/template sys/modules/usb sys/modules/usb/cdceem sys/modules/usb/template

2019-08-07 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Aug 7 18:14:45 2019 New Revision: 350685 URL: https://svnweb.freebsd.org/changeset/base/350685 Log: Add cdceem(4) driver, for virtual ethernet devices compliant with Communication Device Class Ethernet Emulation Model (CDC EEM). The driver supports both the device,

svn commit: r350684 - head/share/man/man3

2019-08-07 Thread Konstantin Belousov
Author: kib Date: Wed Aug 7 17:51:40 2019 New Revision: 350684 URL: https://svnweb.freebsd.org/changeset/base/350684 Log: More places to clarify the robustness guarantees. Wording submitted by: Martin Simmons MFC after:3 days Modified: head/share/man/man3/pthread_cond_wait.3

svn commit: r350683 - head/share/man/man3

2019-08-07 Thread Konstantin Belousov
Author: kib Date: Wed Aug 7 17:46:07 2019 New Revision: 350683 URL: https://svnweb.freebsd.org/changeset/base/350683 Log: Clarify the robustness guarantees. Wording submitted by: Martin Simmons MFC after:3 days Modified: head/share/man/man3/pthread_mutex_lock.3

Re: svn commit: r350550 - head/share/mk

2019-08-07 Thread Pedro Giffuni
On 07/08/2019 11:00, John Baldwin wrote: On 8/6/19 9:56 AM, Glen Barber wrote: On Sat, Aug 03, 2019 at 01:06:18AM +, John Baldwin wrote: Author: jhb Date: Sat Aug 3 01:06:17 2019 New Revision: 350550 URL: https://svnweb.freebsd.org/changeset/base/350550 Log: Flip REPRODUCIBLE_BUILD

svn commit: r350682 - in head/sbin: fsck_ffs newfs

2019-08-07 Thread Kirk McKusick
Author: mckusick Date: Wed Aug 7 16:56:00 2019 New Revision: 350682 URL: https://svnweb.freebsd.org/changeset/base/350682 Log: Correct the location of the first backup superblock in fsck_ffs.8. Make a note in the newfs.8 manual page to update the first backup superblock location when

Re: svn commit: r350550 - head/share/mk

2019-08-07 Thread Cy Schubert
In message , Scott Long writes : > > > > On Aug 7, 2019, at 10:00 AM, John Baldwin wrote: > > > > On 8/6/19 9:56 AM, Glen Barber wrote: > >> On Sat, Aug 03, 2019 at 01:06:18AM +, John Baldwin wrote: > >>> Author: jhb > >>> Date: Sat Aug 3 01:06:17 2019 > >>> New Revision: 350550 > >>>

svn commit: r350681 - head

2019-08-07 Thread Alan Somers
Author: asomers Date: Wed Aug 7 16:42:34 2019 New Revision: 350681 URL: https://svnweb.freebsd.org/changeset/base/350681 Log: Update RELNOTES for the fusefs rewrite MFC after:Never Sponsored by: The FreeBSD Foundation Modified: head/RELNOTES Modified: head/RELNOTES

svn commit: r350680 - head

2019-08-07 Thread Alan Somers
Author: asomers Date: Wed Aug 7 16:24:08 2019 New Revision: 350680 URL: https://svnweb.freebsd.org/changeset/base/350680 Log: RELNOTES: fix formatting from r350482 MFC after:Never Sponsored by: The FreeBSD Foundation Modified: head/RELNOTES Modified: head/RELNOTES

Re: svn commit: r350550 - head/share/mk

2019-08-07 Thread Warner Losh
On Wed, Aug 7, 2019 at 10:01 AM John Baldwin wrote: > On 8/6/19 9:56 AM, Glen Barber wrote: > > On Sat, Aug 03, 2019 at 01:06:18AM +, John Baldwin wrote: > >> Author: jhb > >> Date: Sat Aug 3 01:06:17 2019 > >> New Revision: 350550 > >> URL: https://svnweb.freebsd.org/changeset/base/350550

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

2019-08-07 Thread Mark Johnston
Author: markj Date: Wed Aug 7 16:22:25 2019 New Revision: 350679 URL: https://svnweb.freebsd.org/changeset/base/350679 Log: Merge r3780 from elftoolchain. Adjust argc and argv by optind before using them. This slightly simplifies the code. No functional change intended. MFC

Re: svn commit: r350550 - head/share/mk

2019-08-07 Thread Scott Long
> On Aug 7, 2019, at 10:00 AM, John Baldwin wrote: > > On 8/6/19 9:56 AM, Glen Barber wrote: >> On Sat, Aug 03, 2019 at 01:06:18AM +, John Baldwin wrote: >>> Author: jhb >>> Date: Sat Aug 3 01:06:17 2019 >>> New Revision: 350550 >>> URL: https://svnweb.freebsd.org/changeset/base/350550

svn commit: r350678 - head/share/mk

2019-08-07 Thread Warner Losh
Author: imp Date: Wed Aug 7 16:19:06 2019 New Revision: 350678 URL: https://svnweb.freebsd.org/changeset/base/350678 Log: Enable nvme on aarch64 Don't mark nvme as broken on aarch64. It compiles, at least, and people are testing it out. This only enables the userland parts of the nvme

Re: svn commit: r350550 - head/share/mk

2019-08-07 Thread John Baldwin
On 8/6/19 9:56 AM, Glen Barber wrote: > On Sat, Aug 03, 2019 at 01:06:18AM +, John Baldwin wrote: >> Author: jhb >> Date: Sat Aug 3 01:06:17 2019 >> New Revision: 350550 >> URL: https://svnweb.freebsd.org/changeset/base/350550 >> >> Log: >> Flip REPRODUCIBLE_BUILD back to off by default in

Re: svn commit: r350665 - in head: . etc/mtree sbin/mount_fusefs share/man/man5 sys/fs/fuse sys/sys tests/sys/fs tests/sys/fs/fusefs

2019-08-07 Thread Pedro Giffuni
Awesome work. Thanks! On 06/08/2019 19:38, Alan Somers wrote: Author: asomers Date: Wed Aug 7 00:38:26 2019 New Revision: 350665 URL: https://svnweb.freebsd.org/changeset/base/350665 Log: fusefs: merge from projects/fuse2 This commit imports the new fusefs driver. It raises the

svn commit: r350677 - head/sbin/camcontrol

2019-08-07 Thread Alexander Motin
Author: mav Date: Wed Aug 7 15:05:08 2019 New Revision: 350677 URL: https://svnweb.freebsd.org/changeset/base/350677 Log: Make GCC happy about math in r350676. MFC after:1 week Modified: head/sbin/camcontrol/modeedit.c Modified: head/sbin/camcontrol/modeedit.c

svn commit: r350676 - in head: sbin/camcontrol sys/cam/scsi

2019-08-07 Thread Alexander Motin
Author: mav Date: Wed Aug 7 14:45:10 2019 New Revision: 350676 URL: https://svnweb.freebsd.org/changeset/base/350676 Log: Make `camcontrol modepage` support block descriptors. It allows to read and write block descriptors alike to mode page parameters. It allows to change block size or

svn commit: r350675 - head/sys/dev/usb/controller

2019-08-07 Thread Hans Petter Selasky
Author: hselasky Date: Wed Aug 7 13:35:13 2019 New Revision: 350675 URL: https://svnweb.freebsd.org/changeset/base/350675 Log: Correct PCI device ID for XHCI USB controller. Submitted by: Dmitry Luhtionov MFC after:1 week Sponsored by: Mellanox Technologies Modified:

svn commit: r350674 - head/sys/dev/ofw

2019-08-07 Thread Emmanuel Vadot
Author: manu Date: Wed Aug 7 13:13:16 2019 New Revision: 350674 URL: https://svnweb.freebsd.org/changeset/base/350674 Log: ofw: ofw_reg_to_paddr: Use a 256 static array for the cell Some hardware needs more than 32, bump this value. We cannot use the _alloc for of getencprop as this

svn commit: r350673 - head/sys/gnu/dts/arm

2019-08-07 Thread Emmanuel Vadot
Author: manu Date: Wed Aug 7 13:11:53 2019 New Revision: 350673 URL: https://svnweb.freebsd.org/changeset/base/350673 Log: arm: dts: am33xx: Fix the region for uart0 The region for uart0 is declared to be 0x2000 in size but the parent node only declare 0x1000. As the parent only