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

2015-01-24 Thread Bruce Evans
On Sat, 24 Jan 2015, Baptiste Daroussin wrote: Log: Allow negative numbers in -u and -g options This is backwards. ids and gids are non-negative integers that can be represented in the type uid_t and gid_t, respectively. All versions of POSIX require this. Old versions of POSIX allowed uid

svn commit: r277688 - in head: lib tools/build/mk

2015-01-24 Thread Garrett Cooper
Author: ngie Date: Sun Jan 25 05:37:06 2015 New Revision: 277688 URL: https://svnweb.freebsd.org/changeset/base/277688 Log: Build lib/libgpio if MK_GPIO != no Fill in corresponding entries for MK_GPIO == no in OptionalObsoleteFiles.inc MFC after: 2 weeks Sponsored by: EMC / Isilon St

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

2015-01-24 Thread Garrett Cooper
Author: ngie Date: Sun Jan 25 05:30:03 2015 New Revision: 277686 URL: https://svnweb.freebsd.org/changeset/base/277686 Log: Install bsnmp rc.d script if MK_BSNMP != no MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/etc/rc.d/Makefile Modified: head/etc/rc.

svn commit: r277687 - head/tools/build/mk

2015-01-24 Thread Garrett Cooper
Author: ngie Date: Sun Jan 25 05:30:45 2015 New Revision: 277687 URL: https://svnweb.freebsd.org/changeset/base/277687 Log: Fill in entries for MK_BSNMP == no MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified

svn commit: r277685 - head/tools/build/mk

2015-01-24 Thread Garrett Cooper
Author: ngie Date: Sun Jan 25 05:23:22 2015 New Revision: 277685 URL: https://svnweb.freebsd.org/changeset/base/277685 Log: Fill in some dtrace entries when MK_CDDL == no MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/tools/build/mk/OptionalObsoleteFiles.i

svn commit: r277682 - head/include

2015-01-24 Thread Garrett Cooper
Author: ngie Date: Sun Jan 25 05:15:06 2015 New Revision: 277682 URL: https://svnweb.freebsd.org/changeset/base/277682 Log: Make install cuse headers if MK_CUSE != no MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Modified: head/include/Makefile Modified: head/include/

svn commit: r277683 - head/tools/build/mk

2015-01-24 Thread Garrett Cooper
Author: ngie Date: Sun Jan 25 05:15:45 2015 New Revision: 277683 URL: https://svnweb.freebsd.org/changeset/base/277683 Log: Fill in entries for MK_CUSE == no MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified:

svn commit: r277681 - in head/sys: conf modules

2015-01-24 Thread Garrett Cooper
Author: ngie Date: Sun Jan 25 05:13:15 2015 New Revision: 277681 URL: https://svnweb.freebsd.org/changeset/base/277681 Log: Build cuse(4) if MK_CUSE != no MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/sys/conf/kern.opts.mk head/sys/modules/Makefile Mod

svn commit: r277680 - in head: . share/man/man9

2015-01-24 Thread Warner Losh
uniq -d; # done +# 20150124: spl.9 and friends +OLD_FILES+=usr/share/man/man9/spl.9 +OLD_FILES+=usr/share/man/man9/spl0.9 +OLD_FILES+=usr/share/man/man9/splbio.9 +OLD_FILES+=usr/share/man/man9/splclock.9 +OLD_FILES+=usr/share/man/man9/splhigh.9 +OLD_FILES+=usr/share/man/man9/splimp.9 +OLD_FILES

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

2015-01-24 Thread Garrett Cooper
Author: ngie Date: Sun Jan 25 04:56:43 2015 New Revision: 277679 URL: https://svnweb.freebsd.org/changeset/base/277679 Log: Regen src.conf(5) Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r277678 - in head: etc/rc.d sbin share/man/man4 share/mk sys/conf sys/modules/geom tools/build/mk tools/build/options

2015-01-24 Thread Garrett Cooper
Author: ngie Date: Sun Jan 25 04:52:48 2015 New Revision: 277678 URL: https://svnweb.freebsd.org/changeset/base/277678 Log: Add MK_CCD knob for building and installing ccd(4), ccdconfig, etc MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Added: head/tools/build/options/

svn commit: r277677 - in head: share/mk tools/build/mk tools/build/options usr.sbin

2015-01-24 Thread Garrett Cooper
Author: ngie Date: Sun Jan 25 04:43:13 2015 New Revision: 277677 URL: https://svnweb.freebsd.org/changeset/base/277677 Log: Add MK_BSDINSTALL knob for building and installing bsdinstall MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Added: head/tools/build/options/WITHO

svn commit: r277676 - in head: libexec share/mk tools/build/mk tools/build/options usr.bin

2015-01-24 Thread Garrett Cooper
Author: ngie Date: Sun Jan 25 04:37:44 2015 New Revision: 277676 URL: https://svnweb.freebsd.org/changeset/base/277676 Log: Add MK_TALK knob for building the talk and talkd MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Added: head/tools/build/options/WITHOUT_TALK (co

svn commit: r277675 - in head: etc/rc.d sbin share/man/man4 share/mk sys/conf sys/modules tools/build/mk tools/build/options usr.bin usr.sbin

2015-01-24 Thread Garrett Cooper
Author: ngie Date: Sun Jan 25 04:20:11 2015 New Revision: 277675 URL: https://svnweb.freebsd.org/changeset/base/277675 Log: Add MK_ISCSI knob for building the iscsi initiator, iscsi daemon, kernel modules, etc MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Added: head

svn commit: r277674 - head/sbin/rcorder

2015-01-24 Thread Garrett Cooper
Author: ngie Date: Sun Jan 25 03:08:21 2015 New Revision: 277674 URL: https://svnweb.freebsd.org/changeset/base/277674 Log: Fix building rcorder with -DDEBUG by using libutil.h instead of util.h from usr.bin/make MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified:

Re: svn commit: r277667 - in head/lib/libproc: . tests

2015-01-24 Thread Mark Johnston
On Sun, Jan 25, 2015 at 12:34:44AM +, Mark Johnston wrote: > Author: markj > Date: Sun Jan 25 00:34:43 2015 > New Revision: 277667 > URL: https://svnweb.freebsd.org/changeset/base/277667 > > Log: > Ensure that we don't try to demangle a symbol name if we failed to look > up the symbol. Add

svn commit: r277669 - head/lib/libutil

2015-01-24 Thread Mark Johnston
Author: markj Date: Sun Jan 25 00:47:06 2015 New Revision: 277669 URL: https://svnweb.freebsd.org/changeset/base/277669 Log: gr_equal(): Fix a crash that could occur if the first group's member list was longer than the second's. There is no need to compute and compare the member list lengths

svn commit: r277668 - head/share/man/man9

2015-01-24 Thread Mark Johnston
Author: markj Date: Sun Jan 25 00:36:42 2015 New Revision: 277668 URL: https://svnweb.freebsd.org/changeset/base/277668 Log: Document the fact that modules declared with SYSCALL_MODULE(9) have their names prefixed with "sys/". MFC after:3 days Modified: head/share/man/man9/SYSCALL_

svn commit: r277667 - in head/lib/libproc: . tests

2015-01-24 Thread Mark Johnston
Author: markj Date: Sun Jan 25 00:34:43 2015 New Revision: 277667 URL: https://svnweb.freebsd.org/changeset/base/277667 Log: Ensure that we don't try to demangle a symbol name if we failed to look up the symbol. Add a test to exercise this code path. Reviewed by: adrian Modified: head

svn commit: r277666 - head/share

2015-01-24 Thread Garrett Cooper
Author: ngie Date: Sun Jan 25 00:32:17 2015 New Revision: 277666 URL: https://svnweb.freebsd.org/changeset/base/277666 Log: Only build share/dtrace if MK_CDDL != no MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/share/Makefile Modified: head/share/Makefil

svn commit: r277665 - head/rescue/rescue

2015-01-24 Thread Garrett Cooper
Author: ngie Date: Sun Jan 25 00:30:22 2015 New Revision: 277665 URL: https://svnweb.freebsd.org/changeset/base/277665 Log: Only build vi support into rescue if MK_VI != no Sponsored by: EMC / Isilon Storage Division Modified: head/rescue/rescue/Makefile Modified: head/rescue/rescue/Mak

svn commit: r277659 - head/contrib/gdb/gdb

2015-01-24 Thread Pedro F. Giffuni
Author: pfg Date: Sat Jan 24 21:05:18 2015 New Revision: 277659 URL: https://svnweb.freebsd.org/changeset/base/277659 Log: MFV r277658: GDB: Replace use of sprintf. 2005-03-17 Mark Kettenis * corelow.c (get_core_register_section): Replace usage of sprintf and st

Re: svn commit: r277653 - head/sys/dev/netmap

2015-01-24 Thread Adrian Chadd
Eep, I'll make sure I add that to the next commit / MFC. Thanks, -adrian On 24 January 2015 at 11:52, Alfred Perlstein wrote: > Wasn't this pointed out by James K? > > > On 1/24/15 11:49 AM, Adrian Chadd wrote: >> >> Author: adrian >> Date: Sat Jan 24 19:49:27 2015 >> New Revision: 277653 >>

Re: svn commit: r277651 - head/sys/vm

2015-01-24 Thread Garrett Cooper
On Jan 24, 2015, at 12:18, Will Andrews wrote: > On Sat, Jan 24, 2015 at 11:34:10AM -0800, Garrett Cooper wrote: >>Could you please add a kernel option to set the default from >> 0 to 1, or provide a tunable so the value could be set in loader.conf? > > Hi Garrett, > > The sysctl is configu

svn commit: r277656 - head/contrib/gdb/gdb

2015-01-24 Thread Pedro F. Giffuni
Author: pfg Date: Sat Jan 24 20:25:21 2015 New Revision: 277656 URL: https://svnweb.freebsd.org/changeset/base/277656 Log: MFV: r277654 gdb: Add missing break statements 2004-05-21 Jim Blandy * dwarf2expr.c (execute_stack_op): Add 'break' statements after cases

Re: svn commit: r277643 - in head/sys: arm/arm dev/mem i386/i386 mips/mips sparc64/sparc64

2015-01-24 Thread Nathan Whitehorn
On 01/24/15 10:53, Ian Lepore wrote: On Sat, 2015-01-24 at 12:33 -0600, Alan Cox wrote: On 01/24/2015 09:42, Konstantin Belousov wrote: On Sat, Jan 24, 2015 at 07:56:37AM -0700, Ian Lepore wrote: On Sat, 2015-01-24 at 12:51 +, Konstantin Belousov wrote: Author: kib Date: Sat Jan 24 12:51

Re: svn commit: r277651 - head/sys/vm

2015-01-24 Thread Will Andrews
On Sat, Jan 24, 2015 at 11:34:10AM -0800, Garrett Cooper wrote: > Could you please add a kernel option to set the default from > 0 to 1, or provide a tunable so the value could be set in loader.conf? Hi Garrett, The sysctl is configured as a CTLFLAG_RWTUN, so it can be configured in loader.co

svn commit: r277655 - head/sys/dev/fdt

2015-01-24 Thread Ian Lepore
Author: ian Date: Sat Jan 24 20:18:37 2015 New Revision: 277655 URL: https://svnweb.freebsd.org/changeset/base/277655 Log: Reimplement fdt_clock_register_provider() correctly. It turns out you can't use OF_xref_from_device() to implement the function that registers the xref association with

Re: svn commit: r277653 - head/sys/dev/netmap

2015-01-24 Thread Alfred Perlstein
Wasn't this pointed out by James K? On 1/24/15 11:49 AM, Adrian Chadd wrote: Author: adrian Date: Sat Jan 24 19:49:27 2015 New Revision: 277653 URL: https://svnweb.freebsd.org/changeset/base/277653 Log: Change the permissions from 0660 to 0600. Otherwise people in wheel can do things

svn commit: r277653 - head/sys/dev/netmap

2015-01-24 Thread Adrian Chadd
Author: adrian Date: Sat Jan 24 19:49:27 2015 New Revision: 277653 URL: https://svnweb.freebsd.org/changeset/base/277653 Log: Change the permissions from 0660 to 0600. Otherwise people in wheel can do things with netmap, including but not limited to promisc transmit/receive. Approved

Re: svn commit: r277651 - head/sys/vm

2015-01-24 Thread Garrett Cooper
> On Janc 24, 2015, at 09:32, Will Andrews wrote: > > Author: will > Date: Sat Jan 24 17:32:45 2015 > New Revision: 277651 > URL: https://svnweb.freebsd.org/changeset/base/277651 > > Log: > Add vm.panic_on_oom sysctl, which enables those who would rather panic than > kill a process, when the

Re: svn commit: r277648 - in head: contrib/netbsd-tests/lib/libc/c063 lib/libc/tests/c063

2015-01-24 Thread Garrett Cooper
> On Jan 24, 2015, at 07:49, Jilles Tjoelker wrote: > > Author: jilles > Date: Sat Jan 24 15:49:40 2015 > New Revision: 277648 > URL: https://svnweb.freebsd.org/changeset/base/277648 > > Log: > Enable utimensat tests from NetBSD. > > As with other tests from c063, a required #include was mi

svn commit: r277652 - in head/usr.sbin/pw: . tests

2015-01-24 Thread Baptiste Daroussin
Author: bapt Date: Sat Jan 24 19:13:03 2015 New Revision: 277652 URL: https://svnweb.freebsd.org/changeset/base/277652 Log: Allow negative numbers in -u and -g options PR: 196514 MFC after:1 week Added: head/usr.sbin/pw/tests/pw_groupshow.sh (contents, props changed)

Re: svn commit: r277643 - in head/sys: arm/arm dev/mem i386/i386 mips/mips sparc64/sparc64

2015-01-24 Thread Ian Lepore
On Sat, 2015-01-24 at 12:33 -0600, Alan Cox wrote: > On 01/24/2015 09:42, Konstantin Belousov wrote: > > On Sat, Jan 24, 2015 at 07:56:37AM -0700, Ian Lepore wrote: > >> On Sat, 2015-01-24 at 12:51 +, Konstantin Belousov wrote: > >>> Author: kib > >>> Date: Sat Jan 24 12:51:15 2015 > >>> New Re

Re: svn commit: r277643 - in head/sys: arm/arm dev/mem i386/i386 mips/mips sparc64/sparc64

2015-01-24 Thread Alan Cox
On 01/24/2015 09:42, Konstantin Belousov wrote: > On Sat, Jan 24, 2015 at 07:56:37AM -0700, Ian Lepore wrote: >> On Sat, 2015-01-24 at 12:51 +, Konstantin Belousov wrote: >>> Author: kib >>> Date: Sat Jan 24 12:51:15 2015 >>> New Revision: 277643 >>> URL: https://svnweb.freebsd.org/changeset/ba

svn commit: r277651 - head/sys/vm

2015-01-24 Thread Will Andrews
Author: will Date: Sat Jan 24 17:32:45 2015 New Revision: 277651 URL: https://svnweb.freebsd.org/changeset/base/277651 Log: Add vm.panic_on_oom sysctl, which enables those who would rather panic than kill a process, when the system runs out of memory. Defaults to off. Usually, this is mo

svn commit: r277650 - head/etc/mtree

2015-01-24 Thread Will Andrews
Author: will Date: Sat Jan 24 17:11:11 2015 New Revision: 277650 URL: https://svnweb.freebsd.org/changeset/base/277650 Log: Add tests/etc/rc.d to mtree. Submitted by: stefanf MFC after:1 week MFC with: 277627 Modified: head/etc/mtree/BSD.tests.dist Modified: head/etc/mtree/B

svn commit: r277649 - head/sys/vm

2015-01-24 Thread Ryan Stone
Author: rstone Date: Sat Jan 24 16:59:38 2015 New Revision: 277649 URL: https://svnweb.freebsd.org/changeset/base/277649 Log: vmspace_release() may sleep if the last reference is being released, so add a WITNESS_WARN() to catch cases where it is called with a non-sleepable lock held. MF

Re: svn commit: r277643 - in head/sys: arm/arm dev/mem i386/i386 mips/mips sparc64/sparc64

2015-01-24 Thread Ian Lepore
On Sat, 2015-01-24 at 17:42 +0200, Konstantin Belousov wrote: > On Sat, Jan 24, 2015 at 07:56:37AM -0700, Ian Lepore wrote: > > On Sat, 2015-01-24 at 12:51 +, Konstantin Belousov wrote: > > > Author: kib > > > Date: Sat Jan 24 12:51:15 2015 > > > New Revision: 277643 > > > URL: https://svnweb.f

Re: svn commit: r277643 - in head/sys: arm/arm dev/mem i386/i386 mips/mips sparc64/sparc64

2015-01-24 Thread Konstantin Belousov
On Sat, Jan 24, 2015 at 05:42:40PM +0200, Konstantin Belousov wrote: > On Sat, Jan 24, 2015 at 07:56:37AM -0700, Ian Lepore wrote: > > On Sat, 2015-01-24 at 12:51 +, Konstantin Belousov wrote: > > > Author: kib > > > Date: Sat Jan 24 12:51:15 2015 > > > New Revision: 277643 > > > URL: https://s

svn commit: r277648 - in head: contrib/netbsd-tests/lib/libc/c063 lib/libc/tests/c063

2015-01-24 Thread Jilles Tjoelker
Author: jilles Date: Sat Jan 24 15:49:40 2015 New Revision: 277648 URL: https://svnweb.freebsd.org/changeset/base/277648 Log: Enable utimensat tests from NetBSD. As with other tests from c063, a required #include was missing. Modified: head/contrib/netbsd-tests/lib/libc/c063/t_utimensat

Re: svn commit: r277643 - in head/sys: arm/arm dev/mem i386/i386 mips/mips sparc64/sparc64

2015-01-24 Thread Konstantin Belousov
On Sat, Jan 24, 2015 at 07:56:37AM -0700, Ian Lepore wrote: > On Sat, 2015-01-24 at 12:51 +, Konstantin Belousov wrote: > > Author: kib > > Date: Sat Jan 24 12:51:15 2015 > > New Revision: 277643 > > URL: https://svnweb.freebsd.org/changeset/base/277643 > > > > Log: > > Remove Giant from /de

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

2015-01-24 Thread Alexander Motin
Author: mav Date: Sat Jan 24 15:40:52 2015 New Revision: 277647 URL: https://svnweb.freebsd.org/changeset/base/277647 Log: Fix wrong LUN reference in XCOPY block-to-block operation. This could cause data corruption due to accessing wrong LUN in case of retries on write errors. Failed wri

svn commit: r277646 - head/sys/vm

2015-01-24 Thread Konstantin Belousov
Author: kib Date: Sat Jan 24 15:33:42 2015 New Revision: 277646 URL: https://svnweb.freebsd.org/changeset/base/277646 Log: Avoid calling vmspace_free() while owning the process lock. Freeing of an vm space may require obtaining sleepable locks. Hold the process to keep the pointer valid, a

Re: svn commit: r277643 - in head/sys: arm/arm dev/mem i386/i386 mips/mips sparc64/sparc64

2015-01-24 Thread Ian Lepore
On Sat, 2015-01-24 at 12:51 +, Konstantin Belousov wrote: > Author: kib > Date: Sat Jan 24 12:51:15 2015 > New Revision: 277643 > URL: https://svnweb.freebsd.org/changeset/base/277643 > > Log: > Remove Giant from /dev/mem and /dev/kmem. It is definitely not needed > for i386, and from the

svn commit: r277645 - in head: bin/cp bin/mv usr.bin/touch

2015-01-24 Thread Jilles Tjoelker
Author: jilles Date: Sat Jan 24 13:50:13 2015 New Revision: 277645 URL: https://svnweb.freebsd.org/changeset/base/277645 Log: cp,mv,touch: Set timestamps with nanosecond precision. This uses utimensat(). Modified: head/bin/cp/utils.c head/bin/mv/mv.c head/usr.bin/touch/touch.c Modif

svn commit: r277644 - in head/sys: arm/freescale/imx boot/fdt/dts/arm

2015-01-24 Thread Ruslan Bukin
Author: br Date: Sat Jan 24 13:07:07 2015 New Revision: 277644 URL: https://svnweb.freebsd.org/changeset/base/277644 Log: Add support for audio transmitting, include drivers for: o Digital Audio Multiplexer (AUDMUX) o Smart Direct Memory Access Controller (SDMA) o Synchronous Serial Interf

svn commit: r277643 - in head/sys: arm/arm dev/mem i386/i386 mips/mips sparc64/sparc64

2015-01-24 Thread Konstantin Belousov
Author: kib Date: Sat Jan 24 12:51:15 2015 New Revision: 277643 URL: https://svnweb.freebsd.org/changeset/base/277643 Log: Remove Giant from /dev/mem and /dev/kmem. It is definitely not needed for i386, and from the code inspection, nothing in the arm/mips/sparc64 implementations depends on

svn commit: r277642 - in head: share/man/man3 sys/sys

2015-01-24 Thread Konstantin Belousov
Author: kib Date: Sat Jan 24 12:43:36 2015 New Revision: 277642 URL: https://svnweb.freebsd.org/changeset/base/277642 Log: Provide individual prototype and generate macros for the red-black tree. This helps to reduce code size in statically linked applications. Submitted by: Sebastian Hub

svn commit: r277641 - head/release/picobsd/build

2015-01-24 Thread Luigi Rizzo
Author: luigi Date: Sat Jan 24 08:48:05 2015 New Revision: 277641 URL: https://svnweb.freebsd.org/changeset/base/277641 Log: do not strip /stand This is a temporary workaround until the elftoolchain's version of strip is fixed: The previous (GNU) strip, when acting on a file with mul