svn commit: r292767 - in head: include lib/libc/stdlib

2015-12-26 Thread Ed Schouten
Author: ed Date: Sun Dec 27 07:50:11 2015 New Revision: 292767 URL: https://svnweb.freebsd.org/changeset/base/292767 Log: Replace implementation of hsearch() by one that scales. Traditionally the hcreate() function creates a hash table that uses chaining, using a fixed user-provided size.

svn commit: r292766 - head/sys/mips/atheros

2015-12-26 Thread Adrian Chadd
Author: adrian Date: Sun Dec 27 07:39:44 2015 New Revision: 292766 URL: https://svnweb.freebsd.org/changeset/base/292766 Log: Fix missing path conversion from the previous commit to shuffle mdio around. It turns out the recent work to cut down the number of atheros kernels built didnt inc

svn commit: r292765 - head/sys/dev/isp

2015-12-26 Thread Alexander Motin
Author: mav Date: Sun Dec 27 06:28:31 2015 New Revision: 292765 URL: https://svnweb.freebsd.org/changeset/base/292765 Log: Allocate separate scratch space for scanner purposes. This space does not require DMA syncing. It reduces lock scope of the DMA scratch space. It allows whole DMA sc

svn commit: r292764 - head/sys/dev/isp

2015-12-26 Thread Alexander Motin
Author: mav Date: Sun Dec 27 06:16:02 2015 New Revision: 292764 URL: https://svnweb.freebsd.org/changeset/base/292764 Log: Split DMA buffers for request, response and ATIO queues. Modified: head/sys/dev/isp/isp_freebsd.h head/sys/dev/isp/isp_pci.c head/sys/dev/isp/isp_sbus.c Modified: he

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

2015-12-26 Thread Konstantin Belousov
Author: kib Date: Sun Dec 27 01:14:42 2015 New Revision: 292763 URL: https://svnweb.freebsd.org/changeset/base/292763 Log: Typo. Modified: head/lib/libthr/thread/thr_fork.c Modified: head/lib/libthr/thread/thr_fork.c ===

svn commit: r292759 - head/etc/rc.d

2015-12-26 Thread Jamie Gritton
Author: jamie Date: Sat Dec 26 23:01:34 2015 New Revision: 292759 URL: https://svnweb.freebsd.org/changeset/base/292759 Log: Let old-style (shell-based) jail configuration handle jail names that contain characters not allowed in a shell variable (such as "-"). These will be replaced by an un

svn commit: r292758 - head/bin/sh/tests/expansion

2015-12-26 Thread Jilles Tjoelker
Author: jilles Date: Sat Dec 26 22:27:48 2015 New Revision: 292758 URL: https://svnweb.freebsd.org/changeset/base/292758 Log: sh: Add tests for #/##/%/%% on $* and $@. Although POSIX leaves things like ${*#X} unspecified, it occasionally occurs in practice. Add some tests that seem to wor

svn commit: r292757 - head/usr.sbin/fstyp

2015-12-26 Thread Allan Jude
Author: allanjude Date: Sat Dec 26 19:48:36 2015 New Revision: 292757 URL: https://svnweb.freebsd.org/changeset/base/292757 Log: Fix includes in usr.sbin/fstyp/zfs.c Approved by: bapt (mentor) MFC after:1 week Sponsored by: ScaleEngine Inc. Differential Revision:https://r

Re: svn commit: r292723 - in head: lib/libc share/mk

2015-12-26 Thread Ed Schouten
Hi Colin, 2015-12-26 1:38 GMT+01:00 Colin Percival : > I just did some tests with one of my pthread-using tools, and it passes > all of my tests with -lc added before or after -lpthread. Can you > remember any details of how the problems showed up? Is it possible that > this has been fixed since

svn commit: r292756 - in head/sys/modules/usb: rsufw urtwnfw

2015-12-26 Thread Adrian Chadd
Author: adrian Date: Sat Dec 26 19:14:24 2015 New Revision: 292756 URL: https://svnweb.freebsd.org/changeset/base/292756 Log: Disable the firwmare licence check for rsu and urtwn. The licence grant says something exactly the same as the atheros patent grant, which is "As long as you use t

svn commit: r292752 - in head/etc: defaults rc.d

