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

2014-10-06 Thread Alexander Motin
Author: mav Date: Mon Oct 6 07:01:32 2014 New Revision: 272597 URL: https://svnweb.freebsd.org/changeset/base/272597 Log: Fix length of Extended INQUIRY Data VPD page. MFC after:3 days Modified: head/sys/cam/ctl/ctl.c Modified: head/sys/cam/ctl/ctl.c ===

svn commit: r272598 - in head: cddl/contrib/opensolaris/cmd/zdb sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2014-10-06 Thread Xin LI
Author: delphij Date: Mon Oct 6 07:03:17 2014 New Revision: 272598 URL: https://svnweb.freebsd.org/changeset/base/272598 Log: MFV r272585: Split the godfather zio into CPU number's to reduce lock contention. Illumos issue: 5176 lock contention on godfather zio MFC after:

svn commit: r272599 - head/cddl/contrib/opensolaris/cmd/zdb

2014-10-06 Thread Xin LI
Author: delphij Date: Mon Oct 6 07:09:47 2014 New Revision: 272599 URL: https://svnweb.freebsd.org/changeset/base/272599 Log: MFV r272588: Handle old format deadlist. Illumos issue: 5178 zdb -v on old-format pool fails in dump_deadlist() MFC after:2 weeks Modified:

svn commit: r272600 - head/sys/fs/devfs

2014-10-06 Thread Mateusz Guzik
Author: mjg Date: Mon Oct 6 07:22:48 2014 New Revision: 272600 URL: https://svnweb.freebsd.org/changeset/base/272600 Log: devfs: tidy up after 272596 This moves a var to an if statement, no functional changes. MFC after:1 week Modified: head/sys/fs/devfs/devfs_vnops.c Modified

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

2014-10-06 Thread Xin LI
Author: delphij Date: Mon Oct 6 07:29:17 2014 New Revision: 272601 URL: https://svnweb.freebsd.org/changeset/base/272601 Log: MFV r272591: Use loaned ARC buffer for zfs receive to avoid copy. Illumos issue: 5162 zfs recv should use loaned arc buffer to avoid copy MFC after:

svn commit: r272602 - head/sys/dev/uart

2014-10-06 Thread Ganbold Tsagaankhuu
Author: ganbold Date: Mon Oct 6 09:00:53 2014 New Revision: 272602 URL: https://svnweb.freebsd.org/changeset/base/272602 Log: Use documented compat string for msm uart. Whilst here use tab instead of spaces. Approved by:stas (mentor) Modified: head/sys/dev/uart/uart_bus_fdt.c Mod

svn commit: r272605 - head/sys/conf

2014-10-06 Thread Andrew Turner
Author: andrew Date: Mon Oct 6 09:52:28 2014 New Revision: 272605 URL: https://svnweb.freebsd.org/changeset/base/272605 Log: Disable generating vfp and NEON instructions in the arm kernel. Modified: head/sys/conf/Makefile.arm Modified: head/sys/conf/Makefile.arm

svn commit: r272606 - head/sys/dev/ahci

2014-10-06 Thread Alexander Motin
Author: mav Date: Mon Oct 6 10:58:54 2014 New Revision: 272606 URL: https://svnweb.freebsd.org/changeset/base/272606 Log: Use r271207 optimization only for MSI-enabled HBAs. It was found that VirtualBox' AHCI does not allow nterrupt to be cleared before the interrupt status register is r

svn commit: r272607 - head/sbin/ipfw

2014-10-06 Thread Alexander V. Chernikov
Author: melifaro Date: Mon Oct 6 11:00:47 2014 New Revision: 272607 URL: https://svnweb.freebsd.org/changeset/base/272607 Log: Improve "reserved keywords" hack: we can't easily predict (in current parsing model) if the keyword is ipfw(8) reserved keyword or port name. Checking proto da

svn commit: r272609 - head/sys/netpfil/ipfw

2014-10-06 Thread Alexander V. Chernikov
Author: melifaro Date: Mon Oct 6 11:15:11 2014 New Revision: 272609 URL: https://svnweb.freebsd.org/changeset/base/272609 Log: Fix O_TCPOPTS processing. Obtained from:luigi Modified: head/sys/netpfil/ipfw/ip_fw2.c Modified: head/sys/netpfil/ipfw/ip_fw2.c ===

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

2014-10-06 Thread Alexander Motin
Author: mav Date: Mon Oct 6 12:20:46 2014 New Revision: 272613 URL: https://svnweb.freebsd.org/changeset/base/272613 Log: Add support for MaxBurstLength and Expected Data transfer Length parameters. Before this change target could send R2T request for write transfer of any size, that cou

svn commit: r272614 - head/sys/netpfil/ipfw

2014-10-06 Thread Alexander V. Chernikov
Author: melifaro Date: Mon Oct 6 12:29:06 2014 New Revision: 272614 URL: https://svnweb.freebsd.org/changeset/base/272614 Log: Improve r272609 (O_TCPOPTS). MFC after:3 dayes Modified: head/sys/netpfil/ipfw/ip_fw2.c Modified: head/sys/netpfil/ipfw/ip_fw2.c ==

svn commit: r272649 - head/contrib/byacc

2014-10-06 Thread Craig Rodrigues
Author: rodrigc Date: Mon Oct 6 14:43:02 2014 New Revision: 272649 URL: https://svnweb.freebsd.org/changeset/base/272649 Log: MFV: use calloc in get_line() when allocating line to ensure it is fully initialized, fixes a later uninitialized value in copy_param() (FreeBSD #193499). PR

Re: svn commit: r272649 - head/contrib/byacc

2014-10-06 Thread Baptiste Daroussin
On Mon, Oct 06, 2014 at 02:43:02PM +, Craig Rodrigues wrote: > Author: rodrigc > Date: Mon Oct 6 14:43:02 2014 > New Revision: 272649 > URL: https://svnweb.freebsd.org/changeset/base/272649 > > Log: > MFV: >use calloc in get_line() when allocating line to ensure it is fully > initializ

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

2014-10-06 Thread Alexander Motin
Author: mav Date: Mon Oct 6 14:52:04 2014 New Revision: 272650 URL: https://svnweb.freebsd.org/changeset/base/272650 Log: Set CAM_SIM_QUEUED flag before calling ctl_queue() to avoid race. PR: 194128 Submitted by: Scott M. Ferris MFC after:3 days Sponsored by: EMC/Isilo

svn commit: r272653 - head/contrib/tcpdump

2014-10-06 Thread Luigi Rizzo
Author: luigi Date: Mon Oct 6 15:03:08 2014 New Revision: 272653 URL: https://svnweb.freebsd.org/changeset/base/272653 Log: Fix comment and sort rights by name MFC after:3 days Modified: head/contrib/tcpdump/tcpdump.c Modified: head/contrib/tcpdump/tcpdump.c ===

svn commit: r272655 - in head/contrib/byacc: . package package/debian package/pkgsrc test test/btyacc test/yacc

2014-10-06 Thread Baptiste Daroussin
Author: bapt Date: Mon Oct 6 15:12:59 2014 New Revision: 272655 URL: https://svnweb.freebsd.org/changeset/base/272655 Log: Import byacc 20141005 from vendor Added: head/contrib/byacc/test/btyacc/btyacc_demo2.error - copied unchanged from r272652, vendor/byacc/dist/test/btyacc/btyacc_de

svn commit: r272658 - head/sys/i386/i386

2014-10-06 Thread John Baldwin
Author: jhb Date: Mon Oct 6 15:43:57 2014 New Revision: 272658 URL: https://svnweb.freebsd.org/changeset/base/272658 Log: Call initializecpucache() on the BSP for i386 in the !XEN case. This was my bug in r271409 that I noticed while reviewing r272492. Modified: head/sys/i386/i386/machdep

svn commit: r272659 - in head: contrib/libpcap lib/libpcap

2014-10-06 Thread Luigi Rizzo
Author: luigi Date: Mon Oct 6 15:48:28 2014 New Revision: 272659 URL: https://svnweb.freebsd.org/changeset/base/272659 Log: Add netmap support to libpcap. Tcpdump and other native pcap application can now run directly on netmap ports using netmap:foo or valeXX:YY device names. Modification

Re: svn commit: r272596 - head/sys/fs/devfs

2014-10-06 Thread John Baldwin
On Monday, October 06, 2014 06:20:36 AM Mateusz Guzik wrote: > Author: mjg > Date: Mon Oct 6 06:20:35 2014 > New Revision: 272596 > URL: https://svnweb.freebsd.org/changeset/base/272596 > > Log: > devfs: don't take proctree_lock unconditionally in devfs_close > > MFC after: 1 week Just for

svn commit: r272666 - head/sys/x86/x86

2014-10-06 Thread John Baldwin
Author: jhb Date: Mon Oct 6 18:11:05 2014 New Revision: 272666 URL: https://svnweb.freebsd.org/changeset/base/272666 Log: Fix build for i386 kernels with out 'I686_CPU'. PR: 193660 Submitted by: hol...@freyther.de Modified: head/sys/x86/x86/local_apic.c Modified: head/sys/x

svn commit: r272668 - head/usr.sbin/nscd

2014-10-06 Thread John Baldwin
Author: jhb Date: Mon Oct 6 18:16:45 2014 New Revision: 272668 URL: https://svnweb.freebsd.org/changeset/base/272668 Log: Properly set the timeout in a query_state. The global query_timeout configuration value is an integer count of seconds, it is not a timeval. Using memcpy() to copy a ti

svn commit: r272670 - in head/sys/amd64: include vmm vmm/intel

2014-10-06 Thread Neel Natu
Author: neel Date: Mon Oct 6 20:48:01 2014 New Revision: 272670 URL: https://svnweb.freebsd.org/changeset/base/272670 Log: Inject #UD into the guest when it executes either 'MONITOR' or 'MWAIT'. The hypervisor hides the MONITOR/MWAIT capability by unconditionally setting CPUID.01H:ECX[3]

svn commit: r272671 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2014-10-06 Thread Mark Johnston
Author: markj Date: Mon Oct 6 21:52:40 2014 New Revision: 272671 URL: https://svnweb.freebsd.org/changeset/base/272671 Log: Treat D keywords as identifiers in certain postfix expressions. This allows one to, for example, access the "provider" field of a struct g_consumer, even though "provi

Re: svn commit: r272562 - head/lib/libc/stdtime

2014-10-06 Thread Ian Lepore
On Sun, 2014-10-05 at 07:29 +, Andrey A. Chernov wrote: > Author: ache > Date: Sun Oct 5 07:29:50 2014 > New Revision: 272562 > URL: https://svnweb.freebsd.org/changeset/base/272562 > > Log: > 1) For %Z format, understand "UTC" name too. > 2) Return NULL if timegm() fails, because it mean

Re: svn commit: r272596 - head/sys/fs/devfs

2014-10-06 Thread Mateusz Guzik
On Mon, Oct 06, 2014 at 11:37:32AM -0400, John Baldwin wrote: > On Monday, October 06, 2014 06:20:36 AM Mateusz Guzik wrote: > > Author: mjg > > Date: Mon Oct 6 06:20:35 2014 > > New Revision: 272596 > > URL: https://svnweb.freebsd.org/changeset/base/272596 > > > > Log: > > devfs: don't take pr

Re: svn commit: r272659 - in head: contrib/libpcap lib/libpcap

2014-10-06 Thread John-Mark Gurney
Luigi Rizzo wrote this message on Mon, Oct 06, 2014 at 15:48 +: > Author: luigi > Date: Mon Oct 6 15:48:28 2014 > New Revision: 272659 > URL: https://svnweb.freebsd.org/changeset/base/272659 > > Log: > Add netmap support to libpcap. Tcpdump and other native pcap application > can now > r

svn commit: r272673 - in head: include lib/libc/string sys/conf sys/libkern sys/sys

2014-10-06 Thread Xin LI
Author: delphij Date: Tue Oct 7 04:54:11 2014 New Revision: 272673 URL: https://svnweb.freebsd.org/changeset/base/272673 Log: Add explicit_bzero(3) and its kernel counterpart. Obtained from:OpenBSD MFC after:2 weeks Added: head/lib/libc/string/explicit_bzero.c (contents,

svn commit: r272674 - head/sys/sys

2014-10-06 Thread Xin LI
Author: delphij Date: Tue Oct 7 04:54:47 2014 New Revision: 272674 URL: https://svnweb.freebsd.org/changeset/base/272674 Log: Bump __FreeBSD_version for the addition of explicit_bzero(3). Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h =

svn commit: r272675 - head/lib/libc/string

2014-10-06 Thread Xin LI
Author: delphij Date: Tue Oct 7 04:59:11 2014 New Revision: 272675 URL: https://svnweb.freebsd.org/changeset/base/272675 Log: Add MLINK for explicit_bzero(3) and bump .Dd date. MFC after:2 weeks Modified: head/lib/libc/string/Makefile.inc head/lib/libc/string/bzero.3 Modified: he

Re: svn commit: r272562 - head/lib/libc/stdtime

2014-10-06 Thread Andrey Chernov
On 07.10.2014 2:45, Ian Lepore wrote: > Using -1 as an error indicator in time conversions has drawbacks (your > change doesn't make it any better or worse, I'm just whining in > general)... > > revolution > date -ujf "%Y-%m-%dT%H:%M:%S" +%s 1970-01-01T0:0:0 > 0 > revolutio

svn commit: r272678 - head/lib/libc/stdtime

2014-10-06 Thread Andrey A. Chernov
Author: ache Date: Tue Oct 7 06:02:08 2014 New Revision: 272678 URL: https://svnweb.freebsd.org/changeset/base/272678 Log: Back out timegm error check from r272562. POSIX treats negative time_t as undefined (i.e. may be valid too, depends on system's policy we don't have) and we don't se

svn commit: r272679 - head/lib/libc/stdtime

2014-10-06 Thread Andrey A. Chernov
Author: ache Date: Tue Oct 7 06:34:05 2014 New Revision: 272679 URL: https://svnweb.freebsd.org/changeset/base/272679 Log: 1) Fix the case we have less arguments for format string than we expected. 2) Return error on unsupported format specs. (both according to POSIX) PR: 93197 Mo