svn commit: r301167 - head/lib/libcasper/services/cap_grp

2016-06-01 Thread Ed Schouten
Author: ed Date: Wed Jun 1 20:45:21 2016 New Revision: 301167 URL: https://svnweb.freebsd.org/changeset/base/301167 Log: Don't call setgrent() in an unportable way. For FreeBSD 12, I'm considering updating setgrent() to have a function prototype that conforms to POSIX. FreeBSD seems to

svn commit: r301166 - in head: etc etc/ppp libexec/dma/dmagent share/mk usr.sbin/ppp

2016-06-01 Thread Glen Barber
Author: gjb Date: Wed Jun 1 20:44:28 2016 New Revision: 301166 URL: https://svnweb.freebsd.org/changeset/base/301166 Log: Revert r301137 and r301163, and implement a correct fix for the CONFS issue with dma.conf and ppp.conf. Thank you very much to Bryan Drewery for looking into the

svn commit: r301165 - head/sys/vm

2016-06-01 Thread Konstantin Belousov
Author: kib Date: Wed Jun 1 20:39:00 2016 New Revision: 301165 URL: https://svnweb.freebsd.org/changeset/base/301165 Log: If the fast path unbusy in vm_page_replace() fails, slow path needs to acquire the page lock, which recurses. Avoid the recursion by reusing the code from

Re: svn commit: r301163 - in head: etc libexec/dma/dmagent

2016-06-01 Thread Glen Barber
On Wed, Jun 01, 2016 at 01:25:35PM -0700, Bryan Drewery wrote: > On 6/1/16 1:22 PM, Glen Barber wrote: > > On Wed, Jun 01, 2016 at 01:13:20PM -0700, Bryan Drewery wrote: > >> On 6/1/16 1:06 PM, Glen Barber wrote: > >>> Author: gjb > >>> Date: Wed Jun 1 20:06:55 2016 > >>> New Revision: 301163 >

Re: svn commit: r301163 - in head: etc libexec/dma/dmagent

2016-06-01 Thread Bryan Drewery
On 6/1/16 1:22 PM, Glen Barber wrote: > On Wed, Jun 01, 2016 at 01:13:20PM -0700, Bryan Drewery wrote: >> On 6/1/16 1:06 PM, Glen Barber wrote: >>> Author: gjb >>> Date: Wed Jun 1 20:06:55 2016 >>> New Revision: 301163 >>> URL: https://svnweb.freebsd.org/changeset/base/301163 >>> >>> Log: >>>

Re: svn commit: r301163 - in head: etc libexec/dma/dmagent

2016-06-01 Thread Bryan Drewery
On 6/1/16 1:22 PM, Glen Barber wrote: > On Wed, Jun 01, 2016 at 01:13:20PM -0700, Bryan Drewery wrote: >> On 6/1/16 1:06 PM, Glen Barber wrote: >>> Author: gjb >>> Date: Wed Jun 1 20:06:55 2016 >>> New Revision: 301163 >>> URL: https://svnweb.freebsd.org/changeset/base/301163 >>> >>> Log: >>>

Re: svn commit: r301163 - in head: etc libexec/dma/dmagent

2016-06-01 Thread Glen Barber
On Wed, Jun 01, 2016 at 01:13:20PM -0700, Bryan Drewery wrote: > On 6/1/16 1:06 PM, Glen Barber wrote: > > Author: gjb > > Date: Wed Jun 1 20:06:55 2016 > > New Revision: 301163 > > URL: https://svnweb.freebsd.org/changeset/base/301163 > > > > Log: > > Implement a hack to re-enable

Re: svn commit: r301163 - in head: etc libexec/dma/dmagent

2016-06-01 Thread Bryan Drewery
On 6/1/16 1:06 PM, Glen Barber wrote: > The 'CONFS' entries in share/mk/bsd.confs.mk explicitly check > for the 'installconfig', but does not behave properly with the > 'distribute' target. It's not checking for 'make installconfig', it is checking if 'installconfig:' exists. -- Regards,

Re: svn commit: r301163 - in head: etc libexec/dma/dmagent

2016-06-01 Thread Bryan Drewery
On 6/1/16 1:06 PM, Glen Barber wrote: > Author: gjb > Date: Wed Jun 1 20:06:55 2016 > New Revision: 301163 > URL: https://svnweb.freebsd.org/changeset/base/301163 > > Log: > Implement a hack to re-enable installation of the dma.conf. > > The 'CONFS' entries in share/mk/bsd.confs.mk

svn commit: r301163 - in head: etc libexec/dma/dmagent

