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

2015-01-25 Thread Baptiste Daroussin
On Sun, Jan 25, 2015 at 04:56:24PM +1100, Bruce Evans wrote: 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.

svn commit: r277692 - stable/10/sys/dev/acpica

2015-01-25 Thread Colin Percival
Author: cperciva Date: Sun Jan 25 08:16:51 2015 New Revision: 277692 URL: https://svnweb.freebsd.org/changeset/base/277692 Log: MFC r277318: When disabling C3+ CPU states due to the CPU_QUIRK_NO_C3 quirk, don't accidentally enable non-existent states. This bug was triggered if

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

2015-01-25 Thread Bruce Evans
On Sun, 25 Jan 2015, Slawa Olhovchenkov wrote: On Sun, Jan 25, 2015 at 04:56:24PM +1100, Bruce Evans wrote: Negative ids have historical abuses in places like mountd. mountd still hard-codes -2 and -2 for the default uid and gid of an unprivileged user. It at least casts these values to

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

2015-01-25 Thread Slawa Olhovchenkov
On Mon, Jan 26, 2015 at 02:31:05AM +1100, Bruce Evans wrote: On Sun, 25 Jan 2015, Slawa Olhovchenkov wrote: On Sun, Jan 25, 2015 at 04:56:24PM +1100, Bruce Evans wrote: Negative ids have historical abuses in places like mountd. mountd still hard-codes -2 and -2 for the default uid and

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

2015-01-25 Thread Konstantin Belousov
On Sun, Jan 25, 2015 at 10:07:00AM -0700, Warner Losh wrote: On Jan 24, 2015, at 8:51 AM, Konstantin Belousov kostik...@gmail.com wrote: 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,

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

2015-01-25 Thread Dag-Erling Smørgrav
Author: des Date: Sun Jan 25 15:44:46 2015 New Revision: 277706 URL: https://svnweb.freebsd.org/changeset/base/277706 Log: Allow the user to specify the location of control.conf. Modified: head/etc/rc.d/local_unbound Modified: head/etc/rc.d/local_unbound

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

2015-01-25 Thread Andrey V. Elsukov
Author: ae Date: Sun Jan 25 16:35:03 2015 New Revision: 277707 URL: https://svnweb.freebsd.org/changeset/base/277707 Log: MFC r277295: Fix condition and really sort ports. Also add comment describing the intent of this code. Modified: stable/10/sys/net/if_lagg.c Directory Properties:

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

2015-01-25 Thread Warner Losh
On Jan 24, 2015, at 8:51 AM, Konstantin Belousov kostik...@gmail.com wrote: 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

Re: svn commit: r277694 - head/sys/amd64/conf

2015-01-25 Thread Konstantin Belousov
On Sun, Jan 25, 2015 at 03:49:27PM +0100, Dag-Erling Sm??rgrav wrote: Sergey Kandaurov pluk...@freebsd.org writes: Dag-Erling Sm??rgrav d...@freebsd.org writes: Log: Remove ISA NICs. Anyone still using these on amd64 can build their own kernel. If so, what about i386? (I'd

Re: svn commit: r277694 - head/sys/amd64/conf

2015-01-25 Thread Sergey Kandaurov
On 25 January 2015 at 15:02, Dag-Erling Smørgrav d...@freebsd.org wrote: Author: des Date: Sun Jan 25 12:02:38 2015 New Revision: 277694 URL: https://svnweb.freebsd.org/changeset/base/277694 Log: Remove ISA NICs. Anyone still using these on amd64 can build their own kernel.

Re: svn commit: r277694 - head/sys/amd64/conf

2015-01-25 Thread Garrett Cooper
On Jan 25, 2015, at 04:43, Sergey Kandaurov pluk...@freebsd.org wrote: On 25 January 2015 at 15:02, Dag-Erling Smørgrav d...@freebsd.org wrote: Author: des Date: Sun Jan 25 12:02:38 2015 New Revision: 277694 URL: https://svnweb.freebsd.org/changeset/base/277694 Log: Remove ISA NICs.

svn commit: r277717 - head/sys/dev/mps

2015-01-25 Thread Scott Long
Author: scottl Date: Sun Jan 25 22:29:23 2015 New Revision: 277717 URL: https://svnweb.freebsd.org/changeset/base/277717 Log: Fix the ioctl interface to properly support fetching the header of regular and extended config pages. Obtained from:Netflix, Inc. MFC after:3 days

svn commit: r277725 - in head: etc/rc.d sbin share/examples share/mk tools/build/mk tools/build/options

2015-01-25 Thread Garrett Cooper
Author: ngie Date: Mon Jan 26 06:27:07 2015 New Revision: 277725 URL: https://svnweb.freebsd.org/changeset/base/277725 Log: Add MK_HAST knob for building and installing hastd(8), et al MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Added:

svn commit: r277727 - in head: lib share/examples share/man/man4 share/mk sys/conf sys/modules tools/build/mk tools/build/options usr.sbin

2015-01-25 Thread Garrett Cooper
Author: ngie Date: Mon Jan 26 06:44:48 2015 New Revision: 277727 URL: https://svnweb.freebsd.org/changeset/base/277727 Log: Add MK_BHYVE knob for building and installing bhyve(4), et al MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Added:

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

2015-01-25 Thread Garrett Cooper
Author: ngie Date: Mon Jan 26 07:15:49 2015 New Revision: 277728 URL: https://svnweb.freebsd.org/changeset/base/277728 Log: Add MK_AUTOFS knob for building and installing autofs(4), et al MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Added:

Re: svn commit: r277694 - head/sys/amd64/conf

2015-01-25 Thread Warner Losh
On Jan 25, 2015, at 5:43 AM, Sergey Kandaurov pluk...@freebsd.org wrote: On 25 January 2015 at 15:02, Dag-Erling Smørgrav d...@freebsd.org wrote: Author: des Date: Sun Jan 25 12:02:38 2015 New Revision: 277694 URL: https://svnweb.freebsd.org/changeset/base/277694 Log: Remove ISA

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

2015-01-25 Thread Warner Losh
The number of MK_foo opts that are intruding into the kernel module builds is starting to get out of hand. :( Especially since they are duplicative of the MODULES_OVERRIDE functionality and are very unevenly applied. Warner On Jan 24, 2015, at 10:13 PM, Garrett Cooper n...@freebsd.org wrote:

Re: svn commit: r277694 - head/sys/amd64/conf

2015-01-25 Thread Warner Losh
On Jan 25, 2015, at 7:54 AM, Garrett Cooper yaneurab...@gmail.com wrote: On Jan 25, 2015, at 04:43, Sergey Kandaurov pluk...@freebsd.org wrote: On 25 January 2015 at 15:02, Dag-Erling Smørgrav d...@freebsd.org wrote: Author: des Date: Sun Jan 25 12:02:38 2015 New Revision: 277694

svn commit: r277708 - svnadmin/conf

2015-01-25 Thread Matthew Seaman
Author: matthew (ports committer) Date: Sun Jan 25 19:21:37 2015 New Revision: 277708 URL: https://svnweb.freebsd.org/changeset/base/277708 Log: Take in mdf's commit bit for safe keeping, at his own request. Approved by: core (implicit) Modified: svnadmin/conf/access Modified:

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

2015-01-25 Thread Peter Jeremy
On 2015-Jan-25 18:36:40 +0300, Slawa Olhovchenkov s...@zxy.spb.ru wrote: On Mon, Jan 26, 2015 at 02:31:05AM +1100, Bruce Evans wrote: On Sun, 25 Jan 2015, Slawa Olhovchenkov wrote: This is not full true for ZFS case. On ZFS nobody is 2^32-2. Can you please provide a reference to this in the

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

2015-01-25 Thread Slawa Olhovchenkov
On Mon, Jan 26, 2015 at 06:21:28AM +1100, Peter Jeremy wrote: On 2015-Jan-25 18:36:40 +0300, Slawa Olhovchenkov s...@zxy.spb.ru wrote: On Mon, Jan 26, 2015 at 02:31:05AM +1100, Bruce Evans wrote: On Sun, 25 Jan 2015, Slawa Olhovchenkov wrote: This is not full true for ZFS case. On ZFS

Re: svn commit: r277693 - head/sys/boot/forth

2015-01-25 Thread Scott Long via svn-src-all
This is completely arbitrary. Please revert it, or I will revert it in 48 hours. Scott On Jan 25, 2015, at 4:57 AM, Dag-Erling Sm?rgrav d...@freebsd.org wrote: Author: des Date: Sun Jan 25 11:57:18 2015 New Revision: 277693 URL: https://svnweb.freebsd.org/changeset/base/277693 Log:

svn commit: r277726 - head/sbin

2015-01-25 Thread Garrett Cooper
Author: ngie Date: Mon Jan 26 06:29:07 2015 New Revision: 277726 URL: https://svnweb.freebsd.org/changeset/base/277726 Log: Build sbin/iscontrol again if MK_ISCSI != no MFC after: 13 days X-MFC with: r277675 Pointyhat to: me Modified: head/sbin/Makefile Modified: head/sbin/Makefile

svn commit: r277722 - in stable/10: contrib/libpcap lib/libpcap

2015-01-25 Thread Luigi Rizzo
Author: luigi Date: Mon Jan 26 03:26:37 2015 New Revision: 277722 URL: https://svnweb.freebsd.org/changeset/base/277722 Log: Merge 272659: Add netmap support to libpcap. Tcpdump and other native pcap clients can now run directly on netmap ports using netmap:foo or valeXX:YY as device

svn commit: r277723 - head/sys/kern

2015-01-25 Thread Adrian Chadd
Author: adrian Date: Mon Jan 26 04:04:57 2015 New Revision: 277723 URL: https://svnweb.freebsd.org/changeset/base/277723 Log: Call WITNESS_WARN() in callout_drain() to check whether any locks are being held before sleeping. This has bitten me (in ath(4)) once before and I'd like to see

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

2015-01-25 Thread Garrett Cooper
Author: ngie Date: Mon Jan 26 07:24:18 2015 New Revision: 277729 URL: https://svnweb.freebsd.org/changeset/base/277729 Log: Regen src.conf(5) Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r277694 - head/sys/amd64/conf

2015-01-25 Thread Dag-Erling Smørgrav
Author: des Date: Sun Jan 25 12:02:38 2015 New Revision: 277694 URL: https://svnweb.freebsd.org/changeset/base/277694 Log: Remove ISA NICs. Anyone still using these on amd64 can build their own kernel. Modified: head/sys/amd64/conf/GENERIC Modified: head/sys/amd64/conf/GENERIC

svn commit: r277698 - in stable/10: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2015-01-25 Thread Konstantin Belousov
Author: kib Date: Sun Jan 25 13:15:12 2015 New Revision: 277698 URL: https://svnweb.freebsd.org/changeset/base/277698 Log: MFC r277322: Add procctl(2) PROC_TRACE_CTL command to enable or disable debugger attachment to the process. Modified: stable/10/lib/libc/sys/procctl.2

svn commit: r277693 - head/sys/boot/forth

2015-01-25 Thread Dag-Erling Smørgrav
Author: des Date: Sun Jan 25 11:57:18 2015 New Revision: 277693 URL: https://svnweb.freebsd.org/changeset/base/277693 Log: Fix the font in the text version. This has bothered me for a long time... MFC after:1 week Modified: head/sys/boot/forth/beastie.4th

svn commit: r277699 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-01-25 Thread Alexander Motin
Author: mav Date: Sun Jan 25 14:25:44 2015 New Revision: 277699 URL: https://svnweb.freebsd.org/changeset/base/277699 Log: MFC r276913: Use new optimized dmu_read_uio_dbuf() for ZVOLs in device mode. This slightly reduces overhead by avoiding dnode_hold()/dnode_rele() calls. Modified:

svn commit: r277700 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-01-25 Thread Alexander Motin
Author: mav Date: Sun Jan 25 14:29:40 2015 New Revision: 277700 URL: https://svnweb.freebsd.org/changeset/base/277700 Log: MFC r276952: Add LBA as secondary sort key for synchronous I/O requests. On FreeBSD gethrtime() implemented via getnanouptime(), that has 1ms (1/hz) precision. It

svn commit: r277695 - in head: libexec/rtld-elf usr.bin/kdump

2015-01-25 Thread Dag-Erling Smørgrav
Author: des Date: Sun Jan 25 12:11:50 2015 New Revision: 277695 URL: https://svnweb.freebsd.org/changeset/base/277695 Log: Allow tracing dlfunc() / dlsym() events. MFC after:1 week Modified: head/libexec/rtld-elf/rtld.c head/usr.bin/kdump/kdump.c Modified:

svn commit: r277697 - in stable/10/sys: fs/fifofs kern sys

2015-01-25 Thread Konstantin Belousov
Author: kib Date: Sun Jan 25 13:09:53 2015 New Revision: 277697 URL: https://svnweb.freebsd.org/changeset/base/277697 Log: MFC r277321: Make SIGSTOP working for sleeps done while waiting for fifo readers or writers in open(2), when the fifo is located on an NFS mount. Modified:

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

2015-01-25 Thread Slawa Olhovchenkov
On Sun, Jan 25, 2015 at 04:56:24PM +1100, Bruce Evans wrote: Negative ids have historical abuses in places like mountd. mountd still hard-codes -2 and -2 for the default uid and gid of an unprivileged user. It at least casts these values to uid_t and gid_t before using them. This gives the

svn commit: r277701 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-01-25 Thread Alexander Motin
Author: mav Date: Sun Jan 25 14:31:44 2015 New Revision: 277701 URL: https://svnweb.freebsd.org/changeset/base/277701 Log: MFC r276983: When aggregating TRIM segments, move the new one to the end. New segment at the list head may block all TRIM requests until txg of that segment can be

Re: svn commit: r277694 - head/sys/amd64/conf

2015-01-25 Thread Dag-Erling Smørgrav
Sergey Kandaurov pluk...@freebsd.org writes: Dag-Erling Smørgrav d...@freebsd.org writes: Log: Remove ISA NICs. Anyone still using these on amd64 can build their own kernel. If so, what about i386? (I'd rather not pc98) There's a greater chance of ISA devices still being in use on

svn commit: r277716 - head/sys/arm/ti/am335x

2015-01-25 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Jan 25 22:08:36 2015 New Revision: 277716 URL: https://svnweb.freebsd.org/changeset/base/277716 Log: Add vt(4) support to AM335x LCDC driver Modified: head/sys/arm/ti/am335x/am335x_lcd.c head/sys/arm/ti/am335x/files.am335x Modified:

svn commit: r277720 - head/sys/arm/ti

2015-01-25 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Jan 25 23:58:34 2015 New Revision: 277720 URL: https://svnweb.freebsd.org/changeset/base/277720 Log: - Increase default i2c bus timeout to 5 seconds from 1 second. Sometimes 1 second is not enugh for TDA19988 HDMI framer (e.g. on Beaglebone Black) - Add

svn commit: r277709 - head/sys/netinet

2015-01-25 Thread John Baldwin
Author: jhb Date: Sun Jan 25 19:45:44 2015 New Revision: 277709 URL: https://svnweb.freebsd.org/changeset/base/277709 Log: Use an sbuf to generate the output of the net.inet.tcp.hostcache.list sysctl to avoid a possible buffer overflow if the cache grows while the text is being generated.

svn commit: r277710 - head/sys/dev/pci

2015-01-25 Thread John Baldwin
Author: jhb Date: Sun Jan 25 19:53:09 2015 New Revision: 277710 URL: https://svnweb.freebsd.org/changeset/base/277710 Log: Pass a valid Dx state variable to PCIB_POWER_FOR_SLEEP() in pcib_resume() instead of NULL. Submitted by: dchagin MFC after:2 weeks Modified:

svn commit: r277712 - head/sys/kern

2015-01-25 Thread John Baldwin
Author: jhb Date: Sun Jan 25 19:56:45 2015 New Revision: 277712 URL: https://svnweb.freebsd.org/changeset/base/277712 Log: Change the default VFS timestamp precision from seconds to microseconds. Discussed on: arch@ MFC after:2 weeks Modified: head/sys/kern/vfs_subr.c Modified:

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

2015-01-25 Thread Peter Jeremy
On 2015-Jan-25 22:29:26 +0300, Slawa Olhovchenkov s...@zxy.spb.ru wrote: I think this is result of convert (signed short) to (signed int). ls -l /usr/ports/packages32/lang total 2 lrwxr-xr-x 1 4294967294 wheel 33 Mar 17 2012 perl-threaded-5.12.4_4.tbz - ../All/perl-threaded-5.12.4_4.tbz

svn commit: r277713 - head/sys/amd64/amd64

2015-01-25 Thread John Baldwin
Author: jhb Date: Sun Jan 25 20:16:45 2015 New Revision: 277713 URL: https://svnweb.freebsd.org/changeset/base/277713 Log: If the boot-time memory test is enabled, output a dot ('.') for each GB of RAM tested so people watching the console can see that the machine is making progress and not

svn commit: r277714 - head/sbin/ipfw

2015-01-25 Thread John Baldwin
Author: jhb Date: Sun Jan 25 20:37:32 2015 New Revision: 277714 URL: https://svnweb.freebsd.org/changeset/base/277714 Log: natd(8) will work with an unconfigured interface and effectively not do anything until the interface is assigned an address. This fixes ipfw_nat to do the same by

Re: svn commit: r277709 - head/sys/netinet

2015-01-25 Thread John Baldwin
On Sunday, January 25, 2015 07:45:44 PM John Baldwin wrote: Author: jhb Date: Sun Jan 25 19:45:44 2015 New Revision: 277709 URL: https://svnweb.freebsd.org/changeset/base/277709 Log: Use an sbuf to generate the output of the net.inet.tcp.hostcache.list sysctl to avoid a possible

Re: svn commit: r277712 - head/sys/kern

2015-01-25 Thread John Baldwin
On Sunday, January 25, 2015 07:56:46 PM John Baldwin wrote: Author: jhb Date: Sun Jan 25 19:56:45 2015 New Revision: 277712 URL: https://svnweb.freebsd.org/changeset/base/277712 Log: Change the default VFS timestamp precision from seconds to microseconds. Discussed on: arch@

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

2015-01-25 Thread Slawa Olhovchenkov
On Mon, Jan 26, 2015 at 07:50:59AM +1100, Peter Jeremy wrote: On 2015-Jan-25 22:29:26 +0300, Slawa Olhovchenkov s...@zxy.spb.ru wrote: I think this is result of convert (signed short) to (signed int). ls -l /usr/ports/packages32/lang total 2 lrwxr-xr-x 1 4294967294 wheel 33 Mar 17