2015-12-26 Thread Ian Lepore
Author: ian Date: Sat Dec 26 18:21:32 2015 New Revision: 292752 URL: https://svnweb.freebsd.org/changeset/base/292752 Log: Enhance rc.d/netwait script to wait for late-attaching interfaces such as USB NICs. USB network hardware may not be enumerated and available when the rc.d networkin

svn commit: r292751 - head/sys/dev/ixgbe

2015-12-26 Thread Bjoern A. Zeeb
Author: bz Date: Sat Dec 26 17:27:48 2015 New Revision: 292751 URL: https://svnweb.freebsd.org/changeset/base/292751 Log: Add missing #ifdef INET after r292674 to allow NOIP and NOINET kernels to build. Modified: head/sys/dev/ixgbe/ix_txrx.c Modified: head/sys/dev/ixgbe/ix_txrx.c =

Re: svn commit: r292723 - in head: lib/libc share/mk

2015-12-26 Thread Daniel Eischen
On Fri, 25 Dec 2015, Colin Percival wrote: On 12/25/15 13:03, Daniel Eischen wrote: On Fri, 25 Dec 2015, Ed Schouten wrote: 2015-12-25 12:29 GMT+01:00 Colin Percival : Make libxnet.so a symlink to libc.so. This makes `-lxnet` a no-op, as POSIX requires for the c99 compiler. I seem to r

svn commit: r292750 - head/sys/dev/mdio

2015-12-26 Thread Adrian Chadd
Author: adrian Date: Sat Dec 26 17:22:02 2015 New Revision: 292750 URL: https://svnweb.freebsd.org/changeset/base/292750 Log: [mdio] Add MDIO support for "extended" registers as defined by IEEE 802.3 Clause 45. IEEE 802.3 Clause 45 added backwards-compatible support for 2^16 PHY registers

svn commit: r292749 - head/sys/kern

2015-12-26 Thread Konstantin Belousov
Author: kib Date: Sat Dec 26 15:40:12 2015 New Revision: 292749 URL: https://svnweb.freebsd.org/changeset/base/292749 Log: Do not substitute interpeter if the brand interpreter path is different from the interpreter path requested by the binary. Before this change, it is impossible to act

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

2015-12-26 Thread Baptiste Daroussin
Author: bapt Date: Sat Dec 26 14:23:35 2015 New Revision: 292748 URL: https://svnweb.freebsd.org/changeset/base/292748 Log: procfs(5) is not required by ps(1) and w(1) anymore Remove references of those tools in procfs(5) Modified: head/share/man/man5/procfs.5 Modified: head/share/man/m

Re: svn commit: r292723 - in head: lib/libc share/mk

2015-12-26 Thread Konstantin Belousov
On Fri, Dec 25, 2015 at 04:38:24PM -0800, Colin Percival wrote: > On 12/25/15 13:03, Daniel Eischen wrote: > > On Fri, 25 Dec 2015, Ed Schouten wrote: > >> 2015-12-25 12:29 GMT+01:00 Colin Percival : > >>> Make libxnet.so a symlink to libc.so. This makes `-lxnet` a no-op, as > >>> POSIX requir

svn commit: r292745 - head/sys/dev/isp

2015-12-26 Thread Alexander Motin
Author: mav Date: Sat Dec 26 09:16:05 2015 New Revision: 292745 URL: https://svnweb.freebsd.org/changeset/base/292745 Log: Use single DMA tag for scratch areas of all virtual ports. Modified: head/sys/dev/isp/isp_freebsd.h head/sys/dev/isp/isp_pci.c Modified: head/sys/dev/isp/isp_freebsd.h

svn commit: r292744 - head/sys/compat/linux

2015-12-26 Thread Dmitry Chagin
Author: dchagin Date: Sat Dec 26 09:09:49 2015 New Revision: 292744 URL: https://svnweb.freebsd.org/changeset/base/292744 Log: Return EINVAL in case of incorrect sigev_signo value specified instead of panicing. Modified: head/sys/compat/linux/linux_timer.c Modified: head/sys/compat/linux/li

svn commit: r292743 - head/sys/compat/linux

2015-12-26 Thread Dmitry Chagin
Author: dchagin Date: Sat Dec 26 09:04:47 2015 New Revision: 292743 URL: https://svnweb.freebsd.org/changeset/base/292743 Log: Do not allow access to emuldata for non Linux processes. Pointed out by: mjg@ Security: https://admbugs.freebsd.org/show_bug.cgi?id=679 Modified: hea