svn commit: r311584 - head/lib/libsysdecode

2017-01-06 Thread Ngie Cooper
Author: ngie Date: Sat Jan 7 07:54:23 2017 New Revision: 311584 URL: https://svnweb.freebsd.org/changeset/base/311584 Log: Unbreak lib/libsysdecode after r311568 by decoding MSG_MORETOCOME flag in msgflags MFC after:1 month X-MFC with: r311568 Pointyhat to: jhb Reported by:

svn commit: r311583 - head/sys/net80211

2017-01-06 Thread Adrian Chadd
Author: adrian Date: Sat Jan 7 07:35:27 2017 New Revision: 311583 URL: https://svnweb.freebsd.org/changeset/base/311583 Log: [net80211] add syncflags methods for the VHT flags configuration. I missed this in my last commit. Pointy hat to me. Modified: head/sys/net80211/ieee80211.c he

Re: svn commit: r311578 - head/sys/net80211

2017-01-06 Thread Adrian Chadd
god damnit let me go fix that. Sorry, i have to commit another file. -a On 6 January 2017 at 21:46, Cy Schubert wrote: > In message <201701070159.v071xd46009...@repo.freebsd.org>, Adrian Chadd > writes: >> Author: adrian >> Date: Sat Jan 7 01:59:39 2017 >> New Revision: 311578 >> URL: https:/

Re: svn commit: r311578 - head/sys/net80211

2017-01-06 Thread Cy Schubert
In message <201701070159.v071xd46009...@repo.freebsd.org>, Adrian Chadd writes: > Author: adrian > Date: Sat Jan 7 01:59:39 2017 > New Revision: 311578 > URL: https://svnweb.freebsd.org/changeset/base/311578 > > Log: > [net80211] add VHT ioctl parameters and driver capabilities > > * Add

Re: svn commit: r311568 - in head/sys: kern sys

2017-01-06 Thread Cy Schubert
In message <201701062341.v06nfjkl054...@repo.freebsd.org>, John Baldwin writes: > Author: jhb > Date: Fri Jan 6 23:41:45 2017 > New Revision: 311568 > URL: https://svnweb.freebsd.org/changeset/base/311568 > > Log: > Set MORETOCOME for AIO write requests on a socket. > > Add a MSG_MOREOTOC

svn commit: r311581 - head/usr.bin/users

2017-01-06 Thread Allan Jude
Author: allanjude Date: Sat Jan 7 04:57:21 2017 New Revision: 311581 URL: https://svnweb.freebsd.org/changeset/base/311581 Log: Capsicum: add capability mode to users binary Submitted by: Tyler Littlefield Reviewed by: cem, oshogbo Differential Revision:https://reviews.freebs

svn commit: r311580 - head/sys/net80211

2017-01-06 Thread Adrian Chadd
Author: adrian Date: Sat Jan 7 02:16:48 2017 New Revision: 311580 URL: https://svnweb.freebsd.org/changeset/base/311580 Log: [net80211] add some more bits. Modified: head/sys/net80211/ieee80211.h Modified: head/sys/net80211/ieee80211.h ===

svn commit: r311579 - head/sbin/ifconfig

2017-01-06 Thread Adrian Chadd
Author: adrian Date: Sat Jan 7 02:07:05 2017 New Revision: 311579 URL: https://svnweb.freebsd.org/changeset/base/311579 Log: [ifconfig] add initial VHT (802.11ac) configuration and channel support to ifconfig. This is very preliminary and mostly enough for me (with other patches) to wor

svn commit: r311578 - head/sys/net80211

2017-01-06 Thread Adrian Chadd
Author: adrian Date: Sat Jan 7 01:59:39 2017 New Revision: 311578 URL: https://svnweb.freebsd.org/changeset/base/311578 Log: [net80211] add VHT ioctl parameters and driver capabilities * Add the VHT capability element to the driver capabilities so ifconfig can see if VHT is available

svn commit: r311577 - head/lib/lib80211

2017-01-06 Thread Adrian Chadd
Author: adrian Date: Sat Jan 7 01:56:10 2017 New Revision: 311577 URL: https://svnweb.freebsd.org/changeset/base/311577 Log: [lib80211] add VHT bands and channel flags. This is preparation work for 11ac support. The regulatory database needs to know about VHT channel flags and 80MHz (an

svn commit: r311576 - head/sys/net80211

2017-01-06 Thread Adrian Chadd
Author: adrian Date: Sat Jan 7 01:54:32 2017 New Revision: 311576 URL: https://svnweb.freebsd.org/changeset/base/311576 Log: [net80211] add VHT IEs to scan elements. In preparation for VHT station support, we need to store VHT IEs when scanning so we can choose to upgrade to VHT. Th

svn commit: r311575 - head/sys/net80211

2017-01-06 Thread Adrian Chadd
Author: adrian Date: Sat Jan 7 01:53:27 2017 New Revision: 311575 URL: https://svnweb.freebsd.org/changeset/base/311575 Log: [net80211] add VHT node flag; parsed chanwidth. The VHT operational element (VHTOPMODE) isn't a uint32_t - it's the MCS sets, freq1/freq2 parameters and channel wi

svn commit: r311574 - head/sys/net80211

2017-01-06 Thread Adrian Chadd
Author: adrian Date: Sat Jan 7 01:51:54 2017 New Revision: 311574 URL: https://svnweb.freebsd.org/changeset/base/311574 Log: [net80211] add FVHT flags for channel widths. The 11n code uses these bits for both configuration /and/ controlling the channel width on softmac chips - it uses it

svn commit: r311573 - head/sys/net80211

2017-01-06 Thread Adrian Chadd
Author: adrian Date: Sat Jan 7 01:49:34 2017 New Revision: 311573 URL: https://svnweb.freebsd.org/changeset/base/311573 Log: [net80211] Remove duplicate VHTOPMODE configuration bits. These came from Linux mac80211 headers and are configuration bits, not VHTOPMODE field parameters. W

svn commit: r311572 - in head/usr.bin/cmp: . tests

2017-01-06 Thread Alan Somers
Author: asomers Date: Sat Jan 7 00:59:06 2017 New Revision: 311572 URL: https://svnweb.freebsd.org/changeset/base/311572 Log: Fix file descriptor leaks in cmp(1) Also, add a few test cases Reported by: Coverity CID: 271624 275338 Reviewed by: ngie MFC after:4 week

Re: svn commit: r311459 - head/contrib/tcp_wrappers

2017-01-06 Thread Shawn Webb
On Fri, Jan 06, 2017 at 10:42:52PM +0100, Dimitry Andric wrote: > On 06 Jan 2017, at 22:01, Shawn Webb wrote: > > > > On Thu, Jan 05, 2017 at 08:44:45PM +, Dimitry Andric wrote: > >> Author: dim > >> Date: Thu Jan 5 20:44:45 2017 > >> New Revision: 311459 > >> URL: https://svnweb.freebsd.org

svn commit: r311570 - head/contrib/tcpdump

2017-01-06 Thread Dimitry Andric
Author: dim Date: Sat Jan 7 00:17:01 2017 New Revision: 311570 URL: https://svnweb.freebsd.org/changeset/base/311570 Log: In tcpdump's print-tcp.c, avoid increasing alignment when taking the addresses of members of struct ip, which is packed. Since the pointers are only used for memcmp'ing

svn commit: r311569 - head/sys/dev/cxgbe/tom

2017-01-06 Thread Navdeep Parhar
Author: np Date: Sat Jan 7 00:08:55 2017 New Revision: 311569 URL: https://svnweb.freebsd.org/changeset/base/311569 Log: Fix comment in t4_tom. No functional change. MFC after:3 days Modified: head/sys/dev/cxgbe/tom/t4_connect.c Modified: head/sys/dev/cxgbe/tom/t4_connect.c ==

svn commit: r311568 - in head/sys: kern sys

2017-01-06 Thread John Baldwin
Author: jhb Date: Fri Jan 6 23:41:45 2017 New Revision: 311568 URL: https://svnweb.freebsd.org/changeset/base/311568 Log: Set MORETOCOME for AIO write requests on a socket. Add a MSG_MOREOTOCOME message flag. When this flag is set, sosend* set PRUS_MOREOTOCOME when invoking the protocol

svn commit: r311567 - in head: . gnu/lib/libgcc gnu/usr.bin/binutils/ld sys/mips/conf

2017-01-06 Thread John Baldwin
Author: jhb Date: Fri Jan 6 23:30:54 2017 New Revision: 311567 URL: https://svnweb.freebsd.org/changeset/base/311567 Log: Enable /usr/lib32 for o32 binaries on mips64. Build and install an o32 set of libraries on mips64 suitable for running o32 binaries via COMPAT_FREEBSD32. Enable COMPA

svn commit: r311566 - head

2017-01-06 Thread John Baldwin
Author: jhb Date: Fri Jan 6 23:20:59 2017 New Revision: 311566 URL: https://svnweb.freebsd.org/changeset/base/311566 Log: Set -m32 in MD LIB32CPUCFLAGS rather than MI LIB32CFLAGS. Both amd64 and powerpc64 use -m32 to compile 32-bit binaries, but not all platforms follow this convention.

svn commit: r311565 - in head: tools/build/mk usr.bin/clang/llvm-ar

2017-01-06 Thread Dimitry Andric
Author: dim Date: Fri Jan 6 23:05:29 2017 New Revision: 311565 URL: https://svnweb.freebsd.org/changeset/base/311565 Log: Link llvm-ar to llvm-ranlib, if WITH_CLANG_EXTRAS is enabled. When invoked as llvm-ranlib, it can create an archive symbol table for archives of objects compiled for LT

Re: svn commit: r311459 - head/contrib/tcp_wrappers

2017-01-06 Thread Dimitry Andric
On 06 Jan 2017, at 22:01, Shawn Webb wrote: > > On Thu, Jan 05, 2017 at 08:44:45PM +, Dimitry Andric wrote: >> Author: dim >> Date: Thu Jan 5 20:44:45 2017 >> New Revision: 311459 >> URL: https://svnweb.freebsd.org/changeset/base/311459 >> >> Log: >> Put proper prototypes in tcpd.h ... >

svn commit: r311556 - head/contrib/tcp_wrappers

2017-01-06 Thread Dimitry Andric
Author: dim Date: Fri Jan 6 21:40:30 2017 New Revision: 311556 URL: https://svnweb.freebsd.org/changeset/base/311556 Log: After r311459, some ports can break, because a few of the newly added prototypes in use FILE. Pull in a minimal forward declaration of FILE from to minimize impact.

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

2017-01-06 Thread Ngie Cooper
Author: ngie Date: Fri Jan 6 21:14:07 2017 New Revision: 311549 URL: https://svnweb.freebsd.org/changeset/base/311549 Log: Regenerate src.conf(5) after r311548 MFC after:1 week Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ===

svn commit: r311548 - head/tools/build/options

2017-01-06 Thread Ngie Cooper
Author: ngie Date: Fri Jan 6 21:08:19 2017 New Revision: 311548 URL: https://svnweb.freebsd.org/changeset/base/311548 Log: Carry over r311520 to tools/build/options/WITHOUT_USB_GADGET_EXAMPLES Discussed with: wblock r311520: Fix src.conf(5) description of WITHOUT_USB_GADGET

Re: svn commit: r311459 - head/contrib/tcp_wrappers

2017-01-06 Thread Shawn Webb
Hey Dimitry, On Thu, Jan 05, 2017 at 08:44:45PM +, Dimitry Andric wrote: > Author: dim > Date: Thu Jan 5 20:44:45 2017 > New Revision: 311459 > URL: https://svnweb.freebsd.org/changeset/base/311459 > > Log: > Put proper prototypes in tcpd.h > > Clang 4.0.0 complains about tcpd.h's not

svn commit: r311531 - head/sys/fs/tmpfs

2017-01-06 Thread Mateusz Guzik
Author: mjg Date: Fri Jan 6 19:58:20 2017 New Revision: 311531 URL: https://svnweb.freebsd.org/changeset/base/311531 Log: tmpfs: perform a lockless check in tmpfs_itimes Most of the time the status is 0 as the function is repeatedly called from tmpfs_getattr. Modified: head/sys/fs/tmp

svn commit: r311530 - head/sbin/ping

2017-01-06 Thread Dimitry Andric
Author: dim Date: Fri Jan 6 18:41:28 2017 New Revision: 311530 URL: https://svnweb.freebsd.org/changeset/base/311530 Log: Fix clang 4.0.0 warnings about taking the address of a packed member of struct ip in ping(8): sbin/ping/ping.c:1684:53: error: taking address of packed member 'ip_s

svn commit: r311529 - head/sys/contrib/dev/acpica/compiler

2017-01-06 Thread Jung-uk Kim
Author: jkim Date: Fri Jan 6 18:08:53 2017 New Revision: 311529 URL: https://svnweb.freebsd.org/changeset/base/311529 Log: Remove '-vd' option to make iasl(8) reproducible. PR: 215421 Modified: head/sys/contrib/dev/acpica/compiler/aslhelp.c head/sys/contrib/dev/acpica/compil

svn commit: r311527 - head/usr.sbin/crunch/crunchgen

2017-01-06 Thread Warren Block
Author: wblock (doc committer) Date: Fri Jan 6 18:04:34 2017 New Revision: 311527 URL: https://svnweb.freebsd.org/changeset/base/311527 Log: Show that the crunchgen configuration file name is not optional. PR: 215087 Submitted by: Iblis Lin MFC after:1 week Sponsored b

svn commit: r311526 - head/sys/fs/tmpfs

2017-01-06 Thread Mateusz Guzik
Author: mjg Date: Fri Jan 6 18:01:46 2017 New Revision: 311526 URL: https://svnweb.freebsd.org/changeset/base/311526 Log: tmpfs: enabled MNTK_EXTENDED_SHARED Discussed with: kib Modified: head/sys/fs/tmpfs/tmpfs_vfsops.c Modified: head/sys/fs/tmpfs/tmpfs_vfsops.c

Re: svn commit: r311520 - head/share/man/man5

2017-01-06 Thread Ngie Cooper
> On Jan 6, 2017, at 08:43, Warren Block wrote: > > Author: wblock (doc committer) > Date: Fri Jan 6 16:43:45 2017 > New Revision: 311520 > URL: https://svnweb.freebsd.org/changeset/base/311520 > > Log: > Fix src.conf(5) description of WITHOUT_USB_GADGET_EXAMPLES. > > PR:215831 > S

svn commit: r311525 - head/sys/fs/tmpfs

2017-01-06 Thread Konstantin Belousov
Author: kib Date: Fri Jan 6 17:43:36 2017 New Revision: 311525 URL: https://svnweb.freebsd.org/changeset/base/311525 Log: Lock tmpfs node tn_status updates done under the shared vnode lock. If tmpfs vnode is only shared locked, tn_status field still needs updates to note the access time

svn commit: r311524 - head/sys/fs/tmpfs

2017-01-06 Thread Konstantin Belousov
Author: kib Date: Fri Jan 6 17:32:44 2017 New Revision: 311524 URL: https://svnweb.freebsd.org/changeset/base/311524 Log: Use vnode lock assertion expression, and upgrade it to assert the required exclusive state of the vnode lock in tmpfs chflags, chmod, chown, chsize, chtimes operations.

svn commit: r311523 - head/sys/fs/tmpfs

2017-01-06 Thread Konstantin Belousov
Author: kib Date: Fri Jan 6 17:03:08 2017 New Revision: 311523 URL: https://svnweb.freebsd.org/changeset/base/311523 Log: Remove dead code. Fifos overwrite file ops vector, and fifo VOP_KQFILTER is VOP_PANIC(). Tested by:pho Sponsored by: The FreeBSD Foundation MFC after:1

svn commit: r311522 - in head: bin/pax contrib/mtree sbin/fsck_ffs sys/fs/nfsclient sys/fs/tmpfs sys/ufs/ffs sys/ufs/ufs tests/sys/kern/pipe usr.bin/find usr.bin/gzip usr.sbin/fmtree

2017-01-06 Thread Konstantin Belousov
Author: kib Date: Fri Jan 6 16:59:33 2017 New Revision: 311522 URL: https://svnweb.freebsd.org/changeset/base/311522 Log: Use type-independent formats for printing nlink_t and ino_t. Extracted from: ino64 work by gleb, mckusick Discussed with: mckusick Sponsored by: The Fre

svn commit: r311521 - head/sys/kern

2017-01-06 Thread Konstantin Belousov
Author: kib Date: Fri Jan 6 16:56:24 2017 New Revision: 311521 URL: https://svnweb.freebsd.org/changeset/base/311521 Log: Explicitely add "opt_compat.h" to kern_exec.c: fix powerpc LINT builds. sys/ptrace.h includes sys/signal.h, which includes sys/_sigset.h. Note that sys/_sigset.h only

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

2017-01-06 Thread Warren Block
Author: wblock (doc committer) Date: Fri Jan 6 16:43:45 2017 New Revision: 311520 URL: https://svnweb.freebsd.org/changeset/base/311520 Log: Fix src.conf(5) description of WITHOUT_USB_GADGET_EXAMPLES. PR: 215831 Submitted by: p5b2e9...@t-online.de MFC after:1 week Spons

svn commit: r311518 - in head: share/man/man4 sys/dev/rtwn/usb sys/dev/usb

2017-01-06 Thread Kevin Lo
Author: kevlo Date: Fri Jan 6 14:05:31 2017 New Revision: 311518 URL: https://svnweb.freebsd.org/changeset/base/311518 Log: Add new USB device ID. Modified: head/share/man/man4/rtwn_usb.4 head/sys/dev/rtwn/usb/rtwn_usb_attach.h head/sys/dev/usb/usbdevs Modified: head/share/man/man4/rtwn

svn commit: r311517 - head/share/misc

2017-01-06 Thread Alexander Motin
Author: mav Date: Fri Jan 6 13:12:56 2017 New Revision: 311517 URL: https://svnweb.freebsd.org/changeset/base/311517 Log: Add some more mode page fields. MFC after:2 weeks Modified: head/share/misc/scsi_modes Modified: head/share/misc/scsi_modes

svn commit: r311511 - head/tools/tools/gensnmpdef

2017-01-06 Thread Ngie Cooper
Author: ngie Date: Fri Jan 6 10:15:17 2017 New Revision: 311511 URL: https://svnweb.freebsd.org/changeset/base/311511 Log: Add integration makefile for contrib/bsnmp/gensnmpdef It's a whole lot less error prone than generating the file completely by hand. MFC after:1 week Added