svn commit: r301024 - head/sbin/swapon

2016-05-30 Thread Ed Schouten
Author: ed Date: Tue May 31 06:45:19 2016 New Revision: 301024 URL: https://svnweb.freebsd.org/changeset/base/301024 Log: Stop using the non-standard basename_r() function. This change makes the code use the POSIX basename() function. It has the advantage that (if implemented correctly),

Re: svn commit: r301023 - head/sys/boot/geli

2016-05-30 Thread Xin Li
On 5/30/16 23:24, Garrett Cooper wrote: > Author: ngie > Date: Tue May 31 06:24:09 2016 > New Revision: 301023 > URL: https://svnweb.freebsd.org/changeset/base/301023 > > Log: > Add missing libc includes to fix -Wimplicit-function-declaration warnings > > MFC after: 2 weeks > Reported b

svn commit: r301023 - head/sys/boot/geli

2016-05-30 Thread Garrett Cooper
Author: ngie Date: Tue May 31 06:24:09 2016 New Revision: 301023 URL: https://svnweb.freebsd.org/changeset/base/301023 Log: Add missing libc includes to fix -Wimplicit-function-declaration warnings MFC after: 2 weeks Reported by: clang Sponsored by: EMC / Isilon Storage Division Modifi

svn commit: r301022 - head/sys/dev/hyperv/utilities

2016-05-30 Thread Sepherosa Ziehau
Author: sephe Date: Tue May 31 06:00:18 2016 New Revision: 301022 URL: https://svnweb.freebsd.org/changeset/base/301022 Log: hyperv/kvp: Use if_xname. MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D6641 Modified: head/sys/

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

2016-05-30 Thread Bruce Evans
On Tue, 31 May 2016, Andrey Chernov wrote: On 31.05.2016 6:42, Bruce Evans wrote: Er, I already said which types are better -- [u]int_fast32_t here. [u]int_fast32_t have _at_least_ 32 bits. int32_t in the initial PRNG can be changed since does not overflow and involve several calculations, b

svn commit: r301021 - in head/sys/dev/hyperv: include utilities vmbus

2016-05-30 Thread Sepherosa Ziehau
Author: sephe Date: Tue May 31 05:43:59 2016 New Revision: 301021 URL: https://svnweb.freebsd.org/changeset/base/301021 Log: hyperv: Move guid2str from vmbus file to hyperv file - Use uint8_t for GUID byte array. - Define GUID string length. - Break long lines. - Nuke unnecessary stac

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

2016-05-30 Thread Sepherosa Ziehau
Author: sephe Date: Tue May 31 05:34:46 2016 New Revision: 301020 URL: https://svnweb.freebsd.org/changeset/base/301020 Log: hyperv/vmbus: White space cleanup No functional changes MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freeb

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

2016-05-30 Thread Sepherosa Ziehau
Author: sephe Date: Tue May 31 05:18:55 2016 New Revision: 301019 URL: https://svnweb.freebsd.org/changeset/base/301019 Log: hyperv/vmbus: Redefine SynIC message. - Avoid unnecessary indirection. - Avoid bit fields. - Use __packed. Reviewed by: Jun Su MFC after:1 week Spo

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

2016-05-30 Thread Sepherosa Ziehau
Author: sephe Date: Tue May 31 05:10:20 2016 New Revision: 301018 URL: https://svnweb.freebsd.org/changeset/base/301018 Log: hyperv/vmbus: Move global vmbus id array to stack. MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D66

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

2016-05-30 Thread Andrey Chernov
On 31.05.2016 6:42, Bruce Evans wrote: > > Er, I already said which types are better -- [u]int_fast32_t here. [u]int_fast32_t have _at_least_ 32 bits. int32_t in the initial PRNG can be changed since does not overflow and involve several calculations, but uint_fast32_t is needed just for two oper

svn commit: r301017 - head/sys/dev/hyperv/vmbus/i386

2016-05-30 Thread Sepherosa Ziehau
Author: sephe Date: Tue May 31 05:01:43 2016 New Revision: 301017 URL: https://svnweb.freebsd.org/changeset/base/301017 Log: hyperv/vmbus: Indentation cleanup No functional changes. MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.free

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

2016-05-30 Thread Adrian Chadd
Author: adrian Date: Tue May 31 04:59:00 2016 New Revision: 301016 URL: https://svnweb.freebsd.org/changeset/base/301016 Log: [ath_hal] add QCA9565 and MCI related registers. This is required for upcoming MCI fixes. Obtained from:Linux ath9k Modified: head/sys/contrib/dev/at

svn commit: r301015 - in head/sys: dev/hyperv/vmbus dev/hyperv/vmbus/amd64 dev/hyperv/vmbus/i386 x86/include

2016-05-30 Thread Sepherosa Ziehau
Author: sephe Date: Tue May 31 04:47:53 2016 New Revision: 301015 URL: https://svnweb.freebsd.org/changeset/base/301015 Log: hyperv/vmbus: Rename ISR functions MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D6601 Modified:

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

2016-05-30 Thread Adrian Chadd
Author: adrian Date: Tue May 31 04:44:00 2016 New Revision: 301014 URL: https://svnweb.freebsd.org/changeset/base/301014 Log: [ath_hal] migrate the bluetooth definitions out from ah.h / ar9300_freebsd_inc.h. The eventual MCI driver side of things needs the MCI bits to live in the HAL API

svn commit: r301013 - head/sys/dev/ath/ath_hal

2016-05-30 Thread Adrian Chadd
Author: adrian Date: Tue May 31 04:35:26 2016 New Revision: 301013 URL: https://svnweb.freebsd.org/changeset/base/301013 Log: [ath_hal] add bluetooth coexistence definitions for both legacy and MCI. The legacy bits are just from ah.h; the MCI bits are from the ar9300 HAL "freebsd" extras.

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

2016-05-30 Thread Adrian Chadd
Author: adrian Date: Tue May 31 04:17:17 2016 New Revision: 301012 URL: https://svnweb.freebsd.org/changeset/base/301012 Log: [ath] ensure the right methods / options get overridden for MCI bluetooth coex It turns out that the srev checks can't be done in the early attach in ar9300_freebs

svn commit: r301011 - head/sys/sys

2016-05-30 Thread Allan Jude
Author: allanjude Date: Tue May 31 04:12:55 2016 New Revision: 301011 URL: https://svnweb.freebsd.org/changeset/base/301011 Log: Bump __FreeBSD_version for ZFS's support for SHA-512t256 and Skein Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h ==

svn commit: r301010 - in head/sys: cddl/contrib/opensolaris/common/zfs cddl/contrib/opensolaris/uts/common cddl/contrib/opensolaris/uts/common/fs/zfs cddl/contrib/opensolaris/uts/common/fs/zfs/sys ...

2016-05-30 Thread Allan Jude
Author: allanjude Date: Tue May 31 04:12:14 2016 New Revision: 301010 URL: https://svnweb.freebsd.org/changeset/base/301010 Log: Connect the SHA-512t256 and Skein hashing algorithms to ZFS Support for the new hashing algorithms in ZFS was introduced in r289422 However it was disconnected

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

2016-05-30 Thread Sepherosa Ziehau
Author: sephe Date: Tue May 31 04:10:15 2016 New Revision: 301009 URL: https://svnweb.freebsd.org/changeset/base/301009 Log: hyperv/vmbus: Process event timer before checking events And update comment. MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:

svn commit: r301008 - head/sys/dev/ath

2016-05-30 Thread Adrian Chadd
Author: adrian Date: Tue May 31 04:09:17 2016 New Revision: 301008 URL: https://svnweb.freebsd.org/changeset/base/301008 Log: [ath] add BTCOEX debug section; modify DPRINTF() to take a no-arg format string. Tested: * QCA9565, STA mode Modified: head/sys/dev/ath/if_ath_debug.h Modi

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

2016-05-30 Thread Bruce Evans
On Mon, 30 May 2016, Andrey Chernov wrote: On 30.05.2016 6:09, Bruce Evans wrote: ... The correct fix is s/u_long/uint_fast32_t in most places and s/u_long/uint_least32_t/ in some places and then fix any missing "&"'s. The "fast" and "least" types always exist, unlike the fixed-width types, a

svn commit: r301007 - head/bin/sh

2016-05-30 Thread Warren Block
Author: wblock (doc committer) Date: Tue May 31 00:23:29 2016 New Revision: 301007 URL: https://svnweb.freebsd.org/changeset/base/301007 Log: Clarify the explanations for the hostname and FQDN entries. MFC after:1 week Modified: head/bin/sh/sh.1 Modified: head/bin/sh/sh.1 ==

Re: svn commit: r300952 - head/usr.sbin/services_mkdb

2016-05-30 Thread Don Lewis
On 29 May, Alan Somers wrote: > On Sun, May 29, 2016 at 4:41 AM, Ed Schouten wrote: >> Author: ed >> Date: Sun May 29 10:41:27 2016 >> New Revision: 300952 >> URL: https://svnweb.freebsd.org/changeset/base/300952 >> >> Log: >> Invoke the dirname() function in a POSIX compliant way. >> >> POSIX

Re: svn commit: r300949 - head/sys/netpfil/ipfw

2016-05-30 Thread Don Lewis
On 29 May, Bruce Evans wrote: > On Sun, 29 May 2016, Don Lewis wrote: > >> Log: >> Cast some expressions that multiply a long long constant by a >> floating point constant to int64_t. This avoids the runtime >> conversion of the the other operand in a set of comparisons from >> int64_t to flo

svn commit: r301006 - head/sys/sys

2016-05-30 Thread Ed Maste
Author: emaste Date: Mon May 30 20:51:51 2016 New Revision: 301006 URL: https://svnweb.freebsd.org/changeset/base/301006 Log: Add and correct MIPS relocation types The correct names for R_MIPS_GOT_HI16 and R_MIPS_GOT_LO16 have a _ after GOT. The nonstandard names (R_MIPS_GOTHI16, R_MIPS_G

svn commit: r301005 - head/usr.sbin/keyserv

2016-05-30 Thread Pedro F. Giffuni
Author: pfg Date: Mon May 30 20:41:55 2016 New Revision: 301005 URL: https://svnweb.freebsd.org/changeset/base/301005 Log: keyserv(1): drop useless comparison. Comparing a character array against NULL serves no purpose. In any case we are always asigning a value just before using the valu

svn commit: r301004 - head/etc/rc.d

2016-05-30 Thread Garrett Cooper
Author: ngie Date: Mon May 30 19:59:51 2016 New Revision: 301004 URL: https://svnweb.freebsd.org/changeset/base/301004 Log: Fix circular dependency created after r287197 between ldconfig and mountcritremote ldconfig is already required by mountcritremote indirectly, as noted by rcorder:

svn commit: r301003 - head/cddl/usr.sbin/zfsd

2016-05-30 Thread Pedro F. Giffuni
Author: pfg Date: Mon May 30 19:32:56 2016 New Revision: 301003 URL: https://svnweb.freebsd.org/changeset/base/301003 Log: zfsd: minor spelling fix. Modified: head/cddl/usr.sbin/zfsd/callout.h Modified: head/cddl/usr.sbin/zfsd/callout.h ===

svn commit: r301002 - head/share/misc

2016-05-30 Thread Rene Ladan
Author: rene (doc,ports committer) Date: Mon May 30 19:30:41 2016 New Revision: 301002 URL: https://svnweb.freebsd.org/changeset/base/301002 Log: share/misc/organization.dot: list myself as the new portmgr-secretary Modified: head/share/misc/organization.dot Modified: head/share/misc/organiz

svn commit: r301001 - head/lib/libdevdctl

2016-05-30 Thread Pedro F. Giffuni
Author: pfg Date: Mon May 30 19:25:00 2016 New Revision: 301001 URL: https://svnweb.freebsd.org/changeset/base/301001 Log: libdevdctl: minor spelling fixes. Modified: head/lib/libdevdctl/event.h Modified: head/lib/libdevdctl/event.h ===

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

2016-05-30 Thread Michael Tuexen
Author: tuexen Date: Mon May 30 18:24:23 2016 New Revision: 301000 URL: https://svnweb.freebsd.org/changeset/base/301000 Log: Add PR_CONNREQUIRED for SOCK_STREAM sockets using SCTP. This is required to signal connetion setup on non-blocking sockets via becoming writable. This still allows

Re: svn commit: r300999 - in head: include lib/libc/db/man

2016-05-30 Thread Pedro Giffuni
On 30/05/2016 11:52, Ed Schouten wrote: Author: ed Date: Mon May 30 16:52:23 2016 New Revision: 300999 URL: https://svnweb.freebsd.org/changeset/base/300999 Log: Let dbm's datum::dptr use the right type. According to POSIX, it should use void *, not char *. Unfortunately, the dsi

RE: svn commit: r300998 - head/include

2016-05-30 Thread Cy Schubert
I figured that since it brought the header file closer to POSIX conformance (I consider that a bug fix), it might be a good candidate. It's your choice though. Sent from my cellphone, tiny keyboard in use, ~Cy -Original Message- From: Ed Schouten Sent: 30/05/2016 10:23 To: Cy Schubert Cc

Re: svn commit: r300998 - head/include

2016-05-30 Thread Ed Schouten
Hi Cy, 2016-05-30 18:38 GMT+02:00 Cy Schubert : > This looks like it could be MFCable. Can it be? It can be MFCed easily. The reason why I haven't chosen to do this explicitly, is because this is not a bug that caused some build to fail. I'm writing a bunch of scripts to do automated tests of POS

svn commit: r300999 - in head: include lib/libc/db/man

2016-05-30 Thread Ed Schouten
Author: ed Date: Mon May 30 16:52:23 2016 New Revision: 300999 URL: https://svnweb.freebsd.org/changeset/base/300999 Log: Let dbm's datum::dptr use the right type. According to POSIX, it should use void *, not char *. Unfortunately, the dsize field also has the wrong type. It should be si

RE: svn commit: r300998 - head/include

2016-05-30 Thread Cy Schubert
This looks like it could be MFCable. Can it be? Sent from my cellphone, tiny keyboard in use, ~Cy -Original Message- From: Ed Schouten Sent: 30/05/2016 09:26 To: src-committ...@freebsd.org; svn-src-...@freebsd.org; svn-src-head@freebsd.org Subject: svn commit: r300998 - head/include Aut

svn commit: r300998 - head/include

2016-05-30 Thread Ed Schouten
Author: ed Date: Mon May 30 16:26:34 2016 New Revision: 300998 URL: https://svnweb.freebsd.org/changeset/base/300998 Log: Add missing va_list to . It looks like va_list should always be defined when XSI is enabled. It moved over to the POSIX base in the 2008 edition. Modified: head/inc

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

2016-05-30 Thread Pedro Giffuni
(Interesting discussion) On 05/29/16 21:17, Bruce Evans wrote: On Sun, 29 May 2016, Andrey A. Chernov wrote: Log: 1) Unifdef USE_WEAK_SEEDING since it is too obsolete to support and makes reading hard. Good. 2) Instead of doing range transformation in each and every function here, do i

svn commit: r300997 - in head: include lib/libc/gen

2016-05-30 Thread Ed Schouten
Author: ed Date: Mon May 30 13:51:27 2016 New Revision: 300997 URL: https://svnweb.freebsd.org/changeset/base/300997 Log: Fix the signature of the psignal() function. POSIX 2008 added the psignal() function which has already been part of the BSDs for a long time. The only difference is, t

svn commit: r300996 - head/include

