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

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

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

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_

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

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

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: r359023 - stable/12/sys/net

2020-03-16 Thread Brooks Davis
Author: brooks Date: Mon Mar 16 23:09:25 2020 New Revision: 359023 URL: https://svnweb.freebsd.org/changeset/base/359023 Log: MFC r358592: Expose ifr_buffer_get_(buffer|length) outside if.c. This is a preparatory commit for D23933. Reviewed by: jhb Obtained from:CheriBS

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

2020-03-16 Thread Brooks Davis
Author: brooks Date: Mon Mar 16 23:15:20 2020 New Revision: 359024 URL: https://svnweb.freebsd.org/changeset/base/359024 Log: MFC r358592: Expose ifr_buffer_get_(buffer|length) outside if.c. This is a preparatory commit for D23933. Reviewed by: jhb Obtained from:CheriBS

svn commit: r359025 - stable/12/sys/dev/bnxt

2020-03-16 Thread Brooks Davis
Author: brooks Date: Mon Mar 16 23:20:56 2020 New Revision: 359025 URL: https://svnweb.freebsd.org/changeset/base/359025 Log: MFC r358630: bnxt(4): Fix ioctls when user addresses are inaccessable. Check copyin's error code (differ adding copyout checks at this time). Don't directl

svn commit: r359026 - stable/11/sys/dev/bnxt

2020-03-16 Thread Brooks Davis
Author: brooks Date: Mon Mar 16 23:29:03 2020 New Revision: 359026 URL: https://svnweb.freebsd.org/changeset/base/359026 Log: MFC r358630: bnxt(4): Fix ioctls when user addresses are inaccessable. Check copyin's error code (differ adding copyout checks at this time). Don't directl

svn commit: r359027 - stable/12/sys/dev/mxge

2020-03-16 Thread Brooks Davis
Author: brooks Date: Mon Mar 16 23:36:32 2020 New Revision: 359027 URL: https://svnweb.freebsd.org/changeset/base/359027 Log: MFC r358593: Use ifr_data_get_ptr() consistently. Obtained from:CheriBSD Sponsored by: DARPA Modified: stable/12/sys/dev/mxge/if_mxge.c Directory P

svn commit: r359039 - in vendor/lutok: . dist dist/admin dist/examples dist/include dist/include/lutok dist/m4

2020-03-17 Thread Brooks Davis
Author: brooks Date: Tue Mar 17 16:48:52 2020 New Revision: 359039 URL: https://svnweb.freebsd.org/changeset/base/359039 Log: Import lutok, a Lightweight C++ API for Lua. This a snapshot of the latest version with git hash: 8f8eaef. Obtained from:https://github.com/jmmv/lutok

svn commit: r359040 - vendor/lutok/0.4-8f8eaef

2020-03-17 Thread Brooks Davis
Author: brooks Date: Tue Mar 17 16:49:59 2020 New Revision: 359040 URL: https://svnweb.freebsd.org/changeset/base/359040 Log: Tag import of lutok-0.4 plus accumulated changes at 8f8eaef. Added: vendor/lutok/0.4-8f8eaef/ - copied from r359039, vendor/lutok/dist/ __

svn commit: r359041 - svnadmin/conf

2020-03-17 Thread Brooks Davis
Author: brooks Date: Tue Mar 17 16:56:32 2020 New Revision: 359041 URL: https://svnweb.freebsd.org/changeset/base/359041 Log: Add to list for kyua import. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf ===

svn commit: r359042 - in vendor/kyua: . dist dist/admin dist/bootstrap dist/cli dist/doc dist/drivers dist/engine dist/examples dist/integration dist/integration/helpers dist/m4 dist/misc dist/mode...

2020-03-17 Thread Brooks Davis
Author: brooks Date: Tue Mar 17 16:56:50 2020 New Revision: 359042 URL: https://svnweb.freebsd.org/changeset/base/359042 Log: Import the kyua testing framework for infrastructure software Imported at 0.13 plus assumulated changes to git hash a685f91. Obtained from:https://githu

svn commit: r359043 - vendor/kyua/0.13-a685f91

2020-03-17 Thread Brooks Davis
Author: brooks Date: Tue Mar 17 16:58:13 2020 New Revision: 359043 URL: https://svnweb.freebsd.org/changeset/base/359043 Log: Tag import of kyua 0.13 plus changes to a685f91. Sponsored by: DARPA Added: vendor/kyua/0.13-a685f91/ - copied from r359042, vendor/kyua/dist/ __

svn commit: r359044 - svnadmin/conf

2020-03-17 Thread Brooks Davis
Author: brooks Date: Tue Mar 17 17:03:24 2020 New Revision: 359044 URL: https://svnweb.freebsd.org/changeset/base/359044 Log: Import complete. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf ===

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

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: r351132 - in head/sys: dev/md sys

2019-08-16 Thread Brooks Davis
Author: brooks Date: Fri Aug 16 18:57:32 2019 New Revision: 351132 URL: https://svnweb.freebsd.org/changeset/base/351132 Log: md(4): remove the unused and unusable MDIOCLIST ioctl. It is unused, the ABI was broken in r322969, and it is broken by design (more than MDNPAD md devices can exi

svn commit: r351251 - head/libexec/rtld-elf

2019-08-20 Thread Brooks Davis
Author: brooks Date: Tue Aug 20 16:07:17 2019 New Revision: 351251 URL: https://svnweb.freebsd.org/changeset/base/351251 Log: Remove some compatability with Seventh Edition UNIX realloc(). In Seventh Edition UNIX, the last pointer passed to free() was guaranteed to not actually have been

svn commit: r351389 - head/sys/kern

2019-08-22 Thread Brooks Davis
Author: brooks Date: Thu Aug 22 10:21:07 2019 New Revision: 351389 URL: https://svnweb.freebsd.org/changeset/base/351389 Log: Reorganise conditionals to reduce duplication. No functional change. Obtained from:CheriBSD MFC after:3 days Sponsored by: DARPA, AFRL Modified

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

2019-08-28 Thread Brooks Davis
Author: brooks Date: Wed Aug 28 07:37:34 2019 New Revision: 351564 URL: https://svnweb.freebsd.org/changeset/base/351564 Log: MFC r339624: Remove the need for backslashes in syscalls.master. Join non-special lines together until we hit a line containing a '}' character. This allows t

svn commit: r351565 - in stable/12/sys: amd64/linux amd64/linux32 arm64/linux compat/freebsd32 i386/ibcs2 i386/linux kern sys

2019-08-28 Thread Brooks Davis
Author: brooks Date: Wed Aug 28 07:43:31 2019 New Revision: 351565 URL: https://svnweb.freebsd.org/changeset/base/351565 Log: Regenerate to add @generated tag in generated files. This is a manual merge of r347230. Modified: stable/12/sys/amd64/linux/linux_proto.h stable/12/sys/amd64/li

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

2019-08-28 Thread Brooks Davis
Author: brooks Date: Wed Aug 28 07:53:10 2019 New Revision: 351566 URL: https://svnweb.freebsd.org/changeset/base/351566 Log: MFC r340424: Use the main capabilities.conf for freebsd32. Allow the location of capabilities.conf to be configured. Also allow a per-abi syscall prefix to

svn commit: r351567 - in stable/12/sys: amd64/linux amd64/linux32 arm64/linux compat/cloudabi32 compat/cloudabi64 compat/freebsd32 i386/linux kern

2019-08-28 Thread Brooks Davis
Author: brooks Date: Wed Aug 28 08:05:16 2019 New Revision: 351567 URL: https://svnweb.freebsd.org/changeset/base/351567 Log: MFC r348446: makesyscalls.sh: always use absolute path for syscalls.conf syscalls.conf is included using "." which per the Open Group: If file does not co

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

2019-08-28 Thread Brooks Davis
Author: brooks Date: Wed Aug 28 08:09:10 2019 New Revision: 351568 URL: https://svnweb.freebsd.org/changeset/base/351568 Log: MFC r351389: Reorganise conditionals to reduce duplication. No functional change. Obtained from:CheriBSD Sponsored by: DARPA, AFRL Modified: s

svn commit: r351690 - head/libexec/rtld-elf

2019-09-02 Thread Brooks Davis
Author: brooks Date: Mon Sep 2 08:03:29 2019 New Revision: 351690 URL: https://svnweb.freebsd.org/changeset/base/351690 Log: Remove remnants of optimization for > pagesize allocations. In the past, this allocator seems to have allocated things larger than a page seperately. Much of this

Re: svn commit: r351729 - in head: lib/libc/gen lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2019-09-03 Thread Brooks Davis
On Tue, Sep 03, 2019 at 07:35:05AM -0400, Shawn Webb wrote: > Hey Mateusz, > > On Tue, Sep 03, 2019 at 04:16:31AM +, Mateusz Guzik wrote: > > Author: mjg > > Date: Tue Sep 3 04:16:30 2019 > > New Revision: 351729 > > URL: https://svnweb.freebsd.org/changeset/base/351729 > > > > Log: > > Ad

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

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

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 tried

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 W

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 W

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

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

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

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

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

<    9   10   11   12   13   14