svn commit: r324617 - stable/10/lib/libc/gen

2017-10-14 Thread Brooks Davis
Author: brooks Date: Sat Oct 14 16:49:39 2017 New Revision: 324617 URL: https://svnweb.freebsd.org/changeset/base/324617 Log: MFC r324243: Remove an unneeded and incorrect memset(). On Variant I TLS architectures (aarch64, arm, mips, powerpc, and riscv) the __libc_allocate_tls

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

2017-10-14 Thread Brooks Davis
Author: brooks Date: Sat Oct 14 16:23:25 2017 New Revision: 324616 URL: https://svnweb.freebsd.org/changeset/base/324616 Log: MFC r324243: Remove an unneeded and incorrect memset(). On Variant I TLS architectures (aarch64, arm, mips, powerpc, and riscv) the __libc_allocate_tls

Re: svn commit: r324406 - head/sys/modules/em

2017-10-09 Thread Brooks Davis
On Sun, Oct 08, 2017 at 08:42:35AM -0700, Rodney W. Grimes wrote: > > > > > On Oct 7, 2017, at 16:33, Sean Bruno wrote: > > > > > > Author: sbruno > > > Date: Sat Oct 7 23:33:14 2017 > > > New Revision: 324406 > > > URL: https://svnweb.freebsd.org/changeset/base/324406 > >

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

2017-10-03 Thread Brooks Davis
Author: brooks Date: Tue Oct 3 22:57:19 2017 New Revision: 324243 URL: https://svnweb.freebsd.org/changeset/base/324243 Log: Remove an unneeded and incorrect memset(). On Variant I TLS architectures (aarch64, arm, mips, powerpc, and riscv) the __libc_allocate_tls function allocates

Re: svn commit: r322029 - in head: usr.bin usr.sbin

2017-08-05 Thread Brooks Davis
On Fri, Aug 04, 2017 at 04:50:32PM +0200, Jeremie Le Hen wrote: > On Fri, Aug 4, 2017 at 12:42 AM, Ngie Cooper (yaneurabeya) > wrote: > > > >> On Aug 3, 2017, at 14:30, Jeremie Le Hen wrote: > >> > >> Author: jlh > >> Date: Thu Aug 3 21:30:12 2017 > >>

svn commit: r321256 - head/sys/conf

2017-07-19 Thread Brooks Davis
Author: brooks Date: Wed Jul 19 22:06:35 2017 New Revision: 321256 URL: https://svnweb.freebsd.org/changeset/base/321256 Log: Include ARCH_FLAGS in CFLAGS when building modules. Without this change, modules will match the default compiler configuration which may not be the same as the

svn commit: r320999 - head/sys/kern

2017-07-14 Thread Brooks Davis
Author: brooks Date: Fri Jul 14 21:13:05 2017 New Revision: 320999 URL: https://svnweb.freebsd.org/changeset/base/320999 Log: Add 32-bit compat for kinfo_proc's ki_tdaddr. This appears to have been an oversight in r213536. Reviewed by: markj MFC after:1 week Sponsored by:

svn commit: r320169 - stable/11/usr.bin/procstat

2017-06-20 Thread Brooks Davis
Author: brooks Date: Tue Jun 20 20:19:57 2017 New Revision: 320169 URL: https://svnweb.freebsd.org/changeset/base/320169 Log: MFC r318968: Add missing usage and getopt(3) options - Add the missing option 'n' to the getopt(3) string - Add the missing options 'libxo' and 'N' to the

Re: svn commit: r319295 - head/usr.bin/mkimg/tests

2017-06-01 Thread Brooks Davis
On Thu, Jun 01, 2017 at 08:11:45AM -0700, Marcel Moolenaar wrote: > > > On May 31, 2017, at 11:06 PM, Ngie Cooper (yaneurabeya) > > <yaneurab...@gmail.com> wrote: > > > > > >> On May 31, 2017, at 10:03 PM, Brooks Davis <bro...@freebsd.org> wrot

Re: svn commit: r319295 - head/usr.bin/mkimg/tests

2017-05-31 Thread Brooks Davis
On Wed, May 31, 2017 at 08:01:12AM +, Ngie Cooper wrote: > Author: ngie > Date: Wed May 31 08:01:12 2017 > New Revision: 319295 > URL: https://svnweb.freebsd.org/changeset/base/319295 > > Log: > Update the usr.bin/mkimg golden test output files after ^/head@r319125 > > ^/head@r319125

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

2017-05-26 Thread Brooks Davis
Author: brooks Date: Fri May 26 21:10:01 2017 New Revision: 318968 URL: https://svnweb.freebsd.org/changeset/base/318968 Log: Add missing usage and getopt(3) options - Add the missing option 'n' to the getopt(3) string - Add the missing options 'libxo' and 'N' to the usage message -

svn commit: r318327 - in stable/10: contrib/netbsd-tests/lib/libc/rpc lib/libc/rpc

2017-05-15 Thread Brooks Davis
Author: brooks Date: Mon May 15 23:13:49 2017 New Revision: 318327 URL: https://svnweb.freebsd.org/changeset/base/318327 Log: MFC r317660, r317710 r317660: Support clnt_raw's use of FD_SETSIZE as a fake file descriptor. Accomplish this by allocating space for it in __svc_xports and

