Re: svn commit: r278616 - in head: . contrib/netbsd-tests/games etc etc/mtree etc/root games games/caesar games/fortune/datfiles release/scripts share/man/man4 share/man/man6 share/man/man7 share/mk s

2015-02-12 Thread Slawa Olhovchenkov
On Thu, Feb 12, 2015 at 05:35:00AM +, Colin Percival wrote: > Author: cperciva > Date: Thu Feb 12 05:35:00 2015 > New Revision: 278616 > URL: https://svnweb.freebsd.org/changeset/base/278616 > > Log: > Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin; > update pat

svn commit: r278619 - head/sys/cam/ctl

2015-02-12 Thread Alexander Motin
Author: mav Date: Thu Feb 12 10:28:45 2015 New Revision: 278619 URL: https://svnweb.freebsd.org/changeset/base/278619 Log: Make WRITE SAME commands respect physical block size. This change by 2-3 times improves performance of misaligned WRITE SAME commands by avoiding unneeded read-modify

Re: svn commit: r278589 - head/usr.sbin/flowctl

2015-02-12 Thread Bruce Evans
On Wed, 11 Feb 2015, Pedro F. Giffuni wrote: Log: flowctl: Replace alloca() with an array. Reviewed by: glebius Modified: head/usr.sbin/flowctl/flowctl.c Modified: head/usr.sbin/flowctl/flowctl.c == --- head/usr.

svn commit: r278621 - head/usr.sbin/ctladm

2015-02-12 Thread Alexander Motin
Author: mav Date: Thu Feb 12 11:27:54 2015 New Revision: 278621 URL: https://svnweb.freebsd.org/changeset/base/278621 Log: Fix man page to match real option names. MFC after:3 days Modified: head/usr.sbin/ctladm/ctladm.8 Modified: head/usr.sbin/ctladm/ctladm.8 ==

svn commit: r278622 - in head/usr.sbin: ctld iscsid

2015-02-12 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Feb 12 11:57:31 2015 New Revision: 278622 URL: https://svnweb.freebsd.org/changeset/base/278622 Log: Remove unused code. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/ctld/ctld.h head/usr.sbin/ctld/keys.c head/usr.sbin/is

svn commit: r278623 - head/sys/kern

2015-02-12 Thread Randall Stewart
Author: rrs Date: Thu Feb 12 13:31:08 2015 New Revision: 278623 URL: https://svnweb.freebsd.org/changeset/base/278623 Log: This fixes a bug I in-advertantly inserted when I updated the callout code in my last commit. The cc_exec_next is used to track the next when a direct call is being made

Re: svn commit: r278616 - in head: . contrib/netbsd-tests/games etc etc/mtree etc/root games games/caesar games/fortune/datfiles release/scripts share/man/man4 share/man/man6 share/man/man7 share/mk s

2015-02-12 Thread Jan Beich
Devin Teske writes: > PLEASE! Do NOT remove the grand digital clock (grdc). > > So many of us over the years have used it as a terminal keeper-aliver :) (and > as a clock, to boot). > > I will be very sad if you remove grdc. Aren't there better alternatives in ports? clock-mode in sysutils/tmux

svn commit: r278625 - head/sys/cam/ctl

2015-02-12 Thread Alexander Motin
Author: mav Date: Thu Feb 12 15:46:44 2015 New Revision: 278625 URL: https://svnweb.freebsd.org/changeset/base/278625 Log: Make XCOPY and WUT commands respect physical block size/offset. This change by 2-3 times improves performance of misaligned XCOPY and WUT commands by avoiding unneede

svn commit: r278627 - head/lib/libthr

2015-02-12 Thread Konstantin Belousov
Author: kib Date: Thu Feb 12 17:16:54 2015 New Revision: 278627 URL: https://svnweb.freebsd.org/changeset/base/278627 Log: Update libthr(3) man page to reflect the work done to support dlopen. Noted and reviewed by:bdrewery Sponsored by: The FreeBSD Foundation MFC after:1 we

svn commit: r278633 - head/bin/pkill/tests

2015-02-12 Thread Garrett Cooper
Author: ngie Date: Thu Feb 12 20:57:57 2015 New Revision: 278633 URL: https://svnweb.freebsd.org/changeset/base/278633 Log: Refactor the tests 1. `id -u` -> 0 is now only checked once; the entire test script is now skipped if this assertion is violated 2. De-dent whitespace, based o

svn commit: r278634 - head/lib/libc/gen

2015-02-12 Thread Pedro F. Giffuni
Author: pfg Date: Thu Feb 12 21:07:42 2015 New Revision: 278634 URL: https://svnweb.freebsd.org/changeset/base/278634 Log: ulimit(3): Fix broken check. The existing implementation had a broken comparison that could overflow. Replace this with a check that avoids the overflow before it hap

svn commit: r278636 - head/bin/pkill/tests

2015-02-12 Thread Garrett Cooper
Author: ngie Date: Thu Feb 12 21:10:32 2015 New Revision: 278636 URL: https://svnweb.freebsd.org/changeset/base/278636 Log: Parameterize out the amount of sleep done in each test Set the value in each test to a different amount to avoid potential side-effects with other instances of the t

Re: svn commit: r278323 - in head: etc/rc.d usr.sbin/jail

2015-02-12 Thread Garrett Cooper
On Feb 9, 2015, at 18:51, James Gritton wrote: > On 2015-02-06 22:23, Garrett Cooper wrote: >> On Feb 6, 2015, at 18:38, James Gritton wrote: >>> On 2015-02-06 19:23, Garrett Cooper wrote: I think you broke the Jenkins tests runs, and potentially jail support in some edgecases: ht

Re: svn commit: r278323 - in head: etc/rc.d usr.sbin/jail

2015-02-12 Thread Garrett Cooper
On Feb 12, 2015, at 13:12, Garrett Cooper wrote: > On Feb 9, 2015, at 18:51, James Gritton wrote: > >> On 2015-02-06 22:23, Garrett Cooper wrote: >>> On Feb 6, 2015, at 18:38, James Gritton wrote: On 2015-02-06 19:23, Garrett Cooper wrote: > I think you broke the Jenkins tests runs, a

Re: svn commit: r278475 - head/usr.sbin/pw/tests

2015-02-12 Thread Garrett Cooper
Hi Brad, On Feb 9, 2015, at 13:15, Brad Davis wrote: > Author: brd (doc committer) > Date: Mon Feb 9 21:15:52 2015 > New Revision: 278475 > URL: https://svnweb.freebsd.org/changeset/base/278475 > > Log: > Add tests for `pw usernext'. > > PR: 197120 > Submitted by:Robert O'

svn commit: r278640 - head/sys/netgraph

2015-02-12 Thread Gleb Smirnoff
Author: glebius Date: Thu Feb 12 22:20:34 2015 New Revision: 278640 URL: https://svnweb.freebsd.org/changeset/base/278640 Log: Revise default limit for maximum of netgraph data items. With modern internet speeds the limit can be reached even on a single L2TP link. Modified: head/sys/netgr

Re: svn commit: r278634 - head/lib/libc/gen

2015-02-12 Thread Bjoern A. Zeeb
> On 12 Feb 2015, at 21:07 , Pedro F. Giffuni wrote: > > Author: pfg > Date: Thu Feb 12 21:07:42 2015 > New Revision: 278634 > URL: https://svnweb.freebsd.org/changeset/base/278634 > > Log: > ulimit(3): Fix broken check. > > The existing implementation had a broken comparison that could over

Re: svn commit: r278080 - head/sbin/ifconfig

2015-02-12 Thread Gleb Smirnoff
On Mon, Feb 02, 2015 at 01:03:05PM +, Vsevolod Stakhov wrote: V> Author: vsevolod (ports committer) V> Date: Mon Feb 2 13:03:04 2015 V> New Revision: 278080 V> URL: https://svnweb.freebsd.org/changeset/base/278080 V> V> Log: V> Reorganize the list of addresses associated with an interface a

Re: svn commit: r278634 - head/lib/libc/gen

2015-02-12 Thread Pedro Giffuni
On 02/12/15 17:27, Bjoern A. Zeeb wrote: On 12 Feb 2015, at 21:07 , Pedro F. Giffuni wrote: Author: pfg Date: Thu Feb 12 21:07:42 2015 New Revision: 278634 URL: https://svnweb.freebsd.org/changeset/base/278634 Log: ulimit(3): Fix broken check. The existing implementation had a broken com

Re: svn commit: r278634 - head/lib/libc/gen

2015-02-12 Thread Bjoern A. Zeeb
> On 12 Feb 2015, at 22:34 , Pedro Giffuni wrote: > > > On 02/12/15 17:27, Bjoern A. Zeeb wrote: >>> On 12 Feb 2015, at 21:07 , Pedro F. Giffuni wrote: >>> >>> Author: pfg >>> Date: Thu Feb 12 21:07:42 2015 >>> New Revision: 278634 >>> URL: https://svnweb.freebsd.org/changeset/base/278634 >>>

svn commit: r278641 - head/tools/tools/netmap

2015-02-12 Thread George V. Neville-Neil
Author: gnn Date: Thu Feb 12 23:00:31 2015 New Revision: 278641 URL: https://svnweb.freebsd.org/changeset/base/278641 Log: Silence a warning. Modified: head/tools/tools/netmap/pkt-gen.c Modified: head/tools/tools/netmap/pkt-gen.c ==

svn commit: r278642 - in head/usr.bin: chpass passwd

2015-02-12 Thread Baptiste Daroussin
Author: bapt Date: Thu Feb 12 23:08:27 2015 New Revision: 278642 URL: https://svnweb.freebsd.org/changeset/base/278642 Log: Use PRECIOUSPROG instead of custom code to handle schg This allows to preserve schg when installed with -DNO_ROOT MFC after:1 week Modified: head/usr.bin/c

Re: svn commit: r278634 - head/lib/libc/gen

2015-02-12 Thread Pedro Giffuni
On 02/12/15 17:44, Bjoern A. Zeeb wrote: On 12 Feb 2015, at 22:34 , Pedro Giffuni wrote: On 02/12/15 17:27, Bjoern A. Zeeb wrote: On 12 Feb 2015, at 21:07 , Pedro F. Giffuni wrote: Author: pfg Date: Thu Feb 12 21:07:42 2015 New Revision: 278634 URL: https://svnweb.freebsd.org/changeset/bas

Re: svn commit: r278634 - head/lib/libc/gen

2015-02-12 Thread Garrett Cooper
On Feb 12, 2015, at 15:14, Pedro Giffuni wrote: > On 02/12/15 17:44, Bjoern A. Zeeb wrote: >>> On 12 Feb 2015, at 22:34 , Pedro Giffuni wrote: ... > Thank you! > > This will sound strange but I can't confirm, and I can't see anything > obviously wrong. > > I have the revert ready but let me

svn commit: r278649 - head/lib/libc/gen

2015-02-12 Thread Pedro F. Giffuni
Author: pfg Date: Fri Feb 13 00:21:54 2015 New Revision: 278649 URL: https://svnweb.freebsd.org/changeset/base/278649 Log: Revert 278634: This broke the build due to the compiler being too clever. Will be back, with proper compiler workarounds. Modified: head/lib/libc/gen/ulimit.c Modif

Re: svn commit: r278634 - head/lib/libc/gen

2015-02-12 Thread Pedro Giffuni
On 02/12/15 18:54, Garrett Cooper wrote: On Feb 12, 2015, at 15:14, Pedro Giffuni wrote: On 02/12/15 17:44, Bjoern A. Zeeb wrote: On 12 Feb 2015, at 22:34 , Pedro Giffuni wrote: ... Thank you! This will sound strange but I can't confirm, and I can't see anything obviously wrong. I have

svn commit: r278653 - head/bin/pkill/tests

2015-02-12 Thread Garrett Cooper
Author: ngie Date: Fri Feb 13 01:07:12 2015 New Revision: 278653 URL: https://svnweb.freebsd.org/changeset/base/278653 Log: Call wait to ensure that background processes have died This is being done to establish parity with pgrep-j_test Modified: head/bin/pkill/tests/pgrep-j_test.sh Mod

Re: svn commit: r278653 - head/bin/pkill/tests

2015-02-12 Thread Garrett Cooper
On Feb 12, 2015, at 17:07, Garrett Cooper wrote: > Author: ngie > Date: Fri Feb 13 01:07:12 2015 > New Revision: 278653 > URL: https://svnweb.freebsd.org/changeset/base/278653 > > Log: > Call wait to ensure that background processes have died > > This is being done to establish parity with pg

svn commit: r278654 - head/sbin/sysctl

2015-02-12 Thread John-Mark Gurney
Author: jmg Date: Fri Feb 13 01:20:37 2015 New Revision: 278654 URL: https://svnweb.freebsd.org/changeset/base/278654 Log: add support for specifying an initial buffer size when fetching a sysctl... This is useful for kern.arandom which (without -B) will happily return 0 bytes, which isn't t

svn commit: r278655 - in head/sys: amd64/amd64 i386/i386

2015-02-12 Thread Mark Johnston
Author: markj Date: Fri Feb 13 01:35:53 2015 New Revision: 278655 URL: https://svnweb.freebsd.org/changeset/base/278655 Log: Add support for decoding multibyte NOPs. Differential Revision:https://reviews.freebsd.org/D1830 Reviewed by: jhb, kib MFC after:2 weeks Sponsored

svn commit: r278657 - head/sys/contrib/vchiq/interface/compat

2015-02-12 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Feb 13 02:10:09 2015 New Revision: 278657 URL: https://svnweb.freebsd.org/changeset/base/278657 Log: Fix build without INVARIANTS/INVARIANT_SUPPORT: - Replace "emulation" of return in lmutex_lock_interruptible macros by proper static/inline function. Submitte

Re: svn commit: r278616 - in head: . contrib/netbsd-tests/games etc etc/mtree etc/root games games/caesar games/fortune/datfiles release/scripts share/man/man4 share/man/man6 share/man/man7 share/mk s

2015-02-12 Thread Stanislav Sedov
> On Feb 11, 2015, at 10:17 PM, Devin Teske wrote: > > PLEASE! Do NOT remove the grand digital clock (grdc). > > So many of us over the years have used it as a terminal keeper-aliver :) (and > as a clock, to boot). > > I will be very sad if you remove grdc. > +1 I’d also vote for keeping r

svn commit: r278658 - head/lib/libproc

2015-02-12 Thread Rui Paulo
Author: rpaulo Date: Fri Feb 13 03:18:29 2015 New Revision: 278658 URL: https://svnweb.freebsd.org/changeset/base/278658 Log: Teach libproc how to find debugging symbols in /usr/lib/debug. MFC after:1 week Modified: head/lib/libproc/proc_sym.c Modified: head/lib/libproc/proc_sym.c =

Re: svn commit: r278642 - in head/usr.bin: chpass passwd

2015-02-12 Thread Ian Lepore
On Thu, 2015-02-12 at 23:08 +, Baptiste Daroussin wrote: > Author: bapt > Date: Thu Feb 12 23:08:27 2015 > New Revision: 278642 > URL: https://svnweb.freebsd.org/changeset/base/278642 > > Log: > Use PRECIOUSPROG instead of custom code to handle schg > > This allows to preserve schg when

Re: svn commit: r278634 - head/lib/libc/gen

2015-02-12 Thread Bruce Evans
On Thu, 12 Feb 2015, Bjoern A. Zeeb wrote: On 12 Feb 2015, at 22:34 , Pedro Giffuni wrote: On 02/12/15 17:27, Bjoern A. Zeeb wrote: On 12 Feb 2015, at 21:07 , Pedro F. Giffuni wrote: ... Log: ulimit(3): Fix broken check. ... Did this compile? Yes! Any log message to share? Now I do ag

Re: svn commit: r278634 - head/lib/libc/gen

2015-02-12 Thread Andrey Chernov
On 13.02.2015 10:18, Bruce Evans wrote: > if (arg > RLIM_INFINITY) > err(...); Checking for RLIM_INFINITY is wrong here, since it is ulong long max, considering arg = va_arg(ap, long); and ulimit(3) stating that arg is always plain long. Proper check will be if (arg < 0) { errno

svn commit: r278664 - head/usr.bin/chpass

2015-02-12 Thread Baptiste Daroussin
Author: bapt Date: Fri Feb 13 07:51:26 2015 New Revision: 278664 URL: https://svnweb.freebsd.org/changeset/base/278664 Log: Partially revert 278642 On reinstall (overwrite) install(1) does not handle chflags Reported by: ian Modified: head/usr.bin/chpass/Makefile Modified: head/us