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

2018-05-15 Thread Brooks Davis
Author: brooks Date: Tue May 15 16:24:58 2018 New Revision: 333635 URL: https://svnweb.freebsd.org/changeset/base/333635 Log: Allow freebsd32 __sysctl(2) to return ENOMEM. This is required by programs like sockstat that read variably sized sysctls such as kern.file. The normal path has n

svn commit: r333640 - head/sys/netinet6

2018-05-15 Thread Brooks Davis
Author: brooks Date: Tue May 15 17:57:46 2018 New Revision: 333640 URL: https://svnweb.freebsd.org/changeset/base/333640 Log: Remove stray tabs in in6_lltable_dump_entry(). NFC. Modified: head/sys/netinet6/in6.c Modified: head/sys/netinet6/in6.c =

svn commit: r333641 - head/sys/netinet6

2018-05-15 Thread Brooks Davis
Author: brooks Date: Tue May 15 17:59:46 2018 New Revision: 333641 URL: https://svnweb.freebsd.org/changeset/base/333641 Log: Unwrap some not-so-long lines now that extra tabs been removed. Modified: head/sys/netinet6/in6.c Modified: head/sys/netinet6/in6.c ==

svn commit: r333643 - head/sys/netinet

2018-05-15 Thread Brooks Davis
Author: brooks Date: Tue May 15 20:13:00 2018 New Revision: 333643 URL: https://svnweb.freebsd.org/changeset/base/333643 Log: Remove stray tabs from in_lltable_dump_entry(). Modified: head/sys/netinet/in.c Modified: head/sys/netinet/in.c ==

svn commit: r333644 - head/sys/netinet

2018-05-15 Thread Brooks Davis
Author: brooks Date: Tue May 15 20:14:38 2018 New Revision: 333644 URL: https://svnweb.freebsd.org/changeset/base/333644 Log: Unwrap a line that no longer requires wrapping. Modified: head/sys/netinet/in.c Modified: head/sys/netinet/in.c ==

svn commit: r333773 - head/sys/kern

2018-05-17 Thread Brooks Davis
Author: brooks Date: Thu May 17 23:07:51 2018 New Revision: 333773 URL: https://svnweb.freebsd.org/changeset/base/333773 Log: Use strsep() to parse init_path in start_init(). This simplifies the use of the path variable by making it NUL terminated. This is a prerequisite for further clea

Re: svn commit: r333929 - head/usr.bin/top

2018-05-21 Thread Brooks Davis
On Sun, May 20, 2018 at 05:59:59PM +, Eitan Adler wrote: > Author: eadler > Date: Sun May 20 17:59:59 2018 > New Revision: 333929 > URL: https://svnweb.freebsd.org/changeset/base/333929 > > Log: > top(1): Make lack of "percent" information explicit > > When count is 1, no delta informat

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: 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 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: 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: 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: r326307 - head/contrib/libc-vis

2017-11-27 Thread Brooks Davis
Author: brooks Date: Tue Nov 28 01:35:28 2017 New Revision: 326307 URL: https://svnweb.freebsd.org/changeset/base/326307 Log: Update vis(3) the latest from NetBSD. This adds VIS_DQ for compatiblity with OpenBSD. Correct by an off-by-one error and a read buffer overflow detected using

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

2017-11-28 Thread Brooks Davis
Author: brooks Date: Tue Nov 28 18:23:17 2017 New Revision: 326333 URL: https://svnweb.freebsd.org/changeset/base/326333 Log: Disable vim syntax highlighting. Vim's default pick doesn't understand that ';' is a comment character and the result looks horrible. Reviewed by: emaste Mo

Re: svn commit: r327086 - head/sys/dev/lmc

2018-01-03 Thread Brooks Davis
On Fri, Dec 22, 2017 at 05:15:02PM +, Pedro F. Giffuni wrote: > Author: pfg > Date: Fri Dec 22 17:15:02 2017 > New Revision: 327086 > URL: https://svnweb.freebsd.org/changeset/base/327086 > > Log: > SPDX: Reverse License ID tags from the lmc driver. > > While the BSD-2-Clause license is

Re: svn commit: r327684 - in head/sys/compat: cloudabi32 cloudabi64

2018-01-08 Thread Brooks Davis
On Mon, Jan 08, 2018 at 04:13:42PM +0100, Ed Schouten wrote: > Hi Andrew, > > 2018-01-08 8:37 GMT+01:00 Andrew Turner : > > Won???t this lead to a NULL pointer dereference on overflow? mallocarray > > can return NULL even with M_WAITOK. > > Yes, it will, but an overflow shouldn't happen in the f

Re: svn commit: r327354 - head/sys/vm

2018-01-19 Thread Brooks Davis
On Fri, Jan 19, 2018 at 09:25:34AM -0800, Conrad Meyer wrote: > On Fri, Jan 19, 2018 at 9:04 AM, Rodney W. Grimes > wrote: > > BUT I do not believe this bit of "style" has anything to do with > > readability of code, and has more to do with how code runs on a > > processor and stack frames. If y

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

2018-01-23 Thread Brooks Davis
Author: brooks Date: Tue Jan 23 20:07:51 2018 New Revision: 328297 URL: https://svnweb.freebsd.org/changeset/base/328297 Log: Don't escape '?'s in protocol output. This isn't required by mandoc and is nonfunctional in groff. PR: 224632 Reported by: w.schwarzenf...@utanet.a

svn commit: r331621 - in head/sys: compat/freebsd32 dev/md kern sys

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 15:20:03 2018 New Revision: 331621 URL: https://svnweb.freebsd.org/changeset/base/331621 Log: Move uio enums to sys/_uio.h. Include _uio.h instead of uio.h in several headers to reduce header polution. Fix a few places that relied on header polution to

svn commit: r331623 - in head/sys: compat/freebsd32 dev/md

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 16:07:54 2018 New Revision: 331623 URL: https://svnweb.freebsd.org/changeset/base/331623 Log: Move 32-bit compat for md(4) ioctls into the md code. This is more correct in that ioctl commands have no meaning until they hit the handler associated with the fi

svn commit: r331641 - head/sys/net

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 18:26:50 2018 New Revision: 331641 URL: https://svnweb.freebsd.org/changeset/base/331641 Log: Fix access to ifru_buffer on freebsd32. Make all kernel accesses to ifru_buffer go via access functions which take the process ABI into account and use an appropri

svn commit: r331644 - head/sys/net

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 18:55:39 2018 New Revision: 331644 URL: https://svnweb.freebsd.org/changeset/base/331644 Log: Fix a whitespace bug missed in refactoring prior to r331641. MFC with: r331641 Modified: head/sys/net/if.c Modified: head/sys/net/if.c ==

svn commit: r331648 - in head/sys: net ofed/drivers/infiniband/ulp/ipoib

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 20:51:49 2018 New Revision: 331648 URL: https://svnweb.freebsd.org/changeset/base/331648 Log: Improve copy-and-pasted versions of SIOCGIFADDR. The original implementation used a reference to ifr_data and a cast to do the equivalent of accessing ifr_addr. Th

Re: svn commit: r331648 - in head/sys: net ofed/drivers/infiniband/ulp/ipoib

2018-03-27 Thread Brooks Davis
On Tue, Mar 27, 2018 at 08:51:49PM +, Brooks Davis wrote: > Author: brooks > Date: Tue Mar 27 20:51:49 2018 > New Revision: 331648 > URL: https://svnweb.freebsd.org/changeset/base/331648 > > Log: > Improve copy-and-pasted versions of SIOCGIFADDR. > > The ori

svn commit: r331651 - head/sys/dev/sbni

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 21:03:29 2018 New Revision: 331651 URL: https://svnweb.freebsd.org/changeset/base/331651 Log: Copy flags over ifr_union directly rather than via casts through ifr_data. No functional change in practice. If the sbni driver supported 64-bit big-endian system

svn commit: r331652 - head/sys/dev/sbni

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 21:04:54 2018 New Revision: 331652 URL: https://svnweb.freebsd.org/changeset/base/331652 Log: Revert r331651 to recommit with proper commit metadata. Modified: head/sys/dev/sbni/if_sbni.c Modified: head/sys/dev/sbni/if_sbni.c ==

svn commit: r331653 - head/sys/dev/sbni

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 21:06:18 2018 New Revision: 331653 URL: https://svnweb.freebsd.org/changeset/base/331653 Log: Copy flags over ifr_union directly rather than via casts through ifr_data. No functional change in practice. If the sbni driver supported 64-bit big-endian system

svn commit: r331654 - head/sys/dev/nxge

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 21:14:39 2018 New Revision: 331654 URL: https://svnweb.freebsd.org/changeset/base/331654 Log: Don't access userspace directly from the kernel in nxge(4). Update to what the previous code seemed to be doing via the correct interfaces. Further issues exist i

svn commit: r331714 - in head: . sys/conf sys/net sys/netinet sys/netinet6 sys/nfs usr.sbin/arp

2018-03-28 Thread Brooks Davis
Author: brooks Date: Wed Mar 28 23:33:26 2018 New Revision: 331714 URL: https://svnweb.freebsd.org/changeset/base/331714 Log: Remove infrastructure for token-ring networks. Reviewed by: cem, imp, jhb, jmallett Relnotes: yes Sponsored by: DARPA, AFRL Differential Revision:

svn commit: r331737 - head/sys/dev/de

2018-03-29 Thread Brooks Davis
Author: brooks Date: Thu Mar 29 15:58:49 2018 New Revision: 331737 URL: https://svnweb.freebsd.org/changeset/base/331737 Log: GC never enabled support for SIOCGADDRROM and SIOCGCHIPID. When de(4) was imported in 1997 the world was not ready for these ioctls. In over 20 years that hasn't c

svn commit: r331740 - head

2018-03-29 Thread Brooks Davis
Author: brooks Date: Thu Mar 29 17:44:55 2018 New Revision: 331740 URL: https://svnweb.freebsd.org/changeset/base/331740 Log: It is March not May. Reported by: jkim Modified: head/UPDATING Modified: head/UPDATING =

svn commit: r331776 - head/sys/netinet6

2018-03-30 Thread Brooks Davis
Author: brooks Date: Fri Mar 30 18:26:29 2018 New Revision: 331776 URL: https://svnweb.freebsd.org/changeset/base/331776 Log: Remove a comment that suggests checking that a non-pointer is non-NULL. Reviewed by: melifaro, markj, hrs, ume Sponsored by: DARPA, AFRL Differential Revision:

svn commit: r331797 - in head/sys: dev/an dev/ath dev/cxgbe dev/if_ndis dev/iwi dev/ixl dev/mlx4/mlx4_en dev/mlx5/mlx5_en dev/mwl dev/nxge dev/oce dev/qlnx/qlnxe dev/sbni dev/sfxge dev/vxge net net...

2018-03-30 Thread Brooks Davis
Author: brooks Date: Fri Mar 30 18:50:13 2018 New Revision: 331797 URL: https://svnweb.freebsd.org/changeset/base/331797 Log: Use an accessor function to access ifr_data. This fixes 32-bit compat (no ioctl command defintions are required as struct ifreq is the same size). This is believe

svn commit: r331829 - in head/sys/dev: ex ixgb nxge vxge

2018-03-30 Thread Brooks Davis
Author: brooks Date: Fri Mar 30 20:24:29 2018 New Revision: 331829 URL: https://svnweb.freebsd.org/changeset/base/331829 Log: Fall back to ether_ioctl() by default. The common pratice in ethernet device drivers is to fall back to ether_ioctl() to implement generic ioctls not implemented b

svn commit: r331830 - in head: share/man/man4 sys/dev/cm sys/dev/pdq

2018-03-30 Thread Brooks Davis
Author: brooks Date: Fri Mar 30 20:27:47 2018 New Revision: 331830 URL: https://svnweb.freebsd.org/changeset/base/331830 Log: Add deprecation notices for Arcnet and FDDI drivers. We intend to remove support before FreeBSD 12 is branched. Reviewed by: imp, emaste MFC after:3 days

svn commit: r331831 - in head/sys: net netinet6

2018-03-30 Thread Brooks Davis
Author: brooks Date: Fri Mar 30 21:38:53 2018 New Revision: 331831 URL: https://svnweb.freebsd.org/changeset/base/331831 Log: Document and enforce assumptions about struct (in6_)ifreq. - The two types must be type-punnable for shared members of ifr_ifru. This allows compatibility access

Re: svn commit: r331830 - in head: share/man/man4 sys/dev/cm sys/dev/pdq

2018-03-30 Thread Brooks Davis
On Fri, Mar 30, 2018 at 02:13:22PM -0700, Rodney W. Grimes wrote: > > Author: brooks > > Date: Fri Mar 30 20:27:47 2018 > > New Revision: 331830 > > URL: https://svnweb.freebsd.org/changeset/base/331830 > > > > Log: > > Add deprecation notices for Arcnet and FDDI drivers. > > > > We intend

Re: svn commit: r331869 - head/sys/dev/nxge

2018-04-02 Thread Brooks Davis
On Sun, Apr 01, 2018 at 06:53:27PM +, Ian Lepore wrote: > Author: ian > Date: Sun Apr 1 18:53:27 2018 > New Revision: 331869 > URL: https://svnweb.freebsd.org/changeset/base/331869 > > Log: > Fix the build on arches with default unsigned char. Capture the fubyte() > return value in an in

svn commit: r332049 - head

2018-04-04 Thread Brooks Davis
Author: brooks Date: Wed Apr 4 22:46:30 2018 New Revision: 332049 URL: https://svnweb.freebsd.org/changeset/base/332049 Log: Allow -DNO_CLEAN builds over r332048. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ==

svn commit: r332048 - in head/lib/libc: aarch64/sys amd64/sys arm/sys i386/sys riscv/sys

2018-04-04 Thread Brooks Davis
Author: brooks Date: Wed Apr 4 22:45:08 2018 New Revision: 332048 URL: https://svnweb.freebsd.org/changeset/base/332048 Log: Remove architecture specific sigreturn.S files. All of these files are identical (modulo license blocks and VCS IDs) to the files generated by lib/libc/sys/Makefil

svn commit: r332080 - in head/lib/libc: aarch64/sys arm/sys mips/sys riscv/sys

2018-04-05 Thread Brooks Davis
Author: brooks Date: Thu Apr 5 18:17:46 2018 New Revision: 332080 URL: https://svnweb.freebsd.org/changeset/base/332080 Log: Remove architecture specific shmat.S files. These files are identical to the generated system calls. In the case of MIPS, the file was already disconnected from th

svn commit: r332081 - head

2018-04-05 Thread Brooks Davis
Author: brooks Date: Thu Apr 5 18:19:48 2018 New Revision: 332081 URL: https://svnweb.freebsd.org/changeset/base/332081 Log: Allow -DNO_CLEAN buildworld after r332080. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 =

svn commit: r332086 - head/sys/kern

2018-04-05 Thread Brooks Davis
Author: brooks Date: Thu Apr 5 20:31:45 2018 New Revision: 332086 URL: https://svnweb.freebsd.org/changeset/base/332086 Log: Added SAL annotatations to system calls. Modify makesyscalls.sh to strip out SAL annotations. No functional change. This is based on work I started in Cher

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

2018-04-05 Thread Brooks Davis
On Thu, Apr 05, 2018 at 08:31:45PM +, Brooks Davis wrote: > Author: brooks > Date: Thu Apr 5 20:31:45 2018 > New Revision: 332086 > URL: https://svnweb.freebsd.org/changeset/base/332086 > > Log: > Added SAL annotatations to system calls. > > Modify makes

svn commit: r332087 - head/sys/net

2018-04-05 Thread Brooks Davis
Author: brooks Date: Thu Apr 5 21:58:28 2018 New Revision: 332087 URL: https://svnweb.freebsd.org/changeset/base/332087 Log: ifconf(): Always zero the whole struct ifreq. The previous split of zeroing ifr_name and ifr_addr seperately is safe on current architectures, but would be unsafe

svn commit: r332088 - head/sys/net

2018-04-05 Thread Brooks Davis
Author: brooks Date: Thu Apr 5 22:14:55 2018 New Revision: 332088 URL: https://svnweb.freebsd.org/changeset/base/332088 Log: Add 32-bit compat for ioctls that take struct ifgroupreq. Use an accessor to access ifgr_group and ifgr_groups. Use an macro CASE_IOC_IFGROUPREQ(cmd) in place o

svn commit: r332119 - in head/lib/libc: amd64/sys gen i386/sys powerpc/sys powerpc64/sys sparc64/sys

2018-04-06 Thread Brooks Davis
Author: brooks Date: Fri Apr 6 17:17:34 2018 New Revision: 332119 URL: https://svnweb.freebsd.org/changeset/base/332119 Log: Remove caching from getlogin(2). This caching has existed since the CSRG import, but serves no obvious purpose. Sure, setlogin() is called rarely, but calls to get

svn commit: r332121 - head

2018-04-06 Thread Brooks Davis
Author: brooks Date: Fri Apr 6 17:23:47 2018 New Revision: 332121 URL: https://svnweb.freebsd.org/changeset/base/332121 Log: Support -DNO_CLEAN builds across r332119. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ==

svn commit: r332122 - in head/sys: amd64/amd64 amd64/ia32 amd64/linux amd64/linux32 arm/arm arm64/arm64 cam/scsi compat/freebsd32 compat/ia32 compat/linux conf dev/aac dev/aacraid dev/acpica dev/at...

2018-04-06 Thread Brooks Davis
Author: brooks Date: Fri Apr 6 17:35:35 2018 New Revision: 332122 URL: https://svnweb.freebsd.org/changeset/base/332122 Log: Move most of the contents of opt_compat.h to opt_global.h. opt_compat.h is mentioned in nearly 180 files. In-progress network driver compabibility improvements may

svn commit: r332133 - head/sys/conf

2018-04-06 Thread Brooks Davis
Author: brooks Date: Fri Apr 6 19:11:22 2018 New Revision: 332133 URL: https://svnweb.freebsd.org/changeset/base/332133 Log: Add an unused _COMPAT_LINUX32 option to ensure opt_compat.h exists on platforms without COMPAT_LINUX32. Reported by: kib Modified: head/sys/conf/options Modif

svn commit: r332151 - head/sys/net

2018-04-06 Thread Brooks Davis
Author: brooks Date: Fri Apr 6 20:26:56 2018 New Revision: 332151 URL: https://svnweb.freebsd.org/changeset/base/332151 Log: ifconf(): correct handling of sockaddrs smaller than struct sockaddr. Portable programs that use SIOCGIFCONF (e.g. traceroute) assume that each pseudo ifreq is of

svn commit: r332158 - head/sys/net

2018-04-06 Thread Brooks Davis
Author: brooks Date: Fri Apr 6 23:25:54 2018 New Revision: 332158 URL: https://svnweb.freebsd.org/changeset/base/332158 Log: Remove the thread argument from ifr_buffer_*() accessors. They are always used in a context where curthread is the correct thread. This makes them more similar to

svn commit: r332293 - head/sys/amd64/linux32

2018-04-08 Thread Brooks Davis
Author: brooks Date: Sun Apr 8 17:10:32 2018 New Revision: 332293 URL: https://svnweb.freebsd.org/changeset/base/332293 Log: Fix LINT (and static COMPAT_LINUX32) after r332122. Modified: head/sys/amd64/linux32/linux32_machdep.c Modified: head/sys/amd64/linux32/linux32_machdep.c

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

2018-04-09 Thread Brooks Davis
Author: brooks Date: Mon Apr 9 22:59:10 2018 New Revision: 332343 URL: https://svnweb.freebsd.org/changeset/base/332343 Log: Refactor PCIOCGETCONF for improved readability. The code now has a single, consistant flow for all three ioctl variants. ifdefs and for pre-FreeBSD-7 compatability

svn commit: r332412 - in head: . lib/libifconfig sbin/etherswitchcfg sbin/ifconfig share/man/man4 sys/conf sys/dev/pdq sys/net sys/netinet sys/netinet6 sys/nfs

2018-04-11 Thread Brooks Davis
Author: brooks Date: Wed Apr 11 17:28:24 2018 New Revision: 332412 URL: https://svnweb.freebsd.org/changeset/base/332412 Log: Remove support for FDDI networks. Defines in net/if_media.h remain in case code copied from ifconfig is in use elsewere (supporting non-existant media type is harm

svn commit: r332443 - in head/lib/libc: amd64 amd64/sys gen i386 i386/sys mips/sys powerpc powerpc/sys powerpc64 powerpc64/sys sparc64 sparc64/sys

2018-04-12 Thread Brooks Davis
Author: brooks Date: Thu Apr 12 18:23:14 2018 New Revision: 332443 URL: https://svnweb.freebsd.org/changeset/base/332443 Log: Replace MD assembly exect() with a portable version. Originally, on the VAX exect() enable tracing once the new executable image was loaded. This was possible bec

svn commit: r332444 - head

2018-04-12 Thread Brooks Davis
Author: brooks Date: Thu Apr 12 18:24:00 2018 New Revision: 332444 URL: https://svnweb.freebsd.org/changeset/base/332444 Log: Allow -DNO_CLEAN builds across r332443. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r332445 - head

2018-04-12 Thread Brooks Davis
Author: brooks Date: Thu Apr 12 18:25:53 2018 New Revision: 332445 URL: https://svnweb.freebsd.org/changeset/base/332445 Log: Add fpa.4.gz missing in the removal of FDDI in r332412. Reported by: trasz Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ===

svn commit: r332488 - head/sys/dev/netmap

2018-04-13 Thread Brooks Davis
Author: brooks Date: Fri Apr 13 19:43:23 2018 New Revision: 332488 URL: https://svnweb.freebsd.org/changeset/base/332488 Log: Fix build on 32-bit systems. Modified: head/sys/dev/netmap/netmap_freebsd.c Modified: head/sys/dev/netmap/netmap_freebsd.c ===

svn commit: r332490 - in head: . contrib/bsnmp/snmp_mibII lib/libc/net share/man/man4 stand/i386/libi386 sys/conf sys/dev/cm sys/modules sys/modules/arcnet sys/modules/cm sys/net sys/netinet sys/ne...

2018-04-13 Thread Brooks Davis
Author: brooks Date: Fri Apr 13 21:18:04 2018 New Revision: 332490 URL: https://svnweb.freebsd.org/changeset/base/332490 Log: Remove support for the Arcnet protocol. While Arcnet has some continued deployment in industrial controls, the lack of drivers for any of the PCI, USB, or PCIe NIC

svn commit: r332512 - head/sys/conf

2018-04-15 Thread Brooks Davis
Author: brooks Date: Sun Apr 15 15:06:07 2018 New Revision: 332512 URL: https://svnweb.freebsd.org/changeset/base/332512 Log: Remove device cm which was removed in r332490. Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES ===

Re: svn commit: r332512 - head/sys/conf

2018-04-15 Thread Brooks Davis
On Sun, Apr 15, 2018 at 03:06:07PM +, Brooks Davis wrote: > Author: brooks > Date: Sun Apr 15 15:06:07 2018 > New Revision: 332512 > URL: https://svnweb.freebsd.org/changeset/base/332512 > > Log: > Remove device cm which was removed in r332490. I'm quite confused

svn commit: r332514 - head

2018-04-15 Thread Brooks Davis
Author: brooks Date: Sun Apr 15 15:23:47 2018 New Revision: 332514 URL: https://svnweb.freebsd.org/changeset/base/332514 Log: Manpages are .gz files. Reported by: trasz Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ===

Re: svn commit: r332512 - head/sys/conf

2018-04-15 Thread Brooks Davis
On Sun, Apr 15, 2018 at 10:33:18AM -0500, Benjamin Kaduk wrote: > On Sun, Apr 15, 2018 at 10:13 AM, Brooks Davis wrote: > > > On Sun, Apr 15, 2018 at 03:06:07PM +0000, Brooks Davis wrote: > > > Author: brooks > > > Date: Sun Apr 15 15:06:07 2018 > > >

Re: svn commit: r332512 - head/sys/conf

2018-04-15 Thread Brooks Davis
On Sun, Apr 15, 2018 at 07:28:29PM +0200, Dimitry Andric wrote: > On 15 Apr 2018, at 17:37, Brooks Davis wrote: > > > > On Sun, Apr 15, 2018 at 10:33:18AM -0500, Benjamin Kaduk wrote: > >> On Sun, Apr 15, 2018 at 10:13 AM, Brooks Davis wrote: > >> > >>

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

2018-04-16 Thread Brooks Davis
Author: brooks Date: Mon Apr 16 17:43:26 2018 New Revision: 332629 URL: https://svnweb.freebsd.org/changeset/base/332629 Log: Remove unused badaddr() function. Reviewed by: jmallett Sponsored by: DARPA, AFRL Differential Revision:https://reviews.freebsd.org/D15078 Modified:

svn commit: r332630 - in head: lib/libifconfig sbin/devd sbin/etherswitchcfg sbin/ifconfig

2018-04-16 Thread Brooks Davis
Author: brooks Date: Mon Apr 16 18:07:51 2018 New Revision: 332630 URL: https://svnweb.freebsd.org/changeset/base/332630 Log: Remove support for FDDI and token ring media types in userland utilities. Reviewed by: kib Sponsored by: DARPA, AFRL Differential Revision:https://revie

svn commit: r332650 - head/sys/kern

2018-04-17 Thread Brooks Davis
Author: brooks Date: Tue Apr 17 16:36:53 2018 New Revision: 332650 URL: https://svnweb.freebsd.org/changeset/base/332650 Log: Stop using fuswintr() and suswintr() in the profiler. Always take the AST path rather than calling MD functions which are often implemented as always failing. The

svn commit: r332654 - in head: share/man/man9 sys/arm/arm sys/mips/mips

2018-04-17 Thread Brooks Davis
Author: brooks Date: Tue Apr 17 17:20:04 2018 New Revision: 332654 URL: https://svnweb.freebsd.org/changeset/base/332654 Log: Remove unused implementations of copyoutstr(). Also remove the commented out documentation. The documentation arrived with the import of the copy.9 manpage. I su

svn commit: r332656 - in head: . share/man/man9 sys/amd64/amd64 sys/arm/arm sys/arm64/arm64 sys/conf sys/i386/i386 sys/mips/mips sys/powerpc/powerpc sys/riscv/riscv sys/sparc64/sparc64 sys/sys

2018-04-17 Thread Brooks Davis
Author: brooks Date: Tue Apr 17 18:04:28 2018 New Revision: 332656 URL: https://svnweb.freebsd.org/changeset/base/332656 Log: Remove the unused fuwintr() and suiwintr() functions. Half of implementations always failed (returned (-1)) and they were previously used in only one place. R

svn commit: r332660 - head/sys/sparc64/sparc64

2018-04-17 Thread Brooks Davis
Author: brooks Date: Tue Apr 17 22:30:00 2018 New Revision: 332660 URL: https://svnweb.freebsd.org/changeset/base/332660 Log: Remove references to fs_nofault_intr_begin/end. These should have removed in r332656. Reported by: mjg, lidl Modified: head/sys/sparc64/sparc64/trap.c Modi

Re: svn commit: r332782 - in head/sys: amd64/linux amd64/linux32 compat/freebsd32 i386/linux kern sys

2018-04-19 Thread Brooks Davis
On Thu, Apr 19, 2018 at 04:00:34PM +, John Baldwin wrote: > Author: jhb > Date: Thu Apr 19 16:00:34 2018 > New Revision: 332782 > URL: https://svnweb.freebsd.org/changeset/base/332782 > > Log: > Simplify the code to allocate stack for auxv, argv[], and environment > vectors. > > Remove

svn commit: r332792 - in head/lib: libc/riscv libc/riscv/gen msun/riscv

2018-04-19 Thread Brooks Davis
Author: brooks Date: Thu Apr 19 20:36:15 2018 New Revision: 332792 URL: https://svnweb.freebsd.org/changeset/base/332792 Log: Replace SOFTFLOAT with __riscv_float_abi_*. With SOFTFLOAT, libc and libm were built correctly, but any program including fenv.h itself assumed it was on a hardflo

svn commit: r332796 - head/tools/tools/sortbench

2018-04-19 Thread Brooks Davis
Author: brooks Date: Thu Apr 19 21:53:57 2018 New Revision: 332796 URL: https://svnweb.freebsd.org/changeset/base/332796 Log: Add sortbench. This is a set of benchmarks of qsort, mergesort, heapsort, and optionally wikisort and a script to run them. Submitted by: Miles Fertel Spon

Re: svn commit: r332796 - head/tools/tools/sortbench

2018-04-19 Thread Brooks Davis
nrad > > On Thu, Apr 19, 2018 at 2:53 PM, Brooks Davis wrote: > > Author: brooks > > Date: Thu Apr 19 21:53:57 2018 > > New Revision: 332796 > > URL: https://svnweb.freebsd.org/changeset/base/332796 > > > > Log: > > Add sortbench. > > > >

Re: svn commit: r332796 - head/tools/tools/sortbench

2018-04-19 Thread Brooks Davis
On Thu, Apr 19, 2018 at 04:53:03PM -0700, Rodney W. Grimes wrote: > -- Start of PGP signed section. > > The goal is to replace our merge sort with its weird limitations (you > > can't sort things smaller than int on amd64 and it doesn't work with > > pointer integrity schemes) with wikisort. This

svn commit: r332895 - in head: lib/libifconfig sbin/etherswitchcfg sbin/ifconfig sys/net

2018-04-23 Thread Brooks Davis
Author: brooks Date: Mon Apr 23 21:10:33 2018 New Revision: 332895 URL: https://svnweb.freebsd.org/changeset/base/332895 Log: Finish removing FDDI and tokenring media support. This fixes media display for 802.11 wireless devices. Software outside the base system that uses these media t

svn commit: r332997 - head/sys/net

2018-04-25 Thread Brooks Davis
Author: brooks Date: Wed Apr 25 15:30:42 2018 New Revision: 332997 URL: https://svnweb.freebsd.org/changeset/base/332997 Log: Translate 32-bit ifmedia requests into native ones. We use transformation rather than accessors as virtually ever driver implements SIOCGIFMEDIA and all would have

Re: svn commit: r333240 - in head/sys: powerpc/powerpc sys

2018-05-04 Thread Brooks Davis
On Fri, May 04, 2018 at 04:00:48AM +, Mateusz Guzik wrote: > Author: mjg > Date: Fri May 4 04:00:48 2018 > New Revision: 333240 > URL: https://svnweb.freebsd.org/changeset/base/333240 > > Log: > Allow __builtin_memmove instead of bcopy for small buffers of known size What is the justificat

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

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 ch

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) > > wrote: > > > > > >> On May 31, 2017, at 10:03 PM, Brooks Davis wrote: > >> > >> On Wed, May 31, 2017 at 0

  1   2   3   4   5   6   7   8   9   >