2016-06-01 Thread Glen Barber
Author: gjb Date: Wed Jun 1 20:06:55 2016 New Revision: 301163 URL: https://svnweb.freebsd.org/changeset/base/301163 Log: Implement a hack to re-enable installation of the dma.conf. The 'CONFS' entries in share/mk/bsd.confs.mk explicitly check for the 'installconfig', but does not

Re: svn commit: r301131 - head/usr.sbin/tzsetup

2016-06-01 Thread Devin Teske
I think this should have been reviewed first before commit. 1. Changes should be mirrored with "bsdconfig timezone" to keep the two aligned 2. Not all users are unaware of the linkage between /etc/localtime and tzsetup and as-such, are left without a way of knowing how to clear the state-change

svn commit: r301162 - head/sys/netpfil/ipfw

2016-06-01 Thread Don Lewis
Author: truckman Date: Wed Jun 1 20:04:24 2016 New Revision: 301162 URL: https://svnweb.freebsd.org/changeset/base/301162 Log: Replace constant expressions that contain multiplications by fractional floating point values with integer divides. This will eliminate any chance that the

svn commit: r301161 - head/share/mk

2016-06-01 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Jun 1 19:54:17 2016 New Revision: 301161 URL: https://svnweb.freebsd.org/changeset/base/301161 Log: Fix the library name. Reviewed by: bdrewery Modified: head/share/mk/src.libnames.mk Modified: head/share/mk/src.libnames.mk

svn commit: r301160 - head/bin/ps

2016-06-01 Thread Conrad E. Meyer
Author: cem Date: Wed Jun 1 19:54:05 2016 New Revision: 301160 URL: https://svnweb.freebsd.org/changeset/base/301160 Log: ps(1): Expand variables to match expanded fields ki_flag and ki_tdflag have been 'long', not 'int', since 2000 and 2005, respectively. Submitted by: Shawn Wills

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

2016-06-01 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Jun 1 19:49:38 2016 New Revision: 301159 URL: https://svnweb.freebsd.org/changeset/base/301159 Log: Document behavior of wait introduced in the r286698. Suggested by: glebius Reviewed by: wblock, bjk Differential Revision:

Re: svn commit: r301128 - head/sys/dev/urtwn

2016-06-01 Thread Adrian Chadd
[snip] well, adhoc merges. -a ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Re: svn commit: r301128 - head/sys/dev/urtwn

2016-06-01 Thread Adrian Chadd
hi! Woo! Does this also help with IBSS? (Since we need to see all beacons so we can do adhoc joins.) -adrian On 1 June 2016 at 07:57, Andriy Voskoboinyk wrote: > Author: avos > Date: Wed Jun 1 14:57:53 2016 > New Revision: 301128 > URL:

svn commit: r301158 - head/sys/dev/cxgbe/iw_cxgbe

2016-06-01 Thread Navdeep Parhar
Author: np Date: Wed Jun 1 18:46:54 2016 New Revision: 301158 URL: https://svnweb.freebsd.org/changeset/base/301158 Log: iw_cxgbe: Fix panic that occurs when c4iw_ev_handler tries to acquire comp_handler_lock but c4iw_destroy_cq has already freed the CQ memory (which is where the lock

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

2016-06-01 Thread Mateusz Guzik
Author: mjg Date: Wed Jun 1 18:32:20 2016 New Revision: 301157 URL: https://svnweb.freebsd.org/changeset/base/301157 Log: Microoptimize locking primitives by avoiding unnecessary atomic ops. Inline version of primitives do an atomic op and if it fails they fallback to actual primitives,

Re: svn commit: r301139 - head/bin/sh

2016-06-01 Thread Don Lewis
On 1 Jun, To: src-committ...@freebsd.org wrote: > Author: truckman > Date: Wed Jun 1 16:56:29 2016 > New Revision: 301139 > URL: https://svnweb.freebsd.org/changeset/base/301139 > > Log: > The (i < PROMPTLEN - 1) test added by r300442 in the code for the default > case of \c in the prompt

svn commit: r301139 - head/bin/sh

2016-06-01 Thread Don Lewis
Author: truckman Date: Wed Jun 1 16:56:29 2016 New Revision: 301139 URL: https://svnweb.freebsd.org/changeset/base/301139 Log: The (i < PROMPTLEN - 1) test added by r300442 in the code for the default case of \c in the prompt format string is a no-op. We already passed this test at the

svn commit: r301138 - head/usr.bin/sed

2016-06-01 Thread Pedro F. Giffuni
Author: pfg Date: Wed Jun 1 16:53:02 2016 New Revision: 301138 URL: https://svnweb.freebsd.org/changeset/base/301138 Log: sed(1): Fix a mismatch and sync with the OpenBSD's commit. This was causing some strange behaviour. Reported by: olivier Obtained from:OpenBSD (CVS

svn commit: r301137 - in head: etc etc/ppp usr.sbin/ppp

2016-06-01 Thread Glen Barber
Author: gjb Date: Wed Jun 1 16:45:08 2016 New Revision: 301137 URL: https://svnweb.freebsd.org/changeset/base/301137 Log: Revert r289096: Files listed in 'CONFS' are not properly included in new installations (missing from base.txz), for reasons I still do not fully understand.

Re: svn commit: r299393 - in head: . share/mk

2016-06-01 Thread John Baldwin
On Monday, May 30, 2016 01:21:50 PM Julian Elischer wrote: > On 27/05/2016 2:28 AM, John Baldwin wrote: > > On Wednesday, May 25, 2016 03:27:07 PM Hans Petter Selasky wrote: > >> On 05/11/16 00:32, John Baldwin wrote: > >>> Author: jhb > >>> Date: Tue May 10 22:32:23 2016 > >>> New Revision:

Re: svn commit: r301071 - head/sys/sys

2016-06-01 Thread Konstantin Belousov
On Wed, Jun 01, 2016 at 05:44:47PM +0200, Ed Schouten wrote: > Hi Bruce, > > 2016-06-01 11:31 GMT+02:00 Bruce Evans : > >> - This header file has always depended on pthread_t, pthread_attr_t, > >>struct timespec, size_t and uid_t. Only as of POSIX 2008, these > >>

svn commit: r301136 - head/lib/libthr/thread

2016-06-01 Thread Conrad E. Meyer
Author: cem Date: Wed Jun 1 16:12:26 2016 New Revision: 301136 URL: https://svnweb.freebsd.org/changeset/base/301136 Log: libthr: Use formatted PANIC() No functional change, although _thread_printf() may be slightly less functional or render some values differently from libc

svn commit: r301135 - head/lib/libthr/thread

2016-06-01 Thread Conrad E. Meyer
Author: cem Date: Wed Jun 1 16:11:09 2016 New Revision: 301135 URL: https://svnweb.freebsd.org/changeset/base/301135 Log: libthr: _thread_vprintf: Enhance support for %p, %#x No functional change. No ABI change. Reviewed by: kib Sponsored by: EMC / Isilon Storage Division

svn commit: r301134 - head/lib/libthr/thread

2016-06-01 Thread Conrad E. Meyer
Author: cem Date: Wed Jun 1 16:09:56 2016 New Revision: 301134 URL: https://svnweb.freebsd.org/changeset/base/301134 Log: libthr: Add vprintf variant of _thread_printf, formatted PANIC() No ABI change. Reviewed by: kib Sponsored by: EMC / Isilon Storage Division Differential

svn commit: r301133 - head/sys/contrib/dev/ath/ath_hal/ar9300

2016-06-01 Thread Adrian Chadd
Author: adrian Date: Wed Jun 1 15:56:07 2016 New Revision: 301133 URL: https://svnweb.freebsd.org/changeset/base/301133 Log: [ath_hal] add azimuth timestamp payload marking for AR9380 and later chips. Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit_ds.c Modified:

svn commit: r301132 - head/sys/dev/urtwn

2016-06-01 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jun 1 15:47:19 2016 New Revision: 301132 URL: https://svnweb.freebsd.org/changeset/base/301132 Log: urtwn: unbreak CTS-to-self protection mode. Do not set HWRTSEN bit when CTS-to-self is used; CTS2SELF bit triggers CTS frame transmission by itself (and it does not

Re: svn commit: r301071 - head/sys/sys

2016-06-01 Thread Ed Schouten
Hi Bruce, 2016-06-01 11:31 GMT+02:00 Bruce Evans : >> - This header file has always depended on pthread_t, pthread_attr_t, >>struct timespec, size_t and uid_t. Only as of POSIX 2008, these >>dependencies have been states explicitly. They should now be defined. > >

svn commit: r301131 - head/usr.sbin/tzsetup

2016-06-01 Thread Steven Hartland
Author: smh Date: Wed Jun 1 15:39:11 2016 New Revision: 301131 URL: https://svnweb.freebsd.org/changeset/base/301131 Log: Fix tzsetup not installing /etc/localtime for UTC If tzsetup UTC is run then it successfully configured the system for UTC including installing /etc/localtime

svn commit: r301130 - head/sys/modules

2016-06-01 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 1 15:19:49 2016 New Revision: 301130 URL: https://svnweb.freebsd.org/changeset/base/301130 Log: Enable filemon on all architectures. MFC after:2 weeks Sponsored by: EMC / Isilon Storage Division Modified: head/sys/modules/Makefile Modified:

svn commit: r301128 - head/sys/dev/urtwn

2016-06-01 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jun 1 14:57:53 2016 New Revision: 301128 URL: https://svnweb.freebsd.org/changeset/base/301128 Log: urtwn: fix non-ERP BSS detection in HOSTAP mode. Receive all beacons in HOSTAP mode; they will give more information about present non-ERP / legacy BSSs (used to

svn commit: r301127 - head/sys/dev/sfxge/common

2016-06-01 Thread Andrew Rybchenko
Author: arybchik Date: Wed Jun 1 14:16:16 2016 New Revision: 301127 URL: https://svnweb.freebsd.org/changeset/base/301127 Log: sfxge(4): cleanup: remove unused variables in common code Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 1 week

svn commit: r301126 - in head/sys/riscv: conf riscv

2016-06-01 Thread Ruslan Bukin
Author: br Date: Wed Jun 1 14:12:31 2016 New Revision: 301126 URL: https://svnweb.freebsd.org/changeset/base/301126 Log: Add support for loadable kernel modules. Submitted by: Yukishige Shibata Modified: head/sys/riscv/conf/GENERIC

svn commit: r301125 - head/sys/dev/sfxge/common

2016-06-01 Thread Andrew Rybchenko
Author: arybchik Date: Wed Jun 1 14:11:40 2016 New Revision: 301125 URL: https://svnweb.freebsd.org/changeset/base/301125 Log: sfxge(4): cleanup: add missing space after if keyword Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Modified:

svn commit: r301123 - head/sys/dev/sym

2016-06-01 Thread Ruslan Bukin
Author: br Date: Wed Jun 1 14:03:13 2016 New Revision: 301123 URL: https://svnweb.freebsd.org/changeset/base/301123 Log: Add a riscv define. Submitted by: Yukishige Shibata Modified: head/sys/dev/sym/sym_hipd.c Modified: head/sys/dev/sym/sym_hipd.c

svn commit: r301122 - in head/sys/dev/sfxge: . common

2016-06-01 Thread Andrew Rybchenko
Author: arybchik Date: Wed Jun 1 14:03:07 2016 New Revision: 301122 URL: https://svnweb.freebsd.org/changeset/base/301122 Log: sfxge(4): set moderation in efx_ev_qcreate This simplifies setting an initial interrupt moderation value, and avoids most calls to evx_ev_qmoderate from

Re: svn commit: r300956 - head/lib/libc/stdlib

2016-06-01 Thread Bruce Evans
On Tue, 31 May 2016, Chris Torek wrote: That was what I was complaining about. div.c is for C90 (misspelled "ANSI"). It wasn't misspelled when I wrote it. :-) The 1989 ANSI C :-) standard was formally ratified in Dec 1989, and the draft was pretty firm by the time I wrote the code

svn commit: r301121 - head/sys/modules

2016-06-01 Thread Ruslan Bukin
Author: br Date: Wed Jun 1 13:43:43 2016 New Revision: 301121 URL: https://svnweb.freebsd.org/changeset/base/301121 Log: Don't build some modules on RISC-V. Submitted by: Yukishige Shibata Modified: head/sys/modules/Makefile Modified:

svn commit: r301120 - head/sys/riscv/conf

2016-06-01 Thread Ruslan Bukin
Author: br Date: Wed Jun 1 12:19:00 2016 New Revision: 301120 URL: https://svnweb.freebsd.org/changeset/base/301120 Log: * Enable KDTRACE options as we support DTrace now. * Add bpf device to kernel config. Modified: head/sys/riscv/conf/GENERIC Modified: head/sys/riscv/conf/GENERIC

svn commit: r301119 - head/sys/dev/cxgbe/cxgbei

2016-06-01 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jun 1 12:04:04 2016 New Revision: 301119 URL: https://svnweb.freebsd.org/changeset/base/301119 Log: Reduce the priority of cxgbei(4) driver, so it doesn't get chosen by default. This is a workaround for a too simplistic ICL module choosing mechanism. To use it,

svn commit: r301118 - head/usr.sbin/ctld

2016-06-01 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jun 1 11:45:06 2016 New Revision: 301118 URL: https://svnweb.freebsd.org/changeset/base/301118 Log: Describe default value for "offload". MFC after:1 month Modified: head/usr.sbin/ctld/ctl.conf.5 Modified: head/usr.sbin/ctld/ctl.conf.5

svn commit: r301115 - head/lib/libc/stdlib

2016-06-01 Thread Andrey A. Chernov
Author: ache Date: Wed Jun 1 10:14:25 2016 New Revision: 301115 URL: https://svnweb.freebsd.org/changeset/base/301115 Log: Don't use fixup for C99 and up, the compiler result is already correct. Suggested by: bde MFC after: 1 week Modified: head/lib/libc/stdlib/div.c

svn commit: r301114 - in head: share/man/man9 sys/kern sys/netinet sys/netinet6 sys/sys

2016-06-01 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jun 1 10:14:04 2016 New Revision: 301114 URL: https://svnweb.freebsd.org/changeset/base/301114 Log: The pr_destroy field does not allow us to run the teardown code in a specific order. VNET_SYSUNINITs however are doing exactly that. Thus remove the VIMAGE conditional

Re: svn commit: r301071 - head/sys/sys

2016-06-01 Thread Bruce Evans
On Tue, 31 May 2016, Ed Schouten wrote: Log: Improve POSIX conformance of . - This header file has always depended on pthread_t, pthread_attr_t, struct timespec, size_t and uid_t. Only as of POSIX 2008, these dependencies have been states explicitly. They should now be defined. Not

svn commit: r301113 - in head/sys: conf dev/hyperv/vmbus dev/hyperv/vmbus/amd64 dev/hyperv/vmbus/i386 modules/hyperv/vmbus

2016-06-01 Thread Sepherosa Ziehau
Author: sephe Date: Wed Jun 1 09:20:52 2016 New Revision: 301113 URL: https://svnweb.freebsd.org/changeset/base/301113 Log: hyperv: Rename some cleaned up/almost cleaned up files MFC after:1 week Sponsored by: Microsoft OSTC Added: head/sys/dev/hyperv/vmbus/amd64/vmbus_vector.S

svn commit: r301112 - head/sys/arm64/arm64

2016-06-01 Thread Zbigniew Bodek
Author: zbb Date: Wed Jun 1 08:20:10 2016 New Revision: 301112 URL: https://svnweb.freebsd.org/changeset/base/301112 Log: Return real error value instead of hard-coded ENXIO (fix after r300149) It is possible to return real error value in case of gic_v3_attach() failure instead of

svn commit: r301110 - head/sys/sys

2016-06-01 Thread Ed Schouten
Author: ed Date: Wed Jun 1 07:45:03 2016 New Revision: 301110 URL: https://svnweb.freebsd.org/changeset/base/301110 Log: Define the id_t type as required by POSIX. It seems that all versions of POSIX that I could find require that defines id_t. Define it together with rlim_t. While

svn commit: r301109 - head/sys/dev/hyperv/vmbus

2016-06-01 Thread Sepherosa Ziehau
Author: sephe Date: Wed Jun 1 07:11:54 2016 New Revision: 301109 URL: https://svnweb.freebsd.org/changeset/base/301109 Log: hyperv/channel: Only cpu0 is supported as channel target cpu on WIN7 MFC after:1 week Sponsored by: Microsoft OSTC Modified:

svn commit: r301104 - head/cddl/contrib/opensolaris/cmd/zpool

2016-06-01 Thread Allan Jude
Author: allanjude Date: Wed Jun 1 06:18:34 2016 New Revision: 301104 URL: https://svnweb.freebsd.org/changeset/base/301104 Log: Fix missing space in mandoc syntax Reported by: rpokala Modified: head/cddl/contrib/opensolaris/cmd/zpool/zpool-features.7 Modified:

svn commit: r301105 - head/sys/dev/sfxge

2016-06-01 Thread Andrew Rybchenko
Author: arybchik Date: Wed Jun 1 06:51:19 2016 New Revision: 301105 URL: https://svnweb.freebsd.org/changeset/base/301105 Log: sfxge(4): cope with code duplication on SW events composition Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision:

svn commit: r301106 - head/sys/dev/hyperv/vmbus

2016-06-01 Thread Sepherosa Ziehau
Author: sephe Date: Wed Jun 1 06:51:44 2016 New Revision: 301106 URL: https://svnweb.freebsd.org/changeset/base/301106 Log: hyperv/vmbus: Redefine event flags. - Nuke unnecessary union. - Avoid convoluted macro indirection. MFC after:1 week Sponsored by: Microsoft OSTC

svn commit: r301103 - head/sys/dev/bge

2016-06-01 Thread Sepherosa Ziehau
Author: sephe Date: Wed Jun 1 05:15:11 2016 New Revision: 301103 URL: https://svnweb.freebsd.org/changeset/base/301103 Log: bge: Force chipid to 5720 A0 for 5717 C0 in an early place Discussed with: yongari MFC after:1 week Sponsored by: Microsoft OSTC Modified: