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,

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

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:

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

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:

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

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:

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:

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

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"

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

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

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,

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

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

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,

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

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:

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

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

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

Re: Update

2016-05-30 Thread Tina M
30th May 2016 Monday https://www.fashionablyin.com/?utm_source=Fashionablyin.com_campaign=99558b0ab9-GROUPS5_25_2016_medium=email_term=0_b4c7b5ed13-99558b0ab9-435413245 ** MEMBER OF THE MONTH - ADRIANA KAEGI

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

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

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-all@freebsd.org; svn-src-h...@freebsd.org Subject: svn commit: r300998 - head/include

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:

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

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,

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

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:

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:

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

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

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

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:

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

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

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

2016-05-30 Thread Sepherosa Ziehau
Author: sephe Date: Mon May 30 06:49:01 2016 New Revision: 300985 URL: https://svnweb.freebsd.org/changeset/base/300985 Log: bge: Support 5717 C0, which is almost same as 5720 A0 PR: 209758 Obtained from:DragonFlyBSD d79f5d8f5fe94cd6769207b2901422977d502bc0 MFC after:

svn commit: r300984 - head/lib/clang/include/clang/Basic

2016-05-30 Thread Dimitry Andric
Author: dim Date: Mon May 30 06:44:10 2016 New Revision: 300984 URL: https://svnweb.freebsd.org/changeset/base/300984 Log: Bump __FreeBSD_cc_version after r300974. Modified: head/lib/clang/include/clang/Basic/Version.inc Modified: head/lib/clang/include/clang/Basic/Version.inc

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

2016-05-30 Thread Andrey Chernov
On 30.05.2016 6:09, Bruce Evans wrote: > On Sun, 29 May 2016, Conrad Meyer wrote: > >> Does clang actually generate different code with this change? > > It should, on exotic arches. > >> On Sun, May 29, 2016 at 9:39 AM, Andrey A. Chernov >> wrote: >>> Log: >>> Micro

Re: svn commit: r300961 - vendor/one-true-awk/dist

2016-05-30 Thread Pedro Giffuni
On 29/05/2016 13:17, Cy Schubert wrote: In message <574b2eac.3010...@freebsd.org>, Pedro Giffuni writes: On 29/05/2016 12:37, Cy Schubert wrote: In message <201605291618.u4tgitnj024...@repo.freebsd.org>, "Pedro F. Giffuni" w rites: Author: pfg Date: Sun May 29 16:18:55 2016 New Revision: