svn commit: r364064 - head/sys/kern

2020-08-10 Thread Mateusz Guzik
Author: mjg Date: Mon Aug 10 10:33:40 2020 New Revision: 364064 URL: https://svnweb.freebsd.org/changeset/base/364064 Log: vfs: disallow NOCACHE with LOOKUP This means there is no expectation lookup will purge the terminal entry, which simplifies lockless lookup. Tested by:pho

svn commit: r364071 - head/sys/kern

2020-08-10 Thread Mateusz Guzik
Author: mjg Date: Mon Aug 10 10:40:14 2020 New Revision: 364071 URL: https://svnweb.freebsd.org/changeset/base/364071 Log: cache: strlcpy -> memcpy Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/vfs_cache.c

svn commit: r364072 - in head/sys: netinet netinet6

2020-08-10 Thread Hans Petter Selasky
Author: hselasky Date: Mon Aug 10 10:40:19 2020 New Revision: 364072 URL: https://svnweb.freebsd.org/changeset/base/364072 Log: Use proper prototype for SYSINIT() functions. Mark the unused argument using the __unused macro. Discussed with: kib@ MFC after:1

svn commit: r364068 - head/sys/fs/devfs

2020-08-10 Thread Mateusz Guzik
Author: mjg Date: Mon Aug 10 10:36:10 2020 New Revision: 364068 URL: https://svnweb.freebsd.org/changeset/base/364068 Log: devfs: use cheaper lockmgr entry points Tested by:pho Modified: head/sys/fs/devfs/devfs_vnops.c Modified: head/sys/fs/devfs/devfs_vnops.c

svn commit: r364067 - head/sys/fs/devfs

2020-08-10 Thread Mateusz Guzik
Author: mjg Date: Mon Aug 10 10:35:47 2020 New Revision: 364067 URL: https://svnweb.freebsd.org/changeset/base/364067 Log: devfs: use vget_prep/vget_finish Tested by:pho Modified: head/sys/fs/devfs/devfs_vnops.c Modified: head/sys/fs/devfs/devfs_vnops.c

svn commit: r364069 - head/sys/fs/devfs

2020-08-10 Thread Mateusz Guzik
Author: mjg Date: Mon Aug 10 10:36:43 2020 New Revision: 364069 URL: https://svnweb.freebsd.org/changeset/base/364069 Log: devfs: save on spurious relocking for devfs_populate Tested by:pho Modified: head/sys/fs/devfs/devfs.h head/sys/fs/devfs/devfs_devs.c

svn commit: r364070 - head/sys/sys

2020-08-10 Thread Mateusz Guzik
Author: mjg Date: Mon Aug 10 10:37:16 2020 New Revision: 364070 URL: https://svnweb.freebsd.org/changeset/base/364070 Log: vfs: garbage collect unused ISUNICODE namei flag Modified: head/sys/sys/namei.h Modified: head/sys/sys/namei.h

svn commit: r364074 - in stable/12: lib/libc/gen share/man/man4 sys/kern sys/sys

2020-08-10 Thread Konstantin Belousov
Author: kib Date: Mon Aug 10 10:52:54 2020 New Revision: 364074 URL: https://svnweb.freebsd.org/changeset/base/364074 Log: MFC r363813: Add SOL_LOCAL symbolic constant for unix socket option level. Modified: stable/12/lib/libc/gen/getpeereid.c stable/12/share/man/man4/unix.4

svn commit: r364076 - head/sys/fs/devfs

2020-08-10 Thread Mateusz Guzik
Author: mjg Date: Mon Aug 10 11:46:39 2020 New Revision: 364076 URL: https://svnweb.freebsd.org/changeset/base/364076 Log: devfs: bool -> int Fixes buildworld after r364069 Modified: head/sys/fs/devfs/devfs.h head/sys/fs/devfs/devfs_devs.c Modified: head/sys/fs/devfs/devfs.h

svn commit: r364066 - head/sys/kern

2020-08-10 Thread Mateusz Guzik
Author: mjg Date: Mon Aug 10 10:35:18 2020 New Revision: 364066 URL: https://svnweb.freebsd.org/changeset/base/364066 Log: vfs: partially support file create/delete/rename in lockless lookup Perform the lookup until the last 2 elements and fallback to slowpath. Tested by:pho

svn commit: r364065 - head/sys/kern

2020-08-10 Thread Mateusz Guzik
Author: mjg Date: Mon Aug 10 10:34:22 2020 New Revision: 364065 URL: https://svnweb.freebsd.org/changeset/base/364065 Log: vfs: drop the thread argumemnt from vfs_fplookup_vexec It is guaranteed curthread. Tested by:pho Sponsored by: The FreeBSD Foundation Modified:

svn commit: r364075 - in head/sys: netinet netinet6

2020-08-10 Thread Bjoern A. Zeeb
Author: bz Date: Mon Aug 10 10:58:43 2020 New Revision: 364075 URL: https://svnweb.freebsd.org/changeset/base/364075 Log: MC: add a note with reference to the discussion and history as-to why we are where we are now. The main thing is to try to get rid of the delayed freeing to avoid

svn commit: r364079 - head/sys/kern

2020-08-10 Thread Mateusz Guzik
Author: mjg Date: Mon Aug 10 12:05:55 2020 New Revision: 364079 URL: https://svnweb.freebsd.org/changeset/base/364079 Log: cache: resize struct namecache to a multiply of alignment For example struct namecache on amd64 is 100 bytes, but it has to occupies 104. Use the extra bytes to

svn commit: r364080 - head/sys/kern

2020-08-10 Thread Mateusz Guzik
Author: mjg Date: Mon Aug 10 12:28:56 2020 New Revision: 364080 URL: https://svnweb.freebsd.org/changeset/base/364080 Log: cache: let SAVESTART passthrough The flag is only passed for non-LOOKUP ops and those fallback to the slowpath. Modified: head/sys/kern/vfs_cache.c Modified:

svn commit: r364063 - head/sys/fs/nullfs

2020-08-10 Thread Mateusz Guzik
Author: mjg Date: Mon Aug 10 10:31:17 2020 New Revision: 364063 URL: https://svnweb.freebsd.org/changeset/base/364063 Log: nullfs: add missing VOP_STAT handling Tested by:pho Modified: head/sys/fs/nullfs/null_vnops.c Modified: head/sys/fs/nullfs/null_vnops.c

svn commit: r364073 - in head/sys: netinet netinet6

2020-08-10 Thread Hans Petter Selasky
Author: hselasky Date: Mon Aug 10 10:46:08 2020 New Revision: 364073 URL: https://svnweb.freebsd.org/changeset/base/364073 Log: Make sure the multicast release tasks are properly drained when destroying a VNET or a network interface. Else the inm release tasks, both IPv4 and IPv6 may

svn commit: r364078 - head/sys/kern

2020-08-10 Thread Mateusz Guzik
Author: mjg Date: Mon Aug 10 11:51:56 2020 New Revision: 364078 URL: https://svnweb.freebsd.org/changeset/base/364078 Log: cache: remove unused variables from cache_fplookup_parse Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/vfs_cache.c

svn commit: r364077 - in head/sys: fs/tmpfs kern ufs/ffs

2020-08-10 Thread Mateusz Guzik
Author: mjg Date: Mon Aug 10 11:51:21 2020 New Revision: 364077 URL: https://svnweb.freebsd.org/changeset/base/364077 Log: vfs: clean MNTK_FPLOOKUP if MNT_UNION is set Elides checking it during lookup. Modified: head/sys/fs/tmpfs/tmpfs_vfsops.c head/sys/kern/vfs_cache.c

Re: svn commit: r364030 - in head: . tools/build

2020-08-10 Thread Kyle Evans
On Fri, Aug 7, 2020 at 11:27 AM Warner Losh wrote: > > Author: imp > Date: Fri Aug 7 16:26:56 2020 > New Revision: 364030 > URL: https://svnweb.freebsd.org/changeset/base/364030 > > Log: > The practice of creating symbolic links is somewhat fragile. Always > make copies instead. > >

svn commit: r364084 - in stable: 10/usr.sbin/yp_mkdb 11/usr.sbin/yp_mkdb 12/usr.sbin/yp_mkdb 9/usr.sbin/yp_mkdb

2020-08-10 Thread Dimitry Andric
Author: dim Date: Mon Aug 10 17:35:58 2020 New Revision: 364084 URL: https://svnweb.freebsd.org/changeset/base/364084 Log: MFC r363988: Fix clang 11 -Wformat warnings in yp_mkdb: usr.sbin/yp_mkdb/yp_mkdb.c:91:40: error: format specifies type 'char *' but the argument has type 'void

svn commit: r364081 - in head/lib/libclang_rt: fuzzer profile xray

2020-08-10 Thread Dimitry Andric
Author: dim Date: Mon Aug 10 16:55:54 2020 New Revision: 364081 URL: https://svnweb.freebsd.org/changeset/base/364081 Log: Follow-up to r358851 (llvm-project 10.0.0-rc3 import), where I added subdirectories for compiler-rt's internal fuzzer, profile and xray headers, but forgot to add

svn commit: r364087 - stable/12/sys/vm

2020-08-10 Thread Brooks Davis
Author: brooks Date: Mon Aug 10 18:26:18 2020 New Revision: 364087 URL: https://svnweb.freebsd.org/changeset/base/364087 Log: MFC r363966: Preserve ASLR vm_map flags across fork In the most common case (fork+execve) this doesn't matter, but further attempts to apply entropy would

svn commit: r364083 - in head/usr.bin/fortune: fortune strfile

2020-08-10 Thread Mark Johnston
Author: markj Date: Mon Aug 10 17:01:59 2020 New Revision: 364083 URL: https://svnweb.freebsd.org/changeset/base/364083 Log: fortune, strfile: Improve validation of command-line arguments. - Avoid potential overflow when parsing a percentage. - Avoid truncation when copying file paths.

svn commit: r364085 - stable/12/sys/net

2020-08-10 Thread Vincenzo Maffione
Author: vmaffione Date: Mon Aug 10 17:53:09 2020 New Revision: 364085 URL: https://svnweb.freebsd.org/changeset/base/364085 Log: MFC r363378 iflib: initialize netmap with the correct number of descriptors In case the network device has a RX or TX control queue, the correct number of

svn commit: r364084 - in stable: 10/usr.sbin/yp_mkdb 11/usr.sbin/yp_mkdb 12/usr.sbin/yp_mkdb 9/usr.sbin/yp_mkdb

2020-08-10 Thread Dimitry Andric
Author: dim Date: Mon Aug 10 17:35:58 2020 New Revision: 364084 URL: https://svnweb.freebsd.org/changeset/base/364084 Log: MFC r363988: Fix clang 11 -Wformat warnings in yp_mkdb: usr.sbin/yp_mkdb/yp_mkdb.c:91:40: error: format specifies type 'char *' but the argument has type 'void

svn commit: r364084 - in stable: 10/usr.sbin/yp_mkdb 11/usr.sbin/yp_mkdb 12/usr.sbin/yp_mkdb 9/usr.sbin/yp_mkdb

2020-08-10 Thread Dimitry Andric
Author: dim Date: Mon Aug 10 17:35:58 2020 New Revision: 364084 URL: https://svnweb.freebsd.org/changeset/base/364084 Log: MFC r363988: Fix clang 11 -Wformat warnings in yp_mkdb: usr.sbin/yp_mkdb/yp_mkdb.c:91:40: error: format specifies type 'char *' but the argument has type 'void

svn commit: r364084 - in stable: 10/usr.sbin/yp_mkdb 11/usr.sbin/yp_mkdb 12/usr.sbin/yp_mkdb 9/usr.sbin/yp_mkdb

2020-08-10 Thread Dimitry Andric
Author: dim Date: Mon Aug 10 17:35:58 2020 New Revision: 364084 URL: https://svnweb.freebsd.org/changeset/base/364084 Log: MFC r363988: Fix clang 11 -Wformat warnings in yp_mkdb: usr.sbin/yp_mkdb/yp_mkdb.c:91:40: error: format specifies type 'char *' but the argument has type 'void

svn commit: r364086 - head/sys/kern

2020-08-10 Thread Mateusz Guzik
Author: mjg Date: Mon Aug 10 18:11:00 2020 New Revision: 364086 URL: https://svnweb.freebsd.org/changeset/base/364086 Log: vfs: drop the hello world stat probes from the vfs provider Interested parties can get the same information by hoooking on vop_stat. Modified:

svn commit: r364089 - head/sys/netinet

2020-08-10 Thread Michael Tuexen
Author: tuexen Date: Mon Aug 10 20:24:48 2020 New Revision: 364089 URL: https://svnweb.freebsd.org/changeset/base/364089 Log: Fix the following issues related to the TCP SYN-cache: * Let the accepted TCP/IPv4 socket inherit the configured TTL and TOS value. * Let the accepted TCP/IPv6

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

2020-08-10 Thread Ravi Pokala
-Original Message- From: on behalf of Mateusz Guzik Date: 2020-08-10, Monday at 03:40 To: , , Subject: svn commit: r364071 - head/sys/kern Author: mjg Date: Mon Aug 10 10:40:14 2020 New Revision: 364071 URL: https://svnweb.freebsd.org/changeset/base/364071 Log:

Re: svn commit: r364076 - head/sys/fs/devfs

2020-08-10 Thread Ravi Pokala
-Original Message- From: on behalf of Mateusz Guzik Date: 2020-08-10, Monday at 04:46 To: , , Subject: svn commit: r364076 - head/sys/fs/devfs Author: mjg Date: Mon Aug 10 11:46:39 2020 New Revision: 364076 URL: https://svnweb.freebsd.org/changeset/base/364076

svn commit: r364088 - in head/sys: arm64/rockchip dev/dwc

2020-08-10 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Aug 10 19:37:06 2020 New Revision: 364088 URL: https://svnweb.freebsd.org/changeset/base/364088 Log: Improve Rockchip's integration of if_dwc - Do not rely on U-Boot for clocks configuration, enable and set frequencies in the driver's attach method. - Adjust

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

2020-08-10 Thread Steffen Nurpmeso
Ravi Pokala wrote in : |-Original Message- |From: on behalf of Mateusz Guzik \ | |Date: 2020-08-10, Monday at 03:40 |To: , , |Subject: svn commit: r364071 - head/sys/kern | |Author: mjg |Date: Mon Aug 10 10:40:14 2020 |New Revision: 364071 |URL:

svn commit: r364091 - head/lib/libc/gen

2020-08-10 Thread Konstantin Belousov
Author: kib Date: Mon Aug 10 21:41:49 2020 New Revision: 364091 URL: https://svnweb.freebsd.org/changeset/base/364091 Log: Export scandir_b from libc. Apparently it was not exported, because scandir_b.c was not included into libc SRCS. Export it with the CURRENT-13 version. Also,

svn commit: r364090 - head/sys/vm

2020-08-10 Thread Mark Johnston
Author: markj Date: Mon Aug 10 20:34:45 2020 New Revision: 364090 URL: https://svnweb.freebsd.org/changeset/base/364090 Log: Check the UMA zone's full bucket cache before short-circuiting an alloc. The global "bucketdisable" flag indicates that we are in a low memory situation and should

Re: svn commit: r363657 - head/crypto/openssh

2020-08-10 Thread Ed Maste
On Wed, 29 Jul 2020 at 05:43, Tijl Coosemans wrote: > > On Wed, 29 Jul 2020 00:34:24 + (UTC) Ed Maste > wrote: > > I realise this is very pedantic, but my spell checker says it's > "block list", two words, so if you're using camel case it should > be UseBlockList. Indeed, I gave this some

Re: svn commit: r364072 - in head/sys: netinet netinet6

