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

2017-05-26 Thread Xin LI
Author: delphij Date: Sat May 27 06:24:06 2017 New Revision: 318975 URL: https://svnweb.freebsd.org/changeset/base/318975 Log: Tighten /entropy permissions. PR: 219527 Reported by: Lu Tung-Pin Submitted by: jilles MFC after:3 days Modified: head/etc/rc.d/random Mod

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

2017-05-26 Thread Ed Maste
Author: emaste Date: Sat May 27 02:07:22 2017 New Revision: 318974 URL: https://svnweb.freebsd.org/changeset/base/318974 Log: uart: add AMT SOL PCI ID I adjusted the description to be similar to existing AMT entries. PR: 219384 Submitted by: "Tooker" MFC after:1 week

svn commit: r318973 - head/contrib/ofed/libcxgb4/src

2017-05-26 Thread Navdeep Parhar
Author: np Date: Sat May 27 02:05:21 2017 New Revision: 318973 URL: https://svnweb.freebsd.org/changeset/base/318973 Log: libcxgb4: Use memcpy instead of copying WRs 8B at a time in the userspace RDMA library for cxgbe(4). MFC after:3 days Sponsored by: Chelsio Communications Modif

svn commit: r318970 - head/sys/net

2017-05-26 Thread Alexander Motin
Author: mav Date: Fri May 26 22:22:48 2017 New Revision: 318970 URL: https://svnweb.freebsd.org/changeset/base/318970 Log: Call VLAN_CAPABILITIES() when LAGG capabilities change. This makes VLAN on top of LAGG to expose proper capabilities if they are changed after creation. MFC afte

svn commit: r318969 - in head: lib/libprocstat sys/kern sys/sys usr.bin/procstat

2017-05-26 Thread Conrad Meyer
Author: cem Date: Fri May 26 22:17:44 2017 New Revision: 318969 URL: https://svnweb.freebsd.org/changeset/base/318969 Log: procstat(1): Add TCP socket send/recv buffer size Add TCP socket send and receive buffer size to procstat -f output. Reviewed by: kib, markj Sponsored by: Dell

svn commit: r318968 - head/usr.bin/procstat

2017-05-26 Thread Brooks Davis
Author: brooks Date: Fri May 26 21:10:01 2017 New Revision: 318968 URL: https://svnweb.freebsd.org/changeset/base/318968 Log: Add missing usage and getopt(3) options - Add the missing option 'n' to the getopt(3) string - Add the missing options 'libxo' and 'N' to the usage message - Add

svn commit: r318967 - head/sys/dev/cxgbe/crypto

2017-05-26 Thread John Baldwin
Author: jhb Date: Fri May 26 20:20:40 2017 New Revision: 318967 URL: https://svnweb.freebsd.org/changeset/base/318967 Log: Fail large requests with EFBIG. The adapter firmware in general does not accept PDUs larger than 64k - 1 bytes in size. Sending crypto requests larger than this size

svn commit: r318966 - head/sys/net

2017-05-26 Thread Alexander Motin
Author: mav Date: Fri May 26 20:15:33 2017 New Revision: 318966 URL: https://svnweb.freebsd.org/changeset/base/318966 Log: Improve applying unified capabilities to the lagg ports. Some NICs have some capabilities dependent, so that disabling one require disabling some other (TXCSUM/RXCSUM

svn commit: r318962 - head/sys/cam/ata

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 17:44:47 2017 New Revision: 318962 URL: https://svnweb.freebsd.org/changeset/base/318962 Log: Allow PROBE_SPINUP to fail in CAM ATA transport The motivation for this is two-fold. 1. Some old WD SATA disks may appear as if they need to be spun up when they

Re: svn commit: r318879 - in head: lib/libsysdecode usr.bin/truss

2017-05-26 Thread John Baldwin
On Thursday, May 25, 2017 02:27:54 PM Michael Tuexen wrote: > Author: tuexen > Date: Thu May 25 14:27:54 2017 > New Revision: 318879 > URL: https://svnweb.freebsd.org/changeset/base/318879 > > Log: > Improve the decoding of the third argument of the socket() call. > > Decoding of the third

svn commit: r318960 - in head/usr.sbin/newsyslog: . tests

2017-05-26 Thread David Bright
Author: dab Date: Fri May 26 16:36:30 2017 New Revision: 318960 URL: https://svnweb.freebsd.org/changeset/base/318960 Log: Add newsyslog capability to write RFC5424 compliant rotation message. This modification adds the capability to newsyslog to write the rotation message in a format tha

svn commit: r318959 - head/sys/sys

2017-05-26 Thread Dimitry Andric
Author: dim Date: Fri May 26 16:29:55 2017 New Revision: 318959 URL: https://svnweb.freebsd.org/changeset/base/318959 Log: Define a new __INO64 macro in , to indicate the system uses 64-bit inode numbers. Programs can use this to avoid including , with its associated namespace pollution.

svn commit: r318958 - head/sys/netinet

2017-05-26 Thread Michael Tuexen
Author: tuexen Date: Fri May 26 16:29:00 2017 New Revision: 318958 URL: https://svnweb.freebsd.org/changeset/base/318958 Log: Use the SCTP_PCB_FLAGS_ACCEPTING flags to check for listeners. While there, use a macro for checking the listen state to allow for easier changes if required.

svn commit: r318957 - head

2017-05-26 Thread Ed Maste
Author: emaste Date: Fri May 26 16:03:28 2017 New Revision: 318957 URL: https://svnweb.freebsd.org/changeset/base/318957 Log: rm stale ptrace dependencies after r305012 This is similar to r318912, except that ptrace.[sS] was previously a file in the source tree, not a generated assembly w

svn commit: r318956 - head/lib/libthr

2017-05-26 Thread Eric van Gyzen
Author: vangyzen Date: Fri May 26 15:57:54 2017 New Revision: 318956 URL: https://svnweb.freebsd.org/changeset/base/318956 Log: libthr: increase WARNS to the default (6) ...and silence cast-align warnings from gcc. Reviewed by: kib MFC after:3 days Sponsored by: Dell EMC Dif

svn commit: r318955 - in head/lib/libthr: arch/aarch64/include arch/arm/include arch/mips/include arch/powerpc/include arch/riscv/include thread

2017-05-26 Thread Eric van Gyzen
Author: vangyzen Date: Fri May 26 15:56:28 2017 New Revision: 318955 URL: https://svnweb.freebsd.org/changeset/base/318955 Log: libthr: fix warnings at WARNS=6 Fix more warnings about redundant declarations. Reviewed by: kib emaste MFC after:3 days Sponsored by: Dell EMC Dif

svn commit: r318954 - in head/libexec/rtld-elf: arm mips powerpc powerpc64 riscv

2017-05-26 Thread Eric van Gyzen
Author: vangyzen Date: Fri May 26 15:55:03 2017 New Revision: 318954 URL: https://svnweb.freebsd.org/changeset/base/318954 Log: rtld: fix warnings about redundant declarations Fix warnings about redundant declarations in rtld when libthr in increased to WARNS=6. Reviewed by: kib M

svn commit: r318953 - head/lib/libthr/thread

2017-05-26 Thread Eric van Gyzen
Author: vangyzen Date: Fri May 26 15:53:27 2017 New Revision: 318953 URL: https://svnweb.freebsd.org/changeset/base/318953 Log: libthr: fix style in previous commit I intended to add this to the previous commit. Reviewed by: kib MFC after:3 days Sponsored by: Dell EMC Modifie

svn commit: r318952 - head/lib/libthr/thread

2017-05-26 Thread Eric van Gyzen
Author: vangyzen Date: Fri May 26 15:51:51 2017 New Revision: 318952 URL: https://svnweb.freebsd.org/changeset/base/318952 Log: libthr: prevent setcontext() from masking SIGTHR __thr_setcontext() mistakenly tested for the presence of SIGCANCEL in its local ucontext_t instead of the parame

svn commit: r318951 - in head/usr.sbin/makefs: . ffs

2017-05-26 Thread Ed Maste
Author: emaste Date: Fri May 26 15:49:20 2017 New Revision: 318951 URL: https://svnweb.freebsd.org/changeset/base/318951 Log: makefs: add -O (offset) option NetBSD revs: ffs.c 1.60 makefs.8 1.44 makefs.c 1.48 makefs.h 1.33 ffs/buf.c 1.20 ffs/mkfs.c

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

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 12:08:38 2017 New Revision: 318945 URL: https://svnweb.freebsd.org/changeset/base/318945 Log: MFV r318944: 8265 Reserve send stream flag for large dnode feature illumos/illumos-gate@bc83969fdbd1cb0d97ba00218c0a3de5c89fba92 https://github.com/illumos/illumos-g

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

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 12:04:21 2017 New Revision: 318943 URL: https://svnweb.freebsd.org/changeset/base/318943 Log: MFV r318942: 8166 zpool scrub thinks it repaired offline device illumos/illumos-gate@2d2f193a21231a58c583466dc23ba71f1a25f424 https://github.com/illumos/illumos-gate

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

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 11:49:42 2017 New Revision: 318935 URL: https://svnweb.freebsd.org/changeset/base/318935 Log: MFV r318934: 8070 Add some ZFS comments illumos/illumos-gate@40713f2b249d289022c715107b3951055a63aef0 https://github.com/illumos/illumos-gate/commit/40713f2b249d2890

svn commit: r318932 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 11:37:11 2017 New Revision: 318932 URL: https://svnweb.freebsd.org/changeset/base/318932 Log: MFV r318931: 8063 verify that we do not attempt to access inactive txg illumos/illumos-gate@b7b2590dd9f11b12a0b4878db3886068cce176af https://github.com/illumos/illum

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

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 11:33:34 2017 New Revision: 318930 URL: https://svnweb.freebsd.org/changeset/base/318930 Log: MFV r318929: 7786 zfs`vdev_online() needs better notification about state changes illumos/illumos-gate@5f368aef86387d6ef4eda84030ae9b402313ee4c https://github.com/i

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

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 11:30:55 2017 New Revision: 318928 URL: https://svnweb.freebsd.org/changeset/base/318928 Log: MFV r318927: 8025 dbuf_read() creates unnecessary zio_root() for bonus buf illumos/illumos-gate@def4fac5882b4ca67bd0f4a53509b6d1fa8ae14e https://github.com/illumos/i

svn commit: r318926 - head/sys/cddl/contrib/opensolaris

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 11:25:44 2017 New Revision: 318926 URL: https://svnweb.freebsd.org/changeset/base/318926 Log: MFV r316919: 7885 zpool list can report 16.0e for expandsz FreeBSD note: this is a record-only change, the actual change was directly committed by smh. illumos/i

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

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 11:23:16 2017 New Revision: 318925 URL: https://svnweb.freebsd.org/changeset/base/318925 Log: MFV r316929: 6914 kernel virtual memory fragmentation leads to hang illumos/illumos-gate@af868f46a5b794687741d5424de9e3a2d684a84a https://github.com/illumos/illumos-

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

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 11:05:56 2017 New Revision: 318924 URL: https://svnweb.freebsd.org/changeset/base/318924 Log: arc_init: make code closer to upstream by introducing 'allmem' variable All the differences in calculations are kept. A comment about arc_max being 1/2 of all memory

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

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 10:37:55 2017 New Revision: 318923 URL: https://svnweb.freebsd.org/changeset/base/318923 Log: zfs_putpages: assert that sa_bulk_update() must succeed Same as the upstream does in r316927. MFC after:1 week Modified: head/sys/cddl/contrib/opensolaris/u

svn commit: r318922 - head/sys/cddl/contrib/opensolaris

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 10:34:33 2017 New Revision: 318922 URL: https://svnweb.freebsd.org/changeset/base/318922 Log: MFV r316927: 5379 modifying a mmap()-ed file does not update its timestamps FreeBSD note: this is a record-only merge as the FreeBSD putpages code is quite different

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

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 10:31:05 2017 New Revision: 318921 URL: https://svnweb.freebsd.org/changeset/base/318921 Log: MFV r316928: 7256 low probability race in zfs_get_data illumos/illumos-gate@0c94e1af6784c69a1dea25e0e35dd13b2b91e2e5 https://github.com/illumos/illumos-gate/commit/0

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

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 10:27:35 2017 New Revision: 318920 URL: https://svnweb.freebsd.org/changeset/base/318920 Log: MFC r316924: 8061 sa_find_idx_tab can be declared more type-safely illumos/illumos-gate@7f0bdb4257bb4f1f76390b72665961e411da24c6 https://github.com/illumos/illumos-g