svn commit: r351323 - head/sys/sys

2019-08-20 Thread Mateusz Guzik
Author: mjg Date: Wed Aug 21 04:54:48 2019 New Revision: 351323 URL: https://svnweb.freebsd.org/changeset/base/351323 Log: seqc: predict false for _in_modify and type fixes for _consistent_* seqc_consistent_* return bool, not seqc. [0] While here annotate the rarely true condition -

svn commit: r351322 - in head/sys: contrib/ncsw/Peripherals/FM/HC contrib/ncsw/Peripherals/FM/Pcd contrib/ncsw/Peripherals/QM contrib/ncsw/inc/Peripherals contrib/ncsw/user/env dev/dpaa

2019-08-20 Thread Justin Hibbits
Author: jhibbits Date: Wed Aug 21 02:26:22 2019 New Revision: 351322 URL: https://svnweb.freebsd.org/changeset/base/351322 Log: dpaa: Fix warnings in dtsec(4) found by clang These are all trivial warnings that have no real functional change. Modified:

svn commit: r351321 - in head: sys/fs/msdosfs usr.sbin/makefs/msdos

2019-08-20 Thread Ed Maste
Author: emaste Date: Wed Aug 21 02:21:40 2019 New Revision: 351321 URL: https://svnweb.freebsd.org/changeset/base/351321 Log: makefs: share fat.h between kernel msdosfs and makefs There is no reason to duplicate this file when it can be trivially shared (just exposing one section

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

2019-08-20 Thread Alexander Motin
Author: mav Date: Wed Aug 21 02:17:39 2019 New Revision: 351320 URL: https://svnweb.freebsd.org/changeset/base/351320 Log: Formalize NVMe controller consumer life cycle. This fixes possible double call of fail_fn, for example on hot removal. It also allows ctrlr_fn to safely return NULL

svn commit: r351319 - in head/usr.sbin/makefs: ffs msdos

2019-08-20 Thread Ed Maste
Author: emaste Date: Wed Aug 21 01:45:29 2019 New Revision: 351319 URL: https://svnweb.freebsd.org/changeset/base/351319 Log: makefs: use `char *` not `void *` for buf b_data, drop casts in msdos (The kernel uses caddr_t.) Suggested by: cem Reviewed by: cem MFC with: r351273

svn commit: r351318 - in head: etc/mtree sbin/ping sbin/ping/tests

2019-08-20 Thread Alan Somers
Author: asomers Date: Tue Aug 20 21:59:48 2019 New Revision: 351318 URL: https://svnweb.freebsd.org/changeset/base/351318 Log: ping: Add tests of the Internet checksum function Submitted by: Ján Sučan MFC after:2 weeks Sponsored by: Google LLC (Google Summer of Code 2019)

svn commit: r351302 - head/usr.sbin/makefs

2019-08-20 Thread Ed Maste
Author: emaste Date: Tue Aug 20 21:14:44 2019 New Revision: 351302 URL: https://svnweb.freebsd.org/changeset/base/351302 Log: makefs.8: update history - ported to FreeBSD and first appeared in 8.0 - Christos Zoulas added the FAT support that I imported Modified:

Re: svn commit: r351253 - in head/contrib/libc++: include src

2019-08-20 Thread Dimitry Andric
On 20 Aug 2019, at 23:02, Mark Millard wrote: > >> Author: dim >> Date: Tue Aug 20 17:39:32 2019 >> New Revision: 351253 >> URL: >> https://svnweb.freebsd.org/changeset/base/351253 >> >> >> Log: >> Pull in r368867 from upstream libc++ trunk (by Marshall Clow): >> >>Rework

Re: svn commit: r351253 - in head/contrib/libc++: include src

2019-08-20 Thread Mark Millard via svn-src-head
> Author: dim > Date: Tue Aug 20 17:39:32 2019 > New Revision: 351253 > URL: > https://svnweb.freebsd.org/changeset/base/351253 > > > Log: > Pull in r368867 from upstream libc++ trunk (by Marshall Clow): > > Rework recursive_timed_mutex so that it uses __thread_id instead of >

svn commit: r351275 - head/usr.sbin/makefs/msdos

2019-08-20 Thread Ed Maste
Author: emaste Date: Tue Aug 20 20:04:16 2019 New Revision: 351275 URL: https://svnweb.freebsd.org/changeset/base/351275 Log: makefs: avoid "dereferencing 'void *' pointer" warnings On GCC 4.2.1 archs MFC with: r351273 Sponsored by: The FreeBSD Foundation Modified:

svn commit: r351274 - head/stand/efi/libefi

2019-08-20 Thread Toomas Soome
Author: tsoome Date: Tue Aug 20 19:31:11 2019 New Revision: 351274 URL: https://svnweb.freebsd.org/changeset/base/351274 Log: loader.efi: efipart should be more careful about constructing block device lists The cd handles should be collected as list of partitions. Some systems also

svn commit: r351273 - in head/usr.sbin/makefs: . msdos

2019-08-20 Thread Ed Maste
Author: emaste Date: Tue Aug 20 18:20:45 2019 New Revision: 351273 URL: https://svnweb.freebsd.org/changeset/base/351273 Log: makefs: add msdosfs (FAT) support Add FAT support to makefs by copying some files from sys/fs/msdosfs/ and updating others with changes from NetBSD. The six

svn commit: r351262 - head/sys/dev/sound/midi

2019-08-20 Thread Mark Johnston
Author: markj Date: Tue Aug 20 17:52:12 2019 New Revision: 351262 URL: https://svnweb.freebsd.org/changeset/base/351262 Log: Use a sleepable lock for midistat functions. Otherwise the mutex needs to be dropped when copying out the midistat sbuf, leading to a race which allows one to read

svn commit: r351254 - head/sys/kern

2019-08-20 Thread Ed Maste
Author: emaste Date: Tue Aug 20 17:44:03 2019 New Revision: 351254 URL: https://svnweb.freebsd.org/changeset/base/351254 Log: mqueuefs: fix compat32 struct file leak In a compat32 error case we previously leaked a struct file. Submitted by: Karsten König, Secfault Security Security:

svn commit: r351253 - in head/contrib/libc++: include src

2019-08-20 Thread Dimitry Andric
Author: dim Date: Tue Aug 20 17:39:32 2019 New Revision: 351253 URL: https://svnweb.freebsd.org/changeset/base/351253 Log: Pull in r368867 from upstream libc++ trunk (by Marshall Clow): Rework recursive_timed_mutex so that it uses __thread_id instead of using the lower-level

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

2019-08-20 Thread Brooks Davis
Author: brooks Date: Tue Aug 20 16:07:17 2019 New Revision: 351251 URL: https://svnweb.freebsd.org/changeset/base/351251 Log: Remove some compatability with Seventh Edition UNIX realloc(). In Seventh Edition UNIX, the last pointer passed to free() was guaranteed to not actually have been

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

2019-08-20 Thread Justin Hibbits
Author: jhibbits Date: Tue Aug 20 15:14:32 2019 New Revision: 351250 URL: https://svnweb.freebsd.org/changeset/base/351250 Log: Unbreak USB ethernet module builds Sponsored by: Juniper Networks, Inc. Modified: head/sys/dev/usb/net/if_aue.c head/sys/dev/usb/net/if_axe.c

svn commit: r351249 - head/tests/sys/netpfil/common

2019-08-20 Thread Kristof Provost
Author: kp Date: Tue Aug 20 14:46:12 2019 New Revision: 351249 URL: https://svnweb.freebsd.org/changeset/base/351249 Log: netpfil tests: Add too many fragments test for pf, ipfw and ipf Add test for checking that the packets are dropped if it is fragmented into more than the defined

svn commit: r351248 - head/tests/sys/netpfil/common

2019-08-20 Thread Kristof Provost
Author: kp Date: Tue Aug 20 14:31:22 2019 New Revision: 351248 URL: https://svnweb.freebsd.org/changeset/base/351248 Log: netpfil tests: Add the set ToS test for ipfw and pf This test tests the following: - The firewall is able to set the tos bits - The firewall is able to set the

Re: svn commit: r351244 - head/sys/dev/usb/net

2019-08-20 Thread O. Hartmann
On Tue, 20 Aug 2019 01:06:43 + (UTC) "Stephen J. Kiernan" wrote: > Author: stevek > Date: Tue Aug 20 01:06:43 2019 > New Revision: 351244 > URL: https://svnweb.freebsd.org/changeset/base/351244 > > Log: > usb_ethernet.h includes a number of mii headers, but only does so in > order to