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 an

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 M

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 getopt(3

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 variabl

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 a

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 v

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:https://re

Re: svn commit: r307756 - in head: include sys/sys

2016-10-21 Thread Brooks Davis
On Fri, Oct 21, 2016 at 11:50:02PM +, John Baldwin wrote: > Author: jhb > Date: Fri Oct 21 23:50:02 2016 > New Revision: 307756 > URL: https://svnweb.freebsd.org/changeset/base/307756 > > Log: > Define max_align_t for C11. > > libc++'s stddef.h includes an existing definition of max_ali

Re: svn commit: r333388 - in head: . share/man/man4 sys/conf sys/dev/nxge sys/modules sys/modules/nxge tools/kerneldoc/subsys tools/tools tools/tools/nxge usr.sbin/bsdconfig/share

2018-05-23 Thread Brooks Davis
On Wed, May 23, 2018 at 10:41:17AM -0700, Gleb Smirnoff wrote: > On Tue, May 08, 2018 at 09:14:29PM +, Sean Bruno wrote: > S> Log: > S> nxge(4): > S> Remove nxge(4) and associated man page and tools in FreeBSD 12.0. > ... > S> +20180508: > S> + The nxge(4) driver has been removed. This dr

Re: svn commit: r333388 - in head: . share/man/man4 sys/confsys/dev/nxge sys/modules sys/modules/nxge tools/kerneldoc/subsys tools/toolstools/tools/nxge usr.sbin/bsdconfig/share

2018-05-23 Thread Brooks Davis
On Thu, May 24, 2018 at 02:53:16AM +0700, Eugene Grosbein wrote: > 24.05.2018 2:30, Cy Schubert wrote: > > > Except for old computers and old software that segfaults on 64-bit, how > > many people still use i386? > > > > Full disclosure: I'd like to see i386 deorbited before I retire. > > Plese

Re: Deorbiting i386 (was: Re: svn commit: r333388 - in head: . share/man/man4 sys/confsys/dev/nxge sys/modules sys/modules/nxge tools/kerneldoc/subsys tools/toolstools/tools/nxge usr.sbin/bsdconfig/sh

2018-05-23 Thread Brooks Davis
On Wed, May 23, 2018 at 03:18:59PM -0700, Cy Schubert wrote: > In message <20180523202228.gc58...@spindle.one-eyed-alien.net>, Brooks > Davis wr > ites: > > > > > > --QRj9sO5tAVLaXnSD > > Content-Type: text/plain; charset=us-ascii > > Content-Disp

svn commit: r334165 - in head/sys: amd64/linux amd64/linux32 i386/linux kern sys

2018-05-24 Thread Brooks Davis
Author: brooks Date: Thu May 24 16:25:18 2018 New Revision: 334165 URL: https://svnweb.freebsd.org/changeset/base/334165 Log: Avoid two suword() calls per auxarg entry. Instead, construct an auxargs array and copy it out all at once. Use an array of Elf_Auxinfo rather than pairs of Elf

svn commit: r334168 - head/sys/vm

2018-05-24 Thread Brooks Davis
Author: brooks Date: Thu May 24 17:04:27 2018 New Revision: 334168 URL: https://svnweb.freebsd.org/changeset/base/334168 Log: Don't implement break(2) at all on aarch64 and riscv. This should have been done when they were removed from libc, but was overlooked in the runup to 11.0. No use

svn commit: r334169 - head

2018-05-24 Thread Brooks Davis
Author: brooks Date: Thu May 24 17:05:41 2018 New Revision: 334169 URL: https://svnweb.freebsd.org/changeset/base/334169 Log: exect() was removed in 2018, not 2017. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 =

svn commit: r334176 - head/lib/libc/sys

2018-05-24 Thread Brooks Davis
Author: brooks Date: Thu May 24 18:32:54 2018 New Revision: 334176 URL: https://svnweb.freebsd.org/changeset/base/334176 Log: Indicate the brk/sbrk are deprecated and not portable. More firmly suggest mmap(2) instead. Include the history of arm64 and riscv shipping without brk/sbrk.

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Brooks Davis
On Fri, May 25, 2018 at 02:07:05AM +, Marcelo Araujo wrote: > Author: araujo > Date: Fri May 25 02:07:05 2018 > New Revision: 334199 > URL: https://svnweb.freebsd.org/changeset/base/334199 > > Log: > Fix a memory leak on topology_parse(). > > strdup(3) allocates memory for a copy of the

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Brooks Davis
On Sat, May 26, 2018 at 01:21:33AM +0800, Marcelo Araujo wrote: > On Sat, May 26, 2018, 1:11 AM Eitan Adler wrote: > > > On 25 May 2018 at 08:23, Marcelo Araujo wrote: > > > > > > > > > On Fri, May 25, 2018, 11:11 PM Brooks Davis wrote: > > >&

Re: svn commit: r334199 - head/usr.sbin/bhyve

2018-05-25 Thread Brooks Davis
On Sat, May 26, 2018 at 01:56:28AM +0800, Marcelo Araujo wrote: > 2018-05-26 1:44 GMT+08:00 Brooks Davis : > > > On Sat, May 26, 2018 at 01:21:33AM +0800, Marcelo Araujo wrote: > > > On Sat, May 26, 2018, 1:11 AM Eitan Adler wrote: > > > > > > > On 25 Ma

svn commit: r334223 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/vm

2018-05-25 Thread Brooks Davis
Author: brooks Date: Fri May 25 20:40:23 2018 New Revision: 334223 URL: https://svnweb.freebsd.org/changeset/base/334223 Log: Make vadvise compat freebsd11. The vadvise syscall (aka ovadvise) is undocumented and has always been implmented as returning EINVAL. Put the syscall under COMPAT

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

2018-05-25 Thread Brooks Davis
Author: brooks Date: Fri May 25 20:41:26 2018 New Revision: 334224 URL: https://svnweb.freebsd.org/changeset/base/334224 Log: Regen after r334223: make vadvise compat freebsd11. Modified: head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_syscalls.c head/sys

svn commit: r334225 - head

2018-05-25 Thread Brooks Davis
Author: brooks Date: Fri May 25 20:42:28 2018 New Revision: 334225 URL: https://svnweb.freebsd.org/changeset/base/334225 Log: Support -DNO_CLEAN builds across r334223+r334224. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ==

svn commit: r334342 - head/sys/kern

2018-05-29 Thread Brooks Davis
Author: brooks Date: Tue May 29 17:49:03 2018 New Revision: 334342 URL: https://svnweb.freebsd.org/changeset/base/334342 Log: Correct pointer subtraction in KASSERT(). The assertion would never fire without truly spectacular future programming errors. Reported by: Coverity CID:

svn commit: r334348 - in head/sys: amd64/linux amd64/linux32 i386/linux

2018-05-29 Thread Brooks Davis
Author: brooks Date: Tue May 29 20:03:24 2018 New Revision: 334348 URL: https://svnweb.freebsd.org/changeset/base/334348 Log: Correct pointer subtraction in KASSERT(). The assertion would never fire without truly spectacular future programming errors. Reported by: Coverity CID:

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

2018-05-30 Thread Brooks Davis
Author: brooks Date: Wed May 30 22:22:58 2018 New Revision: 334405 URL: https://svnweb.freebsd.org/changeset/base/334405 Log: Remove alternative names that are identical to the default. Verified by make sysent producing no changes. Modified: head/sys/compat/freebsd32/syscalls.master he

svn commit: r334439 - stable/11/lib/libc/sys

2018-05-31 Thread Brooks Davis
Author: brooks Date: Thu May 31 16:01:10 2018 New Revision: 334439 URL: https://svnweb.freebsd.org/changeset/base/334439 Log: MFC r334176: Indicate the brk/sbrk are deprecated and not portable. More firmly suggest mmap(2) instead. Include the history of arm64 and riscv shipping wi

svn commit: r334440 - stable/10/lib/libc/sys

2018-05-31 Thread Brooks Davis
Author: brooks Date: Thu May 31 16:10:44 2018 New Revision: 334440 URL: https://svnweb.freebsd.org/changeset/base/334440 Log: MFC r292268, r334176 r292268: Remove sys/types.h due to STANDARDS and unistd.h also includes sys/types.h. r334176: Indicate the brk/sbrk are deprecated an

svn commit: r334500 - in head/lib/libc: amd64/gen i386/gen

2018-06-01 Thread Brooks Davis
Author: brooks Date: Fri Jun 1 22:09:27 2018 New Revision: 334500 URL: https://svnweb.freebsd.org/changeset/base/334500 Log: Remove support for SYS_sys_exit in favor of SYS_exit. SYS_exit has been defined in the repo since 1994 except for a brief window when SYS_sys_exit was defined in 2

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

2018-06-07 Thread Brooks Davis
On Thu, Jun 07, 2018 at 12:01:00AM -0400, Ravi Pokala wrote: > > I believe the theory is that the compiler (remember, this is > > __builtin_memset) can optimize away portions of the zeroing, or can > > optimize zeroing for small sizes. > > Ahhh! I didn't consider that the compiler would be doing

Re: svn commit: r334617 - in head: . etc

2018-06-07 Thread Brooks Davis
On Thu, Jun 07, 2018 at 10:17:44PM +0700, Eugene Grosbein wrote: > 07.06.2018 22:00, Brad Davis wrote: > > >> You see, my point is that you can never know beforehand of all > >> challenges a sysadmin faces in fields. > >> And there should be really good reason to break things that work before. >

Re: svn commit: r334617 - in head: . etc

2018-06-07 Thread Brooks Davis
On Fri, Jun 08, 2018 at 01:39:21AM +0700, Eugene Grosbein wrote: > 07.06.2018 22:35, Brooks Davis wrote: > > >>>> You see, my point is that you can never know beforehand of all > >>>> challenges a sysadmin faces in fields. > >>>> And there sho

Re: svn commit: r335020 - head/sys/amd64/linux32

2018-06-12 Thread Brooks Davis
On Tue, Jun 12, 2018 at 10:54:48PM +, Jung-uk Kim wrote: > Author: jkim > Date: Tue Jun 12 22:54:48 2018 > New Revision: 335020 > URL: https://svnweb.freebsd.org/changeset/base/335020 > > Log: > Fix number of auxargs entries to copy out for 32-bit Linuxulator. > > PR: 228790 >

svn commit: r335177 - in head/sys: compat/freebsd32 compat/linux i386/ibcs2 kern vm

2018-06-14 Thread Brooks Davis
Author: brooks Date: Thu Jun 14 21:27:25 2018 New Revision: 335177 URL: https://svnweb.freebsd.org/changeset/base/335177 Log: Name the implementation of brk and sbrk sys_break(). The break() system call was renamed (several times) starting in v3 AT&T UNIX when C was invented and break was

svn commit: r335178 - in head/sys: compat/freebsd32 i386/ibcs2 kern sys

2018-06-14 Thread Brooks Davis
Author: brooks Date: Thu Jun 14 21:29:31 2018 New Revision: 335178 URL: https://svnweb.freebsd.org/changeset/base/335178 Log: Regen after 335177 (rename sys_obreak to sys_break). Modified: head/sys/compat/freebsd32/freebsd32_sysent.c head/sys/compat/freebsd32/freebsd32_systrace_args.c hea

svn commit: r335641 - head/contrib/smbfs/lib/smb

2018-06-25 Thread Brooks Davis
Author: brooks Date: Mon Jun 25 16:42:49 2018 New Revision: 335641 URL: https://svnweb.freebsd.org/changeset/base/335641 Log: 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 hostname exceeded 16 b

svn commit: r335645 - in head: . etc/mtree lib lib/geom sbin/geom sbin/geom/class sbin/geom/core targets/pseudo/userland targets/pseudo/userland/lib

2018-06-25 Thread Brooks Davis
Author: brooks Date: Mon Jun 25 19:55:15 2018 New Revision: 335645 URL: https://svnweb.freebsd.org/changeset/base/335645 Log: Normalize the g(eom,cache,part,...) build. Rather then combining hardlink creation for the geom(8) binary with shared library build, move libraries to src/lib/geom

Re: svn commit: r335647 - head/lib/geom

2018-06-25 Thread Brooks Davis
On Mon, Jun 25, 2018 at 09:54:39PM +, Brad Davis wrote: > Author: brd > Date: Mon Jun 25 21:54:39 2018 > New Revision: 335647 > URL: https://svnweb.freebsd.org/changeset/base/335647 > > Log: > Add a file missed in r335645. > > Approved by:brooks, allanjude (mentor) > Different

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 host

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 host

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 INSTALL_SY

svn commit: r303463 - head/sys/modules

2016-07-28 Thread Brooks Davis
Author: brooks Date: Thu Jul 28 21:27:47 2016 New Revision: 303463 URL: https://svnweb.freebsd.org/changeset/base/303463 Log: cxgbe's firmware module fails to build on mips64 as well as mips32 so disable for all mips. Sponsored by: DARPA, AFRL Modified: head/sys/modules/Makefile Modif

svn commit: r303464 - in head/sys: amd64/linux amd64/linux32 compat/freebsd32 compat/svr4 i386/ibcs2 i386/linux kern

2016-07-28 Thread Brooks Davis
Author: brooks Date: Thu Jul 28 21:29:04 2016 New Revision: 303464 URL: https://svnweb.freebsd.org/changeset/base/303464 Log: Don't create pointless backups of generated files in "make sysent". Any sensible workflow will include a revision control system from which to restore the old file

svn commit: r303714 - stable/11

2016-08-03 Thread Brooks Davis
Author: brooks Date: Wed Aug 3 15:39:58 2016 New Revision: 303714 URL: https://svnweb.freebsd.org/changeset/base/303714 Log: MFC r303103: Minor wording improvements to the note about pipe(2) removal. Approved by: re (gjb) Sponsored by: DARPA, AFRL Modified: stable/11/UPDATING Di

svn commit: r303717 - stable/11/lib/libc/sys

2016-08-03 Thread Brooks Davis
Author: brooks Date: Wed Aug 3 16:10:53 2016 New Revision: 303717 URL: https://svnweb.freebsd.org/changeset/base/303717 Log: MFC r303104, r303106: Update to reflect the fact that pipe() is a wrapper around the pipe2() system call. Reviewed by: jhb, wblock Sponsored by: DAPRA, AFR

Re: svn commit: r303803 - in head/sys/dev: fdt ofw

2016-08-07 Thread Brooks Davis
On Sat, Aug 06, 2016 at 06:48:47PM +, Stephen J. Kiernan wrote: > Author: stevek > Date: Sat Aug 6 18:48:47 2016 > New Revision: 303803 > URL: https://svnweb.freebsd.org/changeset/base/303803 > > Log: > Add hw.fdt sysctl node. > Make FDT blob available via opaque hw.fdt.dtb sysctl, if a D

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

2016-08-07 Thread Brooks Davis
Author: brooks Date: Sun Aug 7 09:02:54 2016 New Revision: 303812 URL: https://svnweb.freebsd.org/changeset/base/303812 Log: Use a more conventional spelling of "breakpoint". Modified: head/sys/mips/mips/trap.c Modified: head/sys/mips/mips/trap.c

Re: svn commit: r303716 - head/crypto/openssh

2016-08-08 Thread Brooks Davis
On Sun, Aug 07, 2016 at 03:48:44PM -0700, Xin Li wrote: > > > On 8/7/16 14:20, Warner Losh wrote: > > > >> On Aug 7, 2016, at 3:11 PM, Andrey Chernov wrote: > >> > >>> OTOH, FreeBSD has a documented deprecation process that says things will > >>> continue working for a major release after being

svn commit: r304216 - head/lib/libc/net

2016-08-16 Thread Brooks Davis
Author: brooks Date: Tue Aug 16 11:38:45 2016 New Revision: 304216 URL: https://svnweb.freebsd.org/changeset/base/304216 Log: Don't conflate enum nss_status return values values with int (NS_SUCCESS, NS_RETURN) values. Sponsored by: DARPA, AFRL Differential Revision:https://revi

svn commit: r304711 - head/contrib/binutils/bfd

2016-08-23 Thread Brooks Davis
Author: brooks Date: Wed Aug 24 00:00:54 2016 New Revision: 304711 URL: https://svnweb.freebsd.org/changeset/base/304711 Log: Spell MIPS more traditionally in "bfd_elf32_ntradbigmips_vec". Sponsored by: DAPRA, AFRL Modified: head/contrib/binutils/bfd/config.bfd Modified: head/contrib/bi

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

2016-08-23 Thread Brooks Davis
Author: brooks Date: Wed Aug 24 00:02:20 2016 New Revision: 304712 URL: https://svnweb.freebsd.org/changeset/base/304712 Log: Avoid a redecleartion of __getosreldate(). Sponsored by: DARPA, AFRL Modified: head/lib/libc/gen/__getosreldate.c Modified: head/lib/libc/gen/__getosreldate.c ==

Re: svn commit: r304911 - head/lib/libc/net

2016-08-27 Thread Brooks Davis
On Sat, Aug 27, 2016 at 02:43:13PM +, Andrey A. Chernov wrote: > Author: ache > Date: Sat Aug 27 14:43:13 2016 > New Revision: 304911 > URL: https://svnweb.freebsd.org/changeset/base/304911 > > Log: > The formal behavior of qsort is unstable with regard to objects that > are equal. Unfortu

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 o

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 o

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 disc

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 don't

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

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

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: head/sys/gnu/gcov

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

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

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 =

Re: svn commit: r351918 - head/sys/kern

2019-09-09 Thread Brooks Davis
On Sat, Sep 07, 2019 at 12:23:03PM +0800, Philip Paeps wrote: > On 2019-09-07 12:06:32 (+0800), Warner Losh wrote: > > On Fri, Sep 6, 2019 at 9:54 PM Philip Paeps > > wrote: > >> On 2019-09-06 22:18:36 (+0800), Ian Lepore wrote: > >>> On Fri, 2019-09-06 at 12:15 +0800, Philip Paeps wrote: >

Re: svn commit: r351918 - head/sys/kern

2019-09-10 Thread Brooks Davis
On Mon, Sep 09, 2019 at 01:49:50PM -0600, Warner Losh wrote: > On Mon, Sep 9, 2019, 5:56 AM Brooks Davis wrote: > > > On Sat, Sep 07, 2019 at 12:23:03PM +0800, Philip Paeps wrote: > > > On 2019-09-07 12:06:32 (+0800), Warner Losh wrote: > > > > On Fri, Se

svn commit: r352220 - head/lib/libbsnmp/libbsnmp

2019-09-11 Thread Brooks Davis
Author: brooks Date: Wed Sep 11 17:01:31 2019 New Revision: 352220 URL: https://svnweb.freebsd.org/changeset/base/352220 Log: Avoid the use of the non-portable -D argument to ls. This was used to store the mtime of the source file in a commment in a generated header file. This is of litt

svn commit: r352917 - head/sys/kern

2019-09-30 Thread Brooks Davis
Author: brooks Date: Mon Sep 30 20:58:29 2019 New Revision: 352917 URL: https://svnweb.freebsd.org/changeset/base/352917 Log: Restore the ability to set capenabled directly in syscalls.conf. This fixes generation of cloudabi syscall tables broken in r340424. Reviewed by: kevans, emast

svn commit: r352918 - in head/sys/compat: cloudabi32 cloudabi64

2019-09-30 Thread Brooks Davis
Author: brooks Date: Mon Sep 30 21:00:19 2019 New Revision: 352918 URL: https://svnweb.freebsd.org/changeset/base/352918 Log: Regen after r347228 and r352693. No functional change. Modified: head/sys/compat/cloudabi32/cloudabi32_proto.h head/sys/compat/cloudabi32/cloudabi32_syscall.h

svn commit: r352919 - head

2019-09-30 Thread Brooks Davis
Author: brooks Date: Mon Sep 30 21:14:33 2019 New Revision: 352919 URL: https://svnweb.freebsd.org/changeset/base/352919 Log: Update cloudabi(32|64) sysents with "make sysent". MFC after:1 week Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ===

Re: svn commit: r352795 - head/lib/libc/sys

2019-10-01 Thread Brooks Davis
On Sat, Sep 28, 2019 at 10:25:48AM +0300, Konstantin Belousov wrote: > On Fri, Sep 27, 2019 at 03:19:59PM -0600, Warner Losh wrote: > > On Fri, Sep 27, 2019 at 2:38 PM Mateusz Guzik wrote: > > > > > On 9/27/19, Konstantin Belousov wrote: > > > > On Fri, Sep 27, 2019 at 08:32:20PM +0200, Mateusz

Re: svn commit: r352795 - head/lib/libc/sys

2019-10-01 Thread Brooks Davis
On Tue, Oct 01, 2019 at 01:08:27PM -0400, Ed Maste wrote: > On Tue, 1 Oct 2019 at 12:23, Brooks Davis wrote: > > > > This isn't true with CHERI and as a result I've moved the variadic > > argument handling (except for syscall() and __syscall()) into libc. > &g

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

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

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

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

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

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

svn commit: 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: r367061 - stable/12/lib/libc/tests/ssp

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

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

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

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: 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: r367140 - in stable/12/sys: cam dev/nvme kern sys ufs/ffs

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

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

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

svn commit: 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: r367312 - stable/12/contrib/sendmail/include/sm/os

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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/

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: 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: r355828 - head/sys/sys

2019-12-17 Thread Brooks Davis
On Tue, Dec 17, 2019 at 01:28:20PM -0500, Pedro Giffuni wrote: > On 16/12/2019 23:42, Cy Schubert wrote: > > In message <201912162355.xbgntuq6078...@repo.freebsd.org>, "Pedro F. > > Giffuni" w > > rites: > >> Author: pfg > >> Date: Mon Dec 16 23:55:30 2019 > >> New Revision: 355828 > >> URL: https:

svn commit: r355964 - stable/12/sys/dev/ata/chipsets

2019-12-20 Thread Brooks Davis
Author: brooks Date: Fri Dec 20 22:07:05 2019 New Revision: 355964 URL: https://svnweb.freebsd.org/changeset/base/355964 Log: MFC r355830: Avoid a tautological bitwise compare. This looks like a bit of debugging code that sliped into the initial import of the sos@ ATA framework. Thi

svn commit: r355965 - stable/11/sys/dev/ata/chipsets

2019-12-20 Thread Brooks Davis
Author: brooks Date: Fri Dec 20 22:12:21 2019 New Revision: 355965 URL: https://svnweb.freebsd.org/changeset/base/355965 Log: MFC r355830: Avoid a tautological bitwise compare. This looks like a bit of debugging code that sliped into the initial import of the sos@ ATA framework. This

Re: svn commit: r355936 - in head/sys: arm/broadcom/bcm2835 arm/freescale/imx arm/ti/am335x arm/versatile powerpc/ofw

2020-01-02 Thread Brooks Davis
On Mon, Dec 23, 2019 at 03:14:07PM -0600, Kyle Evans wrote: > On Fri, Dec 20, 2019 at 10:22 AM Kyle Evans wrote: > > > > Author: kevans > > Date: Fri Dec 20 16:22:14 2019 > > New Revision: 355936 > > URL: https://svnweb.freebsd.org/changeset/base/355936 > > > > Log: > > Kill off dummy kbd driver

<    2   3   4   5   6   7   8   9   10   11   >