svn commit: r318323 - in stable/10: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2017-05-15 Thread Brooks Davis
Author: brooks Date: Mon May 15 22:50:54 2017 New Revision: 318323 URL: https://svnweb.freebsd.org/changeset/base/318323 Log: MFC r317845-r317846 r317845: Provide a freebsd32 implementation of sigqueue() The previous misuse of sys_sigqueue() was sending random register or stack

svn commit: r318322 - in stable/11: contrib/netbsd-tests/lib/libc/rpc lib/libc/rpc

2017-05-15 Thread Brooks Davis
Author: brooks Date: Mon May 15 22:41:01 2017 New Revision: 318322 URL: https://svnweb.freebsd.org/changeset/base/318322 Log: MFC r317660, r317710 r317660: Support clnt_raw's use of FD_SETSIZE as a fake file descriptor. Accomplish this by allocating space for it in __svc_xports and

svn commit: r318244 - in stable/11: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2017-05-12 Thread Brooks Davis
Author: brooks Date: Fri May 12 17:40:34 2017 New Revision: 318244 URL: https://svnweb.freebsd.org/changeset/base/318244 Log: MFC r317845-r317846 r317845: Provide a freebsd32 implementation of sigqueue() The previous misuse of sys_sigqueue() was sending random register or stack

svn commit: r318030 - stable/10/lib/libc/regex

2017-05-09 Thread Brooks Davis
Author: brooks Date: Tue May 9 16:29:06 2017 New Revision: 318030 URL: https://svnweb.freebsd.org/changeset/base/318030 Log: MFC r317707: Correct an out-of-bounds read in regcomp when the RE is bad. When passed the invalid regular expression "a**", the error is eventually detected

svn commit: r318029 - stable/11/lib/libc/regex

2017-05-09 Thread Brooks Davis
Author: brooks Date: Tue May 9 16:27:20 2017 New Revision: 318029 URL: https://svnweb.freebsd.org/changeset/base/318029 Log: MFC r317707: Correct an out-of-bounds read in regcomp when the RE is bad. When passed the invalid regular expression "a**", the error is eventually detected

svn commit: r317997 - stable/11/usr.bin/proccontrol

2017-05-08 Thread Brooks Davis
Author: brooks Date: Tue May 9 01:08:45 2017 New Revision: 317997 URL: https://svnweb.freebsd.org/changeset/base/317997 Log: MFC r317706: Use MAN= rather than MK_MAN=no to not install a manpage. Modified: stable/11/usr.bin/proccontrol/Makefile Directory Properties: stable/11/

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

2017-05-05 Thread Brooks Davis
Author: brooks Date: Fri May 5 18:49:39 2017 New Revision: 317845 URL: https://svnweb.freebsd.org/changeset/base/317845 Log: Provide a freebsd32 implementation of sigqueue() The previous misuse of sys_sigqueue() was sending random register or stack garbage to 64-bit targets. The

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

2017-05-05 Thread Brooks Davis
Author: brooks Date: Fri May 5 18:50:22 2017 New Revision: 317846 URL: https://svnweb.freebsd.org/changeset/base/317846 Log: Regent post r317845. MFC after:1 week MFC with: r317845 Sponsored by: DARPA, AFRL Modified: head/sys/compat/freebsd32/freebsd32_proto.h

svn commit: r317841 - stable/10/usr.sbin/ntp/sntp

2017-05-05 Thread Brooks Davis
Author: brooks Date: Fri May 5 17:28:49 2017 New Revision: 317841 URL: https://svnweb.freebsd.org/changeset/base/317841 Log: MFC r317388: Use the approved syntax to build no man pages. Sponsored by: DARPA, AFRL Modified: stable/10/usr.sbin/ntp/sntp/Makefile Directory Properties:

svn commit: r317834 - stable/10/tests/sys/kern

2017-05-05 Thread Brooks Davis
Author: brooks Date: Fri May 5 16:24:35 2017 New Revision: 317834 URL: https://svnweb.freebsd.org/changeset/base/317834 Log: MFC r317566: Don't pass size_t arguments to setsockopt(SO_SNDBUF/SO_RCVBUF). These commands take an int. The tests work by accident on little-endian, 64-bit

svn commit: r317831 - stable/11/tests/sys/kern

2017-05-05 Thread Brooks Davis
Author: brooks Date: Fri May 5 15:15:41 2017 New Revision: 317831 URL: https://svnweb.freebsd.org/changeset/base/317831 Log: MFC r317566: Don't pass size_t arguments to setsockopt(SO_SNDBUF/SO_RCVBUF). These commands take an int. The tests work by accident on little-endian, 64-bit

svn commit: r317710 - head/contrib/netbsd-tests/lib/libc/rpc

2017-05-02 Thread Brooks Davis
Author: brooks Date: Tue May 2 22:14:55 2017 New Revision: 317710 URL: https://svnweb.freebsd.org/changeset/base/317710 Log: Remove expected failure now that it was fixed in r317660. PR: 211804 Reviewed by: ngie Obtained from:CheriBSD MFC after:2 weeks

svn commit: r317707 - head/lib/libc/regex

2017-05-02 Thread Brooks Davis
Author: brooks Date: Tue May 2 21:20:27 2017 New Revision: 317707 URL: https://svnweb.freebsd.org/changeset/base/317707 Log: Correct an out-of-bounds read in regcomp when the RE is bad. When passed the invalid regular expression "a**", the error is eventually detected and seterr() is

Re: svn commit: r317706 - head/usr.bin/proccontrol

2017-05-02 Thread Brooks Davis
On Tue, May 02, 2017 at 09:09:07PM +, Brooks Davis wrote: > Author: brooks > Date: Tue May 2 21:09:07 2017 > New Revision: 317706 > URL: https://svnweb.freebsd.org/changeset/base/317706 > > Log: > Use MAN= rather than MK_MAN=no to not install a manpage. With

svn commit: r317706 - head/usr.bin/proccontrol

2017-05-02 Thread Brooks Davis
Author: brooks Date: Tue May 2 21:09:07 2017 New Revision: 317706 URL: https://svnweb.freebsd.org/changeset/base/317706 Log: Use MAN= rather than MK_MAN=no to not install a manpage. MFC after:1 week Modified: head/usr.bin/proccontrol/Makefile Modified:

svn commit: r317660 - head/lib/libc/rpc

2017-05-01 Thread Brooks Davis
Author: brooks Date: Mon May 1 20:04:07 2017 New Revision: 317660 URL: https://svnweb.freebsd.org/changeset/base/317660 Log: Support clnt_raw's use of FD_SETSIZE as a fake file descriptor. Accomplish this by allocating space for it in __svc_xports and allowing it to be registered. The

svn commit: r317656 - stable/11/sys/dev/ieee488

2017-05-01 Thread Brooks Davis
Author: brooks Date: Mon May 1 17:10:43 2017 New Revision: 317656 URL: https://svnweb.freebsd.org/changeset/base/317656 Log: Partial, manual MFC of r317411: Remove directory made empty by IEEE488 removal. Deleted: stable/11/sys/dev/ieee488/ Modified: Directory Properties: stable/11/

svn commit: r317655 - stable/11/usr.sbin/ntp/sntp

2017-05-01 Thread Brooks Davis
Author: brooks Date: Mon May 1 17:02:51 2017 New Revision: 317655 URL: https://svnweb.freebsd.org/changeset/base/317655 Log: MFC r317388: Use the approved syntax to build no man pages. Sponsored by: DARPA, AFRL Modified: stable/11/usr.sbin/ntp/sntp/Makefile Directory Properties:

svn commit: r317653 - stable/11/usr.bin/getaddrinfo

2017-05-01 Thread Brooks Davis
Author: brooks Date: Mon May 1 16:59:54 2017 New Revision: 317653 URL: https://svnweb.freebsd.org/changeset/base/317653 Log: MFC r317385: Clean up Makefile. Prefer SRCTOP vs .CURDIR relative paths. Find libnetbsd using LIBADD infrastructure rather than manual hackery.

svn commit: r317566 - head/tests/sys/kern

2017-04-28 Thread Brooks Davis
Author: brooks Date: Fri Apr 28 17:58:15 2017 New Revision: 317566 URL: https://svnweb.freebsd.org/changeset/base/317566 Log: Don't pass size_t arguments to setsockopt(SO_SNDBUF/SO_RCVBUF). These command take an int. The tests work by accident on little-endian, 64-bit systems. PR:

svn commit: r317508 - in head: . release/doc/en_US.ISO8859-1/hardware rescue/rescue share/man/man7 share/man/man8 share/man/man9 usr.sbin/bsdconfig/share

2017-04-27 Thread Brooks Davis
Author: brooks Date: Thu Apr 27 16:05:12 2017 New Revision: 317508 URL: https://svnweb.freebsd.org/changeset/base/317508 Log: More ATM and NATM removal Submitted by: ak Reviewed by: ngie Differential Revision:https://reviews.freebsd.org/D10511 Deleted:

svn commit: r317424 - in head: . etc etc/defaults etc/rc.d rescue/rescue share/man/man5 share/man/man7 tools/build/mk usr.bin/kdump

2017-04-25 Thread Brooks Davis
Author: brooks Date: Tue Apr 25 21:59:34 2017 New Revision: 317424 URL: https://svnweb.freebsd.org/changeset/base/317424 Log: Remove NATM configuration bits and assorted NATM and ATM remnants. Reported by: ak Reviewed by: ngie (first version) Differential Revision:

svn commit: r317411 - in head: sbin/atm sys/dev/ahb sys/dev/eisa sys/dev/en sys/dev/fatm sys/dev/hatm sys/dev/ieee488 sys/dev/patm sys/dev/utopia sys/modules/ahb sys/modules/aic7xxx/ahc/ahc_eisa sy...

2017-04-25 Thread Brooks Davis
Author: brooks Date: Tue Apr 25 17:00:08 2017 New Revision: 317411 URL: https://svnweb.freebsd.org/changeset/base/317411 Log: Remove directories made empty by NATM, EISA, and IEEE488 removals. Reported by: ak Deleted: head/sbin/atm/ head/sys/dev/ahb/ head/sys/dev/eisa/

Re: svn commit: r317383 - in head: . etc/mtree include lib/libc/net rescue/rescue sbin sbin/atm sbin/atm/atmconfig share/man/man4 sys/boot/forth sys/conf sys/dev/en sys/dev/fatm sys/dev/hatm sys/dev/p

2017-04-25 Thread Brooks Davis
On Mon, Apr 24, 2017 at 06:09:05PM -0700, Ngie Cooper wrote: > On Mon, Apr 24, 2017 at 5:21 PM, Rodney W. Grimes > wrote: > > ... > > > Ignore me I see you got it on your change to Updating. > > `Relnotes: yes` and adding UPDATING entries are complementary >

