svn commit: r352239 - head/contrib/tzdata

2019-09-11 Thread Philip Paeps
Author: philip Date: Thu Sep 12 00:33:01 2019 New Revision: 352239 URL: https://svnweb.freebsd.org/changeset/base/352239 Log: Restore svn:mergeinfo accidentally deleted in r352238 Pointy hat to:philip Modified: Directory Properties: head/contrib/tzdata/ (props changed)

svn commit: r352238 - head/contrib/tzdata

2019-09-11 Thread Philip Paeps
Author: philip Date: Thu Sep 12 00:19:16 2019 New Revision: 352238 URL: https://svnweb.freebsd.org/changeset/base/352238 Log: Import tzdata 2019c Changes: https://github.com/eggert/tz/blob/2019c/NEWS MFC after:3 days Modified: head/contrib/tzdata/NEWS head/contrib/tzdata/asia

svn commit: r352236 - vendor/tzdata/dist

2019-09-11 Thread Philip Paeps
Author: philip Date: Thu Sep 12 00:15:06 2019 New Revision: 352236 URL: https://svnweb.freebsd.org/changeset/base/352236 Log: Import tzdata 2019c Modified: vendor/tzdata/dist/NEWS vendor/tzdata/dist/asia vendor/tzdata/dist/australasia vendor/tzdata/dist/backzone

svn commit: r352237 - vendor/tzdata/tzdata2019c

2019-09-11 Thread Philip Paeps
Author: philip Date: Thu Sep 12 00:15:40 2019 New Revision: 352237 URL: https://svnweb.freebsd.org/changeset/base/352237 Log: Tag import of tzdata2019c Added: vendor/tzdata/tzdata2019c/ - copied from r352236, vendor/tzdata/dist/ ___

svn commit: r352235 - in stable/12/sys: conf crypto/aesni modules/aesni

2019-09-11 Thread Alexander Motin
Author: mav Date: Wed Sep 11 23:45:58 2019 New Revision: 352235 URL: https://svnweb.freebsd.org/changeset/base/352235 Log: MFC r348268 (by sef), r348293 (by cem): Add an AESNI-optimized version of the CCM/CBC cryptographic and authentication code. The primary client of this is probably

svn commit: r352234 - in stable/12/sys: crypto/aesni opencrypto

2019-09-11 Thread Alexander Motin
Author: mav Date: Wed Sep 11 23:41:09 2019 New Revision: 352234 URL: https://svnweb.freebsd.org/changeset/base/352234 Log: MFC r342024 (by mmacy): Generalize AES iov optimization Right now, aesni_cipher_alloc does a bit of special-casing for CRYPTO_F_IOV, to not do any allocation if the

Re: svn commit: r352231 - head/lib/libc/sys

2019-09-11 Thread Ian Lepore
On Wed, 2019-09-11 at 15:55 -0600, Alan Somers wrote: > On Wed, Sep 11, 2019 at 3:50 PM Ian Lepore wrote: > > > On Wed, 2019-09-11 at 19:48 +, Alan Somers wrote: > > > Author: asomers > > > Date: Wed Sep 11 19:48:32 2019 > > > New Revision: 352231 > > > URL:

Re: svn commit: r352231 - head/lib/libc/sys

2019-09-11 Thread Alan Somers
On Wed, Sep 11, 2019 at 3:50 PM Ian Lepore wrote: > On Wed, 2019-09-11 at 19:48 +, Alan Somers wrote: > > Author: asomers > > Date: Wed Sep 11 19:48:32 2019 > > New Revision: 352231 > > URL: https://svnweb.freebsd.org/changeset/base/352231 > > > > Log: > > getsockopt.2: clarify that

Re: svn commit: r352231 - head/lib/libc/sys

2019-09-11 Thread Ian Lepore
On Wed, 2019-09-11 at 19:48 +, Alan Somers wrote: > Author: asomers > Date: Wed Sep 11 19:48:32 2019 > New Revision: 352231 > URL: https://svnweb.freebsd.org/changeset/base/352231 > > Log: > getsockopt.2: clarify that SO_TIMESTAMP is not 100% reliable > > When SO_TIMESTAMP is set, the

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

2019-09-11 Thread Conrad Meyer
Author: cem Date: Wed Sep 11 21:24:14 2019 New Revision: 352233 URL: https://svnweb.freebsd.org/changeset/base/352233 Log: buf: Add B_INVALONERR flag to discard data Setting the B_INVALONERR flag before a synchronous write causes the buf cache to forcibly invalidate contents if the write

Re: svn commit: r352228 - head/sys/netinet

2019-09-11 Thread Conrad Meyer
Small nitpick: On Wed, Sep 11, 2019 at 11:48 AM Andrew Gallatin wrote: > Note that on a system under a syn flood attack, arc4random() > becomes quite expensive, and the chacha_poly crypto that it calls arc4random uses chacha20 — there is no "poly" involved. Best, Conrad

svn commit: r352232 - stable/12/sbin/ping6

2019-09-11 Thread Alan Somers
Author: asomers Date: Wed Sep 11 20:13:38 2019 New Revision: 352232 URL: https://svnweb.freebsd.org/changeset/base/352232 Log: MFC r350993, r350997, r351079-r351080, r351082, r351090, r351101-r351102 r350993: Consistently use the byteorder functions in the correct direction Though

svn commit: r352231 - head/lib/libc/sys

2019-09-11 Thread Alan Somers
Author: asomers Date: Wed Sep 11 19:48:32 2019 New Revision: 352231 URL: https://svnweb.freebsd.org/changeset/base/352231 Log: getsockopt.2: clarify that SO_TIMESTAMP is not 100% reliable When SO_TIMESTAMP is set, the kernel will attempt to attach a timestamp as ancillary data to each IP

svn commit: r352230 - in head: sys/fs/fuse tests/sys/fs/fusefs

2019-09-11 Thread Alan Somers
Author: asomers Date: Wed Sep 11 19:29:40 2019 New Revision: 352230 URL: https://svnweb.freebsd.org/changeset/base/352230 Log: fusefs: Fix iosize for FUSE_WRITE in 7.8 compat mode When communicating with a FUSE server that implements version 7.8 (or older) of the FUSE protocol, the

svn commit: r352229 - head/sbin/ping

2019-09-11 Thread Alan Somers
Author: asomers Date: Wed Sep 11 18:54:45 2019 New Revision: 352229 URL: https://svnweb.freebsd.org/changeset/base/352229 Log: ping: Verify whether a datagram timestamp was actually received. ping(8) uses SO_TIMESTAMP, which attaches a timestamp to each IP datagram at the time it's

svn commit: r352228 - head/sys/netinet

2019-09-11 Thread Andrew Gallatin
Author: gallatin Date: Wed Sep 11 18:48:26 2019 New Revision: 352228 URL: https://svnweb.freebsd.org/changeset/base/352228 Log: Avoid unneeded call to arc4random() in syncache_add() Don't call arc4random() unconditionally to initialize sc_iss, and then when syncookies are enabled, just

svn commit: r352227 - head/contrib/netbsd-tests/lib/libc/regex

2019-09-11 Thread Li-Wen Hsu
Author: lwhsu Date: Wed Sep 11 18:40:05 2019 New Revision: 352227 URL: https://svnweb.freebsd.org/changeset/base/352227 Log: Only skip problematic test in CI env. PR: 237450 Sponsored by: The FreeBSD Foundation Modified: head/contrib/netbsd-tests/lib/libc/regex/t_exhaust.c

svn commit: r352226 - head/sbin/ping

2019-09-11 Thread Alan Somers
Author: asomers Date: Wed Sep 11 18:08:40 2019 New Revision: 352226 URL: https://svnweb.freebsd.org/changeset/base/352226 Log: ping: fix a string in an error message MFC after:3 days Modified: head/sbin/ping/ping.c Modified: head/sbin/ping/ping.c

svn commit: r352225 - head/sys/riscv/riscv

2019-09-11 Thread Kristof Provost
Author: kp Date: Wed Sep 11 18:07:15 2019 New Revision: 352225 URL: https://svnweb.freebsd.org/changeset/base/352225 Log: riscv: Add missing header r352218 missing an include statement, causing the build to fail. Submitted by: Nicholas O'Brien (nickisobrien_gmail.com) Sponsored by:

svn commit: r352224 - in head/sys: amd64/linux amd64/linux32 arm64/linux i386/linux

2019-09-11 Thread Ed Maste
Author: emaste Date: Wed Sep 11 17:56:48 2019 New Revision: 352224 URL: https://svnweb.freebsd.org/changeset/base/352224 Log: Update comments and ordering in linux*_dummy.c - sort alphabetically - getcpu arrived in Linux 2.6.19 - fanotify_* arrived in 2.6.36 Modified:

svn commit: r352223 - head/sys/arm64/linux

2019-09-11 Thread Ed Maste
Author: emaste Date: Wed Sep 11 17:29:44 2019 New Revision: 352223 URL: https://svnweb.freebsd.org/changeset/base/352223 Log: linuxulator: add stub arm64 linux_genassym.c This will be fleshed out in the future but allows us to build the arm64 linuxulator using the same infrastructure as

svn commit: r352222 - in head/sys: amd64/linux amd64/linux32 arm64/linux i386/linux

2019-09-11 Thread Ed Maste
Author: emaste Date: Wed Sep 11 17:05:49 2019 New Revision: 35 URL: https://svnweb.freebsd.org/changeset/base/35 Log: linuxulator: memfd_create first appeared in Linux 3.17 Reference: http://man7.org/linux/man-pages/man2/memfd_create.2.html Modified:

svn commit: r352221 - in head/sys: amd64/linux amd64/linux32 arm64/linux i386/linux

2019-09-11 Thread Ed Maste
Author: emaste Date: Wed Sep 11 17:04:13 2019 New Revision: 352221 URL: https://svnweb.freebsd.org/changeset/base/352221 Log: linuxulator: seccomp syscall first appeared in Linux 3.17 Reference: http://man7.org/linux/man-pages/man2/seccomp.2.html Modified:

svn commit: r352220 - head/lib/libbsnmp/libbsnmp

2019-09-11 Thread Brooks Davis
Author: brooks Date: Wed Sep 11 17:01:31 2019 New Revision: 352220 URL: https://svnweb.freebsd.org/changeset/base/352220 Log: Avoid the use of the non-portable -D argument to ls. This was used to store the mtime of the source file in a commment in a generated header file. This is of

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

2019-09-11 Thread Li-Wen Hsu
Author: lwhsu Date: Wed Sep 11 16:24:03 2019 New Revision: 352219 URL: https://svnweb.freebsd.org/changeset/base/352219 Log: Temporarily skip flakey test case sys.kern.ptrace_test.ptrace__getppid PR: 240510 Sponsored by: The FreeBSD Foundation Modified:

svn commit: r352218 - head/sys/riscv/riscv

2019-09-11 Thread Kristof Provost
Author: kp Date: Wed Sep 11 16:16:53 2019 New Revision: 352218 URL: https://svnweb.freebsd.org/changeset/base/352218 Log: riscv: Small fix to CPU compatibility identification fdt_is_compatible_strict() inspects the first compatible property. We need to inspect the following properties

svn commit: r352217 - stable/12/sys/kern

2019-09-11 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Sep 11 16:06:05 2019 New Revision: 352217 URL: https://svnweb.freebsd.org/changeset/base/352217 Log: Fix miss merge in r352179. Modified: stable/12/sys/kern/kern_exit.c Modified: stable/12/sys/kern/kern_exit.c

svn commit: r352216 - head/usr.bin/locale

2019-09-11 Thread Yuri Pankov
Author: yuripv Date: Wed Sep 11 16:00:03 2019 New Revision: 352216 URL: https://svnweb.freebsd.org/changeset/base/352216 Log: locale: initialize variables to make gcc happy Reported by: jenkins Modified: head/usr.bin/locale/locale.c Modified: head/usr.bin/locale/locale.c

svn commit: r352215 - head/sys/netinet

2019-09-11 Thread Randall Stewart
Author: rrs Date: Wed Sep 11 15:41:36 2019 New Revision: 352215 URL: https://svnweb.freebsd.org/changeset/base/352215 Log: With the recent commit of ktls, we no longer have a sb_tls_flags, its just the sb_flags. Also the ratelimit code, now that the defintion is in sockbuf.h, does not

svn commit: r352214 - in head/usr.bin/locale: . tests

2019-09-11 Thread Yuri Pankov
Author: yuripv Date: Wed Sep 11 15:39:28 2019 New Revision: 352214 URL: https://svnweb.freebsd.org/changeset/base/352214 Log: locale: more output fixes - make abday, day, abmon, mon, am_pm output quoting match linux - workaround localeconv() issue for mon_grouping and grouping (PR172215)

svn commit: r352213 - head/sys/tools

2019-09-11 Thread Ed Maste
Author: emaste Date: Wed Sep 11 13:35:22 2019 New Revision: 352213 URL: https://svnweb.freebsd.org/changeset/base/352213 Log: fw_stub.awk: use @generated tag in generated files Multiple tools use @generated to identify generated files (for example, in a review Phabricator will by default

svn commit: r352212 - head/sbin/nvmecontrol

2019-09-11 Thread Warner Losh
Author: imp Date: Wed Sep 11 13:34:19 2019 New Revision: 352212 URL: https://svnweb.freebsd.org/changeset/base/352212 Log: Assume all the short args have optional args so allocate space for the ':'. It's slightly wasteful, but much easier (and the savings in bytes at runtime would be tiny,

svn commit: r352211 - head/sbin/bectl

2019-09-11 Thread Kyle Evans
Author: kevans Date: Wed Sep 11 13:27:10 2019 New Revision: 352211 URL: https://svnweb.freebsd.org/changeset/base/352211 Log: bectl(8): Add a "check" command This command simply returns 0 at the moment and explicitly takes no arguments. This should be used by utilities wanting to see if

svn commit: r352210 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/linux i386/linux

2019-09-11 Thread Ed Maste
Author: emaste Date: Wed Sep 11 13:01:59 2019 New Revision: 352210 URL: https://svnweb.freebsd.org/changeset/base/352210 Log: linux: add trivial renameat2 implementation Just return EINVAL if flags != 0. The Linux man page documents one case of EINVAL as "The filesystem does not support

svn commit: r352209 - in head/sys: amd64/linux amd64/linux32 arm64/linux i386/linux

2019-09-11 Thread Ed Maste
Author: emaste Date: Wed Sep 11 12:58:53 2019 New Revision: 352209 URL: https://svnweb.freebsd.org/changeset/base/352209 Log: regen linuxulator sysent after r352208 Modified: head/sys/amd64/linux/linux_proto.h head/sys/amd64/linux/linux_systrace_args.c

svn commit: r352208 - in head/sys: amd64/linux amd64/linux32 arm64/linux i386/linux

2019-09-11 Thread Ed Maste
Author: emaste Date: Wed Sep 11 12:58:06 2019 New Revision: 352208 URL: https://svnweb.freebsd.org/changeset/base/352208 Log: make linux_renameat2 args consistent with linux_renameat Use 'dfd' consistently for a directory fd. Modified: head/sys/amd64/linux/syscalls.master

svn commit: r352207 - head/sys/compat/linuxkpi/common/src

2019-09-11 Thread Hans Petter Selasky
Author: hselasky Date: Wed Sep 11 08:24:47 2019 New Revision: 352207 URL: https://svnweb.freebsd.org/changeset/base/352207 Log: Use true and false when dealing with bool type in the LinuxKPI. No functional change. MFC after:1 week Sponsored by: Mellanox Technologies

svn commit: r352206 - head/sys/compat/linuxkpi/common/src

2019-09-11 Thread Hans Petter Selasky
Author: hselasky Date: Wed Sep 11 08:20:13 2019 New Revision: 352206 URL: https://svnweb.freebsd.org/changeset/base/352206 Log: Fix synchronous work drain issue in the LinuxKPI. A work callback may restart itself. Loop in the drain function to see if the work has been rescheduled and

svn commit: r352205 - head/sys/compat/linuxkpi/common/include/linux

2019-09-11 Thread Hans Petter Selasky
Author: hselasky Date: Wed Sep 11 07:53:49 2019 New Revision: 352205 URL: https://svnweb.freebsd.org/changeset/base/352205 Log: Fix broken DECLARE_TASKLET() macro after r347852. MFC after:1 week Sponsored by: Mellanox Technologies Modified:

svn commit: r352204 - head/contrib/libedit

2019-09-11 Thread Baptiste Daroussin
Author: bapt Date: Wed Sep 11 07:03:17 2019 New Revision: 352204 URL: https://svnweb.freebsd.org/changeset/base/352204 Log: Readd _el_fn_sh_complete for backward compatibility This function is not needed anymore, it allows old sh binary to continue to run and avoid breaking backward