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: r292762 - stable/10/lib/libc/gen

2015-12-26 Thread Konstantin Belousov
Author: kib Date: Sun Dec 27 00:42:13 2015 New Revision: 292762 URL: https://svnweb.freebsd.org/changeset/base/292762 Log: MFC r292510: Fix lockf(3) cancellation behaviour. Modified: stable/10/lib/libc/gen/lockf.c Directory Properties: stable/10/ (props changed) Modified: stable/10/lib

svn commit: r292761 - in stable/9: include lib/libc/net

2015-12-26 Thread Hajimu UMEMOTO
Author: ume Date: Sun Dec 27 00:38:57 2015 New Revision: 292761 URL: https://svnweb.freebsd.org/changeset/base/292761 Log: MFC r292514: addrinfo.ai_family is an address family, not a protocol family. PR: 162434 Modified: stable/9/include/netdb.h stable/9/lib/libc/net/geta

svn commit: r292760 - in stable/10: include lib/libc/net

2015-12-26 Thread Hajimu UMEMOTO
Author: ume Date: Sun Dec 27 00:37:04 2015 New Revision: 292760 URL: https://svnweb.freebsd.org/changeset/base/292760 Log: MFC r292514: addrinfo.ai_family is an address family, not a protocol family. PR: 162434 Modified: stable/10/include/netdb.h stable/10/lib/libc/net/ge

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: r292755 - stable/9/bin/ed

2015-12-26 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 26 18:38:09 2015 New Revision: 292755 URL: https://svnweb.freebsd.org/changeset/base/292755 Log: MFC r292454, r292455 ed(1): Prevent possible string overflows Use strlcpy to guarantee NULL termination. With hint from: imp, cem, ngie CID: 1

svn commit: r292754 - stable/10/bin/ed

2015-12-26 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 26 18:37:01 2015 New Revision: 292754 URL: https://svnweb.freebsd.org/changeset/base/292754 Log: MFC r292454, r292455 ed(1): Prevent possible string overflows Use strlcpy to guarantee NULL termination. With hint from: imp, cem, ngie CID: 1

svn commit: r292753 - stable/10/usr.bin/bc

2015-12-26 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 26 18:26:44 2015 New Revision: 292753 URL: https://svnweb.freebsd.org/changeset/base/292753 Log: MFC r291155: bc: sync with OpenBSD tty.c Rev. 1.3 Avoid unintended problems with operator precedence when doing an assignment and comparison. bc.1, Rev. 1.

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

svn commit: r292747 - stable/10/lib/liblzma

2015-12-26 Thread Hajimu UMEMOTO
Author: ume Date: Sat Dec 26 12:06:52 2015 New Revision: 292747 URL: https://svnweb.freebsd.org/changeset/base/292747 Log: MFC 276962: Do not regenerate and install liblzma.pc when only build libraries aka do not regenerate while generating 32bits libs Reported by: Shin-ichi Okano

svn commit: r292746 - stable/10/sys/dev/md

2015-12-26 Thread Konstantin Belousov
Author: kib Date: Sat Dec 26 11:10:44 2015 New Revision: 292746 URL: https://svnweb.freebsd.org/changeset/base/292746 Log: MFC r292128: In md(4) over vnode, correct handling of the unaligned unmapped io requests which page alignment + size is greater than MAXPHYS. Split request up to the s

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