svn commit: r297732 - head/sys/kern

2016-04-09 Thread Bjoern A. Zeeb
Author: bz Date: Sat Apr 9 09:24:05 2016 New Revision: 297732 URL: https://svnweb.freebsd.org/changeset/base/297732 Log: Make the KASSERT message in hash destroy more informative. While the pointer might not be too helpful, the malloc type might at least give a good hint about which

svn commit: r297752 - head/bin/sh/tests/builtins

2016-04-09 Thread Jilles Tjoelker
Author: jilles Date: Sat Apr 9 16:06:13 2016 New Revision: 297752 URL: https://svnweb.freebsd.org/changeset/base/297752 Log: sh: Fix some unquoted variables in tests. The builtins/getopts1.0 test failed if a single-character file existed in the current directory. Modified:

Re: svn commit: r297685 - in head/sys: conf dev/kbdmux modules/kbdmux

2016-04-09 Thread Ed Maste
On 9 April 2016 at 11:03, Oliver Pinter wrote: > Hi Ed! > > On Thu, Apr 7, 2016 at 10:12 PM, Ed Maste wrote: >> Author: emaste >> Date: Thu Apr 7 20:12:45 2016 >> New Revision: 297685 >> URL: https://svnweb.freebsd.org/changeset/base/297685 >>

Re: svn commit: r297742 - head/sys/netinet

2016-04-09 Thread John Baldwin
On Saturday, April 09, 2016 12:05:24 PM Bjoern A. Zeeb wrote: > Author: bz > Date: Sat Apr 9 12:05:23 2016 > New Revision: 297742 > URL: https://svnweb.freebsd.org/changeset/base/297742 > > Log: > Mfp: r296310,r296343 > > It looks like as with the safety belt of DELAY() fastened (*) we

Re: svn commit: r297748 - in head/sys: conf dev/acpica kern vm x86/acpica

2016-04-09 Thread John Baldwin
On Saturday, April 09, 2016 07:03:55 AM Conrad Meyer wrote: > On Sat, Apr 9, 2016 at 6:58 AM, John Baldwin wrote: > > Author: jhb > > Date: Sat Apr 9 13:58:04 2016 > > New Revision: 297748 > > URL: https://svnweb.freebsd.org/changeset/base/297748 > > > > Log: > > Add more

svn commit: r297747 - in stable/10: sys/kern tools/regression/sysvsem

2016-04-09 Thread Jilles Tjoelker
Author: jilles Date: Sat Apr 9 13:32:42 2016 New Revision: 297747 URL: https://svnweb.freebsd.org/changeset/base/297747 Log: MFC r295385: semget(): Check for [EEXIST] error first. Although POSIX literally permits failing with [EINVAL] if IPC_CREAT and IPC_EXCL were both passed, the

svn commit: r297749 - stable/10/bin/sh

2016-04-09 Thread Jilles Tjoelker
Author: jilles Date: Sat Apr 9 14:09:14 2016 New Revision: 297749 URL: https://svnweb.freebsd.org/changeset/base/297749 Log: MFC r278818: sh: Add stsavestr(), like savestr() but allocates using stalloc(). Modified: stable/10/bin/sh/cd.c stable/10/bin/sh/expand.c

svn commit: r297751 - head/sys/dev/isp

2016-04-09 Thread Alexander Motin
Author: mav Date: Sat Apr 9 14:50:47 2016 New Revision: 297751 URL: https://svnweb.freebsd.org/changeset/base/297751 Log: Register symbolic port/node names in FC name server. This is cosmetics that simplifies identification of new ports on FC switch. It would be good to use target

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

2016-04-09 Thread Adrian Chadd
thanks! Sorry, I'm in the middle of trying to figure out why IBSS isn't working anymore for me and I missed this :( -a On 9 April 2016 at 02:31, Bjoern A. Zeeb wrote: > Author: bz > Date: Sat Apr 9 09:31:28 2016 > New Revision: 297733 > URL:

svn commit: r297748 - in head/sys: conf dev/acpica kern vm x86/acpica

2016-04-09 Thread John Baldwin
Author: jhb Date: Sat Apr 9 13:58:04 2016 New Revision: 297748 URL: https://svnweb.freebsd.org/changeset/base/297748 Log: Add more fine-grained kernel options for NUMA support. VM_NUMA_ALLOC is used to enable use of domain-aware memory allocation in the virtual memory system.

Re: svn commit: r297748 - in head/sys: conf dev/acpica kern vm x86/acpica

2016-04-09 Thread Conrad Meyer
On Sat, Apr 9, 2016 at 6:58 AM, John Baldwin wrote: > Author: jhb > Date: Sat Apr 9 13:58:04 2016 > New Revision: 297748 > URL: https://svnweb.freebsd.org/changeset/base/297748 > > Log: > Add more fine-grained kernel options for NUMA support. > ... > > MAXMEMDOM must still

svn commit: r297750 - in stable/10/bin/sh: . tests/builtins

2016-04-09 Thread Jilles Tjoelker
Author: jilles Date: Sat Apr 9 14:24:17 2016 New Revision: 297750 URL: https://svnweb.freebsd.org/changeset/base/297750 Log: MFC r297360: sh: Fix use-after-free if a trap replaces itself. The mergeinfo for this commit was accidentally added to the previous commit. Added:

Re: svn commit: r297685 - in head/sys: conf dev/kbdmux modules/kbdmux

2016-04-09 Thread Oliver Pinter
Hi Ed! On Thu, Apr 7, 2016 at 10:12 PM, Ed Maste wrote: > Author: emaste > Date: Thu Apr 7 20:12:45 2016 > New Revision: 297685 > URL: https://svnweb.freebsd.org/changeset/base/297685 > > Log: > Add option to specify built-in keymap for kbdmux > > PR: 153459 >

svn commit: r297742 - head/sys/netinet

2016-04-09 Thread Bjoern A. Zeeb
Author: bz Date: Sat Apr 9 12:05:23 2016 New Revision: 297742 URL: https://svnweb.freebsd.org/changeset/base/297742 Log: Mfp: r296310,r296343 It looks like as with the safety belt of DELAY() fastened (*) we can completely tear down and free all memory for TCP (after r281599). (*)

svn commit: r297734 - head/sys/netinet

2016-04-09 Thread Bjoern A. Zeeb
Author: bz Date: Sat Apr 9 10:39:54 2016 New Revision: 297734 URL: https://svnweb.freebsd.org/changeset/base/297734 Log: Mfp: r296346 No reason identified to keep UMA_ZONE_NOFREE here. Reviewed by: gnn MFC after:2 weeks Sponsored by: The FreeBSD Foundation Differential

svn commit: r297738 - head/sys/netinet

2016-04-09 Thread Bjoern A. Zeeb
Author: bz Date: Sat Apr 9 10:58:08 2016 New Revision: 297738 URL: https://svnweb.freebsd.org/changeset/base/297738 Log: Mfp: r296259 We attach the "counter" to the tcpcbs. Thus don't free the TCP Fastopen zone before the tcpcbs are gone, as otherwise the zone won't be empty. With

svn commit: r297739 - head/sys/arm/allwinner/a20

2016-04-09 Thread Jared McNeill
Author: jmcneill Date: Sat Apr 9 11:23:46 2016 New Revision: 297739 URL: https://svnweb.freebsd.org/changeset/base/297739 Log: Enable PHY regulator when the optional "phy-supply" property is present. Submitted by: Emmanuel Vadot Modified:

svn commit: r297741 - head/sys/dev/isp

2016-04-09 Thread Alexander Motin
Author: mav Date: Sat Apr 9 11:54:09 2016 New Revision: 297741 URL: https://svnweb.freebsd.org/changeset/base/297741 Log: Reduce code duplication when executing Passthrough IOCB. MFC after:2 weeks Modified: head/sys/dev/isp/isp.c Modified: head/sys/dev/isp/isp.c

svn commit: r297746 - head/sys/dev/ioat

2016-04-09 Thread Conrad E. Meyer
Author: cem Date: Sat Apr 9 13:15:34 2016 New Revision: 297746 URL: https://svnweb.freebsd.org/changeset/base/297746 Log: ioat(4): ioat_get_dmaengine(): Add M_WAITOK mode Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ioat/ioat.c head/sys/dev/ioat/ioat.h

svn commit: r297735 - head/sys/netinet

2016-04-09 Thread Bjoern A. Zeeb
Author: bz Date: Sat Apr 9 10:44:57 2016 New Revision: 297735 URL: https://svnweb.freebsd.org/changeset/base/297735 Log: Mfp: r296345 No need to keep type stability on raw sockets zone. We've also been running with a KASSERT since r222488 to make sure the ipi_count is 0 on destroy.

svn commit: r297737 - head/tools/tools/nanobsd

2016-04-09 Thread Poul-Henning Kamp
Author: phk Date: Sat Apr 9 10:53:21 2016 New Revision: 297737 URL: https://svnweb.freebsd.org/changeset/base/297737 Log: Create /usr/local/etc before filling things into it. Only run mtree if the NANO_CUST_FILES_MTREE is nonempty Also umount the packages on non-signal failure

svn commit: r297736 - head/sys/netinet

2016-04-09 Thread Bjoern A. Zeeb
Author: bz Date: Sat Apr 9 10:51:07 2016 New Revision: 297736 URL: https://svnweb.freebsd.org/changeset/base/297736 Log: Mfp: r296309 While there is no dependency interaction, stopping the timer before freeing the rest of the resources seems more natural and avoids it being scheduled

svn commit: r297740 - head/sys/netinet

2016-04-09 Thread Bjoern A. Zeeb
Author: bz Date: Sat Apr 9 11:27:47 2016 New Revision: 297740 URL: https://svnweb.freebsd.org/changeset/base/297740 Log: Mfp: r296260 The tcp_inpcb (pcbinfo) zone should be safe to destroy. PR: 164763 Reviewed by: gnn MFC after:2 weeks Sponsored by: The FreeBSD

svn commit: r297755 - in head/lib/libpam/modules: pam_krb5 pam_login_access

2016-04-09 Thread Pedro F. Giffuni
Author: pfg Date: Sat Apr 9 18:09:10 2016 New Revision: 297755 URL: https://svnweb.freebsd.org/changeset/base/297755 Log: libpam: replace 0 with NULL for pointers. Found with devel/coccinelle. Reviewed by: des Modified: head/lib/libpam/modules/pam_krb5/pam_krb5.c

Re: svn commit: r297742 - head/sys/netinet

2016-04-09 Thread Bjoern A. Zeeb
On Sat, 9 Apr 2016, John Baldwin wrote: On Saturday, April 09, 2016 12:05:24 PM Bjoern A. Zeeb wrote: Author: bz Date: Sat Apr 9 12:05:23 2016 New Revision: 297742 URL: https://svnweb.freebsd.org/changeset/base/297742 Log: Mfp: r296310,r296343 It looks like as with the safety belt of

svn commit: r297756 - head/sys/cam/scsi

2016-04-09 Thread Alexander Motin
Author: mav Date: Sat Apr 9 18:39:57 2016 New Revision: 297756 URL: https://svnweb.freebsd.org/changeset/base/297756 Log: Add couple new constants from SPC5r08. Modified: head/sys/cam/scsi/scsi_all.h Modified: head/sys/cam/scsi/scsi_all.h

svn commit: r297757 - head/lib/libedit

2016-04-09 Thread Pedro F. Giffuni
Author: pfg Date: Sat Apr 9 18:52:09 2016 New Revision: 297757 URL: https://svnweb.freebsd.org/changeset/base/297757 Log: libedit: replace 0 with NULL for pointers. Found with devel/coccinelle. Reviewed by: Christos Zoulas Modified: head/lib/libedit/filecomplete.c

svn commit: r297758 - head/sys/boot/arm/uboot

2016-04-09 Thread Ian Lepore
Author: ian Date: Sat Apr 9 19:09:06 2016 New Revision: 297758 URL: https://svnweb.freebsd.org/changeset/base/297758 Log: Align the start of the text segment to an 8-byte boundary. This fixes alignment aborts in ubldr.bin for RPi that started happening with clang 3.8 (earlier clang

svn commit: r297753 - head/sys/dev/ixl

2016-04-09 Thread Pedro F. Giffuni
Author: pfg Date: Sat Apr 9 17:37:36 2016 New Revision: 297753 URL: https://svnweb.freebsd.org/changeset/base/297753 Log: ixl(4): replace 0 with NULL for pointers. Found by devel/coccinelle. Differential Revision:https://reviews.freebsd.org/D5894 Reviewed by: erj

svn commit: r297769 - head/sys/net80211

2016-04-09 Thread Adrian Chadd
Author: adrian Date: Sat Apr 9 22:01:32 2016 New Revision: 297769 URL: https://svnweb.freebsd.org/changeset/base/297769 Log: [net80211] log the node pointer when calling ht node init/cleanup This makes it easier to track which node is having what done do it during normal use. This

svn commit: r297768 - head/sys/net80211

2016-04-09 Thread Adrian Chadd
Author: adrian Date: Sat Apr 9 21:57:34 2016 New Revision: 297768 URL: https://svnweb.freebsd.org/changeset/base/297768 Log: [net80211] add back in the ff/superg node init call that I accidentally deleted. It's mostly a no-op right now, so it shouldn't have changed behaviour. Modified:

svn commit: r297770 - in head/sys/cddl/dev/dtrace: amd64 i386

2016-04-09 Thread Mark Johnston
Author: markj Date: Sun Apr 10 01:23:39 2016 New Revision: 297770 URL: https://svnweb.freebsd.org/changeset/base/297770 Log: Initialize DTrace hrtimer frequency during SI_SUB_CPU on i386 and amd64. This allows the hrtimer to be used earlier during boot. This is required for boot-time

svn commit: r297772 - head/sbin/reboot

2016-04-09 Thread Mark Johnston
Author: markj Date: Sun Apr 10 01:25:12 2016 New Revision: 297772 URL: https://svnweb.freebsd.org/changeset/base/297772 Log: nextboot(8): add a -a option for appending to a configuration. By default, a nextboot invocation will clobber any existing nextboot configuration. MFC after:

svn commit: r297771 - head/sys/cddl/dev/sdt

2016-04-09 Thread Mark Johnston
Author: markj Date: Sun Apr 10 01:24:27 2016 New Revision: 297771 URL: https://svnweb.freebsd.org/changeset/base/297771 Log: Initialize SDT probes during SI_SUB_DTRACE_PROVIDER. This is consistent with all other DTrace providers and ensures that SDT probes are available for boot-time

svn commit: r297774 - head/sys/net80211

2016-04-09 Thread Adrian Chadd
Author: adrian Date: Sun Apr 10 03:35:17 2016 New Revision: 297774 URL: https://svnweb.freebsd.org/changeset/base/297774 Log: [net80211] unconditionally do A-MPDU RX aging. It's 2016 and vendors (including us!) still have 802.11n TX/RX sequence handling bugs. It's suboptimal, but I'd

svn commit: r297765 - stable/10/sys/kern

2016-04-09 Thread Jilles Tjoelker
Author: jilles Date: Sat Apr 9 21:04:51 2016 New Revision: 297765 URL: https://svnweb.freebsd.org/changeset/base/297765 Log: MFC r281086: utimensat: Correct Capsicum required capability rights. Modified: stable/10/sys/kern/vfs_syscalls.c Directory Properties: stable/10/ (props changed)

svn commit: r297775 - head/sys/net80211

2016-04-09 Thread Adrian Chadd
Author: adrian Date: Sun Apr 10 04:16:34 2016 New Revision: 297775 URL: https://svnweb.freebsd.org/changeset/base/297775 Log: [net80211] correctly (i hope, wow) do a ticks comparison to limit A-MPDU attempts I was seeing the stack constantly attempt to renegotiate A-MPDU TX even after 3

svn commit: r297763 - in head: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/uts/common/sys/fs

2016-04-09 Thread Alexander Motin
Author: mav Date: Sat Apr 9 20:30:50 2016 New Revision: 297763 URL: https://svnweb.freebsd.org/changeset/base/297763 Log: MFV r297760: 6418 zpool should have a label clearing command Reviewed by: Yuri Pankov Reviewed by: Matthew Ahrens

svn commit: r297764 - in head: lib/libusb lib/libusbhid sys/dev/usb sys/dev/usb/net

2016-04-09 Thread Pedro F. Giffuni
Author: pfg Date: Sat Apr 9 20:36:07 2016 New Revision: 297764 URL: https://svnweb.freebsd.org/changeset/base/297764 Log: USB: replace 0 with NULL for pointers. Found with devel/coccinelle. Reviewed by: hselasky Modified: head/lib/libusb/libusb20.c head/lib/libusbhid/descr.c

svn commit: r297766 - stable/10/bin/test

2016-04-09 Thread Jilles Tjoelker
Author: jilles Date: Sat Apr 9 21:49:57 2016 New Revision: 297766 URL: https://svnweb.freebsd.org/changeset/base/297766 Log: MFC r258799: test: Simplify the code by unifying op_num and op_type. The global variable t_wp_op is no longer needed. Modified: stable/10/bin/test/test.c

svn commit: r297777 - in head/sys: dev/cxgbe dev/cxgbe/tom modules/cxgbe/if_cxgbe

2016-04-09 Thread John Baldwin
Author: jhb Date: Sun Apr 10 05:06:58 2016 New Revision: 29 URL: https://svnweb.freebsd.org/changeset/base/29 Log: Add a 'show t4 tcb ' command to dump a TCB from DDB. This allows the contents of a TCB to be extracted from a T4/T5 card in DDB after a panic. Modified:

svn commit: r297767 - stable/10/bin/test

2016-04-09 Thread Jilles Tjoelker
Author: jilles Date: Sat Apr 9 21:55:58 2016 New Revision: 297767 URL: https://svnweb.freebsd.org/changeset/base/297767 Log: MFC r259017: test: Avoid looking up again the type of a known binary operator. Modified: stable/10/bin/test/test.c Directory Properties: stable/10/ (props

svn commit: r297778 - head/usr.sbin/bhyve

2016-04-09 Thread Peter Grehan
Author: grehan Date: Sun Apr 10 05:58:19 2016 New Revision: 297778 URL: https://svnweb.freebsd.org/changeset/base/297778 Log: Allow the location of the kernel source tree to be overridden. This makes it easier for the bhyve executable to be built out of the tree. Modified:

Re: svn commit: r297742 - head/sys/netinet

2016-04-09 Thread John Baldwin
On Saturday, April 09, 2016 06:31:24 PM Bjoern A. Zeeb wrote: > On Sat, 9 Apr 2016, John Baldwin wrote: > > trash user data. In the rest of the tree, we tend to prefer marking items > > as NOFREE instead of this approach putting a priority on stability and > > reliability over memory efficiency.

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

2016-04-09 Thread John Baldwin
Author: jhb Date: Sun Apr 10 05:05:02 2016 New Revision: 297776 URL: https://svnweb.freebsd.org/changeset/base/297776 Log: Add a function to lookup a device_t object by name. This just walks the global list of devices looking for one with the requested name. The one use case outside of

svn commit: r297754 - head/lib/libfetch

2016-04-09 Thread Pedro F. Giffuni
Author: pfg Date: Sat Apr 9 18:08:21 2016 New Revision: 297754 URL: https://svnweb.freebsd.org/changeset/base/297754 Log: libfetch: replace 0 with NULL for pointers. Found with devel/coccinelle. Reviewed by: des Modified: head/lib/libfetch/ftp.c Modified: head/lib/libfetch/ftp.c

svn commit: r297773 - in head: cddl/contrib/opensolaris/cmd/dtrace sys/cddl/contrib/opensolaris/uts/common/dtrace

2016-04-09 Thread Mark Johnston
Author: markj Date: Sun Apr 10 01:25:48 2016 New Revision: 297773 URL: https://svnweb.freebsd.org/changeset/base/297773 Log: Implement support for boot-time DTrace. This allows one to enable DTrace probes relatively early during boot, during SI_SUB_DTRACE_ANON, before dtrace(1) can

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

2016-04-09 Thread Adrian Chadd
... sigh. I meant 'delete the #ifdef'. The code is still 100% here. -a ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

svn commit: r297759 - stable/10/lib/libc/sys

2016-04-09 Thread Jilles Tjoelker
Author: jilles Date: Sat Apr 9 19:29:39 2016 New Revision: 297759 URL: https://svnweb.freebsd.org/changeset/base/297759 Log: MFC r287753: setuid(2): Suggest O_CLOEXEC instead of fcntl(F_SETFD). Modified: stable/10/lib/libc/sys/setuid.2 Directory Properties: stable/10/ (props changed)

svn commit: r297760 - vendor-sys/illumos/dist/uts/common/sys/fs vendor/illumos/dist/cmd/zdb vendor/illumos/dist/cmd/zpool vendor/illumos/dist/lib/libzfs/common

2016-04-09 Thread Alexander Motin
Author: mav Date: Sat Apr 9 19:49:40 2016 New Revision: 297760 URL: https://svnweb.freebsd.org/changeset/base/297760 Log: 6418 zpool should have a label clearing command Reviewed by: Yuri Pankov Reviewed by: Matthew Ahrens Reviewed by:

svn commit: r297760 - vendor-sys/illumos/dist/uts/common/sys/fs vendor/illumos/dist/cmd/zdb vendor/illumos/dist/cmd/zpool vendor/illumos/dist/lib/libzfs/common

2016-04-09 Thread Alexander Motin
Author: mav Date: Sat Apr 9 19:49:40 2016 New Revision: 297760 URL: https://svnweb.freebsd.org/changeset/base/297760 Log: 6418 zpool should have a label clearing command Reviewed by: Yuri Pankov Reviewed by: Matthew Ahrens Reviewed by:

svn commit: r297761 - head/bin/sh

2016-04-09 Thread Pedro F. Giffuni
Author: pfg Date: Sat Apr 9 20:05:39 2016 New Revision: 297761 URL: https://svnweb.freebsd.org/changeset/base/297761 Log: sh(1): replace 0 with NULL for pointers. Found with devel/coccinelle. Reviewed by: jilles Modified: head/bin/sh/miscbltin.c head/bin/sh/parser.c Modified:

svn commit: r297762 - head/sys/dev/ichiic

2016-04-09 Thread John Baldwin
Author: jhb Date: Sat Apr 9 20:18:34 2016 New Revision: 297762 URL: https://svnweb.freebsd.org/changeset/base/297762 Log: Use DELAY() instead of sleeping during boot-time attach. Tested by:Wolfgang Zenker Modified: head/sys/dev/ichiic/ig4_iic.c

svn commit: r297733 - head/sys/net80211

2016-04-09 Thread Bjoern A. Zeeb
Author: bz Date: Sat Apr 9 09:31:28 2016 New Revision: 297733 URL: https://svnweb.freebsd.org/changeset/base/297733 Log: Try to unbreak the build: the 'vap' variable is only used if ieee80211 debugging compile is on. Modified: head/sys/net80211/ieee80211_node.c Modified: