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

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

2018-04-09 Thread Brooks Davis
Author: brooks Date: Mon Apr 9 15:21:40 2018 New Revision: 332329 URL: https://svnweb.freebsd.org/changeset/base/332329 Log: MFC r332151: ifconf(): correct handling of sockaddrs smaller than struct sockaddr. Portable programs that use SIOCGIFCONF (e.g. traceroute) assume that each

svn commit: r332331 - stable/11/sys/dev/wl

2018-04-09 Thread Brooks Davis
Author: brooks Date: Mon Apr 9 16:18:02 2018 New Revision: 332331 URL: https://svnweb.freebsd.org/changeset/base/332331 Log: Fix wl(4) after r332288. I missed that this was an assignment (a bad pattern, use another member) on i386. As wl(4) is i386 only and gone in head, just expand

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

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

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

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

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

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 07:28:29PM +0200, Dimitry Andric wrote: > On 15 Apr 2018, at 17:37, Brooks Davis <bro...@freebsd.org> wrote: > > > > On Sun, Apr 15, 2018 at 10:33:18AM -0500, Benjamin Kaduk wrote: > >> On Sun, Apr 15, 2018 at 10:13 AM, Brooks Da

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 by th

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 <bro...@freebsd.org> wrote: > > > On Sun, Apr 15, 2018 at 03:06:07PM +, Brooks Davis wrote: > > > Author: brooks > > > Date: Sun Apr 15 15:0

Re: svn commit: r332493 - stable/11/sys/net

2018-04-15 Thread Brooks Davis
On Sat, Apr 14, 2018 at 08:54:15AM -0400, Ed Maste wrote: > On 14 April 2018 at 07:31, Magnus Ringman wrote: > > Hi Brooks, this MFC missed your r331077 > > (https://reviews.freebsd.org/D14706) thus stable buildkernel currently > > breaks on missing those two macros. > > Thanks

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

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

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

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.

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

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

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

2018-04-19 Thread Brooks Davis
hu, Apr 19, 2018 at 2:53 PM, Brooks Davis <bro...@freebsd.org> 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: 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

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

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

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

svn commit: r331632 - in stable/10/sys: cam/scsi modules/cam

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 17:42:04 2018 New Revision: 331632 URL: https://svnweb.freebsd.org/changeset/base/331632 Log: MFC r330819, r330885, r330934 r330819: Reject CAMIOGET and CAMIOQUEUE ioctl's on pass(4) in 32-bit compat mode. These take a union ccb argument which is full

svn commit: r331631 - stable/11/sys/cam/scsi

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 17:39:27 2018 New Revision: 331631 URL: https://svnweb.freebsd.org/changeset/base/331631 Log: MFC r330820: Reject ioctls to SCSI enclosures from 32-bit compat processes. The ioctl objects contain pointers and require translation and some refactoring

svn commit: r331635 - in stable/10/sys: dev/isp modules/isp

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 17:48:39 2018 New Revision: 331635 URL: https://svnweb.freebsd.org/changeset/base/331635 Log: MFC r330876, r330945 r330876: Fix ISP_FC_LIP and ISP_RESCAN on big-endian 64-bit systems. For _IO() ioctls, addr is a pointer to uap->data which is a

svn commit: r331633 - stable/10/sys/cam/scsi

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 17:43:03 2018 New Revision: 331633 URL: https://svnweb.freebsd.org/changeset/base/331633 Log: MFC r330820: Reject ioctls to SCSI enclosures from 32-bit compat processes. The ioctl objects contain pointers and require translation and some refactoring

svn commit: r331629 - in stable/11/sys: cam/scsi modules/cam

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 17:35:15 2018 New Revision: 331629 URL: https://svnweb.freebsd.org/changeset/base/331629 Log: MFC r330819, r330885, r330934 r330819: Reject CAMIOGET and CAMIOQUEUE ioctl's on pass(4) in 32-bit compat mode. These take a union ccb argument which is full

svn commit: r331634 - in stable/11/sys: dev/isp modules/isp

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 17:46:25 2018 New Revision: 331634 URL: https://svnweb.freebsd.org/changeset/base/331634 Log: MFC r330876, r330945 r330876: Fix ISP_FC_LIP and ISP_RESCAN on big-endian 64-bit systems. For _IO() ioctls, addr is a pointer to uap->data which is a

svn commit: r331636 - in stable/11/sys: dev/aac dev/aacraid modules/aac modules/aacraid sys

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 17:51:45 2018 New Revision: 331636 URL: https://svnweb.freebsd.org/changeset/base/331636 Log: MFC r330949: Fix FSACTL_GET_NEXT_ADAPTER_FIB under 32-bit compat. This includes FSACTL_LNX_GET_NEXT_ADAPTER_FIB. Reviewed by: cem Obtained from:

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

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: r331637 - in stable/10/sys: dev/aac dev/aacraid modules/aac modules/aacraid sys

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 17:52:52 2018 New Revision: 331637 URL: https://svnweb.freebsd.org/changeset/base/331637 Log: MFC r330949: Fix FSACTL_GET_NEXT_ADAPTER_FIB under 32-bit compat. This includes FSACTL_LNX_GET_NEXT_ADAPTER_FIB. Reviewed by: cem Obtained from:

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

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

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

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: 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: r331747 - in stable/11/sys: conf kern sys

2018-03-29 Thread Brooks Davis
Author: brooks Date: Thu Mar 29 19:53:56 2018 New Revision: 331747 URL: https://svnweb.freebsd.org/changeset/base/331747 Log: MFC r328522: Create deprecation management functions. gone_in(majar, msg); If we're running in FreeBSD major, tell the user this code

svn commit: r331882 - in stable/11: share/man/man4 sys/dev/cm sys/dev/pdq

2018-04-02 Thread Brooks Davis
Author: brooks Date: Mon Apr 2 16:11:49 2018 New Revision: 331882 URL: https://svnweb.freebsd.org/changeset/base/331882 Log: MFC r331830: Add deprecation notices for Arcnet and FDDI drivers. We intend to remove support before FreeBSD 12 is branched. Reviewed by: imp, emaste

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

svn commit: r331881 - stable/11/sys/dev/pdq

2018-04-02 Thread Brooks Davis
Author: brooks Date: Mon Apr 2 16:08:51 2018 New Revision: 331881 URL: https://svnweb.freebsd.org/changeset/base/331881 Log: fea(4) was removed in HEAD with the removal of EISA support. This is a direct commit. Modified: stable/11/sys/dev/pdq/if_fea.c Modified:

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

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

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

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.

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

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 o

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

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

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

svn commit: r331077 - head/sys/sys

2018-03-16 Thread Brooks Davis
Author: brooks Date: Fri Mar 16 22:23:04 2018 New Revision: 331077 URL: https://svnweb.freebsd.org/changeset/base/331077 Log: Add _IOC_NEWLEN() and _IOC_NEWTYPE() macros. These macros take an existing ioctl(2) command and replace the length with the specified length or length of the

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

2018-03-04 Thread Brooks Davis
Author: brooks Date: Sun Mar 4 20:06:02 2018 New Revision: 330409 URL: https://svnweb.freebsd.org/changeset/base/330409 Log: Refer to SysV IPC permissions as numeric constants. POSIX defines no macros for these permissions. Also remove unneeded headers from synopsis. PR:

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

2018-03-05 Thread Brooks Davis
Author: brooks Date: Mon Mar 5 17:02:50 2018 New Revision: 330518 URL: https://svnweb.freebsd.org/changeset/base/330518 Log: Regen after r330517. Modified: head/sys/compat/freebsd32/freebsd32_syscalls.c head/sys/compat/freebsd32/freebsd32_sysent.c head/sys/kern/init_sysent.c

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

2018-03-05 Thread Brooks Davis
Author: brooks Date: Mon Mar 5 17:02:16 2018 New Revision: 330517 URL: https://svnweb.freebsd.org/changeset/base/330517 Log: Remove remenants of 1990s efforts to let us run Net/OpenBSD binaries. No functional change (comments change in some generated files.) Reviewed by: kib

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

2018-03-02 Thread Brooks Davis
On Fri, Mar 02, 2018 at 12:43:34PM -0500, Pedro Giffuni wrote: > (cc in Eitan as he may be interested in the extra restrict cases) > > > On 02/03/2018 11:47, Konstantin Belousov wrote: > > Author: kib > > Date: Fri Mar 2 16:47:02 2018 > > New Revision: 330285 > > URL:

Re: svn commit: r330297 - in head: lib/libc/sys sys/compat/freebsd32 sys/i386/ibcs2 sys/kern sys/sys

2018-03-02 Thread Brooks Davis
On Fri, Mar 02, 2018 at 10:10:49PM +, Brooks Davis wrote: > Author: brooks > Date: Fri Mar 2 22:10:48 2018 > New Revision: 330297 > URL: https://svnweb.freebsd.org/changeset/base/330297 > > Log: > Rename kernel-only members of semid_ds and msgid_ds. > >

svn commit: r330297 - in head: lib/libc/sys sys/compat/freebsd32 sys/i386/ibcs2 sys/kern sys/sys

2018-03-02 Thread Brooks Davis
Author: brooks Date: Fri Mar 2 22:10:48 2018 New Revision: 330297 URL: https://svnweb.freebsd.org/changeset/base/330297 Log: Rename kernel-only members of semid_ds and msgid_ds. This deliberately breaks the API in preperation for future syscall revisions which will remove these

svn commit: r330298 - head/sys/sys

2018-03-02 Thread Brooks Davis
Author: brooks Date: Fri Mar 2 22:13:29 2018 New Revision: 330298 URL: https://svnweb.freebsd.org/changeset/base/330298 Log: Don't define struct mymsg. PR: 224299, 224443 (exp-run) Reviewed by: kib, jhb Exp-run by: antoine Sponsored by: DARPA, AFRL Differential

svn commit: r330299 - in head: contrib/sendmail/include/sm/os lib/libc/gen lib/libc/sys sys/sys usr.bin/svn/lib/libapr

2018-03-02 Thread Brooks Davis
Author: brooks Date: Fri Mar 2 22:32:53 2018 New Revision: 330299 URL: https://svnweb.freebsd.org/changeset/base/330299 Log: Don't declare union semun in userspace unless _WANT_SEMUN is defined. POSIX explicitly states that the application must declare union semun. This makes no sense,

Re: svn commit: r330297 - in head: lib/libc/sys sys/compat/freebsd32 sys/i386/ibcs2 sys/kern sys/sys

2018-03-02 Thread Brooks Davis
On Fri, Mar 02, 2018 at 03:31:36PM -0800, Cy Schubert wrote: > In message <201803022325.w22npyiw050...@slippy.cwsent.com>, Cy Schubert > writes: > > In message <20180302223138.ga83...@spindle.one-eyed-alien.net>, Brooks > > Davis wr > > ites: > > >

svn commit: r330300 - in head: contrib/netbsd-tests/kernel usr.bin/ipcrm

2018-03-02 Thread Brooks Davis
Author: brooks Date: Fri Mar 2 23:31:55 2018 New Revision: 330300 URL: https://svnweb.freebsd.org/changeset/base/330300 Log: Fix build post r330299 Modified: head/contrib/netbsd-tests/kernel/t_sysv.c head/usr.bin/ipcrm/ipcrm.c Modified: head/contrib/netbsd-tests/kernel/t_sysv.c

svn commit: r330527 - head/sys/kern

2018-03-05 Thread Brooks Davis
Author: brooks Date: Tue Mar 6 01:52:04 2018 New Revision: 330527 URL: https://svnweb.freebsd.org/changeset/base/330527 Log: Use umtx_copyin_umtx_time32() in __umtx_op_lock_umutex_compat32(). Non-NULL timeouts where copied in improperly and could produce failures due to incompatible

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

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

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

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

svn commit: r335797 - head/share/mk

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

svn commit: r339624 - head/sys/kern

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

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

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

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

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

svn commit: r339623 - head/sys/sys

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

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

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

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

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

svn commit: r339958 - head/sys/kern

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

svn commit: r340242 - head

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

svn commit: r340172 - head/sys/kern

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

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