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

2015-09-09 Thread Hiroki Sato
Author: hrs Date: Thu Sep 10 06:56:56 2015 New Revision: 287615 URL: https://svnweb.freebsd.org/changeset/base/287615 Log: Use read to parse a line instead of set. MFC after:3 days Modified: head/etc/rc.d/jail Modified: head/etc/rc.d/jail

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

2015-09-09 Thread Hiroki Sato
Author: hrs Date: Thu Sep 10 06:55:28 2015 New Revision: 287614 URL: https://svnweb.freebsd.org/changeset/base/287614 Log: - Add uid check. - Report delay<0 as a warning. MFC after:3 days Modified: head/etc/rc.d/bgfsck Modified: head/etc/rc.d/bgfsck ===

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

2015-09-09 Thread Hiroki Sato
Author: hrs Date: Thu Sep 10 06:47:23 2015 New Revision: 287613 URL: https://svnweb.freebsd.org/changeset/base/287613 Log: Update only static routes when an interface is specified. This fixed a bad side-effect reported in PR 202144. PR: 202144 MFC after:3 days Modified:

svn commit: r287612 - in head: sbin/rtsol usr.sbin/rtsold

2015-09-09 Thread Hiroki Sato
Author: hrs Date: Thu Sep 10 06:40:28 2015 New Revision: 287612 URL: https://svnweb.freebsd.org/changeset/base/287612 Log: - Remove #ifdef HAVE_POLL_H. - Use nitems(). MFC after:3 days Modified: head/sbin/rtsol/Makefile head/usr.sbin/rtsold/Makefile head/usr.sbin/rtsold/if.c

svn commit: r287611 - head/sys/netinet6

2015-09-09 Thread Hiroki Sato
Author: hrs Date: Thu Sep 10 06:31:24 2015 New Revision: 287611 URL: https://svnweb.freebsd.org/changeset/base/287611 Log: - Remove SIOCGDRLST_IN6 and SIOCGPRLST_IN6. These are quite old APIs and there is no consumer now. MFC after:3 days Modified: head/sys/netinet6/in6_var.h M

svn commit: r287610 - head/sys/netinet6

2015-09-09 Thread Hiroki Sato
Author: hrs Date: Thu Sep 10 06:29:18 2015 New Revision: 287610 URL: https://svnweb.freebsd.org/changeset/base/287610 Log: - Remove SIOCGDRLST_IN6 and SIOCGPRLST_IN6. These are quite old APIs and there is no consumer now. - Simplify first and duplicate LLA check. MFC after:3 d

svn commit: r287609 - head/sys/netinet6

2015-09-09 Thread Hiroki Sato
Author: hrs Date: Thu Sep 10 06:10:30 2015 New Revision: 287609 URL: https://svnweb.freebsd.org/changeset/base/287609 Log: Do not add IN6_IFF_TENTATIVE when ND6_IFF_NO_DAD. MFC after:3 days Modified: head/sys/netinet6/in6.c Modified: head/sys/netinet6/in6.c =

svn commit: r287608 - head/sys/netinet6

2015-09-09 Thread Hiroki Sato
Author: hrs Date: Thu Sep 10 06:08:42 2015 New Revision: 287608 URL: https://svnweb.freebsd.org/changeset/base/287608 Log: Remove IN6_IFF_NOPFX. This flag was no longer used. MFC after:3 days Modified: head/sys/netinet6/in6_ifattach.c head/sys/netinet6/in6_var.h Modified: head/sy

svn commit: r287607 - in head: sbin/ifconfig share/man/man4 sys/net

2015-09-09 Thread Hiroki Sato
Author: hrs Date: Thu Sep 10 05:59:39 2015 New Revision: 287607 URL: https://svnweb.freebsd.org/changeset/base/287607 Log: - Remove GIF_{SEND,ACCEPT}_REVETHIP. - Simplify EADDRNOTAVAIL and EAFNOSUPPORT conditions. MFC after:3 days Modified: head/sbin/ifconfig/ifgif.c head/share/m

svn commit: r287606 - head/sys/kern

2015-09-09 Thread Adrian Chadd
Author: adrian Date: Thu Sep 10 04:05:58 2015 New Revision: 287606 URL: https://svnweb.freebsd.org/changeset/base/287606 Log: Also make kern.maxfilesperproc a boot time tunable. Auto-tuning threshold discussions aside, it turns out that if you want to lower this on say, rather memory-pack

svn commit: r287605 - in stable/9/sys: fs/procfs kern

2015-09-09 Thread John Baldwin
Author: jhb Date: Wed Sep 9 23:41:24 2015 New Revision: 287605 URL: https://svnweb.freebsd.org/changeset/base/287605 Log: MFC 283281,283282,283562,286158: Various fixes to orphan handling which also fix issues with following forks. Unlike the changes in HEAD, this merge does not include th

svn commit: r287604 - in stable/10: sys/fs/procfs sys/kern tests/sys/kern

2015-09-09 Thread John Baldwin
Author: jhb Date: Wed Sep 9 23:39:30 2015 New Revision: 287604 URL: https://svnweb.freebsd.org/changeset/base/287604 Log: MFC 283281,283282,283562,283647,283836,284000,286158: Various fixes to orphan handling which also fix issues with following forks. 283281: Always set p_oppid when

svn commit: r287603 - in stable/9: bin/ps sys/kern sys/sys

2015-09-09 Thread John Baldwin
Author: jhb Date: Wed Sep 9 23:05:52 2015 New Revision: 287603 URL: https://svnweb.freebsd.org/changeset/base/287603 Log: MFC 269656,270024,270443,270993: Fix problems with orphan handling. Note that to preserve KBI, p_treeflag has been added to the end of struct proc and is explicitly zer

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

2015-09-09 Thread John Baldwin
Author: jhb Date: Wed Sep 9 22:54:07 2015 New Revision: 287602 URL: https://svnweb.freebsd.org/changeset/base/287602 Log: Use _exit() instead of exit() in child processes created during tests. Suggested by: kib Modified: head/tests/sys/kern/ptrace_test.c Modified: head/tests/sys/kern/p

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

2015-09-09 Thread John Baldwin
Author: jhb Date: Wed Sep 9 22:42:26 2015 New Revision: 287601 URL: https://svnweb.freebsd.org/changeset/base/287601 Log: Add a test to verify that a traced process sees its original parent via getppid() after a debugger process that is not the parent has attached. Reviewed by: kib (ear

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

2015-09-09 Thread John Baldwin
Author: jhb Date: Wed Sep 9 21:18:10 2015 New Revision: 287600 URL: https://svnweb.freebsd.org/changeset/base/287600 Log: Properly size the children[] arrays in the follow fork tests. Modified: head/tests/sys/kern/ptrace_test.c Modified: head/tests/sys/kern/ptrace_test.c ===

svn commit: r287599 - head/sys/kern

2015-09-09 Thread Konstantin Belousov
Author: kib Date: Wed Sep 9 19:31:08 2015 New Revision: 287599 URL: https://svnweb.freebsd.org/changeset/base/287599 Log: For open("name", O_DIRECTORY | O_CREAT), do not try to create the named node, open(2) cannot create directories. But do allow the flag combination to succeed if the dir

svn commit: r287598 - stable/10/sys/dev/filemon

2015-09-09 Thread Bryan Drewery
Author: bdrewery Date: Wed Sep 9 17:15:13 2015 New Revision: 287598 URL: https://svnweb.freebsd.org/changeset/base/287598 Log: MFC r287151,r287152,r287153,r287155: r287151: Move common locking for filemon_inuse and struct filemon* to filemon_pid_check(). r287152: Re

Re: svn commit: r287099 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-09-09 Thread Slawa Olhovchenkov
On Mon, Aug 24, 2015 at 08:10:52AM +, Andriy Gapon wrote: > Author: avg > Date: Mon Aug 24 08:10:52 2015 > New Revision: 287099 > URL: https://svnweb.freebsd.org/changeset/base/287099 > > Log: > account for ashift when gathering buffers to be written to l2arc device > > The change that

svn commit: r287597 - head/usr.sbin/bluetooth/hccontrol

2015-09-09 Thread Takanori Watanabe
Author: takawata Date: Wed Sep 9 13:24:39 2015 New Revision: 287597 URL: https://svnweb.freebsd.org/changeset/base/287597 Log: fix compare argument for address type. Submitted by: issei10193 (via Twitter) Modified: head/usr.sbin/bluetooth/hccontrol/le.c Modified: head/usr.sbin/bluetoot

svn commit: r287596 - head/sys/arm64/arm64

2015-09-09 Thread Andrew Turner
Author: andrew Date: Wed Sep 9 11:51:14 2015 New Revision: 287596 URL: https://svnweb.freebsd.org/changeset/base/287596 Log: Rework copyinstr to: * Fail when the length passed in is 0 * Remove an unneeded increment of the count on success * Return ENAMETOOLONG when the input pointer is

svn commit: r287595 - head/lib/libc/net

2015-09-09 Thread Hiroki Sato
Author: hrs Date: Wed Sep 9 09:19:07 2015 New Revision: 287595 URL: https://svnweb.freebsd.org/changeset/base/287595 Log: - Fix SIGSEGV when sa == NULL. NULL check in getnameinfo_inet() did not work as expected. - Simplify afdl table lookup. MFC after:3 days Modified: head

svn commit: r287594 - stable/10/sys/net

2015-09-09 Thread Hiroki Sato
Author: hrs Date: Wed Sep 9 08:52:39 2015 New Revision: 287594 URL: https://svnweb.freebsd.org/changeset/base/287594 Log: MFC r272889 and r287402: - Virtualize if_epair(4). An if_xname check for both "a" and "b" interfaces is added to return EEXIST when only "b" interface exists---thi

svn commit: r287593 - stable/10/usr.bin/netstat

2015-09-09 Thread Hiroki Sato
Author: hrs Date: Wed Sep 9 08:40:17 2015 New Revision: 287593 URL: https://svnweb.freebsd.org/changeset/base/287593 Log: MFC r287406: Divide statistics in the number of packets with 1000 instead of 1024 in human-readable form. PR: 183598 Modified: stable/10/usr.bin/netstat/if.

svn commit: r287592 - in head/sys/dev/usb: . serial

2015-09-09 Thread Hans Petter Selasky
Author: hselasky Date: Wed Sep 9 07:04:00 2015 New Revision: 287592 URL: https://svnweb.freebsd.org/changeset/base/287592 Log: Add new USB ID. MFC after:1 month PR: 202968 Modified: head/sys/dev/usb/serial/u3g.c head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/seri