2016-05-30 Thread Ed Schouten
Author: ed Date: Mon May 30 13:37:11 2016 New Revision: 300996 URL: https://svnweb.freebsd.org/changeset/base/300996 Log: Add missing types and constants to . According to POSIX, the netdb.h header must also provide in_addr_t and in_port_t. It should also provide IPPORT_RESERVED. Copy ove

svn commit: r300995 - head/sys/netinet

2016-05-30 Thread Michael Tuexen
Author: tuexen Date: Mon May 30 11:18:39 2016 New Revision: 300995 URL: https://svnweb.freebsd.org/changeset/base/300995 Log: Fix a byte order issue for the scope stored in the SCTP cookie. MFC after:1 week Modified: head/sys/netinet/sctp_output.c Modified: head/sys/netinet/sctp_out

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

2016-05-30 Thread Sepherosa Ziehau
Author: sephe Date: Mon May 30 09:44:17 2016 New Revision: 300994 URL: https://svnweb.freebsd.org/changeset/base/300994 Log: hyperv/et: Allow Hyper-V event timer be disabled MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D6599

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

2016-05-30 Thread Sepherosa Ziehau
Author: sephe Date: Mon May 30 09:35:36 2016 New Revision: 300993 URL: https://svnweb.freebsd.org/changeset/base/300993 Log: hyperv/et: Device renaming; consistent w/ other Hyper-V utils While I'm here, prefix function names w/ vmbus, since unlike Hyper-V timecounter, Hyper-V event timer

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

2016-05-30 Thread Sepherosa Ziehau
Author: sephe Date: Mon May 30 09:20:08 2016 New Revision: 300992 URL: https://svnweb.freebsd.org/changeset/base/300992 Log: hyperv: Move timer frequency definition to common place. And cleanup event timer period settings. MFC after:1 week Sponsored by: Microsoft OSTC Different

svn commit: r300991 - head/sys/sys

2016-05-30 Thread Ed Schouten
Author: ed Date: Mon May 30 09:18:12 2016 New Revision: 300991 URL: https://svnweb.freebsd.org/changeset/base/300991 Log: Add missing restrict keywords to lio_listio(). Modified: head/sys/sys/aio.h Modified: head/sys/sys/aio.h =

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

2016-05-30 Thread Michael Gmelin
Author: grembo (ports committer) Date: Mon May 30 09:05:24 2016 New Revision: 300990 URL: https://svnweb.freebsd.org/changeset/base/300990 Log: Fix ig4 operation for certain machines Some machine BIOSes use the I2C bus and leave it in a state that causes interrupts to not work properly du

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

2016-05-30 Thread Sepherosa Ziehau
Author: sephe Date: Mon May 30 08:50:33 2016 New Revision: 300989 URL: https://svnweb.freebsd.org/changeset/base/300989 Log: hyperv/et: Make sure only one event timer will be registered This nullifies the need to use softc. MFC after:1 week Sponsored by: Microsoft OSTC Differen

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

2016-05-30 Thread Sepherosa Ziehau
Author: sephe Date: Mon May 30 08:42:35 2016 New Revision: 300988 URL: https://svnweb.freebsd.org/changeset/base/300988 Log: hyperv/vmbus: Move SINT settings to vmbus_var.h While I'm here remove the event timer's dependency on hv_vmbus_priv.h MFC after:1 week Sponsored by: Micros

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

2016-05-30 Thread Sepherosa Ziehau
Author: sephe Date: Mon May 30 08:25:09 2016 New Revision: 300987 URL: https://svnweb.freebsd.org/changeset/base/300987 Log: hyperv/et: Fix STIMER0 operations. - Make sure that STIMER0 is disabled before writting to it, since writing to an enabled STIMER will result in undefined behavio

svn commit: r300986 - head/include

2016-05-30 Thread Ed Schouten
Author: ed Date: Mon May 30 07:50:57 2016 New Revision: 300986 URL: https://svnweb.freebsd.org/changeset/base/300986 Log: Add missing declaration of ino_t. POSIX requires that provides ino_t in the XSI case. In our case, this wasn't being exposed, as d_ino is a macro that expands to d_