2020-08-10 Thread Gleb Smirnoff
Hans, On Mon, Aug 10, 2020 at 10:40:20AM +, Hans Petter Selasky wrote: H> Author: hselasky H> Date: Mon Aug 10 10:40:19 2020 H> New Revision: 364072 H> URL: https://svnweb.freebsd.org/changeset/base/364072 H> H> Log: H> Use proper prototype for SYSINIT() functions. H> Mark the unused

svn commit: r364092 - in head/sys: fs/nfs fs/nfsclient fs/nfsserver rpc sys

2020-08-10 Thread Rick Macklem
Author: rmacklem Date: Tue Aug 11 00:26:45 2020 New Revision: 364092 URL: https://svnweb.freebsd.org/changeset/base/364092 Log: Add an argument to newnfs_connect() that indicates use TLS for the connection. For NFSv4.0, the server creates a server->client TCP connection for callbacks. If

svn commit: r364097 - stable/12/sys/fs/nfsclient

2020-08-10 Thread Rick Macklem
Author: rmacklem Date: Tue Aug 11 05:10:01 2020 New Revision: 364097 URL: https://svnweb.freebsd.org/changeset/base/364097 Log: MFC: r363210 Fix the pNFS flexible file layout client for servers with small write size. The code in nfscl_dofflayout() loops when a flexible file layout server

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

2020-08-10 Thread Mateusz Guzik
Author: mjg Date: Tue Aug 11 01:34:40 2020 New Revision: 364095 URL: https://svnweb.freebsd.org/changeset/base/364095 Log: vfs: stricter validation for flags passed to namei in cn_flags namei de facto expects that the naimeidata object is properly initialized, but at the same time it

svn commit: r364094 - head/tests/sys/fs/fusefs

2020-08-10 Thread Alan Somers
Author: asomers Date: Tue Aug 11 01:09:06 2020 New Revision: 364094 URL: https://svnweb.freebsd.org/changeset/base/364094 Log: fusefs: fix the FUSE_FORGET unit test after r364064 Thanks to r364064, the name cache now returns a hit where previously it would miss. Adjust the expectations

svn commit: r364096 - head

2020-08-10 Thread Rick Macklem
"ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20200810: + r364092 modified the internal ABI used between the kernel NFS + modules. As such, all of these modules need to be rebuilt + from sources, so a version bump was done. + 20200807: Makefile.in

svn commit: r364098 - head/sys/dev/dwc

2020-08-10 Thread Li-Wen Hsu
Author: lwhsu Date: Tue Aug 11 05:17:10 2020 New Revision: 364098 URL: https://svnweb.freebsd.org/changeset/base/364098 Log: Fix armv{6,7} build after r364088 Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/dwc/if_dwc.c Modified: head/sys/dev/dwc/if_dwc.c

svn commit: r364093 - in stable/12/sys/dev: mpr mps

2020-08-10 Thread Alexander Motin
Author: mav Date: Tue Aug 11 00:41:48 2020 New Revision: 364093 URL: https://svnweb.freebsd.org/changeset/base/364093 Log: MFC r363852: Remove extra memset() left after r342388. This memset() wiped MPI2_FUNCTION_SCSI_TASK_MGMT set by mprsas_alloc_tm(), that broke target reset on device

svn commit: r364062 - head/usr.bin/uname

2020-08-10 Thread Alexey Dokuchaev
Author: danfe (ports committer) Date: Mon Aug 10 09:03:29 2020 New Revision: 364062 URL: https://svnweb.freebsd.org/changeset/base/364062 Log: Document the order in which the kernel and the user environment versions are printed when both -K and -U options are passed on the command line.

svn commit: r364061 - stable/12/usr.bin/grep

2020-08-10 Thread Gordon Bergling
Author: gbe (doc committer) Date: Mon Aug 10 06:19:33 2020 New Revision: 364061 URL: https://svnweb.freebsd.org/changeset/base/364061 Log: MFC r364021: grep(1): correct typos for 'if a name patches' to 'if a name matches' PR: 237635 Submitted by: durin42 Reviewed by: