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 decleration

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 thous

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/ head/sys/mod

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: 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 driver

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 bu

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) > +++ head/sys/

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 fro

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. Spo

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: DARP

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
ke[3]: Fatal errors encountered -- 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 wro

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. Th

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: I

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: 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 CROSS

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 pack

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 vm_off

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 bio_d

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 copy_fi

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. Mo

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 th

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 Modi

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: 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. Report

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 handl

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 un

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 and

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 most com

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 pre-

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 OpenB

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: imp

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 1

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 TC

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: 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 rel

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 m

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 norma

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 so

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 by:

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 pointers

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 Differ

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 ma

svn commit: r359987 - in head/sys: amd64/ia32 amd64/linux32 compat/freebsd32 kern sys

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 20:21:30 2020 New Revision: 359987 URL: https://svnweb.freebsd.org/changeset/base/359987 Log: Make ps_strings in struct image_params into a pointer. This is a prepratory commit for D24407. Reviewed by: kib Obtained from:CheriBSD Sponsored by

svn commit: r359986 - head/sys/sys

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 20:19:59 2020 New Revision: 359986 URL: https://svnweb.freebsd.org/changeset/base/359986 Log: Introduce an AUXARGS_ENTRY_PTR() macro. As the name implys, it uses the a_ptr member of the auxarg entry (except in compat32 where it uses a_val). This is more co

svn commit: r359978 - in head: lib/libc/gen lib/libc/net lib/libc/rpc sys/dev/ocs_fc sys/net80211

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 18:15:58 2020 New Revision: 359978 URL: https://svnweb.freebsd.org/changeset/base/359978 Log: Fix -Wvoid-pointer-to-enum-cast warnings. This pattern is used in callbacks with void * data arguments and seems both relatively uncommon and relatively harmless.

svn commit: r359974 - head/sys/mips/mips

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 16:33:27 2020 New Revision: 359974 URL: https://svnweb.freebsd.org/changeset/base/359974 Log: Don't directly access userspace memory. Rather then using the racy useracc() followed by direct access to userspace memory, perform a copyin() and use the result i

Re: svn commit: r359937 - in head/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-14 Thread Brooks Davis
On Tue, Apr 14, 2020 at 03:08:24PM -0700, Conrad Meyer wrote: > Brooks, > > On Tue, Apr 14, 2020 at 13:31 Brooks Davis wrote: > > > Author: brooks > > Date: Tue Apr 14 20:30:48 2020 > > New Revision: 359937 > > URL: https://svnweb.freebsd.org/changeset/base/

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

2020-04-14 Thread Brooks Davis
Author: brooks Date: Tue Apr 14 20:53:12 2020 New Revision: 359938 URL: https://svnweb.freebsd.org/changeset/base/359938 Log: 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 in copyout().

svn commit: r359937 - in head/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-14 Thread Brooks Davis
Author: brooks Date: Tue Apr 14 20:30:48 2020 New Revision: 359937 URL: https://svnweb.freebsd.org/changeset/base/359937 Log: Centralize compatability translation macros. Copy the CP, PTRIN, etc macros from freebsd32.h into a sys/abi_compat.h and replace existing definitation with include

Re: svn commit: r359690 - head/share/mk

2020-04-07 Thread Brooks Davis
On Tue, Apr 07, 2020 at 03:10:04PM +, Kyle Evans wrote: > Author: kevans > Date: Tue Apr 7 15:10:04 2020 > New Revision: 359690 > URL: https://svnweb.freebsd.org/changeset/base/359690 > > Log: > Fix port/kernel builds after r359681 > > Submitted by: bdrewery > Reported by:

svn commit: r359691 - head/sys/conf

2020-04-07 Thread Brooks Davis
Author: brooks Date: Tue Apr 7 15:32:08 2020 New Revision: 359691 URL: https://svnweb.freebsd.org/changeset/base/359691 Log: Allow the kernel to build with a compiler that sets -fno-common. The mechanism that generates assym.inc and offset.inc depends on the symbols in question being com

svn commit: r359681 - in head: . share/mk

2020-04-06 Thread Brooks Davis
Author: brooks Date: Mon Apr 6 23:38:46 2020 New Revision: 359681 URL: https://svnweb.freebsd.org/changeset/base/359681 Log: Fix compilation with upstream clang builtin headers. By using -nobuiltininc and adding the clang builtin headers resource dir to the end of the compiler header sea

svn commit: r359603 - head

2020-04-03 Thread Brooks Davis
Author: brooks Date: Fri Apr 3 16:19:07 2020 New Revision: 359603 URL: https://svnweb.freebsd.org/changeset/base/359603 Log: Pass the real value of MK_TESTS_SUPPORT to distribution. This allows kyua's config file to actually be installed. Reported by: arichardson Reviewed by: aric

svn commit: r359601 - head/usr.sbin/pmc

2020-04-03 Thread Brooks Davis
Author: brooks Date: Fri Apr 3 16:10:42 2020 New Revision: 359601 URL: https://svnweb.freebsd.org/changeset/base/359601 Log: pmc: diable position-independent builds, they fail to link on amd64 PR: 245189 Reported by: Gordon Bergling Sponsored by: DARPA Modified: head/usr.

svn commit: r359598 - head/usr.bin/kyua

2020-04-03 Thread Brooks Davis
Author: brooks Date: Fri Apr 3 15:47:15 2020 New Revision: 359598 URL: https://svnweb.freebsd.org/changeset/base/359598 Log: Install a kyua.conf based on the one in devel/kyua. The kyua.conf from examples doesn't match the expected config and contains a lot of undesirable entries such as

svn commit: r359456 - head

2020-03-30 Thread Brooks Davis
Author: brooks Date: Mon Mar 30 20:04:55 2020 New Revision: 359456 URL: https://svnweb.freebsd.org/changeset/base/359456 Log: Relax existence check of ${LOCALBASE}/bin/kyua After the base kyua import the testsuite can utilize the in-base kyua just fine. Submitted by: Dries Michiels

svn commit: r359426 - head/usr.bin/kyua

2020-03-29 Thread Brooks Davis
Author: brooks Date: Sun Mar 29 19:48:28 2020 New Revision: 359426 URL: https://svnweb.freebsd.org/changeset/base/359426 Log: Fix build with src on a noexec filesystem. ${SH} expands to nothing on src builds so this worked by accident. Use a bare "sh" instead. PR: 245086

Re: svn commit: r359385 - head/usr.bin/kyua

2020-03-29 Thread Brooks Davis
On Sat, Mar 28, 2020 at 07:42:04PM -0700, Enji Cooper wrote: > > > On Mar 28, 2020, at 7:37 PM, Enji Cooper wrote: > > > >> > >> On Mar 27, 2020, at 8:22 PM, Brooks Davis >> <mailto:bro...@freebsd.org>> wrote: > >> > &g

Re: svn commit: r359385 - head/usr.bin/kyua

2020-03-27 Thread Brooks Davis
On Sat, Mar 28, 2020 at 01:08:20AM +, Enji Cooper wrote: > Author: ngie > Date: Sat Mar 28 01:08:20 2020 > New Revision: 359385 > URL: https://svnweb.freebsd.org/changeset/base/359385 > > Log: > Check in the generated copies of the manpages > > These manpages were meant to be templated

svn commit: r359382 - head

2020-03-27 Thread Brooks Davis
Author: brooks Date: Fri Mar 27 23:27:54 2020 New Revision: 359382 URL: https://svnweb.freebsd.org/changeset/base/359382 Log: Use the real value of MK_TESTS_SUPPORT in _libraries. We need to build kyua libraries for kyua. Because we set MK_TESTS=no, we can't not set MK_TESTS_SUPPORT=${MK

svn commit: r359368 - head/etc

2020-03-27 Thread Brooks Davis
Author: brooks Date: Fri Mar 27 16:05:37 2020 New Revision: 359368 URL: https://svnweb.freebsd.org/changeset/base/359368 Log: Create and use a tests group for the tests user. No user (except nobody) should be a member of the nobody group. Reported by: rgrimes Reviewed by: rgrimes

svn commit: r359335 - in head: etc/mtree lib/kyua lib/kyua/cli usr.bin/kyua

2020-03-26 Thread Brooks Davis
Author: brooks Date: Thu Mar 26 17:34:17 2020 New Revision: 359335 URL: https://svnweb.freebsd.org/changeset/base/359335 Log: Install expected kyua docs. The "kyua about" command assumes these files exist causing tests supplied devel/kyua to fail. Fix a bug defining the default KYUA_

svn commit: r359262 - in head: lib/kyua/cli lib/kyua/drivers lib/kyua/engine lib/kyua/model lib/kyua/store lib/kyua/utils share/mk

2020-03-23 Thread Brooks Davis
Author: brooks Date: Mon Mar 23 21:21:38 2020 New Revision: 359262 URL: https://svnweb.freebsd.org/changeset/base/359262 Log: Improve LIBADD/_DP_* for kyua libraries. This fixes build with ld.bfd as the linker (e.g. on powerpc). This corrects a bug in D24103. Sponsored by: DARPA

Re: svn commit: r359260 - in head: contrib/kyua etc/mtree lib lib/kyua lib/kyua/cli lib/kyua/drivers lib/kyua/engine lib/kyua/model lib/kyua/store lib/kyua/utils share/mk tools/build/mk usr.bin usr.bi

2020-03-23 Thread Brooks Davis
On Mon, Mar 23, 2020 at 08:15:22PM +, Alexey Dokuchaev wrote: > On Mon, Mar 23, 2020 at 07:01:24PM +0000, Brooks Davis wrote: > > New Revision: 359260 > > URL: https://svnweb.freebsd.org/changeset/base/359260 > > > > Log: > > Import the kyua test framework

svn commit: r359261 - head/sys/sys

2020-03-23 Thread Brooks Davis
Author: brooks Date: Mon Mar 23 19:28:24 2020 New Revision: 359261 URL: https://svnweb.freebsd.org/changeset/base/359261 Log: Bump for kyua import. Reported by: cy Sponsored by: DARPA Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h ==

Re: svn commit: r359260 - in head: contrib/kyua etc/mtree lib lib/kyua lib/kyua/cli lib/kyua/drivers lib/kyua/engine lib/kyua/model lib/kyua/store lib/kyua/utils share/mk tools/build/mk usr.bin usr.bi

2020-03-23 Thread Brooks Davis
On Mon, Mar 23, 2020 at 12:09:06PM -0700, Cy Schubert wrote: > In message <202003231901.02nj1olx063...@repo.freebsd.org>, Brooks Davis > writes: > > Author: brooks > > Date: Mon Mar 23 19:01:23 2020 > > New Revision: 359260 > > URL: https://svnweb.freebsd.o

svn commit: r359260 - in head: contrib/kyua etc/mtree lib lib/kyua lib/kyua/cli lib/kyua/drivers lib/kyua/engine lib/kyua/model lib/kyua/store lib/kyua/utils share/mk tools/build/mk usr.bin usr.bin...

2020-03-23 Thread Brooks Davis
Author: brooks Date: Mon Mar 23 19:01:23 2020 New Revision: 359260 URL: https://svnweb.freebsd.org/changeset/base/359260 Log: Import the kyua test framework. Having kyua in the base system will simplify automated testing in CI and eliminates bootstrapping issues on new platforms. The

svn commit: r359255 - in head: contrib/lutok lib lib/liblutok share/mk

2020-03-23 Thread Brooks Davis
Author: brooks Date: Mon Mar 23 18:26:23 2020 New Revision: 359255 URL: https://svnweb.freebsd.org/changeset/base/359255 Log: Add liblutok a lightweight C++ API for lua. It is added an INTERNALLIB and not installed. It will be used by kyua. This is a preparatory commit for D24103.

svn commit: r359247 - head/etc

2020-03-23 Thread Brooks Davis
Author: brooks Date: Mon Mar 23 17:11:27 2020 New Revision: 359247 URL: https://svnweb.freebsd.org/changeset/base/359247 Log: Add the tests user, an unprivileged user from the default kyua config. This is a preparatory commit for D24103. Reviewed by: emaste Obtained from:Che

Re: svn commit: r359046 - head/share/mk

2020-03-18 Thread Brooks Davis
On Wed, Mar 18, 2020 at 12:29:24PM +0900, Hiroki Sato wrote: > Brooks Davis wrote > in <202003171817.02hihwdy035...@repo.freebsd.org>: > > br> Author: brooks > br> Date: Tue Mar 17 18:17:32 2020 > br> New Revision: 359046 > br> URL: https://svnweb.freeb

svn commit: r359046 - head/share/mk

2020-03-17 Thread Brooks Davis
Author: brooks Date: Tue Mar 17 18:17:32 2020 New Revision: 359046 URL: https://svnweb.freebsd.org/changeset/base/359046 Log: Support SUBDIR.${MK_FOO}.${MK_BAR} expresssions. This allows simplification of Makefiles where some SUBDIR entries depend on two things (e.g. something that depend

svn commit: r359045 - in head: . lib lib/liblua libexec/flua share/mk

2020-03-17 Thread Brooks Davis
Author: brooks Date: Tue Mar 17 17:28:12 2020 New Revision: 359045 URL: https://svnweb.freebsd.org/changeset/base/359045 Log: Add an internal liblua and use it in flua. The new liblua will be used in a forthcoming import of kyua. Reviewed by: kevans Obtained from:CheriBSD

svn commit: r358726 - head/sys/vm

2020-03-06 Thread Brooks Davis
Author: brooks Date: Fri Mar 6 23:31:09 2020 New Revision: 358726 URL: https://svnweb.freebsd.org/changeset/base/358726 Log: Remove an apparently incorrect assertion. Without this change mips64 fails to boot. Discussed with: markj Sponsored by: DARPA Modified: head/sys/vm/u

svn commit: r358650 - in head/sys: compat/linux sys vm

2020-03-04 Thread Brooks Davis
Author: brooks Date: Wed Mar 4 21:27:12 2020 New Revision: 358650 URL: https://svnweb.freebsd.org/changeset/base/358650 Log: Introduce kern_mmap_req(). This presents an extensible interface to the generic mmap(2) implementation via a struct pointer intended to use a designated initiali

Re: svn commit: r358439 - head/sys/amd64/include

2020-03-04 Thread Brooks Davis
On Wed, Mar 04, 2020 at 12:27:08PM +0100, Guido Falsi wrote: > On 02/03/20 18:13, Ryan Libby wrote: > > On Mon, Mar 2, 2020 at 12:45 AM Alexander V. Chernikov > > wrote: > >> > >> 28.02.2020, 18:32, "Ryan Libby" : > >>> Author: rlibby > >>> Date: Fri Feb 28 18:32:36 2020 > >>> New Revision: 35843

svn commit: r358630 - head/sys/dev/bnxt

2020-03-04 Thread Brooks Davis
Author: brooks Date: Wed Mar 4 17:55:57 2020 New Revision: 358630 URL: https://svnweb.freebsd.org/changeset/base/358630 Log: bnxt(4): Fix ioctls when user addresses are inaccessable. Check copyin's error code (differ adding copyout checks at this time). Don't directly access user memo

svn commit: r358593 - head/sys/dev/mxge

2020-03-03 Thread Brooks Davis
Author: brooks Date: Tue Mar 3 18:58:43 2020 New Revision: 358593 URL: https://svnweb.freebsd.org/changeset/base/358593 Log: Use ifr_data_get_ptr() consistently. Modified: head/sys/dev/mxge/if_mxge.c Modified: head/sys/dev/mxge/if_mxge.c =

svn commit: r358592 - head/sys/net

2020-03-03 Thread Brooks Davis
Author: brooks Date: Tue Mar 3 18:05:11 2020 New Revision: 358592 URL: https://svnweb.freebsd.org/changeset/base/358592 Log: Expose ifr_buffer_get_(buffer|length) outside if.c. This is a preparatory commit for D23933. Reviewed by: jhb Modified: head/sys/net/if.c head/sys/net/if_

Re: svn commit: r358454 - in head: . etc/mtree gnu/lib gnu/lib/libgcov gnu/lib/libgomp gnu/lib/libstdc++ gnu/lib/libsupc++ gnu/usr.bin gnu/usr.bin/cc gnu/usr.bin/gperf share/mk targets/pseudo/bootstra

2020-02-29 Thread Brooks Davis
On Sat, Feb 29, 2020 at 03:25:51AM +, Ed Maste wrote: > Author: emaste > Date: Sat Feb 29 03:25:51 2020 > New Revision: 358454 > URL: https://svnweb.freebsd.org/changeset/base/358454 > > Log: > remove GCC 4.2.1 build infrastructure > > As described in Warner's email message[1] to the Fr

Re: svn commit: r358416 - head/sys/sys

2020-02-28 Thread Brooks Davis
On Fri, Feb 28, 2020 at 01:02:02AM +, Warner Losh wrote: > Author: imp > Date: Fri Feb 28 01:02:01 2020 > New Revision: 358416 > URL: https://svnweb.freebsd.org/changeset/base/358416 > > Log: > Remove duplicated ATA_CHECK_POWER_MODE > > Modified: > head/sys/sys/ata.h > > Modified: head/s

svn commit: r358449 - head/sys/sys

2020-02-28 Thread Brooks Davis
Author: brooks Date: Fri Feb 28 21:13:15 2020 New Revision: 358449 URL: https://svnweb.freebsd.org/changeset/base/358449 Log: Define SCTL_MASK32 when COMPAT_FREEBSD32 is defined. Remove the list of architectures and depend on COMPAT_FREEBSD32 which is defined (if relevent) in opt_global.h

svn commit: r358414 - head/sys/amd64/conf

2020-02-27 Thread Brooks Davis
Author: brooks Date: Thu Feb 27 23:06:40 2020 New Revision: 358414 URL: https://svnweb.freebsd.org/changeset/base/358414 Log: Remove trailing whitespace. Modified: head/sys/amd64/conf/GENERIC-NODEBUG Modified: head/sys/amd64/conf/GENERIC-NODEBUG ==

svn commit: r358409 - head/sys/riscv/conf

2020-02-27 Thread Brooks Davis
Author: brooks Date: Thu Feb 27 20:26:37 2020 New Revision: 358409 URL: https://svnweb.freebsd.org/changeset/base/358409 Log: riscv: Add a GENERIC-NODEBUG (copied from amd64) Sponsored by: DARPA Added: head/sys/riscv/conf/GENERIC-NODEBUG - copied, changed from r358301, head/sys/amd6

svn commit: r358408 - head/contrib/llvm-project/llvm/lib/Target/RISCV

2020-02-27 Thread Brooks Davis
Author: brooks Date: Thu Feb 27 20:08:46 2020 New Revision: 358408 URL: https://svnweb.freebsd.org/changeset/base/358408 Log: Merge commit 7214f7a79 from llvm git (by Sam Elliott): [RISCV] Lower llvm.trap and llvm.debugtrap Summary: Until this commit, these have lowered to a ca

svn commit: r357834 - in head: . share/mk

2020-02-12 Thread Brooks Davis
Author: brooks Date: Wed Feb 12 18:09:20 2020 New Revision: 357834 URL: https://svnweb.freebsd.org/changeset/base/357834 Log: Make the warning for deprecated NO_ variables an error. Support for NO_CTF, NO_DEBUG_FILES, NO_INSTALLLIB, NO_MAN, NO_PROFILE, and NO_WARNS as deprecated in 2014 w

  1   2   3   4   5   6   7   8   9   >