svn commit: r368744 - in head: share/man/man9 sys/fs/nfs

2020-12-17 Thread Brooks Davis
Author: brooks Date: Thu Dec 17 21:58:10 2020 New Revision: 368744 URL: https://svnweb.freebsd.org/changeset/base/368744 Log: VFS_QUOTACTL: Remove needless casts of arg The argument is a void * so there's no need to cast it to caddr_t. Update documentation to match function

svn commit: r368709 - head/sys/conf

2020-12-16 Thread Brooks Davis
Author: brooks Date: Thu Dec 17 00:00:21 2020 New Revision: 368709 URL: https://svnweb.freebsd.org/changeset/base/368709 Log: newvers.sh: Speed up git_tree_modified We're looking for file content differences, so ask the question of git more directly. This helps a lot, saving tens of

svn commit: r368672 - svnadmin/conf

2020-12-15 Thread Brooks Davis
Author: brooks Date: Tue Dec 15 18:51:11 2020 New Revision: 368672 URL: https://svnweb.freebsd.org/changeset/base/368672 Log: Release jrtc27 from mentorship Approved by: jhb (co-mentor) Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mentors

svn commit: r368671 - in head/sys: dev/hme modules/hme

2020-12-15 Thread Brooks Davis
Author: brooks Date: Tue Dec 15 18:46:23 2020 New Revision: 368671 URL: https://svnweb.freebsd.org/changeset/base/368671 Log: hme(4): remove stray directories Sponsored by: DARPA Differential Revision:https://reviews.freebsd.org/D27526 Deleted: head/sys/dev/hme/

svn commit: r368670 - head/tools/kerneldoc/subsys

2020-12-15 Thread Brooks Davis
Author: brooks Date: Tue Dec 15 18:44:41 2020 New Revision: 368670 URL: https://svnweb.freebsd.org/changeset/base/368670 Log: Remove Doxyfiles for removed drivers Reported by: emaste Deleted: head/tools/kerneldoc/subsys/Doxyfile-dev_auxio head/tools/kerneldoc/subsys/Doxyfile-dev_bktr

svn commit: r368650 - in stable/11: share/man/man4 sys/dev/if_ndis

2020-12-14 Thread Brooks Davis
Author: brooks Date: Mon Dec 14 22:53:19 2020 New Revision: 368650 URL: https://svnweb.freebsd.org/changeset/base/368650 Log: MFC r368561: ndis(4): expand deprecation to the whole driver nids(4) was a clever idea in the early 2000's when the market was flooded with 10/100 NICs with

svn commit: r368646 - in stable/12: share/man/man4 sys/dev/if_ndis

2020-12-14 Thread Brooks Davis
Author: brooks Date: Mon Dec 14 22:07:07 2020 New Revision: 368646 URL: https://svnweb.freebsd.org/changeset/base/368646 Log: MFC r368561: ndis(4): expand deprecation to the whole driver nids(4) was a clever idea in the early 2000's when the market was flooded with 10/100 NICs with

svn commit: r368645 - stable/11/sys/net

2020-12-14 Thread Brooks Davis
Author: brooks Date: Mon Dec 14 22:03:13 2020 New Revision: 368645 URL: https://svnweb.freebsd.org/changeset/base/368645 Log: MFC r368543: style(9): Correct whitespace in struct definitions struct ifconf and struct ifreq use the odd style "structfoo". struct ifdrv seems to have

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

2020-12-14 Thread Brooks Davis
Author: brooks Date: Mon Dec 14 21:56:15 2020 New Revision: 368644 URL: https://svnweb.freebsd.org/changeset/base/368644 Log: MFC r368543: style(9): Correct whitespace in struct definitions struct ifconf and struct ifreq use the odd style "structfoo". struct ifdrv seems to have

svn commit: r368561 - in head: share/man/man4 sys/dev/if_ndis

2020-12-11 Thread Brooks Davis
Author: brooks Date: Fri Dec 11 21:51:50 2020 New Revision: 368561 URL: https://svnweb.freebsd.org/changeset/base/368561 Log: ndis(4): expand deprecation to the whole driver nids(4) was a clever idea in the early 2000's when the market was flooded with 10/100 NICs with Windows-only

svn commit: r368560 - head

2020-12-11 Thread Brooks Davis
Author: brooks Date: Fri Dec 11 21:43:44 2020 New Revision: 368560 URL: https://svnweb.freebsd.org/changeset/base/368560 Log: Note removal of hme(4) Sponsored by: DARPA Modified: head/RELNOTES Modified: head/RELNOTES

svn commit: r368559 - in head: . share/man/man4 sys/amd64/conf sys/conf sys/dev/hme sys/dev/sk sys/i386/conf sys/modules sys/modules/hme sys/netpfil/pf

2020-12-11 Thread Brooks Davis
Author: brooks Date: Fri Dec 11 21:40:38 2020 New Revision: 368559 URL: https://svnweb.freebsd.org/changeset/base/368559 Log: hme(4): Remove as previous announced The hme (Happy Meal Ethernet) driver was the onboard NIC in most supported sparc64 platforms. A few PCI NICs do exist, but we

svn commit: r368543 - head/sys/net

2020-12-10 Thread Brooks Davis
Author: brooks Date: Fri Dec 11 01:00:07 2020 New Revision: 368543 URL: https://svnweb.freebsd.org/changeset/base/368543 Log: style(9): Correct whitespace in struct definitions struct ifconf and struct ifreq use the odd style "structfoo". struct ifdrv seems to have tried to follow this

Re: svn commit: r367813 - head/lib/libutil

2020-11-18 Thread Brooks Davis
On Thu, Nov 19, 2020 at 12:05:51AM +0100, Stefan Esser wrote: > Am 18.11.20 um 23:14 schrieb Jessica Clarke: > > On 18 Nov 2020, at 21:52, Stefan Esser wrote: > >> Am 18.11.20 um 22:15 schrieb Jessica Clarke: > >>> On 18 Nov 2020, at 19:44, Stefan E??er wrote: > +/* > +

Re: svn commit: r367744 - in head/sys: compat/freebsd32 kern sys

2020-11-17 Thread Brooks Davis
On Tue, Nov 17, 2020 at 11:59:50AM -0600, Kyle Evans wrote: > On Tue, Nov 17, 2020 at 11:11 AM Brooks Davis wrote: > > > > On Tue, Nov 17, 2020 at 03:36:58AM +, Kyle Evans wrote: > > > Modified: head/sys/comp

Re: svn commit: r367744 - in head/sys: compat/freebsd32 kern sys

2020-11-17 Thread Brooks Davis
On Tue, Nov 17, 2020 at 03:36:58AM +, Kyle Evans wrote: > Modified: head/sys/compat/freebsd32/freebsd32.h > == > --- head/sys/compat/freebsd32/freebsd32.h Tue Nov 17 03:34:01 2020 > (r367743) > +++

svn commit: r367735 - head/share/mk

2020-11-16 Thread Brooks Davis
Author: brooks Date: Mon Nov 16 19:15:11 2020 New Revision: 367735 URL: https://svnweb.freebsd.org/changeset/base/367735 Log: Add a guard for broken SUBDIR.${MK_FOO} use Check for the variable SUBDIR. and error as it usually means someone forgot to include src.opts.mk. This guard

svn commit: r367728 - in head: cddl/usr.bin/ztest usr.sbin/praudit

2020-11-16 Thread Brooks Davis
Author: brooks Date: Mon Nov 16 17:20:35 2020 New Revision: 367728 URL: https://svnweb.freebsd.org/changeset/base/367728 Log: Add missing includes of src.opts.mk Without this "SUBDIR.${MK_TESTS}=tests" would always expand to "SUBDIR.=tests" resulting in the tests not being built.

svn commit: r367655 - head/lib/libbsnmp

2020-11-13 Thread Brooks Davis
Author: brooks Date: Fri Nov 13 23:18:04 2020 New Revision: 367655 URL: https://svnweb.freebsd.org/changeset/base/367655 Log: Add missing src.opts.mk include This was missed in r364221 so tests were not built. Reviewed by: bdrewery Obtained from:CheriBSD Sponsored by:

svn commit: r367601 - stable/11/sys/kern

2020-11-11 Thread Brooks Davis
Author: brooks Date: Wed Nov 11 22:00:30 2020 New Revision: 367601 URL: https://svnweb.freebsd.org/changeset/base/367601 Log: MFC r367302: sysvshm: pass relevant uap members as arguments Alter shmget_allocate_segment and shmget_existing to take the values they want from struct

Re: svn commit: r367577 - in head: share/mk sys/conf tools/build/options

2020-11-10 Thread Brooks Davis
On Tue, Nov 10, 2020 at 02:44:45PM -0500, Shawn Webb wrote: > On Tue, Nov 10, 2020 at 07:17:29PM +0000, Brooks Davis wrote: > > On Tue, Nov 10, 2020 at 07:15:14PM +0000, Brooks Davis wrote: > > > Author: brooks > > > Date: Tue Nov 10 19:15:13 2020 > > > N

Re: svn commit: r367577 - in head: share/mk sys/conf tools/build/options

2020-11-10 Thread Brooks Davis
ntered -- cannot continue > make[3]: stopped in /home/matt/devel/ZoF/module > gmake[2]: *** [Makefile:53: modules-FreeBSD] Error 1 > gmake[2]: Leaving directory '/usr/home/matt/devel/ZoF/module' > > On Tue, Nov 10, 2020 at 11:15 AM Brooks Davis wrote: > > > > Author: bro

svn commit: r367579 - head/sys/conf

2020-11-10 Thread Brooks Davis
Author: brooks Date: Tue Nov 10 21:12:32 2020 New Revision: 367579 URL: https://svnweb.freebsd.org/changeset/base/367579 Log: Be more tolerant of share/mk and kern.mk mismatch When building out-of-tree modules, it appears that the system share/mk is used, but sys/conf/kern.mk is used.

Re: svn commit: r367577 - in head: share/mk sys/conf tools/build/options

2020-11-10 Thread Brooks Davis
On Tue, Nov 10, 2020 at 07:15:14PM +, Brooks Davis wrote: > Author: brooks > Date: Tue Nov 10 19:15:13 2020 > New Revision: 367577 > URL: https://svnweb.freebsd.org/changeset/base/367577 > > Log: > Support initializing stack variables on function entry > &

svn commit: r367577 - in head: share/mk sys/conf tools/build/options

2020-11-10 Thread Brooks Davis
Author: brooks Date: Tue Nov 10 19:15:13 2020 New Revision: 367577 URL: https://svnweb.freebsd.org/changeset/base/367577 Log: Support initializing stack variables on function entry There are two options: - WITH_INIT_ALL_ZERO: Zero all variables on the stack. - WITH_INIT_ALL_PATTERN:

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

2020-11-10 Thread Brooks Davis
Author: brooks Date: Tue Nov 10 18:07:13 2020 New Revision: 367571 URL: https://svnweb.freebsd.org/changeset/base/367571 Log: MFC r367302: sysvshm: pass relevant uap members as arguments Alter shmget_allocate_segment and shmget_existing to take the values they want from struct

svn commit: r367315 - stable/11/lib/libc/tests/ssp

2020-11-03 Thread Brooks Davis
Author: brooks Date: Tue Nov 3 23:30:11 2020 New Revision: 367315 URL: https://svnweb.freebsd.org/changeset/base/367315 Log: MFC r367121: Disable ssp raw test without ASAN r366981 disabled ASAN when it might not be reliable (with an external compiler), but this test is broken

svn commit: r367314 - stable/12/lib/libc/tests/ssp

2020-11-03 Thread Brooks Davis
Author: brooks Date: Tue Nov 3 23:29:07 2020 New Revision: 367314 URL: https://svnweb.freebsd.org/changeset/base/367314 Log: MFC r367121: Disable ssp raw test without ASAN r366981 disabled ASAN when it might not be reliable (with an external compiler), but this test is broken

svn commit: r367313 - stable/11/contrib/sendmail/include/sm/os

2020-11-03 Thread Brooks Davis
Author: brooks Date: Tue Nov 3 23:27:24 2020 New Revision: 367313 URL: https://svnweb.freebsd.org/changeset/base/367313 Log: MFC r367063: Key decleration of union semun on src version __FreeBSD__ is defined by the compiler derived from the triple. When building FreeBSD 11 on a

svn commit: r367312 - stable/12/contrib/sendmail/include/sm/os

2020-11-03 Thread Brooks Davis
Author: brooks Date: Tue Nov 3 23:26:26 2020 New Revision: 367312 URL: https://svnweb.freebsd.org/changeset/base/367312 Log: MFC r367063: Key decleration of union semun on src version __FreeBSD__ is defined by the compiler derived from the triple. When building FreeBSD 11 on a

svn commit: r367302 - head/sys/kern

2020-11-03 Thread Brooks Davis
Author: brooks Date: Tue Nov 3 19:14:03 2020 New Revision: 367302 URL: https://svnweb.freebsd.org/changeset/base/367302 Log: sysvshm: pass relevant uap members as arguments Alter shmget_allocate_segment and shmget_existing to take the values they want from struct shmget_args rather than

svn commit: r367145 - in stable/11/sys: cam dev/nvme kern sys ufs/ffs

2020-10-29 Thread Brooks Davis
Author: brooks Date: Thu Oct 29 22:00:15 2020 New Revision: 367145 URL: https://svnweb.freebsd.org/changeset/base/367145 Log: MFC r366911: vmapbuf: don't smuggle address or length in buf Instead, add arguments to vmapbuf. Since this argument is always a pointer use a type of void *

svn commit: r367140 - in stable/12/sys: cam dev/nvme kern sys ufs/ffs

2020-10-29 Thread Brooks Davis
Author: brooks Date: Thu Oct 29 18:29:22 2020 New Revision: 367140 URL: https://svnweb.freebsd.org/changeset/base/367140 Log: MFC r366911: vmapbuf: don't smuggle address or length in buf Instead, add arguments to vmapbuf. Since this argument is always a pointer use a type of void *

svn commit: r367121 - head/lib/libc/tests/ssp

2020-10-28 Thread Brooks Davis
Author: brooks Date: Wed Oct 28 23:10:54 2020 New Revision: 367121 URL: https://svnweb.freebsd.org/changeset/base/367121 Log: Disable ssp raw test without ASAN r366981 disabled ASAN when it might not be reliable (with an external compiler), but this test is broken without ASAN so disable

svn commit: r367063 - head/contrib/sendmail/include/sm/os

2020-10-26 Thread Brooks Davis
Author: brooks Date: Mon Oct 26 17:52:28 2020 New Revision: 367063 URL: https://svnweb.freebsd.org/changeset/base/367063 Log: Key decleration of union semun on src version __FreeBSD__ is defined by the compiler derived from the triple. When building FreeBSD 11 on a FreeBSD 12 with a

svn commit: r367062 - stable/11/lib/libc/tests/ssp

2020-10-26 Thread Brooks Davis
Author: brooks Date: Mon Oct 26 17:50:34 2020 New Revision: 367062 URL: https://svnweb.freebsd.org/changeset/base/367062 Log: MFC r366981: Only use ASAN when using the in-tree compiler When building FreeBSD 11 on a FreeBSD 12 system with CROSS_TOOLCHAIN=llvm10 we end up trying to

svn commit: r367061 - stable/12/lib/libc/tests/ssp

2020-10-26 Thread Brooks Davis
Author: brooks Date: Mon Oct 26 17:47:42 2020 New Revision: 367061 URL: https://svnweb.freebsd.org/changeset/base/367061 Log: MFC r366981: Only use ASAN when using the in-tree compiler When building FreeBSD 11 on a FreeBSD 12 system with CROSS_TOOLCHAIN=llvm10 we end up trying to

svn commit: r366981 - head/lib/libc/tests/ssp

2020-10-23 Thread Brooks Davis
Author: brooks Date: Fri Oct 23 22:27:45 2020 New Revision: 366981 URL: https://svnweb.freebsd.org/changeset/base/366981 Log: Only use ASAN when using the in-tree compiler When building FreeBSD 11 on a FreeBSD 12 system with CROSS_TOOLCHAIN=llvm10 we end up trying to link against the

svn commit: r366940 - stable/11/lib/libgssapi

2020-10-22 Thread Brooks Davis
Author: brooks Date: Thu Oct 22 16:41:13 2020 New Revision: 366940 URL: https://svnweb.freebsd.org/changeset/base/366940 Log: MFC r366671: libgssapi: modernize static string array use Use designated initializers to document positions in the arrays rather than requiring counting. Use

svn commit: r366939 - stable/11/sys/kern

2020-10-22 Thread Brooks Davis
Author: brooks Date: Thu Oct 22 16:29:21 2020 New Revision: 366939 URL: https://svnweb.freebsd.org/changeset/base/366939 Log: MFC r366731: physio: Don't store user addresses in bio_data Only assign the address from the iovec to bio_data if it is a kernel address. This was the

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

2020-10-22 Thread Brooks Davis
Author: brooks Date: Thu Oct 22 16:27:24 2020 New Revision: 366938 URL: https://svnweb.freebsd.org/changeset/base/366938 Log: MFC r366731: physio: Don't store user addresses in bio_data Only assign the address from the iovec to bio_data if it is a kernel address. This was the

svn commit: r366912 - stable/12/lib/libgssapi

2020-10-21 Thread Brooks Davis
Author: brooks Date: Wed Oct 21 16:04:57 2020 New Revision: 366912 URL: https://svnweb.freebsd.org/changeset/base/366912 Log: MFC r366671: libgssapi: modernize static string array use Use designated initializers to document positions in the arrays rather than requiring counting. Use

svn commit: r366911 - in head/sys: cam dev/nvme kern sys ufs/ffs

2020-10-21 Thread Brooks Davis
Author: brooks Date: Wed Oct 21 16:00:15 2020 New Revision: 366911 URL: https://svnweb.freebsd.org/changeset/base/366911 Log: vmapbuf: don't smuggle address or length in buf Instead, add arguments to vmapbuf. Since this argument is always a pointer use a type of void * and cast to

svn commit: r366731 - head/sys/kern

2020-10-15 Thread Brooks Davis
Author: brooks Date: Thu Oct 15 17:05:21 2020 New Revision: 366731 URL: https://svnweb.freebsd.org/changeset/base/366731 Log: physio: Don't store user addresses in bio_data Only assign the address from the iovec to bio_data if it is a kernel address. This was the single place where

Re: svn commit: r366697 - head/usr.bin/xinstall

2020-10-14 Thread Brooks Davis
On Wed, Oct 14, 2020 at 02:40:42PM +0100, Jessica Clarke wrote: > On 14 Oct 2020, at 14:28, Mateusz Guzik wrote: > > > > This should use copy_file_range (also available on Linux). > > I assume this is a bootstrap tool and hence the system OS and version > is relevant. macOS does not have

svn commit: r366684 - head/share/mk

2020-10-13 Thread Brooks Davis
Author: brooks Date: Tue Oct 13 20:04:13 2020 New Revision: 366684 URL: https://svnweb.freebsd.org/changeset/base/366684 Log: Remove --ld-path=* from _LDFLAGS It makes no sense to pass --ld-path to direct ${LD} invocations. This was missed in r366270 due to not doing a clean build.

svn commit: r366671 - head/lib/libgssapi

2020-10-13 Thread Brooks Davis
Author: brooks Date: Tue Oct 13 17:14:30 2020 New Revision: 366671 URL: https://svnweb.freebsd.org/changeset/base/366671 Log: libgssapi: modernize static string array use Use designated initializers to document positions in the arrays rather than requiring counting. Use nitems() rather

svn commit: r366273 - head/share/mk

2020-09-29 Thread Brooks Davis
Author: brooks Date: Tue Sep 29 23:48:05 2020 New Revision: 366273 URL: https://svnweb.freebsd.org/changeset/base/366273 Log: Hoist comment on fixup of ld path Reported by: jrtc27 Differential Revision:https://reviews.freebsd.org/D26591 Modified: head/share/mk/bsd.sys.mk

svn commit: r366270 - head/share/mk

2020-09-29 Thread Brooks Davis
Author: brooks Date: Tue Sep 29 22:30:15 2020 New Revision: 366270 URL: https://svnweb.freebsd.org/changeset/base/366270 Log: Prefer --ld-path=/path/to/ld on clang >= 12 Clang 12 warns about passing a path to -fuse-ld and -Werror makes that an error preventing building world without this

svn commit: r365864 - stable/11/sys/kern

2020-09-17 Thread Brooks Davis
Author: brooks Date: Thu Sep 17 23:14:17 2020 New Revision: 365864 URL: https://svnweb.freebsd.org/changeset/base/365864 Log: MFC r365284: Always report ENOSYS in init While rare, encountering an unimplemented system call early in init is catastrophic and difficult to debug. Even

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

2020-09-09 Thread Brooks Davis
Author: brooks Date: Wed Sep 9 23:11:55 2020 New Revision: 365545 URL: https://svnweb.freebsd.org/changeset/base/365545 Log: MFC r365284: Always report ENOSYS in init While rare, encountering an unimplemented system call early in init is catastrophic and difficult to debug. Even

svn commit: r365534 - stable/11/sbin/init

2020-09-09 Thread Brooks Davis
Author: brooks Date: Wed Sep 9 22:40:39 2020 New Revision: 365534 URL: https://svnweb.freebsd.org/changeset/base/365534 Log: MFC r365279: Remove risky compatability with old kernels The badsys() handler for SIGSYS was added as a transtion aid for kernels lacking sysctl() in 1993.

svn commit: r365519 - stable/12/sbin/init

2020-09-09 Thread Brooks Davis
Author: brooks Date: Wed Sep 9 21:57:55 2020 New Revision: 365519 URL: https://svnweb.freebsd.org/changeset/base/365519 Log: MFC r365279: Remove risky compatability with old kernels The badsys() handler for SIGSYS was added as a transtion aid for kernels lacking sysctl() in 1993.

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

2020-09-04 Thread Brooks Davis
Author: brooks Date: Fri Sep 4 21:55:22 2020 New Revision: 365344 URL: https://svnweb.freebsd.org/changeset/base/365344 Log: Round TF_SIZE up to the stack alignment (16-bytes). The kernel adjusts the stack by TF_SIZE and the RISC-V ABI requires that it remain 16-byte aligned.

svn commit: r365342 - head/libexec/rtld-elf/riscv

2020-09-04 Thread Brooks Davis
Author: brooks Date: Fri Sep 4 21:46:10 2020 New Revision: 365342 URL: https://svnweb.freebsd.org/changeset/base/365342 Log: Maintain a stack alignment of 16-bytes. This violated the RISC-V 64-bit ABI. On CheriBSD this manifested as a trap when attempting to store 16-byte aligned types

svn commit: r365284 - head/sys/kern

2020-09-02 Thread Brooks Davis
Author: brooks Date: Wed Sep 2 23:17:33 2020 New Revision: 365284 URL: https://svnweb.freebsd.org/changeset/base/365284 Log: Always report ENOSYS in init While rare, encountering an unimplemented system call early in init is catastrophic and difficult to debug. Even after a SIGSYS

svn commit: r365279 - head/sbin/init

2020-09-02 Thread Brooks Davis
Author: brooks Date: Wed Sep 2 21:14:36 2020 New Revision: 365279 URL: https://svnweb.freebsd.org/changeset/base/365279 Log: Remove risky compatability with old kernels The badsys() handler for SIGSYS was added as a transtion aid for kernels lacking sysctl() in 1993. It is unsafe and

Re: svn commit: r364781 - in head/sys: conf modules/zfs

2020-08-25 Thread Brooks Davis
On Tue, Aug 25, 2020 at 07:04:54PM +, Brandon Bergren wrote: > Author: bdragon > Date: Tue Aug 25 19:04:54 2020 > New Revision: 364781 > URL: https://svnweb.freebsd.org/changeset/base/364781 > > Log: > [PowerPC] More preemptive powerpcspe ZFS build fixes > > I went through the merge

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

Re: svn commit: r363966 - head/sys/vm

2020-08-06 Thread Brooks Davis
On Thu, Aug 06, 2020 at 04:20:21PM +, Brooks Davis wrote: > Author: brooks > Date: Thu Aug 6 16:20:20 2020 > New Revision: 363966 > URL: https://svnweb.freebsd.org/changeset/base/363966 > > Log: > Preserve ASLR vm_map flags across fork > > In the mo

svn commit: r363966 - head/sys/vm

2020-08-06 Thread Brooks Davis
Author: brooks Date: Thu Aug 6 16:20:20 2020 New Revision: 363966 URL: https://svnweb.freebsd.org/changeset/base/363966 Log: 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 fail in (e.g.) a

svn commit: r363709 - stable/11/sys/kern

2020-07-30 Thread Brooks Davis
Author: brooks Date: Thu Jul 30 17:18:42 2020 New Revision: 363709 URL: https://svnweb.freebsd.org/changeset/base/363709 Log: MFC r363438: Use SI_ORDER_(FOURTH|FIFTH) rather than bespoke versions. No functional change. When these SYSINITs were added these macros didn't exist.

Re: svn commit: r363625 - stable/12/usr.sbin/mountd

2020-07-30 Thread Brooks Davis
On Thu, Jul 30, 2020 at 03:48:34PM +, Rick Macklem wrote: > Rick Macklem wrote: > >Ian Lepore wrote: > >>On Thu, 2020-07-30 at 01:52 +, Rick Macklem wrote: > >>> Brooks Davis wrote: > >>> > Author: brooks > >>> > Date: Mon J

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

2020-07-29 Thread Brooks Davis
Author: brooks Date: Wed Jul 29 22:10:25 2020 New Revision: 363676 URL: https://svnweb.freebsd.org/changeset/base/363676 Log: MFC r363438: Use SI_ORDER_(FOURTH|FIFTH) rather than bespoke versions. No functional change. When these SYSINITs were added these macros didn't exist.

svn commit: r363673 - stable/11/usr.sbin/mountd

2020-07-29 Thread Brooks Davis
Author: brooks Date: Wed Jul 29 20:31:11 2020 New Revision: 363673 URL: https://svnweb.freebsd.org/changeset/base/363673 Log: MFC r363435: Avoid reading one byte before the path buffer. This happens when there's only one component (e.g. "/foo"). This (mostly-harmless) bug has been

svn commit: r363672 - stable/12/usr.sbin/mountd

2020-07-29 Thread Brooks Davis
Author: brooks Date: Wed Jul 29 20:30:15 2020 New Revision: 363672 URL: https://svnweb.freebsd.org/changeset/base/363672 Log: MFC r363435: Avoid reading one byte before the path buffer. This happens when there's only one component (e.g. "/foo"). This (mostly-harmless) bug has been

svn commit: r363626 - stable/11/usr.sbin/mountd

2020-07-27 Thread Brooks Davis
Author: brooks Date: Mon Jul 27 23:19:46 2020 New Revision: 363626 URL: https://svnweb.freebsd.org/changeset/base/363626 Log: MFC r363439: Correct a type-mismatch between xdr_long and the variable "bad". Way back in r28911 (August 1997, CVS rev 1.22) we imported a NetBSD information

svn commit: r363625 - stable/12/usr.sbin/mountd

2020-07-27 Thread Brooks Davis
Author: brooks Date: Mon Jul 27 23:18:14 2020 New Revision: 363625 URL: https://svnweb.freebsd.org/changeset/base/363625 Log: MFC r363439: Correct a type-mismatch between xdr_long and the variable "bad". Way back in r28911 (August 1997, CVS rev 1.22) we imported a NetBSD information

svn commit: r363439 - head/usr.sbin/mountd

2020-07-22 Thread Brooks Davis
Author: brooks Date: Wed Jul 22 23:39:58 2020 New Revision: 363439 URL: https://svnweb.freebsd.org/changeset/base/363439 Log: Correct a type-mismatch between xdr_long and the variable "bad". Way back in r28911 (August 1997, CVS rev 1.22) we imported a NetBSD information leak fix via

svn commit: r363438 - head/sys/kern

2020-07-22 Thread Brooks Davis
Author: brooks Date: Wed Jul 22 23:35:41 2020 New Revision: 363438 URL: https://svnweb.freebsd.org/changeset/base/363438 Log: Use SI_ORDER_(FOURTH|FIFTH) rather than bespoke versions. No functional change. When these SYSINITs were added these macros didn't exist. Reviewed by:

svn commit: r363435 - head/usr.sbin/mountd

2020-07-22 Thread Brooks Davis
Author: brooks Date: Wed Jul 22 21:44:51 2020 New Revision: 363435 URL: https://svnweb.freebsd.org/changeset/base/363435 Log: Avoid reading one byte before the path buffer. This happens when there's only one component (e.g. "/foo"). This (mostly-harmless) bug has been present since June

svn commit: r363434 - stable/11/lib/libc/gen

2020-07-22 Thread Brooks Davis
Author: brooks Date: Wed Jul 22 21:30:18 2020 New Revision: 363434 URL: https://svnweb.freebsd.org/changeset/base/363434 Log: MFC r363228: Don't imply that all action values can be OR'd. This is neither POSIX compliant nor what the implementation does. This could be allowed by

svn commit: r363432 - stable/12/lib/libc/gen

2020-07-22 Thread Brooks Davis
Author: brooks Date: Wed Jul 22 21:06:32 2020 New Revision: 363432 URL: https://svnweb.freebsd.org/changeset/base/363432 Log: MFC r363228: Don't imply that all action values can be OR'd. This is neither POSIX compliant nor what the implementation does. This could be allowed by

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

2020-07-15 Thread Brooks Davis
Author: brooks Date: Wed Jul 15 17:05:37 2020 New Revision: 363228 URL: https://svnweb.freebsd.org/changeset/base/363228 Log: Don't imply that all action values can be OR'd. This is neither POSIX compliant nor what the implementation does. This could be allowed by changing the value of

Re: svn commit: r363172 - head/contrib/bc/src

2020-07-14 Thread Brooks Davis
On Tue, Jul 14, 2020 at 05:02:18AM +, Adrian Chadd wrote: > Author: adrian > Date: Tue Jul 14 05:02:18 2020 > New Revision: 363172 > URL: https://svnweb.freebsd.org/changeset/base/363172 > > Log: > [bc] Fix a "maybe uninitialized" compiler warning under mips-gcc-6.3.0. > > I guess this

svn commit: r363050 - stable/11/cddl/contrib/opensolaris/tools/ctf/cvt

2020-07-09 Thread Brooks Davis
Author: brooks Date: Thu Jul 9 17:12:22 2020 New Revision: 363050 URL: https://svnweb.freebsd.org/changeset/base/363050 Log: MFC r362979: Fix a -Wvoid-pointer-to-enum-cast warning missed in r359978. This pattern is used in callbacks with void * data arguments and seems both

svn commit: r363048 - stable/12/cddl/contrib/opensolaris/tools/ctf/cvt

2020-07-09 Thread Brooks Davis
Author: brooks Date: Thu Jul 9 16:58:53 2020 New Revision: 363048 URL: https://svnweb.freebsd.org/changeset/base/363048 Log: MFC r362979: Fix a -Wvoid-pointer-to-enum-cast warning missed in r359978. This pattern is used in callbacks with void * data arguments and seems both

svn commit: r362979 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2020-07-06 Thread Brooks Davis
Author: brooks Date: Mon Jul 6 22:39:42 2020 New Revision: 362979 URL: https://svnweb.freebsd.org/changeset/base/362979 Log: Fix a Wvoid-pointer-to-enum-cast warning missed in r359978. This pattern is used in callbacks with void * data arguments and seems both relatively uncommon and

Re: svn commit: r361683 - head/usr.sbin/certctl

2020-06-01 Thread Brooks Davis
On Sun, May 31, 2020 at 08:37:41PM -0500, Kyle Evans wrote: > n Sun, May 31, 2020 at 8:25 PM Kyle Evans wrote: > > > > Author: kevans > > Date: Mon Jun 1 01:25:19 2020 > > New Revision: 361683 > > URL: https://svnweb.freebsd.org/changeset/base/361683 > > > > Log: > > certctl: fix test syntax >

svn commit: r361397 - head/usr.sbin/certctl

2020-05-22 Thread Brooks Davis
Author: brooks Date: Fri May 22 17:45:07 2020 New Revision: 361397 URL: https://svnweb.freebsd.org/changeset/base/361397 Log: Add an unprivileged mode where calls to install are passed appropriate flags. For ease of integration, use the same flags as install: -U unprivileged

Re: svn commit: r360833 - head

2020-05-20 Thread Brooks Davis
On Tue, May 12, 2020 at 10:16:03PM +, Brooks Davis wrote: > On Mon, May 11, 2020 at 01:45:14PM -0500, Kyle Evans wrote: > > On Mon, May 11, 2020 at 1:10 PM Brooks Davis wrote: > > > > > > On Sat, May 09, 2020 at 02:01:29AM +, Kyle Evans wrote: > > > &g

Re: svn commit: r360833 - head

2020-05-14 Thread Brooks Davis
On Tue, May 12, 2020 at 09:01:33PM -0500, Kyle Evans wrote: > On Tue, May 12, 2020 at 5:16 PM Brooks Davis wrote: > > > > On Mon, May 11, 2020 at 01:45:14PM -0500, Kyle Evans wrote: > > > On Mon, May 11, 2020 at 1:10 PM Brooks Davis wrote: > > > > > > &g

Re: svn commit: r360833 - head

2020-05-12 Thread Brooks Davis
On Mon, May 11, 2020 at 01:45:14PM -0500, Kyle Evans wrote: > On Mon, May 11, 2020 at 1:10 PM Brooks Davis wrote: > > > > On Sat, May 09, 2020 at 02:01:29AM +, Kyle Evans wrote: > > > Author: kevans > > > Date: Sat May 9 02:01:29 2020 > >

Re: svn commit: r360833 - head

2020-05-11 Thread Brooks Davis
On Sat, May 09, 2020 at 02:01:29AM +, Kyle Evans wrote: > Author: kevans > Date: Sat May 9 02:01:29 2020 > New Revision: 360833 > URL: https://svnweb.freebsd.org/changeset/base/360833 > > Log: > installworld: attempt a certctl rehash at the tail end > > This can be run as root or

svn commit: r360695 - stable/11/sys/mips/mips

2020-05-06 Thread Brooks Davis
Author: brooks Date: Wed May 6 17:42:36 2020 New Revision: 360695 URL: https://svnweb.freebsd.org/changeset/base/360695 Log: MFC r359974: Don't directly access userspace memory. Rather then using the racy useracc() followed by direct access to userspace memory, perform a copyin()

svn commit: r360693 - stable/12/sys/mips/mips

2020-05-06 Thread Brooks Davis
Author: brooks Date: Wed May 6 17:12:26 2020 New Revision: 360693 URL: https://svnweb.freebsd.org/changeset/base/360693 Log: MFC r359974: Don't directly access userspace memory. Rather then using the racy useracc() followed by direct access to userspace memory, perform a copyin()

svn commit: r360635 - in head/contrib/jemalloc: . include/jemalloc

2020-05-04 Thread Brooks Davis
Author: brooks Date: Mon May 4 17:16:30 2020 New Revision: 360635 URL: https://svnweb.freebsd.org/changeset/base/360635 Log: Set LG_VADDR to 48 on RISC-V. The Sv48 PTE format is the largest currently defined address space for RISC-V. It makes no sense to define a larger size and doing

svn commit: r360451 - in stable/11/sys: amd64/linux amd64/linux32 compat/freebsd32 compat/linux dev/ipmi dev/mpr dev/mps dev/mpt i386/linux kern sys

2020-04-28 Thread Brooks Davis
Author: brooks Date: Tue Apr 28 20:14:38 2020 New Revision: 360451 URL: https://svnweb.freebsd.org/changeset/base/360451 Log: MFC r359937: Centralize compatability translation macros. Copy the CP, PTRIN, etc macros from freebsd32.h into a sys/abi_compat.h and replace existing

svn commit: r360446 - in stable/12/sys: amd64/linux amd64/linux32 arm64/linux compat/freebsd32 compat/linux dev/ipmi dev/mpr dev/mps dev/mpt i386/linux kern sys

2020-04-28 Thread Brooks Davis
Author: brooks Date: Tue Apr 28 17:59:37 2020 New Revision: 360446 URL: https://svnweb.freebsd.org/changeset/base/360446 Log: MFC r359937: Centralize compatability translation macros. Copy the CP, PTRIN, etc macros from freebsd32.h into a sys/abi_compat.h and replace existing

svn commit: r360415 - in stable/11: lib/libc/gen lib/libc/net lib/libc/rpc sys/dev/ocs_fc sys/net80211

2020-04-27 Thread Brooks Davis
Author: brooks Date: Mon Apr 27 23:49:13 2020 New Revision: 360415 URL: https://svnweb.freebsd.org/changeset/base/360415 Log: MFC r359978: Fix -Wvoid-pointer-to-enum-cast warnings. This pattern is used in callbacks with void * data arguments and seems both relatively uncommon and

svn commit: r360414 - in stable/12: lib/libc/gen lib/libc/net lib/libc/rpc sys/dev/ocs_fc sys/net80211

2020-04-27 Thread Brooks Davis
Author: brooks Date: Mon Apr 27 23:47:40 2020 New Revision: 360414 URL: https://svnweb.freebsd.org/changeset/base/360414 Log: MFC r359978: Fix -Wvoid-pointer-to-enum-cast warnings. This pattern is used in callbacks with void * data arguments and seems both relatively uncommon and

svn commit: r360225 - in stable/11/sys: compat/freebsd32 kern

2020-04-23 Thread Brooks Davis
Author: brooks Date: Thu Apr 23 17:46:29 2020 New Revision: 360225 URL: https://svnweb.freebsd.org/changeset/base/360225 Log: MFC r359938: Remove bogus use of useracc() in (clock_)nanosleep. There's no point in pre-checking that we can access the user's rmtp pointer before we do it

svn commit: r360200 - in stable/12/sys: compat/freebsd32 kern

2020-04-22 Thread Brooks Davis
Author: brooks Date: Wed Apr 22 17:14:02 2020 New Revision: 360200 URL: https://svnweb.freebsd.org/changeset/base/360200 Log: MFC r359938: Remove bogus use of useracc() in (clock_)nanosleep. There's no point in pre-checking that we can access the user's rmtp pointer before we do it

svn commit: r360024 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/freebsd32 i386/linux kern powerpc/powerpc sys

2020-04-16 Thread Brooks Davis
Author: brooks Date: Thu Apr 16 21:53:17 2020 New Revision: 360024 URL: https://svnweb.freebsd.org/changeset/base/360024 Log: Convert canary, execpathp, and pagesizes to pointers. Use AUXARGS_ENTRY_PTR to export these pointers. This is a followup to r359987 and r359988. Reviewed

svn commit: r360015 - head/sys/kern

2020-04-16 Thread Brooks Davis
Author: brooks Date: Thu Apr 16 17:24:13 2020 New Revision: 360015 URL: https://svnweb.freebsd.org/changeset/base/360015 Log: style(9): end continued line with operator. Modified: head/sys/kern/kern_sysctl.c Modified: head/sys/kern/kern_sysctl.c

Re: svn commit: r360004 - head/sys/i386/i386

2020-04-16 Thread Brooks Davis
On Thu, Apr 16, 2020 at 05:27:14AM +, Scott Long wrote: > Author: scottl > Date: Thu Apr 16 05:27:13 2020 > New Revision: 360004 > URL: https://svnweb.freebsd.org/changeset/base/360004 > > Log: > Fix ps_strings type change for i386 Thanks for the fix. I did do a make tinderbox, but missed

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

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 20:28:20 2020 New Revision: 359991 URL: https://svnweb.freebsd.org/changeset/base/359991 Log: Attempt to use AT_PS_STRINGS to get the ps_strings pointer. This saves a system call and avoids one of the (relatively rare) cases of the kernel exporting

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

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 20:26:41 2020 New Revision: 359990 URL: https://svnweb.freebsd.org/changeset/base/359990 Log: Support AT_PS_STRINGS in _elf_aux_info(). This will be used by setproctitle(). Reviewed by: kib Obtained from:CheriBSD Sponsored by: DARPA

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

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 20:25:38 2020 New Revision: 359989 URL: https://svnweb.freebsd.org/changeset/base/359989 Log: Add procstat support for AT_ flags added in r359988. This includes argc, argv, envc, envv, and ps_strings. Reviewed by: kib Obtained from:CheriBSD

svn commit: r359988 - in head/sys: compat/freebsd32 kern sys

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 20:23:55 2020 New Revision: 359988 URL: https://svnweb.freebsd.org/changeset/base/359988 Log: Export argc, argv, envc, envv, and ps_strings in auxargs. This simplifies discovery of these values, potentially with reducing the number of syscalls we need to

  1   2   3   4   5   6   7   8   9   10   >