svn commit: r312017 - head/sys/net80211

2017-01-12 Thread Adrian Chadd
Author: adrian Date: Fri Jan 13 07:24:58 2017 New Revision: 312017 URL: https://svnweb.freebsd.org/changeset/base/312017 Log: [net80211] add a macro to check this configuration option. Modified: head/sys/net80211/ieee80211_var.h Modified: head/sys/net80211/ieee80211_var.h

svn commit: r312016 - head/sys/net80211

2017-01-12 Thread Adrian Chadd
Author: adrian Date: Fri Jan 13 07:08:14 2017 New Revision: 312016 URL: https://svnweb.freebsd.org/changeset/base/312016 Log: [net80211] begin laying the groundwork for drivers to do their own sequence number management. I added IEEE80211_TX_LOCK() a few years ago because there were races

svn commit: r312015 - head/sys/net80211

2017-01-12 Thread Adrian Chadd
Author: adrian Date: Fri Jan 13 07:02:04 2017 New Revision: 312015 URL: https://svnweb.freebsd.org/changeset/base/312015 Log: [net80211] Initial VHT node upgrade/downgrade support and initial IE parsing. This is the bulk of the magic to start enabling VHT channel negotiation. It is

svn commit: r312014 - head/sys/net80211

2017-01-12 Thread Adrian Chadd
Author: adrian Date: Fri Jan 13 06:53:56 2017 New Revision: 312014 URL: https://svnweb.freebsd.org/changeset/base/312014 Log: [net80211] initial, somewhat incomplete VHT channel setup code and attach path. This sets up: * vht capabilities in vaps; * calls vht_announce to announce

svn commit: r312013 - head/usr.sbin/route6d

2017-01-12 Thread Hiroki Sato
Author: hrs Date: Fri Jan 13 06:22:49 2017 New Revision: 312013 URL: https://svnweb.freebsd.org/changeset/base/312013 Log: - Add static for functions and variables with internal linkage. - Quiet down -Wcast-align warnings. - Remove dead code. There is no functionality change.

svn commit: r312012 - head/lib/msun/tests

2017-01-12 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 04:21:09 2017 New Revision: 312012 URL: https://svnweb.freebsd.org/changeset/base/312012 Log: fmaxmin_test still fails with clang 3.9.x.. bypass the test MFC after:3 days PR: 208703 Sponsored by: Dell EMC Isilon Modified:

Re: svn commit: r311952 - head/sys/ddb

2017-01-12 Thread Bruce Evans
On Thu, 12 Jan 2017, Mark Johnston wrote: Log: Enable the use of ^C and ^S/^Q in DDB. This lets one interrupt DDB's output, which is useful if paging is disabled and the output device is slow. This is quite broken. It removes the code that was necessary for avoiding loss of input.

Re: svn commit: r311950 - head/sys/contrib/ipfilter/netinet

2017-01-12 Thread Cy Schubert
In message <201701120001.v0c012xl041...@repo.freebsd.org>, "Bjoern A. Zeeb" wri tes: > Author: bz > Date: Thu Jan 12 00:01:02 2017 > New Revision: 311950 > URL: https://svnweb.freebsd.org/changeset/base/311950 > > Log: > Get rid of a compiler warning which I saw too often. > Include

svn commit: r312011 - head/usr.sbin/fstyp/tests

2017-01-12 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 04:04:48 2017 New Revision: 312011 URL: https://svnweb.freebsd.org/changeset/base/312011 Log: Use dfr-01-xfat.img.bz2, not dfr-01-xfat.dd.bz2 (the latter case was the full disk image from the website, which was never checked in to svn) Regardless, the

svn commit: r312010 - head/usr.sbin/fstyp/tests

2017-01-12 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 04:02:09 2017 New Revision: 312010 URL: https://svnweb.freebsd.org/changeset/base/312010 Log: Add testcase for exFAT that currently fails Disk image obtained from: http://www.cfreds.nist.gov/dfr-images/dfr-01-xfat.dd.bz2 -- was ripped off the first GPT

Re: svn commit: r312003 - head/usr.sbin/fstyp

2017-01-12 Thread Ngie Cooper (yaneurabeya)
> On Jan 12, 2017, at 19:57, Ngie Cooper (yaneurabeya) > wrote: > > >> On Jan 12, 2017, at 18:14, Conrad Meyer wrote: >> >> Forgot to mention: >> >> Documentation: >>

Re: svn commit: r312003 - head/usr.sbin/fstyp

2017-01-12 Thread Ngie Cooper (yaneurabeya)
> On Jan 12, 2017, at 18:14, Conrad Meyer wrote: > > Forgot to mention: > > Documentation: > https://www.sans.org/reading-room/whitepapers/forensics/reverse-engineering-microsoft-exfat-file-system-33274 > > Images for testing: http://www.cfreds.nist.gov/dfr-test-images.html

svn commit: r312009 - head/usr.sbin/fstyp/tests

2017-01-12 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 03:42:51 2017 New Revision: 312009 URL: https://svnweb.freebsd.org/changeset/base/312009 Log: Add license preamble for r286964; credit to asomers While here, clean up trailing whitespace MFC after:3 days Sponsored by: Dell EMC Isilon Modified:

svn commit: r312008 - in head: contrib/netbsd-tests contrib/netbsd-tests/crypto/libcrypto contrib/netbsd-tests/dev/audio contrib/netbsd-tests/dev/cgd contrib/netbsd-tests/fs/ffs contrib/netbsd-test...

2017-01-12 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 03:33:57 2017 New Revision: 312008 URL: https://svnweb.freebsd.org/changeset/base/312008 Log: Upgrade NetBSD tests to 01.11.2017_23.20 snapshot This contains some new testcases in /usr/tests/...: - .../lib/libc - .../lib/libthr - .../lib/msun -

Re: svn commit: r312003 - head/usr.sbin/fstyp

2017-01-12 Thread Conrad Meyer
Forgot to mention: Documentation: https://www.sans.org/reading-room/whitepapers/forensics/reverse-engineering-microsoft-exfat-file-system-33274 Images for testing: http://www.cfreds.nist.gov/dfr-test-images.html (raw disk images, include partition tables) On Thu, Jan 12, 2017 at 6:12 PM,

svn commit: r312003 - head/usr.sbin/fstyp

2017-01-12 Thread Conrad E. Meyer
Author: cem Date: Fri Jan 13 02:12:58 2017 New Revision: 312003 URL: https://svnweb.freebsd.org/changeset/base/312003 Log: fstyp(8): Detect exFAT filesystems Simply detect the exFAT filesystem name in the Volume Boot Record (superblock). PR: 214908 Reported by: Added:

svn commit: r312002 - in head/sys/dev/rtwn: rtl8188e rtl8192c

2017-01-12 Thread Kevin Lo
Author: kevlo Date: Fri Jan 13 02:11:16 2017 New Revision: 312002 URL: https://svnweb.freebsd.org/changeset/base/312002 Log: Increase retry count to 100 in r88e_fw_cmd() and r92c_fw_cmd(). Modified: head/sys/dev/rtwn/rtl8188e/r88e_fw.c head/sys/dev/rtwn/rtl8192c/r92c_fw.c Modified:

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

2017-01-12 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jan 13 01:39:19 2017 New Revision: 312001 URL: https://svnweb.freebsd.org/changeset/base/312001 Log: Remove __nonnull() attributes from x86 machine check architecture. These are of the few cases where we use the GCC non-null attributes in non-header code. As part of

svn commit: r311996 - head/sys/kern

2017-01-12 Thread Ian Lepore
Author: ian Date: Thu Jan 12 21:18:43 2017 New Revision: 311996 URL: https://svnweb.freebsd.org/changeset/base/311996 Log: Restructure the tty_drain loop so that device-busy is checked one more time after tty_timedwait() returns an error only if the error is EWOULDBLOCK; other errors cause

svn commit: r311995 - head/sys/vm

2017-01-12 Thread Gleb Smirnoff
Author: glebius Date: Thu Jan 12 20:26:02 2017 New Revision: 311995 URL: https://svnweb.freebsd.org/changeset/base/311995 Log: Fix the contiguity once more. Modified: head/sys/vm/vnode_pager.c Modified: head/sys/vm/vnode_pager.c

svn commit: r311994 - head/usr.sbin/route6d

2017-01-12 Thread Hiroki Sato
Author: hrs Date: Thu Jan 12 18:44:58 2017 New Revision: 311994 URL: https://svnweb.freebsd.org/changeset/base/311994 Log: - Fix dereference of NULL pointer which could cause a crash [1] - Fix memory leak due to lack of freeaddrinfo() [2] CID: 1018281 [1] CID: 1225057 [2] MFC

svn commit: r311993 - head/sys/dev/nand

2017-01-12 Thread Alexander Kabaev
Author: kan Date: Thu Jan 12 18:05:12 2017 New Revision: 311993 URL: https://svnweb.freebsd.org/changeset/base/311993 Log: Fix typo in r311971. Reported by: ohartmann at walstatt.org Modified: head/sys/dev/nand/nand_geom.c Modified: head/sys/dev/nand/nand_geom.c

svn commit: r311990 - head/sys/conf

2017-01-12 Thread Sean Bruno
Author: sbruno Date: Thu Jan 12 17:18:25 2017 New Revision: 311990 URL: https://svnweb.freebsd.org/changeset/base/311990 Log: Purge surprise change to sys/conf/files for ixgbe(4). Reported by: imp Modified: head/sys/conf/files Modified: head/sys/conf/files

svn commit: r311989 - head/sys/libkern

2017-01-12 Thread Conrad E. Meyer
Author: cem Date: Thu Jan 12 17:02:29 2017 New Revision: 311989 URL: https://svnweb.freebsd.org/changeset/base/311989 Log: libkern: Remove obsolete 'register' keyword Sponsored by: Dell EMC Isilon Modified: head/sys/libkern/bcmp.c head/sys/libkern/bsearch.c

svn commit: r311988 - head/share/man/man4

2017-01-12 Thread Sean Bruno
Author: sbruno Date: Thu Jan 12 16:44:40 2017 New Revision: 311988 URL: https://svnweb.freebsd.org/changeset/base/311988 Log: Purge EM_MULTIQUEUE references from the man page for em(4). Modified: head/share/man/man4/em.4 Modified: head/share/man/man4/em.4

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

2017-01-12 Thread Bruce M Simpson
Author: bms Date: Thu Jan 12 16:30:27 2017 New Revision: 311987 URL: https://svnweb.freebsd.org/changeset/base/311987 Log: Allow uart(4) to use MSI interrupts on single-port PCI instances. Do this here as puc(4) disallows single-port instances; at least one multi-port PCIe UART chip (in

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

2017-01-12 Thread Sean Bruno
Author: sbruno Date: Thu Jan 12 16:24:10 2017 New Revision: 311986 URL: https://svnweb.freebsd.org/changeset/base/311986 Log: Fix panic on mb_free_ext() due to NULL destructor. This used to happen because of the SET_MBUF_DESTRUCTOR() called on unregif. Submitted by: Vincenzo

svn commit: r311985 - head/usr.sbin/route6d

2017-01-12 Thread Alan Somers
Author: asomers Date: Thu Jan 12 16:22:28 2017 New Revision: 311985 URL: https://svnweb.freebsd.org/changeset/base/311985 Log: Fix uninitialized variable CIDs in route6d The variables in question are actually return arguments, but it's still good form to initialize them. Reported

Re: svn commit: r311984 - head/libexec/rtld-elf

2017-01-12 Thread Ed Maste
On 12 January 2017 at 10:54, Konstantin Belousov wrote: > Author: kib > Date: Thu Jan 12 15:54:03 2017 > New Revision: 311984 > URL: https://svnweb.freebsd.org/changeset/base/311984 > > Log: > For the main binary, postpone enforcing relro read-only protection > until copy

svn commit: r311984 - head/libexec/rtld-elf

2017-01-12 Thread Konstantin Belousov
Author: kib Date: Thu Jan 12 15:54:03 2017 New Revision: 311984 URL: https://svnweb.freebsd.org/changeset/base/311984 Log: For the main binary, postpone enforcing relro read-only protection until copy relocations are done. Newer binutils and lld seems to output copy into relro-protected

svn commit: r311983 - in head: share/man/man4 sys/dev/sfxge

2017-01-12 Thread Andrew Rybchenko
Author: arybchik Date: Thu Jan 12 15:26:23 2017 New Revision: 311983 URL: https://svnweb.freebsd.org/changeset/base/311983 Log: sfxge(4): add sysctl to change MAC stats update period The sysctl controls the period per interface. Reviewed by:gnn Sponsored by: Solarflare

svn commit: r311982 - head/sys/dev/e1000

2017-01-12 Thread Sean Bruno
Author: sbruno Date: Thu Jan 12 14:47:44 2017 New Revision: 311982 URL: https://svnweb.freebsd.org/changeset/base/311982 Log: Restore fixup for newer em(4) devices WOL capabilities post iflib integration. PR: 208343 Modified: head/sys/dev/e1000/if_em.c Modified:

svn commit: r311981 - head/usr.bin/rpcgen

2017-01-12 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jan 12 14:44:41 2017 New Revision: 311981 URL: https://svnweb.freebsd.org/changeset/base/311981 Log: rpcgen(1): Check getrlimit() return for generated code. Obtained from:NetBSD (CVS rev 1.27, 1.28) MFC after:1 week Modified:

svn commit: r311980 - in head: . sys/conf sys/dev/e1000 sys/modules/em

2017-01-12 Thread Sean Bruno
2017(r311980) @@ -51,6 +51,10 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12 ** SPECIAL WARNING: ** +20170112: + The EM_MULTIQUEUE kernel configuration option is deprecated now that + the em(4) driver conforms to iflib

svn commit: r311979 - head/sys/dev/e1000

2017-01-12 Thread Sean Bruno
Author: sbruno Date: Thu Jan 12 14:28:32 2017 New Revision: 311979 URL: https://svnweb.freebsd.org/changeset/base/311979 Log: Reset the EIAC register to include the LINK status bit and restore link up/down notifications. Submitted by: Franco Fichtner Modified:

svn commit: r311977 - in head: share/man/man4 sys/dev/sfxge

2017-01-12 Thread Andrew Rybchenko
Author: arybchik Date: Thu Jan 12 13:00:17 2017 New Revision: 311977 URL: https://svnweb.freebsd.org/changeset/base/311977 Log: sfxge(4): add tunable to configure MAC stats update period Reviewed by:philip Sponsored by: Solarflare Communications, Inc. MFC after: 2 days

Re: svn commit: r309124 - in head: . contrib/compiler-rt contrib/compiler-rt/include/sanitizer contrib/compiler-rt/lib/asan contrib/compiler-rt/lib/builtins contrib/compiler-rt/lib/builtins/arm contri

2017-01-12 Thread Conrad Meyer
This appears to have broken Chromium[0]: FAILED: obj/services/ui/ws/lib/window_manager_display_root.o clang++39 -MMD -MF obj/services/ui/ws/lib/window_manager_display_root.o.d -D_LIBCPP_TRIVIAL_PAIR_COPY_CTOR=1 -DV8_DEPRECATION_WARNINGS -DENABLE_MDNS=1 -DENABLE_NOTIFICATIONS -DENABLE_PEPPER_CDMS

svn commit: r311974 - head/sys/netinet

2017-01-12 Thread Maxim Sobolev
Author: sobomax Date: Thu Jan 12 10:14:54 2017 New Revision: 311974 URL: https://svnweb.freebsd.org/changeset/base/311974 Log: Fix slight type mismatch between so_options defined in sys/socketvar.h and tw_so_options defined here which is supposed to be a copy of the former (short vs u_short

svn commit: r311972 - head/lib/libnetbsd/sys

2017-01-12 Thread Ngie Cooper
Author: ngie Date: Thu Jan 12 09:01:14 2017 New Revision: 311972 URL: https://svnweb.freebsd.org/changeset/base/311972 Log: Add __BIT and __BITS macros from NetBSD to help support new testcases MFC after:1 week Modified: head/lib/libnetbsd/sys/cdefs.h Modified:

svn commit: r311971 - in head/sys: cam/nvme dev/mmc dev/nand dev/nvd geom

2017-01-12 Thread Alexander Motin
Author: mav Date: Thu Jan 12 08:53:10 2017 New Revision: 311971 URL: https://svnweb.freebsd.org/changeset/base/311971 Log: Report random flash storage as non-rotating to GEOM_DISK. While doing it, introduce respective constants in geom_disk.h. MFC after:1 week Modified:

svn commit: r311969 - in head: contrib/netbsd-tests/lib/libc/stdlib lib/libc/tests/stdlib

2017-01-12 Thread Ngie Cooper
Author: ngie Date: Thu Jan 12 08:40:52 2017 New Revision: 311969 URL: https://svnweb.freebsd.org/changeset/base/311969 Log: Remove __HAVE_LONG_DOUBLE #define from t_strtod.c and place it in Makefile This is to enable support in other testcases Inspired by lib/msun/tests/Makefile .

svn commit: r311968 - head/contrib/netbsd-tests/lib/libc/sys

2017-01-12 Thread Ngie Cooper
Author: ngie Date: Thu Jan 12 08:31:42 2017 New Revision: 311968 URL: https://svnweb.freebsd.org/changeset/base/311968 Log: Fix lib/libc/sys/access_test after r311925 sys/param.h needs to be #included in order for __FreeBSD_version to be checked MFC after:13 days Modified: