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: r301142 - stable/10/usr.sbin/acpi/acpidb

2016-06-01 Thread Don Lewis
Author: truckman Date: Wed Jun 1 17:16:35 2016 New Revision: 301142 URL: https://svnweb.freebsd.org/changeset/base/301142 Log: MFC r300633 Fix acpidb CIDs 1011279 (Buffer not null terminated) and 978405 and 1199380 (Resource leak). load_dsdt() calls strncpy() to copy a filename and

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

2016-06-01 Thread Don Lewis
Author: truckman Date: Wed Jun 1 17:29:15 2016 New Revision: 301146 URL: https://svnweb.freebsd.org/changeset/base/301146 Log: MFC r300642 Match the descriptions of the \H and \h prompt string sequences to reality. They were swapped. X-Confirmed by: jilles Modified:

svn commit: r301153 - stable/10/lib/libfetch

2016-06-01 Thread Don Lewis
Author: truckman Date: Wed Jun 1 17:43:04 2016 New Revision: 301153 URL: https://svnweb.freebsd.org/changeset/base/301153 Log: MFC r300665 Don't leak addrinfo in fetch_bind() Submitted by: Coverity CID: 1225038 Modified: stable/10/lib/libfetch/common.c Directory

svn commit: r301155 - stable/10/bin/ed

2016-06-01 Thread Don Lewis
Author: truckman Date: Wed Jun 1 17:47:34 2016 New Revision: 301155 URL: https://svnweb.freebsd.org/changeset/base/301155 Log: MFC r300692 Close the input FILE * in read_file() and the output FILE * in write_file() if read_stream() or write_stream() fails to avoid leaking the FILE.

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:

svn commit: r301145 - in stable/10/usr.sbin/extattr: . tests

2016-06-01 Thread Alan Somers
Author: asomers Date: Wed Jun 1 17:22:15 2016 New Revision: 301145 URL: https://svnweb.freebsd.org/changeset/base/301145 Log: MFC r298483, r298744, r299085, r299087, and r300747 to usr.sbin/extattr r300747 | asomers | 2016-05-26 08:26:49 -0600 (Thu, 26 May 2016) | 8 lines

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: r301140 - stable/10/bin/sh

2016-06-01 Thread Don Lewis
Author: truckman Date: Wed Jun 1 17:09:50 2016 New Revision: 301140 URL: https://svnweb.freebsd.org/changeset/base/301140 Log: MFC r300442 Hopefully fix Coverity CID 1008328 (Out-of-bounds write) in /bin/sh. Replace the magic constant 127 in the loop interation count with

svn commit: r301144 - stable/10/usr.sbin/ypserv

2016-06-01 Thread Don Lewis
Author: truckman Date: Wed Jun 1 17:20:36 2016 New Revision: 301144 URL: https://svnweb.freebsd.org/changeset/base/301144 Log: MFC r300636 Delay calling yp_malloc_dnsent() until after some additional sanity checks to avoid leaking memory on error returns. Reported by: Coverity

svn commit: r301148 - stable/10/bin/ps

2016-06-01 Thread Don Lewis
Author: truckman Date: Wed Jun 1 17:33:02 2016 New Revision: 301148 URL: https://svnweb.freebsd.org/changeset/base/301148 Log: MFC r300648 Fix CID 1011370 (Resource leak) in ps. There is no need to to call strdup() on the value returned by fmt(). The latter calls fmt_argv() which

svn commit: r301151 - stable/10/lib/libc/gen

2016-06-01 Thread Don Lewis
Author: truckman Date: Wed Jun 1 17:39:03 2016 New Revision: 301151 URL: https://svnweb.freebsd.org/changeset/base/301151 Log: MFC r300662 Fix Coverity CID 1016714 Resource leak in process_file_actions_entry() Don't leak a file descriptor of _dup2() fails (shouldn't happen).

svn commit: r301154 - stable/10/lib/libfetch

2016-06-01 Thread Don Lewis
Author: truckman Date: Wed Jun 1 17:45:00 2016 New Revision: 301154 URL: https://svnweb.freebsd.org/changeset/base/301154 Log: MFC r300666 Call closedir() before returning from fetchListFile() to avoid a leak. Reported by: Coverity CID: 1016697 Modified:

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: r301143 - stable/10/usr.sbin/ypserv

2016-06-01 Thread Don Lewis
Author: truckman Date: Wed Jun 1 17:18:35 2016 New Revision: 301143 URL: https://svnweb.freebsd.org/changeset/base/301143 Log: MFC r300635 Call free(cur) if strdup(dirp->d_name) fails to avoid a memory leak. Reported by: Coverity CID: 1007414 Modified:

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: r301150 - stable/10/lib/libc/gen

2016-06-01 Thread Don Lewis
Author: truckman Date: Wed Jun 1 17:37:16 2016 New Revision: 301150 URL: https://svnweb.freebsd.org/changeset/base/301150 Log: MFC r300660 Fix 1016718 Resource leak. Don't leak a file descriptor if fchdir() fails. Reported by: Coverity CID: 1016718 Modified:

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: r301147 - stable/10/bin/mv

2016-06-01 Thread Don Lewis
Author: truckman Date: Wed Jun 1 17:30:50 2016 New Revision: 301147 URL: https://svnweb.freebsd.org/changeset/base/301147 Log: MFC r300643 Close from_fd if malloc() fails to avoid a file descriptor leak. Reported by: Coverity CID: 1007203 Modified:

svn commit: r301152 - stable/10/lib/libcompat/4.3

2016-06-01 Thread Don Lewis
Author: truckman Date: Wed Jun 1 17:41:00 2016 New Revision: 301152 URL: https://svnweb.freebsd.org/changeset/base/301152 Log: MFC r300664 Fix Coverity CID 978183 Resource leak in rexec(). Close the socket if connect() fails to avoid leaking it. Reported by: Coverity CID:

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 > >>

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: r301149 - stable/10/bin/setfacl

2016-06-01 Thread Don Lewis
Author: truckman Date: Wed Jun 1 17:35:03 2016 New Revision: 301149 URL: https://svnweb.freebsd.org/changeset/base/301149 Log: MFC r300649 Fix Coverity CID 1019054 (String not null terminated) in setfacl. Increase the size of buf[] by one to allow room for a NUL character at the

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,

svn commit: r301156 - stable/10/usr.sbin/tzsetup

2016-06-01 Thread Don Lewis
Author: truckman Date: Wed Jun 1 17:57:56 2016 New Revision: 301156 URL: https://svnweb.freebsd.org/changeset/base/301156 Log: MFC r300706 Avoid buffer overflow or truncation when constructing path_zoneinfo_file. Reported by: Coverity CID: 1011160 Modified:

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

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: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: >>>

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: 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: 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: 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

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 >

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: 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

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: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: >>>

svn commit: r301164 - stable/10/sys/fs/fuse

2016-06-01 Thread Rick Macklem
Author: rmacklem Date: Wed Jun 1 20:30:31 2016 New Revision: 301164 URL: https://svnweb.freebsd.org/changeset/base/301164 Log: MFC: r300169 If a local (AF_LOCAL, AF_UNIX) socket creation (bind) is attempted on a fuse mounted file system, it will crash. Although it may be possible to make

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: r301128 - head/sys/dev/urtwn

2016-06-01 Thread Adrian Chadd
[snip] well, adhoc merges. -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"

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: 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.

svn commit: r301141 - stable/10/usr.sbin/acpi/acpidump

2016-06-01 Thread Don Lewis
Author: truckman Date: Wed Jun 1 17:13:43 2016 New Revision: 301141 URL: https://svnweb.freebsd.org/changeset/base/301141 Log: MFC r300632 Fix acpidump CID 1011278 (Buffer not null terminated) and other issues Coverity reports that a buffer used for temporary file generation might

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: 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: 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: 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: r301108 - stable/9/etc/ntp

2016-06-01 Thread Cy Schubert
Author: cy Date: Wed Jun 1 07:03:11 2016 New Revision: 301108 URL: https://svnweb.freebsd.org/changeset/base/301108 Log: MFC r300180: Update leap-seconds to leap-seconds.3661459200. NO leap second will be introduced at the end of June 2016. Obtained from:

svn commit: r301107 - stable/10/etc/ntp

2016-06-01 Thread Cy Schubert
Author: cy Date: Wed Jun 1 07:03:07 2016 New Revision: 301107 URL: https://svnweb.freebsd.org/changeset/base/301107 Log: MFC r300180: Update leap-seconds to leap-seconds.3661459200. NO leap second will be introduced at the end of June 2016. Obtained from:

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: 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:

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: 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: 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: 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: 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: 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

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: 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

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: 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: 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

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: r301124 - head/sys/conf

2016-06-01 Thread Ruslan Bukin
Author: br Date: Wed Jun 1 14:05:32 2016 New Revision: 301124 URL: https://svnweb.freebsd.org/changeset/base/301124 Log: Build riscv modules as PIC. Submitted by: Yukishige Shibata Modified: head/sys/conf/kmod.mk Modified: head/sys/conf/kmod.mk

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: 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

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: 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: 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: r301129 - stable/10/sys/net

2016-06-01 Thread Nick Hibma
Author: n_hibma Date: Wed Jun 1 15:08:27 2016 New Revision: 301129 URL: https://svnweb.freebsd.org/changeset/base/301129 Log: MFC 300670 (slightly adapted for 10-STABLE): Change net.link.log_promisc_mode_change to a read-only tunable. PR: 166255 Submitted by:

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: 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

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: 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

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: