svn commit: r309882 - stable/11/sys/x86/iommu

2016-12-12 Thread Konstantin Belousov
Author: kib Date: Mon Dec 12 09:43:48 2016 New Revision: 309882 URL: https://svnweb.freebsd.org/changeset/base/309882 Log: MFC r309550: Rename fast taskqueues used by DMAR. Modified: stable/11/sys/x86/iommu/intel_fault.c stable/11/sys/x86/iommu/intel_qi.c Directory Properties: stable/11

svn commit: r309883 - in head/sys: conf netinet6

2016-12-12 Thread Andrey V. Elsukov
Author: ae Date: Mon Dec 12 10:57:32 2016 New Revision: 309883 URL: https://svnweb.freebsd.org/changeset/base/309883 Log: Add ip6_tryforward() - a run to completion forwarding implementation for IPv6. It gets performance benefits from reduced number of checks. It doesn't copy mbuf to be

svn commit: r309884 - stable/11/tools/tools/nanobsd/Files/root

2016-12-12 Thread Christian Brueffer
Author: brueffer Date: Mon Dec 12 11:02:55 2016 New Revision: 309884 URL: https://svnweb.freebsd.org/changeset/base/309884 Log: MFC: r309060 Fix comment typo. PR: 208484 Submitted by: madpilot Modified: stable/11/tools/tools/nanobsd/Files/root/save_cfg Directory Properti

svn commit: r309885 - stable/10/tools/tools/nanobsd/Files/root

2016-12-12 Thread Christian Brueffer
Author: brueffer Date: Mon Dec 12 11:04:22 2016 New Revision: 309885 URL: https://svnweb.freebsd.org/changeset/base/309885 Log: MFC: r309060 Fix comment typo. PR: 208484 Submitted by: madpilot Modified: stable/10/tools/tools/nanobsd/Files/root/save_cfg Directory Properti

svn commit: r309887 - head/sys/kern

2016-12-12 Thread Konstantin Belousov
Author: kib Date: Mon Dec 12 11:12:04 2016 New Revision: 309887 URL: https://svnweb.freebsd.org/changeset/base/309887 Log: Enable lookup_cap_dotdot and lookup_cap_dotdot_nonlocal. Requested and reviewed by:cem Sponsored by: The FreeBSD Foundation MFC after:2 weeks Differential

svn commit: r309886 - head/sys/kern

2016-12-12 Thread Konstantin Belousov
Author: kib Date: Mon Dec 12 11:11:50 2016 New Revision: 309886 URL: https://svnweb.freebsd.org/changeset/base/309886 Log: When a zombie gets reparented due to the parent exit, send SIGCHLD to the reaper. The traditional reaper init(8) is aware of zombies silently reparented to it after

svn commit: r309888 - head/sys/netinet6

2016-12-12 Thread Andrey V. Elsukov
Author: ae Date: Mon Dec 12 11:26:59 2016 New Revision: 309888 URL: https://svnweb.freebsd.org/changeset/base/309888 Log: Modify IPv6 statistic accounting in ip6_input(). Add rcvif local variable to keep inbound interface pointer. Count ifs6_in_discard errors in all "goto bad" cases. Now

Re: MFC reminder emails (was Re: svn commit: r308296 - head/sys/cam/scsi)

2016-12-12 Thread Harry Schmalzbauer
Bezüglich Oliver Pinter's Nachricht vom 12.12.2016 00:57 (localtime): > Hi Pedro! > > On 12/11/16, Pedro Giffuni wrote: >> Hello; >> On 12/10/16 19:58, Oliver Pinter wrote: >> ... >> Reviewed by: ken Obtained from: Netflix MFC after: 3 days >>> Hi Scott! >>> >>> W

svn commit: r309890 - head/sys/dev/pci

2016-12-12 Thread Jayachandran C.
Author: jchandra Date: Mon Dec 12 15:17:56 2016 New Revision: 309890 URL: https://svnweb.freebsd.org/changeset/base/309890 Log: Increase interrupt cells in generic_pcie_fdt_route_interrupt ARM GIC specification in device trees use 3 cells, so the current limit of 2 causes the last cell to

svn commit: r309891 - head/sys/kern

2016-12-12 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Dec 12 15:22:21 2016 New Revision: 309891 URL: https://svnweb.freebsd.org/changeset/base/309891 Log: Avoid dereferencing NULL pointers in devtoname(). I've seen it panic, called from ufs_print() in DDB. MFC after:1 month Modified: head/sys/kern/kern_conf.c

svn commit: r309892 - head/sys/arm/arm

2016-12-12 Thread Jayachandran C.
Author: jchandra Date: Mon Dec 12 15:35:57 2016 New Revision: 309892 URL: https://svnweb.freebsd.org/changeset/base/309892 Log: Fix gic_cpu_mask() calculation in ARM GIC r309616 changed the definition of GICD_ITARGETSR(n) to take the irq id as argument, but the usage of the macro in gic_c

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

2016-12-12 Thread Mateusz Guzik
Author: mjg Date: Mon Dec 12 15:37:11 2016 New Revision: 309893 URL: https://svnweb.freebsd.org/changeset/base/309893 Log: vfs: add vrefact, to be used when the vnode has to be already active This allows blind increment of relevant counters which under contention is cheaper than inc-not-z

Re: svn commit: r309891 - head/sys/kern

2016-12-12 Thread Konstantin Belousov
On Mon, Dec 12, 2016 at 03:22:22PM +, Edward Tomasz Napierala wrote: > Author: trasz > Date: Mon Dec 12 15:22:21 2016 > New Revision: 309891 > URL: https://svnweb.freebsd.org/changeset/base/309891 > > Log: > Avoid dereferencing NULL pointers in devtoname(). I've seen it panic, > called fr

svn commit: r309894 - head/sys/dev/extres/clk

2016-12-12 Thread Emmanuel Vadot
Author: manu Date: Mon Dec 12 16:43:31 2016 New Revision: 309894 URL: https://svnweb.freebsd.org/changeset/base/309894 Log: clk_div: Add a div lookup table Some clocks on SoC have a diff between the value written in the register and the real divider. Add a table that where we can lookup

svn commit: r309895 - head/sys/dev/acpica

2016-12-12 Thread Andrew Turner
Author: andrew Date: Mon Dec 12 16:53:55 2016 New Revision: 309895 URL: https://svnweb.freebsd.org/changeset/base/309895 Log: On non-Intel platforms don't ignore the PCI root bridge mapping in acpi_set_resource, the mappings are needed on arm64. Obtained from:ABT Systenms Ltd Sp

svn commit: r309896 - head/sys/mips/ingenic

2016-12-12 Thread Ruslan Bukin
Author: br Date: Mon Dec 12 17:08:52 2016 New Revision: 309896 URL: https://svnweb.freebsd.org/changeset/base/309896 Log: Apply clear_mask correctly. Reviewed by: jmcneill, kan Sponsored by: DARPA, AFRL Modified: head/sys/mips/ingenic/jz4780_clock.c Modified: head/sys/mips/ingenic/jz

svn commit: r309897 - head/tests/sys/vfs

2016-12-12 Thread Conrad E. Meyer
Author: cem Date: Mon Dec 12 17:23:09 2016 New Revision: 309897 URL: https://svnweb.freebsd.org/changeset/base/309897 Log: Add basic ATF tests for Capability mode .. lookups A follow-up to r309887. Several tests copied verbatim from https://github.com/emaste/snippets/blob/master/test

svn commit: r309898 - head/sys/vm

2016-12-12 Thread Alan Cox
Author: alc Date: Mon Dec 12 17:47:09 2016 New Revision: 309898 URL: https://svnweb.freebsd.org/changeset/base/309898 Log: Eliminate every mention of PG_CACHED pages from the comments in the machine- independent layer of the virtual memory system. Update some of the nearby comments to elimi

svn commit: r309899 - stable/11/usr.sbin/bsdconfig/share

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 17:56:56 2016 New Revision: 309899 URL: https://svnweb.freebsd.org/changeset/base/309899 Log: MFC r307402: Guard against bad service name argument(s) to load_rc_config() Modified: stable/11/usr.sbin/bsdconfig/share/sysrc.subr Directory Properties: stable/11/

svn commit: r309900 - stable/10/usr.sbin/bsdconfig/share

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 17:58:43 2016 New Revision: 309900 URL: https://svnweb.freebsd.org/changeset/base/309900 Log: MFC r307402: Guard against bad service name argument(s) to load_rc_config() Modified: stable/10/usr.sbin/bsdconfig/share/sysrc.subr Directory Properties: stable/10/

svn commit: r309901 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 18:05:54 2016 New Revision: 309901 URL: https://svnweb.freebsd.org/changeset/base/309901 Log: Comments Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig =

svn commit: r309902 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 18:10:33 2016 New Revision: 309902 URL: https://svnweb.freebsd.org/changeset/base/309902 Log: Use $( ... ) instead of `...` Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig

svn commit: r309903 - head/sys/arm64/conf

2016-12-12 Thread Andrew Turner
Author: andrew Date: Mon Dec 12 18:13:03 2016 New Revision: 309903 URL: https://svnweb.freebsd.org/changeset/base/309903 Log: Enable ACPI on arm64. It's not yet functional, but it will help keeping the code building until it is ready. Obtained from:ABT Systems Ltd Sponsored by:

svn commit: r309904 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 18:17:30 2016 New Revision: 309904 URL: https://svnweb.freebsd.org/changeset/base/309904 Log: Change "[ ! -z ... ]" => "[ ... ]" and "[ -z ... ]" => "[ ! ... ]" Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wl

svn commit: r309905 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 18:20:56 2016 New Revision: 309905 URL: https://svnweb.freebsd.org/changeset/base/309905 Log: Remove unnecessary local initializers Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig

svn commit: r309906 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 18:21:56 2016 New Revision: 309906 URL: https://svnweb.freebsd.org/changeset/base/309906 Log: Consolidate locals Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ===

svn commit: r309907 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 18:24:41 2016 New Revision: 309907 URL: https://svnweb.freebsd.org/changeset/base/309907 Log: Replace funny block with something easy to digest Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig

svn commit: r309908 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 18:28:20 2016 New Revision: 309908 URL: https://svnweb.freebsd.org/changeset/base/309908 Log: Collapse tiny if statements Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ==

svn commit: r309909 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 18:29:24 2016 New Revision: 309909 URL: https://svnweb.freebsd.org/changeset/base/309909 Log: Change "[ ! ... ] && ..." to "[ ... ] || ..." Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig

svn commit: r309910 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 18:33:40 2016 New Revision: 309910 URL: https://svnweb.freebsd.org/changeset/base/309910 Log: Remove unnecessary quotes around number in test Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ==

svn commit: r309911 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 18:34:21 2016 New Revision: 309911 URL: https://svnweb.freebsd.org/changeset/base/309911 Log: Group fallbacks together Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig =

svn commit: r309912 - in head/sys/arm: at91 broadcom/bcm2835 ti

2016-12-12 Thread Emmanuel Vadot
Author: manu Date: Mon Dec 12 18:36:46 2016 New Revision: 309912 URL: https://svnweb.freebsd.org/changeset/base/309912 Log: CS ivar is uint32_t, not int. MFC after:3 days Modified: head/sys/arm/at91/at91_spi.c head/sys/arm/broadcom/bcm2835/bcm2835_spi.c head/sys/arm/ti/ti_spi.c

svn commit: r309913 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 18:38:18 2016 New Revision: 309913 URL: https://svnweb.freebsd.org/changeset/base/309913 Log: Allow $BSDINSTALL_TMPETC to contain whitespace or special chars Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanc

svn commit: r309914 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 18:39:26 2016 New Revision: 309914 URL: https://svnweb.freebsd.org/changeset/base/309914 Log: Add missing `-e' parameter to sed invocations Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig

svn commit: r309915 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 18:42:55 2016 New Revision: 309915 URL: https://svnweb.freebsd.org/changeset/base/309915 Log: "echo | sed | sed | awk" is silly (changed to "echo | awk") Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfi

svn commit: r309916 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 18:43:42 2016 New Revision: 309916 URL: https://svnweb.freebsd.org/changeset/base/309916 Log: Be internally consistent (": > ..." is used elsewhere in this file) Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/w

svn commit: r309917 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 18:45:52 2016 New Revision: 309917 URL: https://svnweb.freebsd.org/changeset/base/309917 Log: awk(1) match() takes a regex, use /.../ to remind ourselves of this NB: The difference between "..." and /.../ for a regex in awk is that quoted strings go through es

svn commit: r309918 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 18:48:00 2016 New Revision: 309918 URL: https://svnweb.freebsd.org/changeset/base/309918 Log: Remove unnecessary `-n' parameter to head/tail Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ===

svn commit: r309919 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 18:52:22 2016 New Revision: 309919 URL: https://svnweb.freebsd.org/changeset/base/309919 Log: Whitespace Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ===

svn commit: r309920 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 18:55:41 2016 New Revision: 309920 URL: https://svnweb.freebsd.org/changeset/base/309920 Log: Use provided API instead of hard-coded status integers Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ===

svn commit: r309921 - head/bin/dd

2016-12-12 Thread Bartek Rutkowski
Author: robak (ports committer) Date: Mon Dec 12 18:56:40 2016 New Revision: 309921 URL: https://svnweb.freebsd.org/changeset/base/309921 Log: Fix regression when stdin/out/err fds are are overridden by shell. Submitted by: Pawel Biernacki Reported by: ngie Approved by: ngie Sponso

svn commit: r309922 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 19:01:04 2016 New Revision: 309922 URL: https://svnweb.freebsd.org/changeset/base/309922 Log: Centralize backtitle string Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ==

Re: svn commit: r309921 - head/bin/dd

2016-12-12 Thread Devin Teske
Yay! >From someone whom has tried 2>&- >&- on a dd run to be surprised to find the >status information go into the destination output file... Thank you! > On Dec 12, 2016, at 10:56 AM, Bartek Rutkowski wrote: > > Author: robak (ports committer) > Date: Mon Dec 12 18:56:40 2016 > New Revision

svn commit: r309923 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 19:07:42 2016 New Revision: 309923 URL: https://svnweb.freebsd.org/changeset/base/309923 Log: There is zero harm in always passing --default-item to dialog Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlancon

svn commit: r309924 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 19:09:17 2016 New Revision: 309924 URL: https://svnweb.freebsd.org/changeset/base/309924 Log: Always pass --default-item parameter to dialog Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ===

svn commit: r309925 - head/usr.sbin/syslogd

2016-12-12 Thread Hiroki Sato
Author: hrs Date: Mon Dec 12 19:10:14 2016 New Revision: 309925 URL: https://svnweb.freebsd.org/changeset/base/309925 Log: - Refactor listening socket list. All of the listening sockets are now maintained in a single linked-list in a transport-independent manner. - Use queue.h for linked-

svn commit: r309926 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 19:10:39 2016 New Revision: 309926 URL: https://svnweb.freebsd.org/changeset/base/309926 Log: Now that these variables do not contain the --default-item flag itself, change the name of the variable from $def_item_... to $default_... Modified: head/usr.sbin/bs

svn commit: r309927 - head/sys/kern

2016-12-12 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Dec 12 19:11:04 2016 New Revision: 309927 URL: https://svnweb.freebsd.org/changeset/base/309927 Log: Undo r309891. Konstantin is right in that this condition normally cannot happen - the um_dev field is assigned at mount and never written to afterwards. Modified:

