svn commit: r298919 - head/sys/dev/otus

2016-05-01 Thread Adrian Chadd
Author: adrian Date: Mon May 2 05:43:46 2016 New Revision: 298919 URL: https://svnweb.freebsd.org/changeset/base/298919 Log: [otus] implement monitor mode. * break out the operating mode and rx filter into new functions, rather than them being hard-coded * if we're in sniffer mode

svn commit: r298918 - head/sys/dev/usb/net

2016-05-01 Thread Adrian Chadd
Author: adrian Date: Mon May 2 05:37:25 2016 New Revision: 298918 URL: https://svnweb.freebsd.org/changeset/base/298918 Log: s/struct device */device_t/ Submitted by: kmacy Modified: head/sys/dev/usb/net/if_mos.c Modified: head/sys/dev/usb/net/if_mos.c

svn commit: r298915 - head/sys/dev/mwl

2016-05-01 Thread Adrian Chadd
Author: adrian Date: Mon May 2 04:15:15 2016 New Revision: 298915 URL: https://svnweb.freebsd.org/changeset/base/298915 Log: [mwl] s/struct device/device_t/ Submitted by: kmacy Modified: head/sys/dev/mwl/if_mwlvar.h head/sys/dev/mwl/mwlhal.h Modified: head/sys/dev/mwl/if_mwlvar.h

svn commit: r298914 - head/usr.sbin/rpcbind

2016-05-01 Thread Pedro F. Giffuni
Author: pfg Date: Mon May 2 02:15:05 2016 New Revision: 298914 URL: https://svnweb.freebsd.org/changeset/base/298914 Log: rpcbind: use our roundup() macro when available through . No functional change. Modified: head/usr.sbin/rpcbind/rpcb_svc_com.c Modified:

svn commit: r298913 - head/usr.sbin/quot

2016-05-01 Thread Pedro F. Giffuni
Author: pfg Date: Mon May 2 02:13:22 2016 New Revision: 298913 URL: https://svnweb.freebsd.org/changeset/base/298913 Log: quot: make use of our rounddown() macro when is available. No functional change. Modified: head/usr.sbin/quot/quot.c Modified: head/usr.sbin/quot/quot.c

svn commit: r298912 - head/usr.sbin/mountd

2016-05-01 Thread Marcelo Araujo
Author: araujo Date: Mon May 2 01:49:42 2016 New Revision: 298912 URL: https://svnweb.freebsd.org/changeset/base/298912 Log: Use MIN macro from sys/param.h. MFC after:2 weeks. Modified: head/usr.sbin/mountd/mountd.c Modified: head/usr.sbin/mountd/mountd.c

svn commit: r298911 - head/usr.sbin/makefs/ffs

2016-05-01 Thread Marcelo Araujo
Author: araujo Date: Mon May 2 01:47:13 2016 New Revision: 298911 URL: https://svnweb.freebsd.org/changeset/base/298911 Log: Use MIN/MAX macros from sys/param.h. MFC after:2 weeks. Modified: head/usr.sbin/makefs/ffs/mkfs.c Modified: head/usr.sbin/makefs/ffs/mkfs.c

svn commit: r298910 - head/usr.sbin/lpr/lpc

2016-05-01 Thread Marcelo Araujo
Author: araujo Date: Mon May 2 01:45:52 2016 New Revision: 298910 URL: https://svnweb.freebsd.org/changeset/base/298910 Log: Use MIN macro from sys/param.h. MFC after:2 weeks. Modified: head/usr.sbin/lpr/lpc/lpc.c Modified: head/usr.sbin/lpr/lpc/lpc.c

svn commit: r298909 - head/usr.sbin/inetd

2016-05-01 Thread Marcelo Araujo
Author: araujo Date: Mon May 2 01:43:22 2016 New Revision: 298909 URL: https://svnweb.freebsd.org/changeset/base/298909 Log: Use MAX macro from sys/param.h. MFC after:2 weeks. Modified: head/usr.sbin/inetd/inetd.c Modified: head/usr.sbin/inetd/inetd.c

svn commit: r298908 - head/sbin/dumpfs

2016-05-01 Thread Marcelo Araujo
Author: araujo Date: Mon May 2 01:40:31 2016 New Revision: 298908 URL: https://svnweb.freebsd.org/changeset/base/298908 Log: Use MIN macro from sys/param.h. MFC after:2 weeks Modified: head/sbin/dumpfs/dumpfs.c Modified: head/sbin/dumpfs/dumpfs.c

svn commit: r298907 - head/sbin/fsck_ffs

2016-05-01 Thread Marcelo Araujo
Author: araujo Date: Mon May 2 01:28:21 2016 New Revision: 298907 URL: https://svnweb.freebsd.org/changeset/base/298907 Log: Use MIN/MAX macros from sys/param.h. MFC after:2 weeks. Modified: head/sbin/fsck_ffs/fsutil.c head/sbin/fsck_ffs/inode.c head/sbin/fsck_ffs/pass2.c

svn commit: r298906 - head/sbin/newfs

2016-05-01 Thread Marcelo Araujo
Author: araujo Date: Mon May 2 00:45:46 2016 New Revision: 298906 URL: https://svnweb.freebsd.org/changeset/base/298906 Log: Use MIN()/MAX() macros from sys/param.h. Reviewed by: trasz MFC after:2 weeks. Differential Revision:https://reviews.freebsd.org/D6118 Modified:

svn commit: r298905 - head/sbin/growfs

2016-05-01 Thread Marcelo Araujo
Author: araujo Date: Mon May 2 00:44:19 2016 New Revision: 298905 URL: https://svnweb.freebsd.org/changeset/base/298905 Log: Use MIN() macro from sys/param.h. Reviewed by: trasz MFC after:2 weeks Differential Revision:https://reviews.freebsd.org/D6119 Modified:

svn commit: r298903 - head/sys/dev/iwn

2016-05-01 Thread Andriy Voskoboinyk
Author: avos Date: Sun May 1 22:00:40 2016 New Revision: 298903 URL: https://svnweb.freebsd.org/changeset/base/298903 Log: iwn: switch to ieee80211_add_channel*() Switch to add_channel / add_channel_ht40 + pass channel's TX power for the last. Tested by:dhw Reviewed by:

svn commit: r298904 - in head/share/man: man4 man9

2016-05-01 Thread Warren Block
Author: wblock (doc committer) Date: Sun May 1 22:00:41 2016 New Revision: 298904 URL: https://svnweb.freebsd.org/changeset/base/298904 Log: Spelling fixes supplied by pfg@, detected with codespell, plus additional misspellings detected by igor. MFC after:1 week Modified:

svn commit: r298902 - in head/sys: netinet netinet6

2016-05-01 Thread Michael Tuexen
Author: tuexen Date: Sun May 1 21:48:55 2016 New Revision: 298902 URL: https://svnweb.freebsd.org/changeset/base/298902 Log: When a client uses UDP encapsulation and lists IP addresses in the INIT chunk, enable UDP encapsulation for all those addresses. This helps clients using a userland

svn commit: r298901 - head/sbin/restore

2016-05-01 Thread Pedro F. Giffuni
Author: pfg Date: Sun May 1 21:17:30 2016 New Revision: 298901 URL: https://svnweb.freebsd.org/changeset/base/298901 Log: restore: promote some getfiles() parameters to size_t. This is based on a change from OpenBSD: "Fix restore so that it can actually restore files larger than 4GB

svn commit: r298900 - in head/sys/boot: common efi/libefi i386/libi386

2016-05-01 Thread Allan Jude
Author: allanjude Date: Sun May 1 21:06:59 2016 New Revision: 298900 URL: https://svnweb.freebsd.org/changeset/base/298900 Log: bcache read ahead may attempt to read past end of disk The new bcache code does not know the size of the disk, and therefore may attempt to read past the end of

svn commit: r298899 - head/sys/net80211

2016-05-01 Thread Andriy Voskoboinyk
Author: avos Date: Sun May 1 20:57:10 2016 New Revision: 298899 URL: https://svnweb.freebsd.org/changeset/base/298899 Log: net80211: calculate IEEE80211_MODE_BYTES / IEEE80211_CHAN_BYTES instead of hardcoding it. Suggested by: adrian Modified: head/sys/net80211/_ieee80211.h

svn commit: r298898 - head/lib/libc/sys

2016-05-01 Thread Konstantin Belousov
Author: kib Date: Sun May 1 20:54:29 2016 New Revision: 298898 URL: https://svnweb.freebsd.org/changeset/base/298898 Log: As a reader service, explain NOTE_LINK reporting for the directories. Submitted by: Vladimir Kondratyev MFC after:1 week Modified:

svn commit: r298897 - in head/libexec: ftpd rtld-elf

2016-05-01 Thread Pedro F. Giffuni
Author: pfg Date: Sun May 1 19:39:23 2016 New Revision: 298897 URL: https://svnweb.freebsd.org/changeset/base/298897 Log: libexec: minor spelling fixes in comments. No functional change. Modified: head/libexec/ftpd/ftpd.c head/libexec/ftpd/popen.c head/libexec/rtld-elf/malloc.c

svn commit: r298896 - in head/lib: libedit libfetch libgssapi libkiconv libkvm libpmc libsdp libusb libvmmapi msun/src

2016-05-01 Thread Pedro F. Giffuni
Author: pfg Date: Sun May 1 19:37:33 2016 New Revision: 298896 URL: https://svnweb.freebsd.org/changeset/base/298896 Log: lib: minor spelling fixes in comments. No functional change. Modified: head/lib/libedit/chartype.h head/lib/libedit/refresh.c head/lib/libfetch/common.c

svn commit: r298895 - head/sys/dev/usb/wlan

2016-05-01 Thread Andriy Voskoboinyk
Author: avos Date: Sun May 1 18:53:12 2016 New Revision: 298895 URL: https://svnweb.freebsd.org/changeset/base/298895 Log: rum: switch to ieee80211_add_channel_list_*() - Use device's channel list instead of default one (from ieee80211_init_channels()). - Add ic_getradiocaps() method.

svn commit: r298894 - head/sys/dev/otus

2016-05-01 Thread Andriy Voskoboinyk
Author: avos Date: Sun May 1 18:15:40 2016 New Revision: 298894 URL: https://svnweb.freebsd.org/changeset/base/298894 Log: otus: switch to ieee80211_add_channel_list_*() - Use device's channel list instead of default one (from ieee80211_init_channels()). - Sort channels

svn commit: r298893 - head/lib/libc/sys

2016-05-01 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Sun May 1 18:09:34 2016 New Revision: 298893 URL: https://svnweb.freebsd.org/changeset/base/298893 Log: Provide an example to the kqueue man page, showing a basic usage example. Although it is an untypical example for the use of kqueue, it is better

svn commit: r298892 - head/tools/tools/netmap

2016-05-01 Thread George V. Neville-Neil
Author: gnn Date: Sun May 1 17:55:45 2016 New Revision: 298892 URL: https://svnweb.freebsd.org/changeset/base/298892 Log: Add a manual page for pkt-gen. Sponsored by: EMC / Isilon Storage Division Added: head/tools/tools/netmap/pkt-gen.8 (contents, props changed) Added:

svn commit: r298891 - head/sys/vm

2016-05-01 Thread Konstantin Belousov
Author: kib Date: Sun May 1 17:48:43 2016 New Revision: 298891 URL: https://svnweb.freebsd.org/changeset/base/298891 Log: Avoid duplicated calls to pmap_page_get_memattr(). Avoid logging inconsistency for the /dev/mem device at all. The driver leaves memattr intact, and the corrective

svn commit: r298890 - in head/sys: dev/firewire i386/bios sys

2016-05-01 Thread Konstantin Belousov
Author: kib Date: Sun May 1 17:46:56 2016 New Revision: 298890 URL: https://svnweb.freebsd.org/changeset/base/298890 Log: Make it explicit that D_MEM cdevsw d_flag is to signify that the driver is (or behaves identically to) /dev/mem. Remove the D_MEM flag from random drivers. Note

svn commit: r298888 - head/usr.sbin/jail

2016-05-01 Thread Jamie Gritton
Author: jamie Date: Sun May 1 16:48:03 2016 New Revision: 29 URL: https://svnweb.freebsd.org/changeset/base/29 Log: typo Submitted by: Jimmy Olgeni Modified: head/usr.sbin/jail/jail.8 Modified: head/usr.sbin/jail/jail.8

svn commit: r298887 - in head/etc: . ntp rc.d

2016-05-01 Thread Pedro F. Giffuni
Author: pfg Date: Sun May 1 16:43:22 2016 New Revision: 298887 URL: https://svnweb.freebsd.org/changeset/base/298887 Log: etc: minor spelling fixes. Mostly comments but these tend to be user-visible. MFC after:2 weeks Modified: head/etc/ntp/leap-seconds head/etc/protocols

svn commit: r298886 - in head/usr.sbin: camdd cron/cron ctladm gssd jail lpr/common_source lpr/lpd nandsim rtadvd

2016-05-01 Thread Pedro F. Giffuni
Author: pfg Date: Sun May 1 16:41:25 2016 New Revision: 298886 URL: https://svnweb.freebsd.org/changeset/base/298886 Log: usr.sbin: minor spelling fixes on comments. No functional change. Modified: head/usr.sbin/camdd/camdd.c head/usr.sbin/cron/cron/cron.c

svn commit: r298885 - head/usr.sbin/pmcstat

2016-05-01 Thread Pedro F. Giffuni
Author: pfg Date: Sun May 1 16:40:56 2016 New Revision: 298885 URL: https://svnweb.freebsd.org/changeset/base/298885 Log: pmcstat: minor spelling fixes. Mostly comments bur also a user-visible string. MFC after:2 weeks Modified: head/usr.sbin/pmcstat/pmcpl_calltree.c

svn commit: r298884 - in head/usr.sbin: bsdconfig/share bsdconfig/share/media bsdconfig/share/packages bsdconfig/startup/share bsdinstall/scripts

2016-05-01 Thread Pedro F. Giffuni
Author: pfg Date: Sun May 1 16:38:12 2016 New Revision: 298884 URL: https://svnweb.freebsd.org/changeset/base/298884 Log: usr.sbin/bsdconfig: minor spelling fixes on comments. No functional change. Modified: head/usr.sbin/bsdconfig/share/common.subr

svn commit: r298883 - in head/usr.sbin/bluetooth: btpand hccontrol

2016-05-01 Thread Pedro F. Giffuni
Author: pfg Date: Sun May 1 16:36:14 2016 New Revision: 298883 URL: https://svnweb.freebsd.org/changeset/base/298883 Log: bluetooth: minor spelling fixes. User-visible strings. MFC after:2 weeks Modified: head/usr.sbin/bluetooth/btpand/btpand.c

svn commit: r298882 - in head/share: examples/ipfilter examples/kld/cdev/test mk

2016-05-01 Thread Pedro F. Giffuni
Author: pfg Date: Sun May 1 16:29:02 2016 New Revision: 298882 URL: https://svnweb.freebsd.org/changeset/base/298882 Log: share: minor spelling fixes. Mostly comments but these tend to be user-visible. MFC after:2 weeks Modified: head/share/examples/ipfilter/ipf-howto.txt

svn commit: r298881 - in head/tools: build/mk regression/sockets/so_setfib tools/fixwhite tools/ipw tools/nanobsd tools/nanobsd/dhcpd tools/nanobsd/embedded tools/shlib-compat tools/wtap/vis_map to...

2016-05-01 Thread Pedro F. Giffuni
Author: pfg Date: Sun May 1 16:20:14 2016 New Revision: 298881 URL: https://svnweb.freebsd.org/changeset/base/298881 Log: tools: minor spelling fixes. Mostly comments but also some user-visible strings. MFC after:2 weeks Modified: head/tools/build/mk/Makefile.boot

svn commit: r298880 - in head/release/picobsd: build tinyware/ns

2016-05-01 Thread Pedro F. Giffuni
Author: pfg Date: Sun May 1 16:16:11 2016 New Revision: 298880 URL: https://svnweb.freebsd.org/changeset/base/298880 Log: picobsd: minor spelling fixes. Modified: head/release/picobsd/build/picobsd head/release/picobsd/tinyware/ns/ns.c Modified: head/release/picobsd/build/picobsd

svn commit: r298879 - in head/usr.bin: iscsictl m4 timeout timeout/tests whereis xlint/lint2

2016-05-01 Thread Pedro F. Giffuni
Author: pfg Date: Sun May 1 16:13:05 2016 New Revision: 298879 URL: https://svnweb.freebsd.org/changeset/base/298879 Log: usr.bin: minor spelling fixes on comments. No functional change. Modified: head/usr.bin/iscsictl/iscsictl.c head/usr.bin/m4/eval.c

svn commit: r298878 - head/usr.bin/localedef

2016-05-01 Thread Pedro F. Giffuni
Author: pfg Date: Sun May 1 16:10:56 2016 New Revision: 298878 URL: https://svnweb.freebsd.org/changeset/base/298878 Log: localedef(1): minor spelling fixes on comments. No functional change. Modified: head/usr.bin/localedef/charmap.c head/usr.bin/localedef/collate.c

svn commit: r298877 - head/sys/dev/iwm

2016-05-01 Thread Andriy Voskoboinyk
Author: avos Date: Sun May 1 14:27:27 2016 New Revision: 298877 URL: https://svnweb.freebsd.org/changeset/base/298877 Log: iwm: switch to ieee80211_add_channel() - Switch to ieee80211_add_channel(). - Parse/set more channel flags (DFS, NOADHOC). - Add ic_getradiocaps() method.

svn commit: r298876 - in head: lib/libutil sbin/hastd usr.bin/newgrp

2016-05-01 Thread Ed Schouten
Author: ed Date: Sun May 1 08:22:11 2016 New Revision: 298876 URL: https://svnweb.freebsd.org/changeset/base/298876 Log: Remove useless calls to basename(). There are a couple of places in the source three where we call basename() on constant strings. This is bad, because the prototype