svn commit: r335781 - stable/10/contrib/smbfs/lib/smb

2018-06-28 Thread Brooks Davis
Author: brooks Date: Thu Jun 28 21:23:05 2018 New Revision: 335781 URL: https://svnweb.freebsd.org/changeset/base/335781 Log: MFC r335641: Fix a stack overflow in mount_smbfs when hostname is too long. The local hostname was blindly copied into the to the nn_name array. When the

svn commit: r335774 - stable/11/contrib/smbfs/lib/smb

2018-06-28 Thread Brooks Davis
Author: brooks Date: Thu Jun 28 20:33:12 2018 New Revision: 335774 URL: https://svnweb.freebsd.org/changeset/base/335774 Log: MFC r335641: Fix a stack overflow in mount_smbfs when hostname is too long. The local hostname was blindly copied into the to the nn_name array. When the

svn commit: r335797 - head/share/mk

2018-06-29 Thread Brooks Davis
Author: brooks Date: Fri Jun 29 16:07:56 2018 New Revision: 335797 URL: https://svnweb.freebsd.org/changeset/base/335797 Log: Correct link metadata created when installing with -DNO_ROOT. Explicitly specify owner/group/mode metadata when creating links. More consistently use

svn commit: r339624 - head/sys/kern

2018-10-22 Thread Brooks Davis
Author: brooks Date: Mon Oct 22 22:13:00 2018 New Revision: 339624 URL: https://svnweb.freebsd.org/changeset/base/339624 Log: Remove the need for backslashes in syscalls.master. Join non-special lines together until we hit a line containing a '}' character. This allows the function

svn commit: r339625 - in head/sys: arm/include arm64/include mips/include powerpc/include riscv/include sparc64/include sys x86/include

2018-10-22 Thread Brooks Davis
Author: brooks Date: Mon Oct 22 22:24:32 2018 New Revision: 339625 URL: https://svnweb.freebsd.org/changeset/base/339625 Log: Consolidate identical ELF auxargs type defintions. All platforms except powerpc use the same values and powerpc shares a majority of them. Go ahead and

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

2018-10-22 Thread Brooks Davis
Author: brooks Date: Mon Oct 22 21:50:43 2018 New Revision: 339622 URL: https://svnweb.freebsd.org/changeset/base/339622 Log: Remove __restrict qualifiers from syscalls.master. The restruct qualifier is intended to aid code generation in the compiler, but the only access to storage

svn commit: r339623 - head/sys/sys

2018-10-22 Thread Brooks Davis
Author: brooks Date: Mon Oct 22 21:51:59 2018 New Revision: 339623 URL: https://svnweb.freebsd.org/changeset/base/339623 Log: Regen after r339622. Note: changes to freebsd32 syscalls.master impacted no generated files. Modified: head/sys/sys/sysproto.h Modified: head/sys/sys/sysproto.h

svn commit: r339703 - in head: share/man/man4 share/man/man4/man4.i386 share/man/man4/man4.powerpc sys/dev/ae sys/dev/bm sys/dev/cs sys/dev/de sys/dev/dme sys/dev/ed sys/dev/ep sys/dev/ex sys/dev/f...

2018-10-24 Thread Brooks Davis
Author: brooks Date: Thu Oct 25 04:10:41 2018 New Revision: 339703 URL: https://svnweb.freebsd.org/changeset/base/339703 Log: Deprecate a number of less used 10 and 10/100 Ethernet devices. The current deprecated list is: ae, bm, cs, de, dme, ed, ep, ex, fe, pcn, sf, sn, tl, tx, txp, vx,

Re: svn commit: r339703 - in head: share/man/man4 share/man/man4/man4.i386 share/man/man4/man4.powerpc sys/dev/ae sys/dev/bm sys/dev/cs sys/dev/de sys/dev/dme sys/dev/ed sys/dev/ep sys/dev/ex sys/dev/

2018-10-24 Thread Brooks Davis
On Thu, Oct 25, 2018 at 04:10:41AM +, Brooks Davis wrote: > Author: brooks > Date: Thu Oct 25 04:10:41 2018 > New Revision: 339703 > URL: https://svnweb.freebsd.org/changeset/base/339703 > > Log: > Deprecate a number of less used 10 and 10/100 Ethernet devices.

svn commit: r339958 - head/sys/kern

2018-10-31 Thread Brooks Davis
Author: brooks Date: Wed Oct 31 16:17:45 2018 New Revision: 339958 URL: https://svnweb.freebsd.org/changeset/base/339958 Log: Reformat syscalls.master for better readability. This takes advantage of two recents changes to makesyscalls.sh: r328598: Permit a range of syscall numbers for

svn commit: r339779 - in head/sys: compat/freebsd32 fs/devfs kern sys

2018-10-26 Thread Brooks Davis
Author: brooks Date: Fri Oct 26 17:59:25 2018 New Revision: 339779 URL: https://svnweb.freebsd.org/changeset/base/339779 Log: Move 32-bit compat support for FIODGNAME to the right place. ioctl(2) commands only have meaning in the context of a file descriptor so translating them in the

svn commit: r339735 - in stable/12: share/man/man4 share/man/man4/man4.i386 share/man/man4/man4.powerpc sys/dev/ae sys/dev/bm sys/dev/cs sys/dev/de sys/dev/dme sys/dev/ed sys/dev/ep sys/dev/ex sys/...

2018-10-25 Thread Brooks Davis
Author: brooks Date: Thu Oct 25 17:00:39 2018 New Revision: 339735 URL: https://svnweb.freebsd.org/changeset/base/339735 Log: MFC r339703: Deprecate a number of less used 10 and 10/100 Ethernet devices. The current deprecated list is: ae, bm, cs, de, dme, ed, ep, ex, fe, pcn, sf,

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

2018-11-01 Thread Brooks Davis
Author: brooks Date: Thu Nov 1 23:06:50 2018 New Revision: 340034 URL: https://svnweb.freebsd.org/changeset/base/340034 Log: Use mode_t when the documented signature does. This is more clear and produces better results when generating function stubs from syscalls.master. Reviewed

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

2018-11-01 Thread Brooks Davis
Author: brooks Date: Thu Nov 1 23:10:53 2018 New Revision: 340035 URL: https://svnweb.freebsd.org/changeset/base/340035 Log: Regent after r340034: Use mode_t when the documented signature does. Sponsored by: DARPA, AFRL Differential Revision:https://reviews.freebsd.org/D17784

svn commit: r340055 - in head: share/man/man9 sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/fs/ext2fs sys/fs/fuse sys/fs/nandfs sys/fs/nfs sys/fs/nfsclient sys/fs/tmpfs sys/kern sys/sys sys/uf...

2018-11-02 Thread Brooks Davis
Author: brooks Date: Fri Nov 2 14:42:36 2018 New Revision: 340055 URL: https://svnweb.freebsd.org/changeset/base/340055 Log: Make vop_symlink take a const target path. This will enable callers to take const paths as part of syscall decleration improvements. Where doing so is easy

svn commit: r340080 - in head/sys: compat/freebsd32 dev/filemon kern security/audit sys

2018-11-02 Thread Brooks Davis
Author: brooks Date: Fri Nov 2 20:50:22 2018 New Revision: 340080 URL: https://svnweb.freebsd.org/changeset/base/340080 Log: Add const to input-only char * arguments. These arguments are mostly paths handled by NAMEI*() macros which already take const char * arguments. This change

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

2018-11-02 Thread Brooks Davis
Author: brooks Date: Fri Nov 2 20:56:19 2018 New Revision: 340081 URL: https://svnweb.freebsd.org/changeset/base/340081 Log: Regen after r340080: Add const to input-only char * arguments. Sponsored by: DARPA, AFRL Differential Revision:https://reviews.freebsd.org/D17812

Re: svn commit: r340055 - in head: share/man/man9 sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/fs/ext2fs sys/fs/fuse sys/fs/nandfs sys/fs/nfs sys/fs/nfsclient sys/fs/tmpfs sys/kern sys/sys sys/u

2018-11-02 Thread Brooks Davis
On Fri, Nov 02, 2018 at 04:49:00PM +0200, Andriy Gapon wrote: > On 02/11/2018 16:42, Brooks Davis wrote: > > Author: brooks > > Date: Fri Nov 2 14:42:36 2018 > > New Revision: 340055 > > URL: https://svnweb.freebsd.org/changeset/base/340055 > > > > Log: >

svn commit: r340199 - in head/sys: compat/freebsd32 compat/linux fs/nfsclient kern sys

2018-11-06 Thread Brooks Davis
Author: brooks Date: Tue Nov 6 18:46:38 2018 New Revision: 340199 URL: https://svnweb.freebsd.org/changeset/base/340199 Log: Use declared types for caddr_t arguments. Leave ptrace(2) alone for the moment as it's defined to take a caddr_t. Reviewed by: kib Obtained from:

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

2018-11-06 Thread Brooks Davis
Author: brooks Date: Tue Nov 6 18:47:29 2018 New Revision: 340200 URL: https://svnweb.freebsd.org/changeset/base/340200 Log: Regen after r340199: Use declared types for caddr_t arguments. Sponsored by: DARPA, AFRL Differential Revision:https://reviews.freebsd.org/D17852

svn commit: r340169 - head/usr.bin/elfdump

2018-11-05 Thread Brooks Davis
Author: brooks Date: Mon Nov 5 22:53:50 2018 New Revision: 340169 URL: https://svnweb.freebsd.org/changeset/base/340169 Log: elfdump: Add -E to test if a file is an ELF binary. This is intended to replace potentially unreliable checks like: file -b $1 | grep -q '^ELF ..-bit .SB

svn commit: r340242 - head

2018-11-07 Thread Brooks Davis
Author: brooks Date: Thu Nov 8 00:35:00 2018 New Revision: 340242 URL: https://svnweb.freebsd.org/changeset/base/340242 Log: Add a top-level make target to rebuild all sysent files. The sysent target is useful when changing makesyscalls.sh, when making paired changes to syscalls.master

svn commit: r340303 - in head/sys: compat/freebsd32 sys

2018-11-09 Thread Brooks Davis
Author: brooks Date: Fri Nov 9 21:02:07 2018 New Revision: 340303 URL: https://svnweb.freebsd.org/changeset/base/340303 Log: Regen after r340302: Fix freebsd32 mknod(at). Sponsored by: DARPA, AFRL Differential Revision:https://reviews.freebsd.org/D17928 Modified:

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

2018-11-09 Thread Brooks Davis
Author: brooks Date: Fri Nov 9 21:01:16 2018 New Revision: 340302 URL: https://svnweb.freebsd.org/changeset/base/340302 Log: Fix freebsd32 mknod(at). As dev_t is now a 64-bit integer, it requires special handling as a system call argument. 64-bit arguments are split between two 64-bit

svn commit: r340272 - head/sys/compat/freebsd32

2018-11-08 Thread Brooks Davis
Author: brooks Date: Fri Nov 9 00:21:58 2018 New Revision: 340272 URL: https://svnweb.freebsd.org/changeset/base/340272 Log: Make __sysctl follow the freebsd32_foo convention. Sponsored by: DARPA, AFRL Modified: head/sys/compat/freebsd32/freebsd32_misc.c

svn commit: r340275 - head/sys/compat/freebsd32

2018-11-08 Thread Brooks Davis
Author: brooks Date: Fri Nov 9 00:46:50 2018 New Revision: 340275 URL: https://svnweb.freebsd.org/changeset/base/340275 Log: Regen after r340274: Make freebsd32_utmx_op follow the freebsd32_foo convention. Modified: head/sys/compat/freebsd32/freebsd32_proto.h

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

2018-11-08 Thread Brooks Davis
Author: brooks Date: Fri Nov 9 00:46:10 2018 New Revision: 340274 URL: https://svnweb.freebsd.org/changeset/base/340274 Log: Make freebsd32_umtx_op follow the freebsd32_foo convention. Sponsored by: DARPA, AFRL Modified: head/sys/compat/freebsd32/syscalls.master

svn commit: r340273 - head/sys/compat/freebsd32

2018-11-08 Thread Brooks Davis
Author: brooks Date: Fri Nov 9 00:22:45 2018 New Revision: 340273 URL: https://svnweb.freebsd.org/changeset/base/340273 Log: Regen after 340272: Make __sysctl follow the freebsd32_foo convention Sponsored by: DARPA, AFRL Modified: head/sys/compat/freebsd32/freebsd32_proto.h

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

2018-11-13 Thread Brooks Davis
Author: brooks Date: Wed Nov 14 00:46:02 2018 New Revision: 340424 URL: https://svnweb.freebsd.org/changeset/base/340424 Log: Use the main capabilities.conf for freebsd32. Allow the location of capabilities.conf to be configured. Also allow a per-abi syscall prefix to be configured

svn commit: r340172 - head/sys/kern

2018-11-05 Thread Brooks Davis
Author: brooks Date: Tue Nov 6 00:09:43 2018 New Revision: 340172 URL: https://svnweb.freebsd.org/changeset/base/340172 Log: Fix a couple indentation errors in r339958. Modified: head/sys/kern/syscalls.master Modified: head/sys/kern/syscalls.master

svn commit: r340201 - head/sys/kern

2018-11-06 Thread Brooks Davis
Author: brooks Date: Tue Nov 6 20:45:15 2018 New Revision: 340201 URL: https://svnweb.freebsd.org/changeset/base/340201 Log: Update some comments made obsolete by recent commits. Modified: head/sys/kern/syscalls.master Modified: head/sys/kern/syscalls.master

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

2018-11-07 Thread Brooks Davis
Author: brooks Date: Wed Nov 7 16:55:04 2018 New Revision: 340221 URL: https://svnweb.freebsd.org/changeset/base/340221 Log: makesyscalls.sh: allow pointer return types. The previous code required that the return type be a single word. This allows it to be a pointer without using a

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

2018-11-07 Thread Brooks Davis
Author: brooks Date: Wed Nov 7 16:56:07 2018 New Revision: 340222 URL: https://svnweb.freebsd.org/changeset/base/340222 Log: Regen after r340221: allow pointer return types. Sponsored by: DARPA, AFRL Differential Revision:https://reviews.freebsd.org/D17873 Modified:

Re: svn commit: r340242 - head

2018-11-08 Thread Brooks Davis
On Thu, Nov 08, 2018 at 06:23:55AM +, Bjoern A. Zeeb wrote: > On 8 Nov 2018, at 0:35, Brooks Davis wrote: > > > Author: brooks > > Date: Thu Nov 8 00:35:00 2018 > > New Revision: 340242 > > URL: https://svnweb.freebsd.org/changeset/base/340242 > > > &

svn commit: r340295 - head/sys/compat/freebsd32

2018-11-09 Thread Brooks Davis
Author: brooks Date: Fri Nov 9 18:06:25 2018 New Revision: 340295 URL: https://svnweb.freebsd.org/changeset/base/340295 Log: Regen after r340294: Fix a number of bugs in freebsd32's capabilities.conf. Sponsored by: DARPA, AFRL Differential Revision:

Re: svn commit: r340294 - head/sys/compat/freebsd32

2018-11-09 Thread Brooks Davis
On Fri, Nov 09, 2018 at 06:03:01PM +, Brooks Davis wrote: > Author: brooks > Date: Fri Nov 9 18:03:01 2018 > New Revision: 340294 > URL: https://svnweb.freebsd.org/changeset/base/340294 > > Log: > Fix a number of bugs in freebsd32's capabilities.conf. > >

svn commit: r340379 - stable/12/sys/compat/freebsd32

2018-11-12 Thread Brooks Davis
Author: brooks Date: Mon Nov 12 18:23:51 2018 New Revision: 340379 URL: https://svnweb.freebsd.org/changeset/base/340379 Log: Regen after r340377: MFC r340272, r340274, r340294 r340272: Make __sysctl follow the freebsd32_foo convention. r340274: Make freebsd32_umtx_op follow the

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

2018-11-12 Thread Brooks Davis
Author: brooks Date: Mon Nov 12 18:21:17 2018 New Revision: 340378 URL: https://svnweb.freebsd.org/changeset/base/340378 Log: MFC r340272, r340274, r340294 r340272: Make __sysctl follow the freebsd32_foo convention. Sponsored by: DARPA, AFRL r340274: Make freebsd32_umtx_op

Re: svn commit: r340294 - head/sys/compat/freebsd32

2018-11-12 Thread Brooks Davis
On Sat, Nov 10, 2018 at 12:18:13AM -0800, Eitan Adler wrote: > On Fri, 9 Nov 2018 at 10:19, Brooks Davis wrote: > > > > On Fri, Nov 09, 2018 at 06:03:01PM +0000, Brooks Davis wrote: > > > Author: brooks > > > Date: Fri Nov 9 18:03:01 2018 > >

svn commit: r340371 - head

2018-11-12 Thread Brooks Davis
Author: brooks Date: Mon Nov 12 16:55:20 2018 New Revision: 340371 URL: https://svnweb.freebsd.org/changeset/base/340371 Log: Use ...-freebsd13.0 in -target strings. Reported by: Mark Millard Modified: head/Makefile.libcompat Modified: head/Makefile.libcompat

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

2018-11-12 Thread Brooks Davis
Author: brooks Date: Mon Nov 12 21:51:36 2018 New Revision: 340388 URL: https://svnweb.freebsd.org/changeset/base/340388 Log: MFC r340302: Fix freebsd32 mknod(at). As dev_t is now a 64-bit integer, it requires special handling as a system call argument. 64-bit arguments are split

svn commit: r340389 - in stable/12/sys: compat/freebsd32 sys

2018-11-12 Thread Brooks Davis
Author: brooks Date: Mon Nov 12 21:53:47 2018 New Revision: 340389 URL: https://svnweb.freebsd.org/changeset/base/340389 Log: Regen after r340388: MFC r340302: Fix freebsd32 mknod(at). Approved by: re (gjb, implicit) Sponsored by: DARPA, AFRL Differential Revision:

svn commit: r340294 - head/sys/compat/freebsd32

2018-11-09 Thread Brooks Davis
Author: brooks Date: Fri Nov 9 18:03:01 2018 New Revision: 340294 URL: https://svnweb.freebsd.org/changeset/base/340294 Log: Fix a number of bugs in freebsd32's capabilities.conf. Bugs range from failure to update after changing syscall implementaion names to using the wrong name.

svn commit: r339184 - head/include

2018-10-04 Thread Brooks Davis
Author: brooks Date: Thu Oct 4 21:55:58 2018 New Revision: 339184 URL: https://svnweb.freebsd.org/changeset/base/339184 Log: Reduce NL_ARGMAX to 4096 to match Linux. NL_ARGMAX is the maximum number of positional arguments supported by printf(3). Prior to r308145 it was declared as 99

svn commit: r339186 - in head/sys: compat/freebsd32 fs/devfs

2018-10-04 Thread Brooks Davis
Author: brooks Date: Thu Oct 4 23:55:03 2018 New Revision: 339186 URL: https://svnweb.freebsd.org/changeset/base/339186 Log: Revert r339174: Move 32-bit compat support for FIODGNAME to the right place. A case was missed in this commit which breaks sshing into a 32-bit sshd on a 64-bit

svn commit: r339174 - in head/sys: compat/freebsd32 fs/devfs

2018-10-03 Thread Brooks Davis
Author: brooks Date: Wed Oct 3 20:39:48 2018 New Revision: 339174 URL: https://svnweb.freebsd.org/changeset/base/339174 Log: Move 32-bit compat support for FIODGNAME to the right place. ioctl(2) commands only have meaning in the context of a file descriptor so translating them in the

svn commit: r339245 - stable/11/usr.bin/bmake

2018-10-08 Thread Brooks Davis
Author: brooks Date: Mon Oct 8 22:38:28 2018 New Revision: 339245 URL: https://svnweb.freebsd.org/changeset/base/339245 Log: MFC r338925: Don't override LDFLAGS set in bsd.cpu.mk. This is a direct commit to a generated file. Simon plans to fix this upstream before the next import.

svn commit: r339272 - head

2018-10-09 Thread Brooks Davis
Author: brooks Date: Tue Oct 9 22:22:15 2018 New Revision: 339272 URL: https://svnweb.freebsd.org/changeset/base/339272 Log: Don't include the broken riscv64sf TARGET_ARCH in universe. riscv64sf has been broken due to duplicate symbols for months and degrades the quality of universe

svn commit: r339101 - in head/sys: cam/scsi compat/freebsd32

2018-10-02 Thread Brooks Davis
Author: brooks Date: Tue Oct 2 23:23:56 2018 New Revision: 339101 URL: https://svnweb.freebsd.org/changeset/base/339101 Log: Move 32-bit compat support for CDIOREADTOCENTRYS to the right place. ioctl(2) commands only have meaning in the context of a file descriptor so translating them

svn commit: r339269 - in head/sys: amd64/linux amd64/linux32 compat/cloudabi32 compat/cloudabi64 i386/linux

2018-10-09 Thread Brooks Davis
Author: brooks Date: Tue Oct 9 20:42:17 2018 New Revision: 339269 URL: https://svnweb.freebsd.org/changeset/base/339269 Log: Regenerated assorted syscall related files after: - r327895: Implement 'domainset'... - r329876: Use linux types for linux-specific syscalls Diff generated

svn commit: r338925 - head/usr.bin/bmake

2018-09-25 Thread Brooks Davis
Author: brooks Date: Tue Sep 25 15:25:42 2018 New Revision: 338925 URL: https://svnweb.freebsd.org/changeset/base/338925 Log: Don't override LDFLAGS set in bsd.cpu.mk. This is a direct commit to a generated file. Simon plans to fix this upstream before the next import. PR:

svn commit: r338860 - in head/gnu/usr.bin: binutils/as binutils/ld binutils/libbinutils binutils/libiberty cc/libiberty gdb/arch/amd64 gdb/arch/arm gdb/arch/i386 gdb/arch/mips gdb/arch/powerpc gdb/...

2018-09-21 Thread Brooks Davis
Author: brooks Date: Fri Sep 21 17:44:05 2018 New Revision: 338860 URL: https://svnweb.freebsd.org/changeset/base/338860 Log: Disable sbrk() use in GNU tools. We're studing the possibility of deprecating sbrk(). To make it easier we're removing unnecessicary uses in the base system.

svn commit: r338990 - in head/sys: compat/freebsd32 dev/pci

2018-09-27 Thread Brooks Davis
Author: brooks Date: Thu Sep 27 21:08:32 2018 New Revision: 338990 URL: https://svnweb.freebsd.org/changeset/base/338990 Log: Centralize compat support for PCIOCGETCONF. The pre-7.x compat for both native and 32-bit code was already in pci_user.c. Use this infrastructure to add implement

svn commit: r343126 - stable/12/sys/sys

2019-01-17 Thread Brooks Davis
Author: brooks Date: Thu Jan 17 23:22:56 2019 New Revision: 343126 URL: https://svnweb.freebsd.org/changeset/base/343126 Log: MFC r342398: Enable sys/random.h #include from C++ And bump __FreeBSD_version, just in case. PR: 234180 Submitted by: Ralf van der Enden

svn commit: r343161 - in head: include/protocols libexec/talkd usr.bin/talk

2019-01-18 Thread Brooks Davis
Author: brooks Date: Fri Jan 18 21:30:06 2019 New Revision: 343161 URL: https://svnweb.freebsd.org/changeset/base/343161 Log: Use a private definition of osockaddr rather then relying on type namespace polution in sys/socket.h. Also remove support for operation on 4.3BSD. PR:

svn commit: r343162 - head/sys/netinet

2019-01-18 Thread Brooks Davis
Author: brooks Date: Fri Jan 18 21:46:38 2019 New Revision: 343162 URL: https://svnweb.freebsd.org/changeset/base/343162 Log: Make SIFTR work again after r342125 (D18443). Correct a logic error. Only disable when already enabled or enable when disabled. Submitted by: Richard

svn commit: r343273 - stable/11/sys/netinet

2019-01-21 Thread Brooks Davis
Author: brooks Date: Mon Jan 21 19:33:05 2019 New Revision: 343273 URL: https://svnweb.freebsd.org/changeset/base/343273 Log: MFC r343162: Make SIFTR work again after r342125 (D18443). Correct a logic error. Only disable when already enabled or enable when disabled.

svn commit: r343272 - stable/12/sys/netinet

2019-01-21 Thread Brooks Davis
Author: brooks Date: Mon Jan 21 19:22:02 2019 New Revision: 343272 URL: https://svnweb.freebsd.org/changeset/base/343272 Log: MFC r343162: Make SIFTR work again after r342125 (D18443). Correct a logic error. Only disable when already enabled or enable when disabled.

svn commit: r342189 - in stable/11/sys/netinet: . cc

2018-12-18 Thread Brooks Davis
Author: brooks Date: Tue Dec 18 09:16:04 2018 New Revision: 342189 URL: https://svnweb.freebsd.org/changeset/base/342189 Log: Partial MFC of r342125: Fix bugs in plugable CC algorithm and siftr sysctls. Use the sysctl_handle_int() handler to write out the old value and read the new

svn commit: r342188 - in stable/12/sys/netinet: . cc

2018-12-18 Thread Brooks Davis
Author: brooks Date: Tue Dec 18 09:13:50 2018 New Revision: 342188 URL: https://svnweb.freebsd.org/changeset/base/342188 Log: MFC r342125: Fix bugs in plugable CC algorithm and siftr sysctls. Use the sysctl_handle_int() handler to write out the old value and read the new value into

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

2018-12-18 Thread Brooks Davis
Author: brooks Date: Tue Dec 18 12:44:38 2018 New Revision: 342190 URL: https://svnweb.freebsd.org/changeset/base/342190 Log: const poison the `new` pointer of __sysctl. Reviewed by: kib Obtained from:CheriBSD Sponsored by: DARPA, AFRL Differential Revision:

svn commit: r342125 - in head/sys/netinet: . cc

2018-12-15 Thread Brooks Davis
Author: brooks Date: Sat Dec 15 15:06:22 2018 New Revision: 342125 URL: https://svnweb.freebsd.org/changeset/base/342125 Log: Fix bugs in plugable CC algorithm and siftr sysctls. Use the sysctl_handle_int() handler to write out the old value and read the new value into a temporary

svn commit: r341263 - in head/sys: compat/cloudabi32 compat/cloudabi64 compat/freebsd32 kern sys

2018-11-29 Thread Brooks Davis
Author: brooks Date: Thu Nov 29 21:00:56 2018 New Revision: 341263 URL: https://svnweb.freebsd.org/changeset/base/341263 Log: Add helper functions to copy strings into struct image_args. Given a zeroed struct image_args with an allocated buf member, exec_args_add_fname() must be called

Re: svn commit: r341327 - head/sys/dev/sfxge

2018-11-30 Thread Brooks Davis
On Fri, Nov 30, 2018 at 09:15:39PM +0300, Andrew Rybchenko wrote: > On 30.11.2018 20:30, John Baldwin wrote: > > On 11/29/18 11:11 PM, Andrew Rybchenko wrote: > >> Author: arybchik > >> Date: Fri Nov 30 07:11:05 2018 > >> New Revision: 341327 > >> URL:

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

2018-12-04 Thread Brooks Davis
Author: brooks Date: Tue Dec 4 16:49:14 2018 New Revision: 341475 URL: https://svnweb.freebsd.org/changeset/base/341475 Log: Regen after r341474: Normalize COMPAT_43 syscall declarations. Modified: head/sys/kern/init_sysent.c head/sys/sys/sysproto.h Modified: head/sys/kern/init_sysent.c

svn commit: r341474 - in head/sys: kern vm

2018-12-04 Thread Brooks Davis
Author: brooks Date: Tue Dec 4 16:48:47 2018 New Revision: 341474 URL: https://svnweb.freebsd.org/changeset/base/341474 Log: Normalize COMPAT_43 syscall declarations. Have ogetkerninfo, ogetpagesize, ogethostname, osethostname, and oaccept declare o_args structs rather than non-compat

svn commit: r341449 - head/sys/kern

2018-12-03 Thread Brooks Davis
Author: brooks Date: Tue Dec 4 00:15:47 2018 New Revision: 341449 URL: https://svnweb.freebsd.org/changeset/base/341449 Log: Remove a needlessly clever hack to start init with sys_exec(). Construct a struct image_args with the help of new exec_args_*() helper functions and call

svn commit: r341450 - head/tools/KSE

2018-12-03 Thread Brooks Davis
Author: brooks Date: Tue Dec 4 00:22:08 2018 New Revision: 341450 URL: https://svnweb.freebsd.org/changeset/base/341450 Log: Remove test for KSE (removed in 2008). Approved by: julian Deleted: head/tools/KSE/ ___ svn-src-all@freebsd.org

svn commit: r341495 - head/sys/kern

2018-12-04 Thread Brooks Davis
Author: brooks Date: Tue Dec 4 21:56:45 2018 New Revision: 341495 URL: https://svnweb.freebsd.org/changeset/base/341495 Log: Remove NOARGS from oaccept. This was in the orignal patch, but lost in a rebase. Reported by: andrew Sponsored by: DARPA, AFRL Differential Revision:

svn commit: r341509 - in head/lib/libc: amd64 arm i386 mips powerpc powerpc64 sparc64

2018-12-04 Thread Brooks Davis
Author: brooks Date: Wed Dec 5 00:46:09 2018 New Revision: 341509 URL: https://svnweb.freebsd.org/changeset/base/341509 Log: Remove MD __sys_* private symbols. No references to any of these exist in the tree. The list was also erratic with different architectures exporting different

svn commit: r341496 - head/sys/sys

2018-12-04 Thread Brooks Davis
Author: brooks Date: Tue Dec 4 21:57:26 2018 New Revision: 341496 URL: https://svnweb.freebsd.org/changeset/base/341496 Log: Regen after r341495: Remove NOARGS from oaccept. Modified: head/sys/sys/sysproto.h Modified: head/sys/sys/sysproto.h

svn commit: r341445 - head/lib/libthr/thread

2018-12-03 Thread Brooks Davis
Author: brooks Date: Mon Dec 3 22:09:23 2018 New Revision: 341445 URL: https://svnweb.freebsd.org/changeset/base/341445 Log: Remove declarations of syscalls not used in libthr. Reviewed by: kib Sponsored by: DARPA, AFRL Modified: head/lib/libthr/thread/thr_private.h Modified:

svn commit: r341604 - head/sys/kern

2018-12-05 Thread Brooks Davis
Author: brooks Date: Wed Dec 5 19:18:16 2018 New Revision: 341604 URL: https://svnweb.freebsd.org/changeset/base/341604 Log: Further simplify arguments to init. With the removal of BOOTCDROM and fastboot support, this code always passed "-s" or "--". The latter simply terminates

svn commit: r341599 - head/sys/kern

2018-12-05 Thread Brooks Davis
Author: brooks Date: Wed Dec 5 17:29:14 2018 New Revision: 341599 URL: https://svnweb.freebsd.org/changeset/base/341599 Log: Remove ifdef BOOTCDROM option to start init. When BOOTCDROM is defined (via CFLAGS as there is no config option) it causes -C to be passed to init, but our init

svn commit: r341600 - head/sys/kern

2018-12-05 Thread Brooks Davis
Author: brooks Date: Wed Dec 5 17:35:15 2018 New Revision: 341600 URL: https://svnweb.freebsd.org/changeset/base/341600 Log: Remove never enabled support for "fastboot". This has been ifdef notyet since the import of BSD 4.4 Lite Kernel Sources in r1541. Sponsored by: DARPA, AFRL

svn commit: r340657 - releng/12.0/sys/dev/pci

2018-11-19 Thread Brooks Davis
Author: brooks Date: Tue Nov 20 00:43:14 2018 New Revision: 340657 URL: https://svnweb.freebsd.org/changeset/base/340657 Log: MFS r340643: MFC r340489-r340490 r340489: Fix freebsd32 support for PCIOCGETCONF. This fixes regresssions in pciconf -l and some ports as reported on

svn commit: r340489 - head/sys/dev/pci

2018-11-16 Thread Brooks Davis
Author: brooks Date: Fri Nov 16 23:58:51 2018 New Revision: 340489 URL: https://svnweb.freebsd.org/changeset/base/340489 Log: Fix freebsd32 support for PCIOCGETCONF. This fixes regresssions in pciconf -l and some ports as reported on freebsd-current:

Re: svn commit: r338990 - in head/sys: compat/freebsd32 dev/pci

2018-11-16 Thread Brooks Davis
On Fri, Nov 16, 2018 at 11:52:09PM +0100, Jan Beich wrote: > Brooks Davis writes: > > > Author: brooks > > Date: Thu Sep 27 21:08:32 2018 > > New Revision: 338990 > > URL: https://svnweb.freebsd.org/changeset/base/338990 > > > > Log: > &

svn commit: r340490 - head/sys/dev/pci

2018-11-16 Thread Brooks Davis
Author: brooks Date: Sat Nov 17 00:03:04 2018 New Revision: 340490 URL: https://svnweb.freebsd.org/changeset/base/340490 Log: Fix stray tab. Reported by: jbeich MFC after:3 days MFC with: r340489 Sponsored by: DARPA, AFRL Differential Revision:

svn commit: r340643 - stable/12/sys/dev/pci

2018-11-19 Thread Brooks Davis
Author: brooks Date: Mon Nov 19 18:26:11 2018 New Revision: 340643 URL: https://svnweb.freebsd.org/changeset/base/340643 Log: MFC r340489-r340490 r340489: Fix freebsd32 support for PCIOCGETCONF. This fixes regresssions in pciconf -l and some ports as reported on freebsd-current:

svn commit: r341000 - stable/12

2018-11-26 Thread Brooks Davis
Author: brooks Date: Mon Nov 26 22:21:40 2018 New Revision: 341000 URL: https://svnweb.freebsd.org/changeset/base/341000 Log: Record r340273, r340275, r340295, r340303 as merged. These commits where the result of running "make sysent" and their counterparts in this branch were direct

svn commit: r342889 - head/sys/kern

2019-01-09 Thread Brooks Davis
Author: brooks Date: Wed Jan 9 17:23:59 2019 New Revision: 342889 URL: https://svnweb.freebsd.org/changeset/base/342889 Log: style(9): fix the indent of a return. Modified: head/sys/kern/vfs_syscalls.c Modified: head/sys/kern/vfs_syscalls.c

svn commit: r338751 - head/include

2018-09-18 Thread Brooks Davis
Author: brooks Date: Tue Sep 18 15:31:24 2018 New Revision: 338751 URL: https://svnweb.freebsd.org/changeset/base/338751 Log: Fix C11 and POSIX 1003.1b-1993 compliance in time.h Only expose timespec_get in C11, C++17, or BSD code. Always define struct timespect if defining timespec_get.

svn commit: r338753 - head/share/man/man5

2018-09-18 Thread Brooks Davis
Author: brooks Date: Tue Sep 18 16:16:58 2018 New Revision: 338753 URL: https://svnweb.freebsd.org/changeset/base/338753 Log: Regen after r338752. Approved by: re (gjb) Differential Revision:https://reviews.freebsd.org/D17211 Modified: head/share/man/man5/src.conf.5

svn commit: r338752 - in head: share/mk tools/build/options

2018-09-18 Thread Brooks Davis
Author: brooks Date: Tue Sep 18 16:06:24 2018 New Revision: 338752 URL: https://svnweb.freebsd.org/changeset/base/338752 Log: Only enable HyperV support by default on x86. Without this we get spurious output during boot as we try to run nonexistant HyperV scripts on non-x86 models.

Re: svn commit: r343305 - head/sys/net

2019-01-22 Thread Brooks Davis
On Tue, Jan 22, 2019 at 01:12:57PM -0500, Mark Johnston wrote: > On Tue, Jan 22, 2019 at 10:45:16AM -0700, Ian Lepore wrote: > > On Tue, 2019-01-22 at 17:39 +0000, Brooks Davis wrote: > > > Author: brooks > > > Date: Tue Jan 22 17:39:26 2019 > > > N

svn commit: r343305 - head/sys/net

2019-01-22 Thread Brooks Davis
Author: brooks Date: Tue Jan 22 17:39:26 2019 New Revision: 343305 URL: https://svnweb.freebsd.org/changeset/base/343305 Log: Rework CASE_IOC_IFGROUPREQ() to require a case before the macro. This is more compatible with formatting tools and looks more normal. Reported by: jhb (on a

Re: svn commit: r344487 - in head/sys: conf gnu/gcov

2019-02-25 Thread Brooks Davis
On Sat, Feb 23, 2019 at 09:14:00PM +, Matt Macy wrote: > Author: mmacy > Date: Sat Feb 23 21:14:00 2019 > New Revision: 344487 > URL: https://svnweb.freebsd.org/changeset/base/344487 > > Log: > gcov support > > add gcov support and export results as files in debugfs We had a brief

Re: svn commit: r344487 - in head/sys: conf gnu/gcov

2019-02-26 Thread Brooks Davis
On Mon, Feb 25, 2019 at 05:11:26PM -0800, K. Macy wrote: > > We had a brief discussion of this commit within a subset of core. This > > addition of GPLv2 code is fine as the code is easily removal to a module > > (per kmoore@) should the day come that we're read to evict all GPL code. > > I

Re: svn commit: r344487 - in head/sys: conf gnu/gcov

2019-02-26 Thread Brooks Davis
On Tue, Feb 26, 2019 at 05:52:48PM +, Brooks Davis wrote: > On Mon, Feb 25, 2019 at 05:11:26PM -0800, K. Macy wrote: > > > An additional issue is that the a warning tag was not added to > > > sys/conf/files. A warning along the lines of: > > > > > >

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

2019-03-14 Thread Brooks Davis
Author: brooks Date: Thu Mar 14 15:56:34 2019 New Revision: 345136 URL: https://svnweb.freebsd.org/changeset/base/345136 Log: Style(9): add a missing space between argument declerations. Modified: head/sys/mips/mips/vm_machdep.c Modified: head/sys/mips/mips/vm_machdep.c

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

2019-03-14 Thread Brooks Davis
Author: brooks Date: Thu Mar 14 15:55:30 2019 New Revision: 345135 URL: https://svnweb.freebsd.org/changeset/base/345135 Log: Remove an unused struct proc *p1 in cpu_fork(). The only reference to p1 after a dead store was in a comment so update the comment to refer to td1. Submitted

Re: svn commit: r344869 - head/sys/gnu/gcov

2019-03-07 Thread Brooks Davis
On Thu, Mar 07, 2019 at 03:53:48AM +, Matt Macy wrote: > Author: mmacy > Date: Thu Mar 7 03:53:48 2019 > New Revision: 344869 > URL: https://svnweb.freebsd.org/changeset/base/344869 > > Log: > add GPL text in addition to SPDX tags as requested by core > > MFC after: 1 week > >

svn commit: r344900 - head/sys/gnu/gcov

2019-03-07 Thread Brooks Davis
Author: brooks Date: Thu Mar 7 22:20:20 2019 New Revision: 344900 URL: https://svnweb.freebsd.org/changeset/base/344900 Log: Correct license boilerplate, to match the SPDX tag. The GPL-2.0 tag is a deprecated tag which means that same thing as GPL-2.0-only. Modified:

svn commit: r344901 - head/sys/gnu/gcov

2019-03-07 Thread Brooks Davis
Author: brooks Date: Thu Mar 7 22:34:45 2019 New Revision: 344901 URL: https://svnweb.freebsd.org/changeset/base/344901 Log: Correct my previous correction to the license. It now matches the text in https://spdx.org/licenses/GPL-2.0.html Modified: head/sys/gnu/gcov/gcc_4_7.c

svn commit: r343884 - head/lib/libc/stdio

2019-02-07 Thread Brooks Davis
Author: brooks Date: Thu Feb 7 23:17:44 2019 New Revision: 343884 URL: https://svnweb.freebsd.org/changeset/base/343884 Log: GC a historical artifact. Back in 1993, the fgetln (then fgetline) interface was changed to not return a C string. The change was accomplished by ifdefing out

svn commit: r344262 - stable/12/sbin/mdmfs

2019-02-18 Thread Brooks Davis
Author: brooks Date: Mon Feb 18 18:44:20 2019 New Revision: 344262 URL: https://svnweb.freebsd.org/changeset/base/344262 Log: MFC r344023: mdmfs: Fix many bugs in automatic md(4) creation. This code allocated a correctly sized buffer, read past the end of the source buffer, writing

svn commit: r344263 - stable/11/sbin/mdmfs

2019-02-18 Thread Brooks Davis
Author: brooks Date: Mon Feb 18 18:57:52 2019 New Revision: 344263 URL: https://svnweb.freebsd.org/changeset/base/344263 Log: MFC r344023: mdmfs: Fix many bugs in automatic md(4) creation. This code allocated a correctly sized buffer, read past the end of the source buffer, writing

svn commit: r344023 - head/sbin/mdmfs

2019-02-11 Thread Brooks Davis
Author: brooks Date: Mon Feb 11 21:31:26 2019 New Revision: 344023 URL: https://svnweb.freebsd.org/changeset/base/344023 Log: mdmfs: Fix many bugs in automatic md(4) creation. This code allocated a correctly sized buffer, read past the end of the source buffer, writing off the end of the

svn commit: r343557 - stable/12/share/man/man9

2019-01-29 Thread Brooks Davis
Author: brooks Date: Tue Jan 29 18:08:46 2019 New Revision: 343557 URL: https://svnweb.freebsd.org/changeset/base/343557 Log: MFC r343366: Remove documentation for the nonexistant cred_update_thread(9). This was a tangential change submitted as part of D18930. Submitted by:

  1   2   3   4   5   6   7   8   9   10   >