svn commit: r309928 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 19:12:31 2016 New Revision: 309928 URL: https://svnweb.freebsd.org/changeset/base/309928 Log: If you're not going to make use of the products of a match() in awk (e.g., RSTART and RLENGTH variables) then use ~ instead of match() Modified: head/usr.sbin/bsdins

Re: svn commit: r309891 - head/sys/kern

2016-12-12 Thread Edward Tomasz Napierala
On 1212T1833, Konstantin Belousov wrote: > On Mon, Dec 12, 2016 at 03:22:22PM +, Edward Tomasz Napierala wrote: > > Author: trasz > > Date: Mon Dec 12 15:22:21 2016 > > New Revision: 309891 > > URL: https://svnweb.freebsd.org/changeset/base/309891 > > > > Log: > > Avoid dereferencing NULL po

Re: svn commit: r309891 - head/sys/kern

2016-12-12 Thread Konstantin Belousov
On Mon, Dec 12, 2016 at 08:12:57PM +0100, Edward Tomasz Napierala wrote: > On 1212T1833, Konstantin Belousov wrote: > > On Mon, Dec 12, 2016 at 03:22:22PM +, Edward Tomasz Napierala wrote: > > > Author: trasz > > > Date: Mon Dec 12 15:22:21 2016 > > > New Revision: 309891 > > > URL: https://svn

svn commit: r309929 - head/sys/kern

2016-12-12 Thread Mateusz Guzik
Author: mjg Date: Mon Dec 12 19:16:35 2016 New Revision: 309929 URL: https://svnweb.freebsd.org/changeset/base/309929 Log: vfs: use vrefact in getcwd and fchdir Modified: head/sys/kern/vfs_cache.c head/sys/kern/vfs_syscalls.c Modified: head/sys/kern/vfs_cache.c

svn commit: r309930 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 19:24:32 2016 New Revision: 309930 URL: https://svnweb.freebsd.org/changeset/base/309930 Log: Use ternary operator Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig =

svn commit: r309931 - head/usr.sbin/syslogd

2016-12-12 Thread Hiroki Sato
Author: hrs Date: Mon Dec 12 19:24:52 2016 New Revision: 309931 URL: https://svnweb.freebsd.org/changeset/base/309931 Log: Temporarily backout the previous commit because it was totally broken due to unresolved merge conflicts. Pointy hat to:hrs Modified: head/usr.sbin/syslogd/

svn commit: r309933 - head/usr.sbin/syslogd

2016-12-12 Thread Hiroki Sato
Author: hrs Date: Mon Dec 12 19:33:40 2016 New Revision: 309933 URL: https://svnweb.freebsd.org/changeset/base/309933 Log: - Refactor listening socket list. All of the listening sockets are now maintained in a single linked-list in a transport-independent manner. - Use queue.h for linked-

svn commit: r309932 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 19:26:55 2016 New Revision: 309932 URL: https://svnweb.freebsd.org/changeset/base/309932 Log: Remove an unnecessary "return $?" at end of function Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig =

svn commit: r309934 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 19:46:49 2016 New Revision: 309934 URL: https://svnweb.freebsd.org/changeset/base/309934 Log: Consolidate redirects into here documents, with proper code indentation Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scrip

svn commit: r309935 - in head/sys: arm/lpc mips/atheros mips/atheros/ar531x mips/mediatek mips/rt305x

2016-12-12 Thread Emmanuel Vadot
Author: manu Date: Mon Dec 12 20:04:31 2016 New Revision: 309935 URL: https://svnweb.freebsd.org/changeset/base/309935 Log: Use the spibus accessor when applicable. MFC after:3 days Modified: head/sys/arm/lpc/lpc_spi.c head/sys/mips/atheros/ar531x/ar5315_spi.c head/sys/mips/ather

svn commit: r309936 - head/bin/ed

2016-12-12 Thread Pedro F. Giffuni
Author: pfg Date: Mon Dec 12 20:25:59 2016 New Revision: 309936 URL: https://svnweb.freebsd.org/changeset/base/309936 Log: ed(1): Simplify some checks. The return type for both fread(3) and fwrite(3) cannot be negative, this renders some checks invalid and variable 'ct' unnecessary. Als

svn commit: r309937 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 20:41:27 2016 New Revision: 309937 URL: https://svnweb.freebsd.org/changeset/base/309937 Log: Whitespace (dialog options separated to minimize diffs) Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ==

svn commit: r309938 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 20:43:09 2016 New Revision: 309938 URL: https://svnweb.freebsd.org/changeset/base/309938 Log: Use provided API (change "dialog" to "$DIALOG") Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ==

svn commit: r309939 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 20:49:49 2016 New Revision: 309939 URL: https://svnweb.freebsd.org/changeset/base/309939 Log: Fix incorrect use of provided API The result of which was incorrectly sized menu dialogs Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sb

svn commit: r309940 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 20:54:20 2016 New Revision: 309940 URL: https://svnweb.freebsd.org/changeset/base/309940 Log: Reorder dialog parameters based on commonality for readability Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanco

svn commit: r309941 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 21:00:09 2016 New Revision: 309941 URL: https://svnweb.freebsd.org/changeset/base/309941 Log: Use provided API to centralize dialog title strings Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ==

svn commit: r309942 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 21:01:20 2016 New Revision: 309942 URL: https://svnweb.freebsd.org/changeset/base/309942 Log: Allow the script path to contain whitespace and special characters Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wl

svn commit: r309943 - stable/11/sbin/camcontrol

2016-12-12 Thread Kenneth D. Merry
Author: ken Date: Mon Dec 12 21:02:34 2016 New Revision: 309943 URL: https://svnweb.freebsd.org/changeset/base/309943 Log: MFC r307684, r307747 r307684 | ken | 2016-10-20 13:42:26 -0600 (Thu, 20 Oct 2016) | 13 lines

svn commit: r309944 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 21:04:11 2016 New Revision: 309944 URL: https://svnweb.freebsd.org/changeset/base/309944 Log: Fix invalid parameter expansion (change $@ to "$@") Without quotes, $@ loses its special meanining (see below) % sh -c 'echo $@' /bin/sh " 1 " " 2 " 1

svn commit: r309945 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 21:11:55 2016 New Revision: 309945 URL: https://svnweb.freebsd.org/changeset/base/309945 Log: 1 is the default descriptor for redirects without an fd prefix Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanco

svn commit: r309946 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 21:16:37 2016 New Revision: 309946 URL: https://svnweb.freebsd.org/changeset/base/309946 Log: Use awk the following (more succinct) awk syntax: condition1 { action1 } condition2 { action2 } instead of the following syntax: {

svn commit: r309947 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 21:18:24 2016 New Revision: 309947 URL: https://svnweb.freebsd.org/changeset/base/309947 Log: Remove unnecessary semi-colons Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ===

svn commit: r309948 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 21:20:56 2016 New Revision: 309948 URL: https://svnweb.freebsd.org/changeset/base/309948 Log: Remove incomplete and unnecessary creation of fd3 The provided API already provides a passthru descriptor and even gives you a varaible for referring to it. Modif

svn commit: r309949 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 21:23:47 2016 New Revision: 309949 URL: https://svnweb.freebsd.org/changeset/base/309949 Log: Utilize provided i18n strings Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig

svn commit: r309950 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 21:26:36 2016 New Revision: 309950 URL: https://svnweb.freebsd.org/changeset/base/309950 Log: Whitespace Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ===

svn commit: r309951 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 21:27:29 2016 New Revision: 309951 URL: https://svnweb.freebsd.org/changeset/base/309951 Log: Remove an unnecessary call to f_dialog_title_restore() Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ===

svn commit: r309952 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 21:29:48 2016 New Revision: 309952 URL: https://svnweb.freebsd.org/changeset/base/309952 Log: In awk, casting a variable as a boolean condition is the same as testing if the length of the variable contents is greater than zero This allows us to also move th

svn commit: r309953 - stable/11/tools/build/mk

2016-12-12 Thread Baptiste Daroussin
Author: bapt Date: Mon Dec 12 21:43:17 2016 New Revision: 309953 URL: https://svnweb.freebsd.org/changeset/base/309953 Log: MFC r309797-r309802 r309797: Add entries to remove timed files with make delete-old if WITHOUT_TIMED is set r309798: Also remove auditdistd files if src.conf

svn commit: r309954 - stable/11/share/mk

2016-12-12 Thread Baptiste Daroussin
Author: bapt Date: Mon Dec 12 21:45:25 2016 New Revision: 309954 URL: https://svnweb.freebsd.org/changeset/base/309954 Log: MFC r309805: Make WITHOUT_CAPSICUM implying WITHOUT_CASPER PR: 214562 Reported by: dewa...@heuristicsystems.com.au Modified: stable/11/share/mk/sr

svn commit: r309955 - stable/11/share/man/man5

2016-12-12 Thread Baptiste Daroussin
Author: bapt Date: Mon Dec 12 21:49:29 2016 New Revision: 309955 URL: https://svnweb.freebsd.org/changeset/base/309955 Log: Regen after r309954 Modified: stable/11/share/man/man5/src.conf.5 Modified: stable/11/share/man/man5/src.conf.5

svn commit: r309956 - stable/10/sbin/camcontrol

2016-12-12 Thread Kenneth D. Merry
Author: ken Date: Mon Dec 12 21:54:49 2016 New Revision: 309956 URL: https://svnweb.freebsd.org/changeset/base/309956 Log: MFC r307684, r307747 r307684 | ken | 2016-10-20 13:42:26 -0600 (Thu, 20 Oct 2016) | 13 lines

Re: svn commit: r307684 - head/sbin/camcontrol

2016-12-12 Thread Kenneth D. Merry
On Sun, Dec 11, 2016 at 00:49:12 +0100, Oliver Pinter wrote: > On 10/20/16, Kenneth D. Merry wrote: > > Author: ken > > Date: Thu Oct 20 19:42:26 2016 > > New Revision: 307684 > > URL: https://svnweb.freebsd.org/changeset/base/307684 > > > > Log: > > For CCBs allocated on the stack, we need to c

svn commit: r309957 - head/tests/sys/kern

2016-12-12 Thread Jilles Tjoelker
Author: jilles Date: Mon Dec 12 22:51:29 2016 New Revision: 309957 URL: https://svnweb.freebsd.org/changeset/base/309957 Log: Add tests for reaper receiving SIGCHLD (r309886). PR: 213928 MFC after:2 weeks Modified: head/tests/sys/kern/reaper.c Modified: head/tests/sys/ke

svn commit: r309958 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Mon Dec 12 22:57:07 2016 New Revision: 309958 URL: https://svnweb.freebsd.org/changeset/base/309958 Log: Quote WLAN_IFACE (pedantic) Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ==

Re: svn commit: r309891 - head/sys/kern

2016-12-12 Thread Bruce Evans
On Mon, 12 Dec 2016, Edward Tomasz Napierala wrote: On 1212T1833, Konstantin Belousov wrote: On Mon, Dec 12, 2016 at 03:22:22PM +, Edward Tomasz Napierala wrote: Author: trasz Date: Mon Dec 12 15:22:21 2016 New Revision: 309891 URL: https://svnweb.freebsd.org/changeset/base/309891 Log:

svn commit: r309959 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Tue Dec 13 00:02:59 2016 New Revision: 309959 URL: https://svnweb.freebsd.org/changeset/base/309959 Log: Use the oft-neglected awk syntax "startcondition, stopcondition { ... }" to process the range of country labels which appear as columnar list from the "ifconfig DEV l

svn commit: r309960 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Tue Dec 13 00:18:51 2016 New Revision: 309960 URL: https://svnweb.freebsd.org/changeset/base/309960 Log: Add missing backslash (no real effect; it's pedantic and correct for the interpolation level) Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/u

svn commit: r309961 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Tue Dec 13 00:22:01 2016 New Revision: 309961 URL: https://svnweb.freebsd.org/changeset/base/309961 Log: Stop repeating strings (centralize prompt string) NB: Changes to strings now only affect a single line Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modifie

svn commit: r309962 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Tue Dec 13 00:27:56 2016 New Revision: 309962 URL: https://svnweb.freebsd.org/changeset/base/309962 Log: More efficiently make use of the exit status Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig =

svn commit: r309963 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Tue Dec 13 01:35:26 2016 New Revision: 309963 URL: https://svnweb.freebsd.org/changeset/base/309963 Log: The --no-items and --stdout options are non-standard and should be avoided From the dialog(1) manual: using [--stdout] in portable scripts is not recommended Modi

svn commit: r309964 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Tue Dec 13 01:36:46 2016 New Revision: 309964 URL: https://svnweb.freebsd.org/changeset/base/309964 Log: Sort the domains Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig =

svn commit: r309965 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Tue Dec 13 01:39:09 2016 New Revision: 309965 URL: https://svnweb.freebsd.org/changeset/base/309965 Log: Whitespace alignment Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig =

svn commit: r309966 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Tue Dec 13 01:41:06 2016 New Revision: 309966 URL: https://svnweb.freebsd.org/changeset/base/309966 Log: The output of dialog needs to be sanitized for portability/compatibility requirements Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/

svn commit: r309967 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Tue Dec 13 01:42:13 2016 New Revision: 309967 URL: https://svnweb.freebsd.org/changeset/base/309967 Log: Use more generic f_yesno() from provided API Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig =

svn commit: r309968 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Tue Dec 13 01:44:18 2016 New Revision: 309968 URL: https://svnweb.freebsd.org/changeset/base/309968 Log: Properly quote variable Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ==

svn commit: r309969 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Tue Dec 13 01:50:22 2016 New Revision: 309969 URL: https://svnweb.freebsd.org/changeset/base/309969 Log: Why repeat yourself when you can send stderr to the same place as stdout? Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scr

svn commit: r309970 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Tue Dec 13 01:52:10 2016 New Revision: 309970 URL: https://svnweb.freebsd.org/changeset/base/309970 Log: Remove completely unnecesary parentheses Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig =

svn commit: r309971 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Tue Dec 13 01:54:44 2016 New Revision: 309971 URL: https://svnweb.freebsd.org/changeset/base/309971 Log: Start deconstructing a conveluted hunk of code Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ===

svn commit: r309972 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Tue Dec 13 01:56:28 2016 New Revision: 309972 URL: https://svnweb.freebsd.org/changeset/base/309972 Log: If the first ping succeeded, why on Earth should we ping it again? Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wl

svn commit: r309973 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Tue Dec 13 01:59:35 2016 New Revision: 309973 URL: https://svnweb.freebsd.org/changeset/base/309973 Log: Why use $? when you can use the command itself Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ===

svn commit: r309974 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Tue Dec 13 02:02:14 2016 New Revision: 309974 URL: https://svnweb.freebsd.org/changeset/base/309974 Log: These two error messages have always been backwards since inception Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/w

svn commit: r309975 - head/usr.sbin/bsdinstall/scripts

2016-12-12 Thread Devin Teske
Author: dteske Date: Tue Dec 13 02:04:50 2016 New Revision: 309975 URL: https://svnweb.freebsd.org/changeset/base/309975 Log: Continued resolution of conveluted statement We shouldn't be coding things like "x || (x && x) || x || x || x ..." Modified: head/usr.sbin/bsdinstall/scripts/wlancon

  1   2   >