svn commit: r364292 - in head: lib/libc/tests/sys lib/libfetch lib/libpam/libpam lib/msun/tests libexec/rtld-elf usr.bin/fetch usr.bin/unzip

2020-08-16 Thread Xin LI
Author: delphij Date: Mon Aug 17 05:57:02 2020 New Revision: 364292 URL: https://svnweb.freebsd.org/changeset/base/364292 Log: Don't explicitly specify c99 or gnu99 as the default is now gnu99. MFC after:2 weeks Modified: head/lib/libc/tests/sys/Makefile head/lib/libfetch/Makefile

svn commit: r364293 - head/usr.sbin/edquota

2020-08-16 Thread Xin LI
Author: delphij Date: Mon Aug 17 05:57:22 2020 New Revision: 364293 URL: https://svnweb.freebsd.org/changeset/base/364293 Log: edquota(8): Cleanup to make it WARNS=6 clean. Tested with: make tinderbox MFC after:2 weeks Modified: head/usr.sbin/edquota/Makefile

svn commit: r364291 - head/usr.bin/patch

2020-08-16 Thread Warner Losh
Author: imp Date: Sun Aug 16 23:55:23 2020 New Revision: 364291 URL: https://svnweb.freebsd.org/changeset/base/364291 Log: Remove heuristic for dealing with trailing newlines being truncated by mailers. Every version of patch since the first one posted to mod.sources in 1985 have

svn commit: r364290 - head/sys/kern

2020-08-16 Thread Konstantin Belousov
Author: kib Date: Sun Aug 16 22:50:59 2020 New Revision: 364290 URL: https://svnweb.freebsd.org/changeset/base/364290 Log: Fix powerpc build. Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/vfs_vnops.c Modified: head/sys/kern/vfs_vnops.c

svn commit: r364289 - head/sys/ufs/ufs

2020-08-16 Thread Konstantin Belousov
Author: kib Date: Sun Aug 16 21:07:19 2020 New Revision: 364289 URL: https://svnweb.freebsd.org/changeset/base/364289 Log: VMIO reads: enable for UFS Move v_object creation earlier, so that VIRF_PGREAD is never set if v_object is NULL. There is no much harm from instantiating v_object

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

2020-08-16 Thread Konstantin Belousov
Author: kib Date: Sun Aug 16 21:05:56 2020 New Revision: 364288 URL: https://svnweb.freebsd.org/changeset/base/364288 Log: VMIO reads: enable for nullfs upper vnode if the lower vnode supports it. Reviewed by: markj Tested by:pho Sponsored by: The FreeBSD Foundation Differential

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

2020-08-16 Thread Konstantin Belousov
Author: kib Date: Sun Aug 16 21:02:45 2020 New Revision: 364287 URL: https://svnweb.freebsd.org/changeset/base/364287 Log: VMIO read If possible, i.e. if the requested range is resident valid in the vm object queue, and some secondary conditions hold, copy data for read(2) directly

svn commit: r364286 - head/sys/vm

2020-08-16 Thread Konstantin Belousov
Author: kib Date: Sun Aug 16 20:57:02 2020 New Revision: 364286 URL: https://svnweb.freebsd.org/changeset/base/364286 Log: vm_object: allow paging_in_progress to be acquired after object termination. The vm objects are type-stable, and can be accessed even after the last reference is

svn commit: r364285 - head/sys/vm

2020-08-16 Thread Konstantin Belousov
Author: kib Date: Sun Aug 16 20:52:24 2020 New Revision: 364285 URL: https://svnweb.freebsd.org/changeset/base/364285 Log: Atomically update vm_object vnp_size, where atomic is available. This will be used later, where it matters on 32bit arches. Reviewed by: markj Tested by:

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

2020-08-16 Thread Mateusz Guzik
Author: mjg Date: Sun Aug 16 18:51:12 2020 New Revision: 364283 URL: https://svnweb.freebsd.org/changeset/base/364283 Log: vfs: retire vrefl as a symbol vrefl calls vref and there is only one in-tree consumer. Keep it as a macro for assertion purposes. Modified:

svn commit: r364282 - head/sys/kern

2020-08-16 Thread Mateusz Guzik
Author: mjg Date: Sun Aug 16 18:45:31 2020 New Revision: 364282 URL: https://svnweb.freebsd.org/changeset/base/364282 Log: vfs: assert that VI_TEXT_REF is not already set Modified: head/sys/kern/vfs_default.c Modified: head/sys/kern/vfs_default.c

svn commit: r364281 - head/sys/kern

2020-08-16 Thread Mateusz Guzik
Author: mjg Date: Sun Aug 16 18:33:24 2020 New Revision: 364281 URL: https://svnweb.freebsd.org/changeset/base/364281 Log: cache: add NOCAPCHECK to the list of supported flags for lockless lookup It is de facto supported in that lockless lookup does not do any capability checks.

svn commit: r364280 - head/sys/sys

2020-08-16 Thread Mateusz Guzik
Author: mjg Date: Sun Aug 16 18:27:42 2020 New Revision: 364280 URL: https://svnweb.freebsd.org/changeset/base/364280 Log: vfs: restore sorted order of unused nameidata flags Modified: head/sys/sys/namei.h Modified: head/sys/sys/namei.h

svn commit: r364277 - head/sys/kern

2020-08-16 Thread Mateusz Guzik
Author: mjg Date: Sun Aug 16 18:21:21 2020 New Revision: 364277 URL: https://svnweb.freebsd.org/changeset/base/364277 Log: vfs: use namei_zone for getcwd allocations instead of malloc. Note that this should probably be wrapped with a dedicated API and other vn_getcwd callers did not

svn commit: r364276 - in head: lib/libcasper/services lib/libcasper/services/cap_dns lib/libcasper/services/cap_net lib/libcasper/services/cap_net/tests share/mk

2020-08-16 Thread Mariusz Zaborski
Author: oshogbo Date: Sun Aug 16 18:12:21 2020 New Revision: 364276 URL: https://svnweb.freebsd.org/changeset/base/364276 Log: libcasper: Introduce cap_net a network service for Casper. Reviewed by: emaste, markj (previous version), bcr (man page) Differential Revision:

svn commit: r364274 - head/sys/sys

2020-08-16 Thread Mateusz Guzik
Author: mjg Date: Sun Aug 16 17:56:30 2020 New Revision: 364274 URL: https://svnweb.freebsd.org/changeset/base/364274 Log: Bump __FreeBSD_version after vget() and HASBUF change Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

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

2020-08-16 Thread Mateusz Guzik
Author: mjg Date: Sun Aug 16 17:55:20 2020 New Revision: 364273 URL: https://svnweb.freebsd.org/changeset/base/364273 Log: vfs: mark HASBUF as an internal flag There is no setter for cn_pnbuf. Modified: head/sys/kern/vfs_lookup.c head/sys/sys/namei.h Modified:

svn commit: r364271 - in head/sys: compat/linuxkpi/common/include/linux fs/autofs fs/ext2fs fs/fdescfs fs/fuse fs/msdosfs fs/nfsclient fs/nullfs fs/pseudofs fs/smbfs fs/tmpfs kern sys ufs/ffs ufs/u...

2020-08-16 Thread Mateusz Guzik
Author: mjg Date: Sun Aug 16 17:18:54 2020 New Revision: 364271 URL: https://svnweb.freebsd.org/changeset/base/364271 Log: vfs: remove the thread argument from vget It was already asserted to be curthread. Semantic patch: @@ expression arg1, arg2, arg3; @@ -

svn commit: r364272 - head/sys/fs/tmpfs

2020-08-16 Thread Mateusz Guzik
Author: mjg Date: Sun Aug 16 17:19:23 2020 New Revision: 364272 URL: https://svnweb.freebsd.org/changeset/base/364272 Log: tmpfs: use vget_prep/vget_finish instead of vget + vnode Modified: head/sys/fs/tmpfs/tmpfs_subr.c Modified: head/sys/fs/tmpfs/tmpfs_subr.c

svn commit: r364270 - head/sys/netinet

2020-08-16 Thread Michael Tuexen
Author: tuexen Date: Sun Aug 16 13:31:14 2020 New Revision: 364270 URL: https://svnweb.freebsd.org/changeset/base/364270 Log: Remove a line which is needed and was added in https://svnweb.freebsd.org/changeset/base/364268 MFC after:3 days Modified:

svn commit: r364269 - head/sys/modules/usb/cp2112

2020-08-16 Thread Eugene Grosbein
Author: eugen Date: Sun Aug 16 12:59:43 2020 New Revision: 364269 URL: https://svnweb.freebsd.org/changeset/base/364269 Log: Unbreak building cp2112(8) as a module outside of kernel build environment. Modified: head/sys/modules/usb/cp2112/Makefile Modified:

svn commit: r364268 - head/sys/netinet

2020-08-16 Thread Michael Tuexen
Author: tuexen Date: Sun Aug 16 11:50:37 2020 New Revision: 364268 URL: https://svnweb.freebsd.org/changeset/base/364268 Log: Improve the handling of concurrent send() calls for SCTP sockets, especially when having the explicit EOR mode enabled. Reported by:

svn commit: r364267 - head/sys/modules/nvd

2020-08-16 Thread Eugene Grosbein
Author: eugen Date: Sun Aug 16 11:37:28 2020 New Revision: 364267 URL: https://svnweb.freebsd.org/changeset/base/364267 Log: Unbreak nvd(8) build as module outside of kernel build environment. Modified: head/sys/modules/nvd/Makefile Modified: head/sys/modules/nvd/Makefile