svn commit: r317392 - stable/10/lib/libc/gen

2017-04-24 Thread Brooks Davis
Author: brooks Date: Mon Apr 24 22:44:59 2017 New Revision: 317392 URL: https://svnweb.freebsd.org/changeset/base/317392 Log: MFC r316768: Fix an out-of-bounds write when a zero-length buffer is passed. Found with ttyname_test and CHERI bounds checking. Reviewed by: emaste

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

2017-04-24 Thread Brooks Davis
Author: brooks Date: Mon Apr 24 22:37:54 2017 New Revision: 317391 URL: https://svnweb.freebsd.org/changeset/base/317391 Log: MFC r316768: Fix an out-of-bounds write when a zero-length buffer is passed. Found with ttyname_test and CHERI bounds checking. Reviewed by: emaste

svn commit: r317388 - head/usr.sbin/ntp/sntp

2017-04-24 Thread Brooks Davis
Author: brooks Date: Mon Apr 24 21:55:59 2017 New Revision: 317388 URL: https://svnweb.freebsd.org/changeset/base/317388 Log: Use the approved syntax to build no man pages. MFC after:1 week Sponsored by: DARPA, AFRL Modified: head/usr.sbin/ntp/sntp/Makefile Modified:

svn commit: r317387 - stable/10/lib/libutil

2017-04-24 Thread Brooks Davis
Author: brooks Date: Mon Apr 24 21:41:04 2017 New Revision: 317387 URL: https://svnweb.freebsd.org/changeset/base/317387 Log: MFC r316766: Correct an out of bounds read with HN_AUTOSCALE and very large numbers. The maximum scale is 6 (K, M, G, T, P, E) (B is 0). Overly large

svn commit: r317386 - stable/11/lib/libutil

2017-04-24 Thread Brooks Davis
Author: brooks Date: Mon Apr 24 21:35:02 2017 New Revision: 317386 URL: https://svnweb.freebsd.org/changeset/base/317386 Log: MFC r316766: Correct an out of bounds read with HN_AUTOSCALE and very large numbers. The maximum scale is 6 (K, M, G, T, P, E) (B is 0). Overly large

svn commit: r317385 - head/usr.bin/getaddrinfo

2017-04-24 Thread Brooks Davis
Author: brooks Date: Mon Apr 24 21:31:27 2017 New Revision: 317385 URL: https://svnweb.freebsd.org/changeset/base/317385 Log: Clean up Makefile. Prefer SRCTOP vs .CURDIR relative paths. Find libnetbsd using LIBADD infrastructure rather than manual hackery. Reviewed by: ngie,

svn commit: r317384 - head

2017-04-24 Thread Brooks Davis
Author: brooks Date: Mon Apr 24 21:27:37 2017 New Revision: 317384 URL: https://svnweb.freebsd.org/changeset/base/317384 Log: Document the removal of NATM. Relnotes: yes Modified: head/UPDATING Modified: head/UPDATING

Re: svn commit: r317383 - in head: . etc/mtree include lib/libc/net rescue/rescue sbin sbin/atm sbin/atm/atmconfig share/man/man4 sys/boot/forth sys/conf sys/dev/en sys/dev/fatm sys/dev/hatm sys/dev/p

2017-04-24 Thread Brooks Davis
On Mon, Apr 24, 2017 at 09:21:50PM +, Brooks Davis wrote: > Author: brooks > Date: Mon Apr 24 21:21:49 2017 > New Revision: 317383 > URL: https://svnweb.freebsd.org/changeset/base/317383 > > Log: > Remove the NATM framework including the en(4), fatm(4), hatm(4), an

svn commit: r317383 - in head: . etc/mtree include lib/libc/net rescue/rescue sbin sbin/atm sbin/atm/atmconfig share/man/man4 sys/boot/forth sys/conf sys/dev/en sys/dev/fatm sys/dev/hatm sys/dev/pa...

2017-04-24 Thread Brooks Davis
Author: brooks Date: Mon Apr 24 21:21:49 2017 New Revision: 317383 URL: https://svnweb.freebsd.org/changeset/base/317383 Log: Remove the NATM framework including the en(4), fatm(4), hatm(4), and patm(4) devices. Maintaining an address family and framework has real costs when we make

svn commit: r316800 - stable/10/usr.sbin/makefs

2017-04-13 Thread Brooks Davis
Author: brooks Date: Fri Apr 14 00:15:34 2017 New Revision: 316800 URL: https://svnweb.freebsd.org/changeset/base/316800 Log: MFC r316593: Point out that -F probably does not do what the user expects. Users attempting to create images from mtree METALOG files created by installworld

svn commit: r316798 - stable/11/usr.sbin/makefs

2017-04-13 Thread Brooks Davis
Author: brooks Date: Fri Apr 14 00:13:33 2017 New Revision: 316798 URL: https://svnweb.freebsd.org/changeset/base/316798 Log: MFC r316593: Point out that -F probably does not do what the user expects. Users attempting to create images from mtree METALOG files created by installworld

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

2017-04-13 Thread Brooks Davis
On Thu, Apr 13, 2017 at 03:49:33PM +, Brooks Davis wrote: > Author: brooks > Date: Thu Apr 13 15:49:32 2017 > New Revision: 316766 > URL: https://svnweb.freebsd.org/changeset/base/316766 > > Log: > Correct an out of bounds read with HN_AUTOSCALE and very large numbers.

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

2017-04-13 Thread Brooks Davis
Author: brooks Date: Thu Apr 13 15:52:45 2017 New Revision: 316768 URL: https://svnweb.freebsd.org/changeset/base/316768 Log: Fix an out-of-bounds write when a zero-length buffer is passed. Found with ttyname_test and CHERI bounds checking. Reviewed by: emaste Obtained from:

svn commit: r316766 - head/lib/libutil

2017-04-13 Thread Brooks Davis
Author: brooks Date: Thu Apr 13 15:49:32 2017 New Revision: 316766 URL: https://svnweb.freebsd.org/changeset/base/316766 Log: Correct an out of bounds read with HN_AUTOSCALE and very large numbers. The maximum scale is 6 (K, M, G, T, P, E) (B is 0). Overly large explict scales were

Re: svn commit: r316613 - in stable/11/lib/libc: gen iconv net regex rpc stdio stdlib

2017-04-07 Thread Brooks Davis
On Fri, Apr 07, 2017 at 05:19:14PM -0700, Rodney W. Grimes wrote: > [ Charset UTF-8 unsupported, converting... ] > > Author: pfg > > Date: Fri Apr 7 16:08:04 2017 > > New Revision: 316613 > > URL: https://svnweb.freebsd.org/changeset/base/316613 > > > > Log: > > MFC r315162: > > libc:

svn commit: r316619 - head/sbin/mount_nfs

2017-04-07 Thread Brooks Davis
Author: brooks Date: Fri Apr 7 18:31:31 2017 New Revision: 316619 URL: https://svnweb.freebsd.org/changeset/base/316619 Log: Remove support for long gone oldnfs. The code was calling nmount with an fstype of everything in the program name after the last '_'. This was there to support

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

2017-04-06 Thread Brooks Davis
Author: brooks Date: Thu Apr 6 23:40:51 2017 New Revision: 316595 URL: https://svnweb.freebsd.org/changeset/base/316595 Log: Regen after r316594. Modified: head/sys/compat/freebsd32/freebsd32_systrace_args.c head/sys/kern/systrace_args.c head/sys/kern/vfs_cache.c

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

2017-04-06 Thread Brooks Davis
Author: brooks Date: Thu Apr 6 23:40:13 2017 New Revision: 316594 URL: https://svnweb.freebsd.org/changeset/base/316594 Log: Change the size argument of __getcwd() to size_t. This matches the getcwd() definition. This is technically an ABI change, but that would only effect 64-bit

svn commit: r316593 - head/usr.sbin/makefs

2017-04-06 Thread Brooks Davis
Author: brooks Date: Thu Apr 6 23:35:10 2017 New Revision: 316593 URL: https://svnweb.freebsd.org/changeset/base/316593 Log: Point out that -F probably does not do what the user expects. Users attempting to create images from mtree METALOG files created by installworld often use -F when

svn commit: r316543 - stable/10/sys/kern

2017-04-05 Thread Brooks Davis
Author: brooks Date: Wed Apr 5 21:08:26 2017 New Revision: 316543 URL: https://svnweb.freebsd.org/changeset/base/316543 Log: MFC r316497: Correct a kernel stack leak in 32-bit compat when vfc_name is short. Don't zero unused pointer members again. Per discussion with secteam we

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

2017-04-05 Thread Brooks Davis
Author: brooks Date: Wed Apr 5 19:15:06 2017 New Revision: 316538 URL: https://svnweb.freebsd.org/changeset/base/316538 Log: MFC r316497: Correct a kernel stack leak in 32-bit compat when vfc_name is short. Don't zero unused pointer members again. Per discussion with secteam we

svn commit: r316497 - head/sys/kern

2017-04-04 Thread Brooks Davis
Author: brooks Date: Tue Apr 4 17:32:08 2017 New Revision: 316497 URL: https://svnweb.freebsd.org/changeset/base/316497 Log: Correct a kernel stack leak in 32-bit compat when vfc_name is short. Don't zero unused pointer members again. Per discussion with secteam we are not issuing an

Re: svn commit: r316311 - in head: lib/libstand sys/boot/geli sys/boot/i386/gptboot sys/boot/i386/loader sys/boot/i386/zfsboot

2017-03-31 Thread Brooks Davis
On Fri, Mar 31, 2017 at 11:29:20AM -0700, John Baldwin wrote: > On Friday, March 31, 2017 09:04:51 AM Peter Grehan wrote: > > > So... can anyone provide a clue what's "explicit" (or different in any > > > way) between explicit_bzero() and normal bzero()? > > > > > >

svn commit: r315424 - in head/lib: libc/mips libc/mips/gen msun/mips

2017-03-16 Thread Brooks Davis
Author: brooks Date: Thu Mar 16 21:05:21 2017 New Revision: 315424 URL: https://svnweb.freebsd.org/changeset/base/315424 Log: Replace SOFTFLOAT with __mips_soft_float, which gcc/clang define for us. D8376 extended softfloat/hardfloat support, but used a macro that never actually gets set

svn commit: r315044 - in stable/11/lib/libc: aarch64 amd64 amd64/string arm arm/string i386 i386/string mips mips/gdtoa mips/string powerpc powerpc64 riscv sparc64 sparc64/string

2017-03-10 Thread Brooks Davis
Author: brooks Date: Sat Mar 11 02:51:29 2017 New Revision: 315044 URL: https://svnweb.freebsd.org/changeset/base/315044 Log: MFC r314556-r314558 r314556: Correct MDSRCS use in /string/Makefile.inc. - Remove .c files which duplicate entries in MISRCS. - Use the same, less merge

svn commit: r314901 - head/lib/libpam/static_libpam

2017-03-08 Thread Brooks Davis
Author: brooks Date: Wed Mar 8 08:25:26 2017 New Revision: 314901 URL: https://svnweb.freebsd.org/changeset/base/314901 Log: Use LDFLAGS rather than CFLAGS when linking. Reviewed by: kan Obtained from:CheriBSD Sponsored by: DARPA, AFRL Differential Revision:

Re: svn commit: r314527 - in head: crypto/openssh crypto/openssh/contrib crypto/openssh/contrib/cygwin crypto/openssh/contrib/redhat crypto/openssh/contrib/suse crypto/openssh/openbsd-compat crypto/op

2017-03-06 Thread Brooks Davis
On Sat, Mar 04, 2017 at 10:36:03PM +0900, Allan Jude wrote: > On March 4, 2017 3:46:49 AM GMT+09:00, "Dag-Erling Sm??rgrav" > wrote: > >Ed Maste writes: > >> If you don't want to use Phabricator, I'd ask that you consider > >> removing your account. > > > >I

Re: svn commit: r314657 - in head/kerberos5: . lib/libgssapi_krb5 lib/libgssapi_ntlm lib/libgssapi_spnego lib/libhdb lib/libkafs5 lib/libkrb5 libexec/hprop libexec/kpasswdd tools/asn1_compile tools/sl

2017-03-06 Thread Brooks Davis
On Sat, Mar 04, 2017 at 05:16:49PM -0700, Warner Losh wrote: > On Sat, Mar 4, 2017 at 3:32 PM, Rodney W. Grimes > wrote: > >> > >> > On Mar 4, 2017, at 13:43, Warner Losh wrote: > >> > > >> >> On Sat, Mar 4, 2017 at 1:25 PM, Bryan Drewery

svn commit: r314558 - head/lib/libc/mips/gdtoa

2017-03-02 Thread Brooks Davis
Author: brooks Date: Thu Mar 2 17:08:37 2017 New Revision: 314558 URL: https://svnweb.freebsd.org/changeset/base/314558 Log: Garbage collect unused gdtoa related files on mips. Reviewed by: emase, imp, jhb MFC after:1 week Sponsored by: DARPA, AFRL Differential Revision:

svn commit: r314557 - in head/lib/libc: aarch64 amd64 arm i386 mips powerpc powerpc64 powerpcspe riscv sparc64

2017-03-02 Thread Brooks Davis
Author: brooks Date: Thu Mar 2 17:07:28 2017 New Revision: 314557 URL: https://svnweb.freebsd.org/changeset/base/314557 Log: Correct an misunderstanding of MDSRCS. MDSRCS it intended to allow assembly versions of funtions with C implementations listed in MISRCS. The selection of the

svn commit: r314556 - in head/lib/libc: aarch64/string amd64/string arm/string i386/string mips/string sparc64/string

2017-03-02 Thread Brooks Davis
Author: brooks Date: Thu Mar 2 17:05:52 2017 New Revision: 314556 URL: https://svnweb.freebsd.org/changeset/base/314556 Log: Correct MDSRCS use in /string/Makefile.inc. - Remove .c files which duplicate entries in MISRCS. - Use the same, less merge conflict prone style in all cases. -

svn commit: r314180 - head/sys/mips/conf

2017-02-23 Thread Brooks Davis
Author: brooks Date: Thu Feb 23 20:41:55 2017 New Revision: 314180 URL: https://svnweb.freebsd.org/changeset/base/314180 Log: Fix and shorten BERI kernel builds during universe. Stop building BERI_DE4_BASE and BERI_SIM_BASE, they aren't particularly valid as they don't have a root dev.

svn commit: r314047 - head/sys/mips/conf

2017-02-21 Thread Brooks Davis
Author: brooks Date: Tue Feb 21 17:34:27 2017 New Revision: 314047 URL: https://svnweb.freebsd.org/changeset/base/314047 Log: Rename BERI_TEMPLATE to std.BERI to be more like other configs. Sponsored by: DARPA, AFRL Added: head/sys/mips/conf/std.BERI - copied, changed from r314046,

svn commit: r313899 - head/sys/mips/conf

2017-02-17 Thread Brooks Davis
Author: brooks Date: Fri Feb 17 21:25:24 2017 New Revision: 313899 URL: https://svnweb.freebsd.org/changeset/base/313899 Log: Enable capsicum on MALTA kernels. This adds less that 10K to the kernel and should probably be done in the other std.* configs. Modified:

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

2017-02-11 Thread Brooks Davis
On Sat, Feb 11, 2017 at 02:56:52PM +0100, Dimitry Andric wrote: > On 11 Feb 2017, at 10:57, Antoine Brodin wrote: > > > > On Fri, Feb 10, 2017 at 6:37 PM, Gleb Smirnoff wrote: > >> Author: glebius > >> Date: Fri Feb 10 17:37:04 2017 > >> New Revision:

svn commit: r312947 - head/sys/boot/mips/beri/boot2

2017-01-29 Thread Brooks Davis
Author: brooks Date: Sun Jan 29 11:52:36 2017 New Revision: 312947 URL: https://svnweb.freebsd.org/changeset/base/312947 Log: Remove "-Xassembler -G0" from CFLAGS. -G0 is sufficent except on old version of clang (<3.8) and such versions are unlikely to be generally useful on mips64.

svn commit: r312588 - head/sys/mips/conf

2017-01-21 Thread Brooks Davis
Author: brooks Date: Sat Jan 21 09:08:27 2017 New Revision: 312588 URL: https://svnweb.freebsd.org/changeset/base/312588 Log: Enable TMPFS on MALTA so we can use it on minimalist disk images without modules. Sponsored by: DARPA, AFRL Modified: head/sys/mips/conf/std.MALTA Modified:

Re: svn commit: r310354 - in head/usr.sbin: . prometheus_sysctl_exporter

2016-12-22 Thread Brooks Davis
On Thu, Dec 22, 2016 at 08:42:24PM +0100, Ed Schouten wrote: > Hey! > > 2016-12-21 20:53 GMT+01:00 Edward Tomasz Napiera??a : > > That's a very good reason; it could also be fixed by moving > > it from sbin/ to libexec/. > > I'm not sure that doing that is a good idea. You can

svn commit: r310382 - head/sbin/tunefs

2016-12-21 Thread Brooks Davis
Author: brooks Date: Thu Dec 22 00:35:12 2016 New Revision: 310382 URL: https://svnweb.freebsd.org/changeset/base/310382 Log: Convert tunefs use to nmount(2) Reviewed by: jhb, emaste Sponsored by: DARPA, AFRL Differential Revision:https://reviews.freebsd.org/D8822 Modified:

svn commit: r310380 - stable/10/bin/df

2016-12-21 Thread Brooks Davis
Author: brooks Date: Wed Dec 21 23:59:58 2016 New Revision: 310380 URL: https://svnweb.freebsd.org/changeset/base/310380 Log: MFC r310088, r310090, r310095 r310088: Put the undocumented df feature of mounting filesystems from device nodes under an ifdef. Leave enabled. Reviewed

svn commit: r310378 - stable/10/sbin/mount

2016-12-21 Thread Brooks Davis
Author: brooks Date: Wed Dec 21 23:16:58 2016 New Revision: 310378 URL: https://svnweb.freebsd.org/changeset/base/310378 Log: MFC r310092: Add a free_iovec() function to reset iovec's. The primary purpose is to call nmount() in a loop with new iovec's so free_iovec takes arguments

svn commit: r310377 - stable/11/bin/df

2016-12-21 Thread Brooks Davis
Author: brooks Date: Wed Dec 21 22:53:10 2016 New Revision: 310377 URL: https://svnweb.freebsd.org/changeset/base/310377 Log: MFC r310088, r310090, r310095 r310088: Put the undocumented df feature of mounting filesystems from device nodes under an ifdef. Leave enabled. Reviewed

svn commit: r310374 - stable/11/sbin/mount

2016-12-21 Thread Brooks Davis
Author: brooks Date: Wed Dec 21 22:04:44 2016 New Revision: 310374 URL: https://svnweb.freebsd.org/changeset/base/310374 Log: MFC r310092: Add a free_iovec() function to reset iovec's. The primary purpose is to call nmount() in a loop with new iovec's so free_iovec takes arguments

svn commit: r310095 - head/bin/df

2016-12-14 Thread Brooks Davis
Author: brooks Date: Wed Dec 14 21:30:44 2016 New Revision: 310095 URL: https://svnweb.freebsd.org/changeset/base/310095 Log: Use nmount(2) rather than the obsolete mount(2). Reviewed by: cem MFC after:1 week Sponsored by: DARPA, AFRL Differential Revision:

svn commit: r310092 - head/sbin/mount

2016-12-14 Thread Brooks Davis
Author: brooks Date: Wed Dec 14 21:26:43 2016 New Revision: 310092 URL: https://svnweb.freebsd.org/changeset/base/310092 Log: Add a free_iovec() function to reset iovec's. The primary purpose is to call nmount() in a loop with new iovec's so free_iovec takes arguments by reference and

svn commit: r310090 - head/bin/df

2016-12-14 Thread Brooks Davis
Author: brooks Date: Wed Dec 14 21:13:10 2016 New Revision: 310090 URL: https://svnweb.freebsd.org/changeset/base/310090 Log: Mount filesystems without executable permissions since they should never be used. Reviewed by: cem MFC after:1 week Sponsored by: DARPA, AFRL

svn commit: r310088 - head/bin/df

2016-12-14 Thread Brooks Davis
Author: brooks Date: Wed Dec 14 21:11:42 2016 New Revision: 310088 URL: https://svnweb.freebsd.org/changeset/base/310088 Log: Put the undocumented df feature of mounting filesystems from device nodes under an ifdef. Leave enabled. Reviewed by: cem MFC after:1 week Differential

svn commit: r309305 - stable/9/sbin/dhclient

2016-11-29 Thread Brooks Davis
Author: brooks Date: Wed Nov 30 01:41:40 2016 New Revision: 309305 URL: https://svnweb.freebsd.org/changeset/base/309305 Log: MFC r309027: Allocate a struct ifreq rather than using a (wrong) computed size for the BIOCSETIF ioctl. The kernel always copies an entire struct ifreq and

svn commit: r309304 - stable/10/sbin/dhclient

2016-11-29 Thread Brooks Davis
Author: brooks Date: Wed Nov 30 01:22:12 2016 New Revision: 309304 URL: https://svnweb.freebsd.org/changeset/base/309304 Log: MFC r309027: Allocate a struct ifreq rather than using a (wrong) computed size for the BIOCSETIF ioctl. The kernel always copies an entire struct ifreq and

svn commit: r309303 - stable/11/sbin/dhclient

2016-11-29 Thread Brooks Davis
Author: brooks Date: Wed Nov 30 01:17:02 2016 New Revision: 309303 URL: https://svnweb.freebsd.org/changeset/base/309303 Log: MFC r309027: Allocate a struct ifreq rather than using a (wrong) computed size for the BIOCSETIF ioctl. The kernel always copies an entire struct ifreq and

svn commit: r309027 - head/sbin/dhclient

2016-11-22 Thread Brooks Davis
Author: brooks Date: Tue Nov 22 22:45:15 2016 New Revision: 309027 URL: https://svnweb.freebsd.org/changeset/base/309027 Log: Allocate a struct ifreq rather than using a (wrong) computed size for the BIOCSETIF ioctl. The kernel always copies an entire struct ifreq and IPv4 addresses will

Re: svn commit: r308181 - in head: . share/mk

2016-11-02 Thread Brooks Davis
On Wed, Nov 02, 2016 at 04:55:22AM -0230, Jonathan Anderson wrote: > Hi, > > On 1 Nov 2016, at 21:10, Dimitry Andric wrote: > > > Please note, I reverted r307823 (which changed the suffixes from .bco > > and .llo to .bc and .ll) in r308003, since it caused a number of ports > > failures. These

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

svn commit: r305843 - in head/sys/mips: include mips

2016-09-15 Thread Brooks Davis
Author: brooks Date: Thu Sep 15 17:25:52 2016 New Revision: 305843 URL: https://svnweb.freebsd.org/changeset/base/305843 Log: The TLS offset is a property of the process ABI. Move to a per-proc TLS offset rather than incorrectly keying off the presense of freebsd32 compability in the

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

2016-09-09 Thread Brooks Davis
Author: brooks Date: Fri Sep 9 16:18:44 2016 New Revision: 305666 URL: https://svnweb.freebsd.org/changeset/base/305666 Log: Fix spelling in comment. Submitted by: brueffer Modified: head/lib/libc/sys/Makefile.inc Modified: head/lib/libc/sys/Makefile.inc

svn commit: r305630 - in head/lib/libc: aarch64/sys amd64/sys arm/sys i386/sys mips/sys powerpc/sys powerpc64/sys riscv/sys sparc64/sys sys

2016-09-08 Thread Brooks Davis
Author: brooks Date: Thu Sep 8 22:38:20 2016 New Revision: 305630 URL: https://svnweb.freebsd.org/changeset/base/305630 Log: Reduce duplicate NOASM and PSEUDO definitions The initial value of NOASM is nearly the same in all cases and the initial value of PSEUDO is the same in all cases

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

2016-09-07 Thread Brooks Davis
Author: brooks Date: Thu Sep 8 00:38:50 2016 New Revision: 305574 URL: https://svnweb.freebsd.org/changeset/base/305574 Log: Remove a pointless translation of struct ioc_toc_header. struct ioc_toc_header will be the same size (and thus IOREADTOCHEADER will have the same value on all

svn commit: r305506 - head/sys/kern

2016-09-06 Thread Brooks Davis
Author: brooks Date: Tue Sep 6 22:03:53 2016 New Revision: 305506 URL: https://svnweb.freebsd.org/changeset/base/305506 Log: Modernize the initalization of sigproptbl. Use C99 designators to set the value of each slot and the nitems macro to check for valid entries. In the process,

svn commit: r305288 - head/sys/kern

2016-09-02 Thread Brooks Davis
Author: brooks Date: Fri Sep 2 18:22:56 2016 New Revision: 305288 URL: https://svnweb.freebsd.org/changeset/base/305288 Log: Merge from CheriBSD: Rename sigprop-table constants to SIGPROP_ from SA_ to reduce the impression of a namespace collision. Submitted by: rwatson Reviewed

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

2016-09-01 Thread Brooks Davis
Author: brooks Date: Fri Sep 2 00:16:19 2016 New Revision: 305262 URL: https://svnweb.freebsd.org/changeset/base/305262 Log: Initialize lists of signals using C99 designators Reviewed by: jilles Sponsored by: DARPA, AFRL Differential Revision:https://reviews.freebsd.org/D7601

Re: svn commit: r305170 - head/lib/atf/libatf-c

2016-09-01 Thread Brooks Davis
On Thu, Sep 01, 2016 at 11:43:48AM -0700, Ngie Cooper (yaneurabeya) wrote: > > > On Sep 1, 2016, at 09:54, Brooks Davis <bro...@freebsd.org> wrote: > > > I've run into to some problems with them on CheriBSD because the > > external compiler isn't available on the

Re: svn commit: r305170 - head/lib/atf/libatf-c

2016-09-01 Thread Brooks Davis
On Thu, Sep 01, 2016 at 02:42:11AM +, Ngie Cooper wrote: > Author: ngie > Date: Thu Sep 1 02:42:11 2016 > New Revision: 305170 > URL: https://svnweb.freebsd.org/changeset/base/305170 > > Log: > Don't bake all of CC/CPP/CXX into CFLAGS > > Capture executable names for CC, CPP, CXX

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.

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

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