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

2016-05-29 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-29 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-29 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 optimize: C standard guara

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

2016-05-29 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: 3

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

2016-05-29 Thread Julian Elischer
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: 299393 URL: https://svnweb.freebsd.org/changeset/base/299393 Log: Change the default i

svn commit: r300983 - in head: lib/libc/sys sys/kern

2016-05-29 Thread Jamie Gritton
Author: jamie Date: Mon May 30 05:21:24 2016 New Revision: 300983 URL: https://svnweb.freebsd.org/changeset/base/300983 Log: Mark jail(2), and the sysctls that it (and only it) uses as deprecated. jail(8) has long used jail_set(2), and those sysctl only cause confusion. Modified: head/lib/l

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

2016-05-29 Thread Andrey Chernov
On 30.05.2016 5: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: r300982 - head/sys/sys

2016-05-29 Thread Sepherosa Ziehau
Author: sephe Date: Mon May 30 04:48:06 2016 New Revision: 300982 URL: https://svnweb.freebsd.org/changeset/base/300982 Log: mbuf: Add a flag for M_HASHTYPE_ to indicate the type has hash properties This flag has not been used, and drivers setting M_HASHTYPE_OPAQUE have not been converted

svn commit: r300981 - head/sys/netinet

2016-05-29 Thread Sepherosa Ziehau
Author: sephe Date: Mon May 30 03:31:37 2016 New Revision: 300981 URL: https://svnweb.freebsd.org/changeset/base/300981 Log: tcp: Don't prematurely drop receiving-only connections If the connection was persistent and receiving-only, several (12) sporadic device insufficient buffers would

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

2016-05-29 Thread Bruce Evans
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 optimize: C standard guarantees that right shift for unsigned value fills left bits w

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

2016-05-29 Thread Bruce Evans
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 it single time directly in do_rand(). One "mod" operation overhead

svn commit: r300980 - head

2016-05-29 Thread Kurt Lidl
Author: lidl Date: Mon May 30 02:09:19 2016 New Revision: 300980 URL: https://svnweb.freebsd.org/changeset/base/300980 Log: Remove extraneous altq header files At some point during stable/10, the headers altq_codel.h and altq_fairq.h where added to /usr/include/altq, before all of altq

svn commit: r300979 - stable/10/sys/netpfil/pf

2016-05-29 Thread Kristof Provost
Author: kp Date: Mon May 30 01:21:44 2016 New Revision: 300979 URL: https://svnweb.freebsd.org/changeset/base/300979 Log: MFC 300501, 300508 pf: Fix ICMP translation Fix ICMP source address rewriting in rdr scenarios. pf: Fix more ICMP mistranslation In the default case fix t

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

2016-05-29 Thread Rick Macklem
Author: rmacklem Date: Sun May 29 23:30:36 2016 New Revision: 300978 URL: https://svnweb.freebsd.org/changeset/base/300978 Log: MFC: r299872 Fix fuse for "cp" of a mode 0444 file to the file system. When "cp" of a file with read-only (mode 0444) to a fuse mounted file system was attempt

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

2016-05-29 Thread Rick Macklem
Author: rmacklem Date: Sun May 29 23:05:14 2016 New Revision: 300977 URL: https://svnweb.freebsd.org/changeset/base/300977 Log: MFC: r299816 Fix fuse so that stale buffer cache data isn't read. When I/O on a file under fuse is switched from buffered to DIRECT_IO, it was possible to read

svn commit: r300976 - head/share/timedef

2016-05-29 Thread Baptiste Daroussin
Author: bapt Date: Sun May 29 22:28:39 2016 New Revision: 300976 URL: https://svnweb.freebsd.org/changeset/base/300976 Log: Regenerate timedef: For Russian: - Convert AM/PM which are badly formatted in CLDR to replace it by the proper cyrillic - Add a dependency on Text::Iconv so no

svn commit: r300975 - head/tools/tools/locale/tools

2016-05-29 Thread Baptiste Daroussin
Author: bapt Date: Sun May 29 22:27:42 2016 New Revision: 300975 URL: https://svnweb.freebsd.org/changeset/base/300975 Log: Add more hacks to correct CLDR data For Russian: - Convert AM/PM which are badly formatted in CLDR to replace it by the proper cyrillic - Add a dependency on T

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

2016-05-29 Thread Ngie Cooper
> On May 29, 2016, at 14:53, Xin Li wrote: > > On 5/29/16 11:17, Cy Schubert wrote: > [...] >>> There is no public awk public repository AFAICT, but bwk acknowledged >>> the submission. >>> >>> The change to openresolv was merged to the public repository. >> >> As they've acknowledged the sub

Re: svn commit: r300973 - head/usr.sbin/rpcbind

2016-05-29 Thread Ngie Cooper
> On May 29, 2016, at 14:52, Bjoern A. Zeeb > wrote: > > >> On 29 May 2016, at 20:28 , Garrett Cooper wrote: >> >> Author: ngie >> Date: Sun May 29 20:28:01 2016 >> New Revision: 300973 >> URL: https://svnweb.freebsd.org/changeset/base/300973 >> >> Log: >> Follow up to r300932 >> >> In the

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

2016-05-29 Thread Cy Schubert
In message <1b8c118d-0743-ba8f-5796-65b165bc8...@freebsd.org>, Pedro Giffuni wr ites: > > > > On 05/29/16 14:06, Cy Schubert wrote: > > In message <201605291817.u4tihnn7040...@slippy.cwsent.com>, Cy Schubert > > writes: > >> In message <574b2eac.3010...@freebsd.org>, Pedro Giffuni writes: > >>>

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

2016-05-29 Thread Xin Li
On 5/29/16 11:17, Cy Schubert wrote: [...] >> There is no public awk public repository AFAICT, but bwk acknowledged >> the submission. >> >> The change to openresolv was merged to the public repository. > > As they've acknowledged the submissions, can you please tag the new > versions of awk a

Re: svn commit: r300973 - head/usr.sbin/rpcbind

2016-05-29 Thread Bjoern A. Zeeb
> On 29 May 2016, at 20:28 , Garrett Cooper wrote: > > Author: ngie > Date: Sun May 29 20:28:01 2016 > New Revision: 300973 > URL: https://svnweb.freebsd.org/changeset/base/300973 > > Log: > Follow up to r300932 > > In the event MK_INET6 != no in userspace, but is disabled in the > kernel,

svn commit: r300974 - head/contrib/llvm/lib/Transforms/Vectorize

2016-05-29 Thread Dimitry Andric
Author: dim Date: Sun May 29 20:54:16 2016 New Revision: 300974 URL: https://svnweb.freebsd.org/changeset/base/300974 Log: Pull in r269908 from upstream llvm trunk (by James Molloy): [VectorUtils] Fix nasty use-after-free In truncateToMinimalBitwidths() we were RAUW'ing an instruct

Re: svn commit: r300233 - stable/10/share/mk

2016-05-29 Thread Simon J. Gerraty
Bryan Drewery wrote: > > I always assumed there was a good reason for not allowing that. > > is there not a "WITH_FOO" or "WITHOUT_FOO" for every MK_FOO? > > Which takes precedence? Using make MK_FOO=no allows forcing it off WITHOUT_ wins this was topic of long discussion - I guess back in 2014

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

2016-05-29 Thread Pedro F. Giffuni
blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } The patches are not local as they are not in base (yet).I will merge them to current when I find time. Pedro. Enviado desde Ya

svn commit: r300973 - head/usr.sbin/rpcbind

2016-05-29 Thread Garrett Cooper
Author: ngie Date: Sun May 29 20:28:01 2016 New Revision: 300973 URL: https://svnweb.freebsd.org/changeset/base/300973 Log: Follow up to r300932 In the event MK_INET6 != no in userspace, but is disabled in the kernel, or if there aren't any IPv6 addresses configured in userspace (for lo

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

2016-05-29 Thread Andrey Chernov
On 29.05.2016 22:39, Conrad Meyer wrote: > Does clang actually generate different code with this change? Yes, without -O it generates andl$2147483647, ... With -O nothing is changed. In general, it can be not clang and I see no point to left junk code in any case. > > On Sun, May 29, 2016 at

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

2016-05-29 Thread Conrad Meyer
Does clang actually generate different code with this change? On Sun, May 29, 2016 at 9:39 AM, Andrey A. Chernov wrote: > Author: ache > Date: Sun May 29 16:39:28 2016 > New Revision: 300965 > URL: https://svnweb.freebsd.org/changeset/base/300965 > > Log: > Micro optimize: C standard guarantees

svn commit: r300972 - head/usr.sbin/rpcbind

2016-05-29 Thread Mark Johnston
Author: markj Date: Sun May 29 19:46:34 2016 New Revision: 300972 URL: https://svnweb.freebsd.org/changeset/base/300972 Log: Fix rpcbind init after r300941. - getaddrinfo() sets res = NULL on failure and freeaddrinfo() always dereferences its argument, so we should only free the address

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

2016-05-29 Thread Konstantin Belousov
Author: kib Date: Sun May 29 19:35:55 2016 New Revision: 300971 URL: https://svnweb.freebsd.org/changeset/base/300971 Log: Stop inlining the struct ucond definition into struct pthread_cond. This avoids unneccessary casts and make the calls to _thr_ucond_*() functions less questionable.

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

2016-05-29 Thread Pedro Giffuni
On 05/29/16 14:06, Cy Schubert wrote: In message <201605291817.u4tihnn7040...@slippy.cwsent.com>, Cy Schubert writes: 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

Re: svn commit: r300233 - stable/10/share/mk

2016-05-29 Thread Bryan Drewery
On 5/29/2016 8:03 AM, Julian Elischer wrote: > On 20/05/2016 5:41 AM, Bryan Drewery wrote: >> Author: bdrewery >> Date: Thu May 19 21:41:35 2016 >> New Revision: 300233 >> URL: https://svnweb.freebsd.org/changeset/base/300233 > I always assumed there was a good reason for not allowing that. > is th

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

2016-05-29 Thread Cy Schubert
In message <574b3e4b.2020...@freebsd.org>, Pedro Giffuni writes: > 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>, "Pe

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

2016-05-29 Thread Cy Schubert
In message <201605291817.u4tihnn7040...@slippy.cwsent.com>, Cy Schubert writes: > 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

svn commit: r300970 - in head: lib/libthr share/man/man3

2016-05-29 Thread Jilles Tjoelker
Author: jilles Date: Sun May 29 18:25:11 2016 New Revision: 300970 URL: https://svnweb.freebsd.org/changeset/base/300970 Log: Remove non-history libkse references and fix PTHREAD_PROCESSES_PRIVATE typo. Modified: head/lib/libthr/libthr.3 head/share/man/man3/pthread_barrier_destroy.3 head/

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

2016-05-29 Thread Cy Schubert
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: 300961 > >>

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

2016-05-29 Thread Pedro Giffuni
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: 300961 URL: https://svnweb.freebsd.org/changeset/base/300961 Log: one-true-awk: replace 0 with NULL for po

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

2016-05-29 Thread Cy Schubert
In message <201605291618.u4tgitnj024...@repo.freebsd.org>, "Pedro F. Giffuni" w rites: > Author: pfg > Date: Sun May 29 16:18:55 2016 > New Revision: 300961 > URL: https://svnweb.freebsd.org/changeset/base/300961 > > Log: > one-true-awk: replace 0 with NULL for pointers > > Also remove a r

svn commit: r300969 - in head/sys/arm: arm include

2016-05-29 Thread Zbigniew Bodek
Author: zbb Date: Sun May 29 17:35:38 2016 New Revision: 300969 URL: https://svnweb.freebsd.org/changeset/base/300969 Log: Improve ARM debug_monitor for SMP machines - Reset debug architecture and enable monitor for secondary CPUs in init_secondary() rather than when configuring watchpo

svn commit: r300968 - head/sys/arm/arm

2016-05-29 Thread Zbigniew Bodek
Author: zbb Date: Sun May 29 17:33:49 2016 New Revision: 300968 URL: https://svnweb.freebsd.org/changeset/base/300968 Log: Fix debug_monitor code for older ARMs (ARM11) - Enable monitor mode prior to accessing watchpoint registers for v6, v6.1 architectures. - Fix configuration scheme

svn commit: r300967 - head/sys/sys

2016-05-29 Thread Dimitry Andric
Author: dim Date: Sun May 29 17:32:19 2016 New Revision: 300967 URL: https://svnweb.freebsd.org/changeset/base/300967 Log: Stop exposing the C11 _Atomic() macro in , when compiling for C++. It clashes with the one in libc++'s header. (Previously, the _Atomic() macro was defined in , whi

svn commit: r300966 - head/sys/crypto/sha2

2016-05-29 Thread Colin Percival
Author: cperciva Date: Sun May 29 17:26:40 2016 New Revision: 300966 URL: https://svnweb.freebsd.org/changeset/base/300966 Log: Retune SHA2 code for improved performance on CPUs with more ILP and a preference for memory load instructions over large code footprints with embedded immediate var

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

2016-05-29 Thread Alan Somers
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 requires that the argument of dirname()

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

2016-05-29 Thread Andrey A. Chernov
Author: ache Date: Sun May 29 16:39:28 2016 New Revision: 300965 URL: https://svnweb.freebsd.org/changeset/base/300965 Log: Micro optimize: C standard guarantees that right shift for unsigned value fills left bits with zero, and we have exact 32bit unsigned value (uint32_t), so there is no r

svn commit: r300964 - stable/9/lib/libc/regex

2016-05-29 Thread Pedro F. Giffuni
Author: pfg Date: Sun May 29 16:32:56 2016 New Revision: 300964 URL: https://svnweb.freebsd.org/changeset/base/300964 Log: MFC r300378: libc/regex: fix two buffer underruns. Fix some rather complex regex issues found on OpenBSD as part of some ongoing work to fix a sed(1) bug. Curi

svn commit: r300963 - stable/10/lib/libc/regex

2016-05-29 Thread Pedro F. Giffuni
Author: pfg Date: Sun May 29 16:32:21 2016 New Revision: 300963 URL: https://svnweb.freebsd.org/changeset/base/300963 Log: MFC r300378: libc/regex: fix two buffer underruns. Fix some rather complex regex issues found on OpenBSD as part of some ongoing work to fix a sed(1) bug. Curi

svn commit: r300962 - vendor/openresolv/dist

2016-05-29 Thread Pedro F. Giffuni
Author: pfg Date: Sun May 29 16:22:29 2016 New Revision: 300962 URL: https://svnweb.freebsd.org/changeset/base/300962 Log: openresolv: Minor spelling fixes Upstreamed: 12cb1c1fb10df1072116ccf472f40c1bba782fc3 Modified: vendor/openresolv/dist/resolvconf.8.in vendor/openresolv/dist/res

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

2016-05-29 Thread Pedro F. Giffuni
Author: pfg Date: Sun May 29 16:18:55 2016 New Revision: 300961 URL: https://svnweb.freebsd.org/changeset/base/300961 Log: one-true-awk: replace 0 with NULL for pointers Also remove a redundant semicolon. Submitted upstream already. Modified: vendor/one-true-awk/dist/b.c vendor/one-t

Re: svn commit: r300914 - head/share/timedef

2016-05-29 Thread Alexey Dokuchaev
On Sat, May 28, 2016 at 09:26:50PM +, Baptiste Daroussin wrote: > New Revision: 300914 > URL: https://svnweb.freebsd.org/changeset/base/300914 > > Log: > Readd week day to default dates > > Requested by: many OK, so it means I no longer have to use LC_TIME=ja_JP.UTF-8 to get thos

svn commit: r300960 - head/contrib/binutils/include

2016-05-29 Thread Ed Schouten
Author: ed Date: Sun May 29 16:10:01 2016 New Revision: 300960 URL: https://svnweb.freebsd.org/changeset/base/300960 Log: Replace local prototype of basename() with an inclusion of . libiberty currently defines the prototype for basename() itself instead of using . It still uses the BSD-s

Re: svn commit: r300957 - head/lib/libc/sys

2016-05-29 Thread Konstantin Belousov
On Sun, May 29, 2016 at 02:16:24PM +, Jilles Tjoelker wrote: > Author: jilles > Date: Sun May 29 14:16:23 2016 > New Revision: 300957 > URL: https://svnweb.freebsd.org/changeset/base/300957 > > Log: > _umtx_op(2),thr_*(2): Various spelling, grammar and mdoc fixes. I must say thanks both to

svn commit: r300959 - head/sys/vm

2016-05-29 Thread Konstantin Belousov
Author: kib Date: Sun May 29 15:46:19 2016 New Revision: 300959 URL: https://svnweb.freebsd.org/changeset/base/300959 Log: Do not leak the vm object lock when swap reservation failed, in vm_object_coalesce(). Reported and tested by: pho Sponsored by: The FreeBSD Foundation MFC a

Re: svn commit: r300233 - stable/10/share/mk

2016-05-29 Thread Julian Elischer
On 20/05/2016 5:41 AM, Bryan Drewery wrote: Author: bdrewery Date: Thu May 19 21:41:35 2016 New Revision: 300233 URL: https://svnweb.freebsd.org/changeset/base/300233 I always assumed there was a good reason for not allowing that. is there not a "WITH_FOO" or "WITHOUT_FOO" for every MK_FOO? L

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

2016-05-29 Thread Jilles Tjoelker
Author: jilles Date: Sun May 29 15:02:55 2016 New Revision: 300958 URL: https://svnweb.freebsd.org/changeset/base/300958 Log: _umtx_op(2): Note deprecation of UMTX_OP_MUTEX_WAKE. Modified: head/lib/libc/sys/_umtx_op.2 Modified: head/lib/libc/sys/_umtx_op.2 ===

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

2016-05-29 Thread Jilles Tjoelker
Author: jilles Date: Sun May 29 14:16:23 2016 New Revision: 300957 URL: https://svnweb.freebsd.org/changeset/base/300957 Log: _umtx_op(2),thr_*(2): Various spelling, grammar and mdoc fixes. Modified: head/lib/libc/sys/_umtx_op.2 head/lib/libc/sys/thr_exit.2 head/lib/libc/sys/thr_kill.2

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

2016-05-29 Thread Andrey A. Chernov
Author: ache Date: Sun May 29 13:57:06 2016 New Revision: 300956 URL: https://svnweb.freebsd.org/changeset/base/300956 Log: 1) Unifdef USE_WEAK_SEEDING since it is too obsolete to support and makes reading hard. 2) Instead of doing range transformation in each and every function here, d

svn commit: r300955 - head/include

2016-05-29 Thread Ed Schouten
Author: ed Date: Sun May 29 12:21:54 2016 New Revision: 300955 URL: https://svnweb.freebsd.org/changeset/base/300955 Log: Fix style of the libgen.h header. - Remove unneeded declarations of removed/unimplemented features. - Add missing tab after #define. - Add missing ! before trailing

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

2016-05-29 Thread Jilles Tjoelker
Author: jilles Date: Sun May 29 12:16:58 2016 New Revision: 300954 URL: https://svnweb.freebsd.org/changeset/base/300954 Log: MFC r300420: vfork(2): Mention some risks of calling vfork() from application code. Modified: stable/10/lib/libc/sys/vfork.2 Modified: stable/10/lib/libc/sys/vfork.

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

2016-05-29 Thread Andrey A. Chernov
Author: ache Date: Sun May 29 11:54:09 2016 New Revision: 300953 URL: https://svnweb.freebsd.org/changeset/base/300953 Log: 1) Unifdef USE_WEAK_SEEDING it is too obsolete to support and makes reading harder. 2) ACM paper require seed to be in [1, 2^31-2] range, so use the same range shi

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

2016-05-29 Thread Ed Schouten
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 requires that the argument of dirname() is of type "char *". In other words, the input buffer can be modi

Re: svn commit: r300935 - head/usr.sbin/rpc.statd

2016-05-29 Thread Ed Schouten
Hi Bruce, Garrett, 2016-05-29 9:31 GMT+02:00 Bruce Evans : > On Sun, 29 May 2016, Garrett Cooper wrote: > >> Log: >> Mark out_of_mem(..) and usage(..) with __dead2 as they both directly call >> exit >> as a hint to static analysis tools > > This is bogus for usage() since it is static so only ve

Re: svn commit: r300935 - head/usr.sbin/rpc.statd

2016-05-29 Thread Bruce Evans
On Sun, 29 May 2016, Garrett Cooper wrote: Log: Mark out_of_mem(..) and usage(..) with __dead2 as they both directly call exit as a hint to static analysis tools This is bogus for usage() since it is static so only very broken static analyis tools can't see its full details. Modified: head

svn commit: r300951 - head/sys/arm/arm

2016-05-29 Thread Michal Meloun
Author: mmel Date: Sun May 29 07:39:56 2016 New Revision: 300951 URL: https://svnweb.freebsd.org/changeset/base/300951 Log: ARM GIC: Allow to setup interrupt without configuration data. In some cases, like for PCI devices, only interrupt numbers are enumerated from HW. In this case, use INTR

svn commit: r300948 - stable/10/sys/dev/iicbus

2016-05-29 Thread Jason A. Harmening
Author: jah Date: Sun May 29 07:14:51 2016 New Revision: 300948 URL: https://svnweb.freebsd.org/changeset/base/300948 Log: MFC r300258: iic_rdwr_data->nmsgs is uint32_t, so limit the allowable number of messages to prevent memory exhaustion and short allocations on 32-bit systems. Since

svn commit: r300947 - head/usr.sbin/rpcbind

2016-05-29 Thread Garrett Cooper
Author: ngie Date: Sun May 29 07:01:12 2016 New Revision: 300947 URL: https://svnweb.freebsd.org/changeset/base/300947 Log: Staticize variables only used in rpcbind.c This is some low hanging fruit necessary for making this WARNS?= 6 clean MFC after: 3 days Sponsored by: EMC / Isilon

svn commit: r300946 - stable/10/lib/libc/stdlib

2016-05-29 Thread Andrey A. Chernov
Author: ache Date: Sun May 29 06:46:17 2016 New Revision: 300946 URL: https://svnweb.freebsd.org/changeset/base/300946 Log: MFC: r300397 1) POSIX prohibits printing errors to stderr here and require returning NULL: "Upon successful completion, initstate() and setstate() shall return

Re: svn commit: r300926 - head

2016-05-29 Thread Bryan Drewery
On 5/28/16 6:45 PM, Bryan Drewery wrote: > Author: bdrewery > Date: Sun May 29 01:45:15 2016 > New Revision: 300926 > URL: https://svnweb.freebsd.org/changeset/base/300926 > > Log: > Libcompat: Set build tools in environment rather than make overrides. > Sigh. I just realized this breaks the

Re: svn commit: r300932 - head/usr.sbin/rpcbind

2016-05-29 Thread Ngie Cooper (yaneurabeya)
> On May 28, 2016, at 20:44, Bryan Drewery wrote: > > On 5/28/2016 8:42 PM, Garrett Cooper wrote: >> Author: ngie >> Date: Sun May 29 03:42:50 2016 >> New Revision: 300932 >> URL: https://svnweb.freebsd.org/changeset/base/300932 >> >> Log: >> Catch malloc(3) errors and socket(2) errors >> >>

svn commit: r300933 - head/sbin/ifconfig

2016-05-29 Thread Allan Jude
Author: allanjude Date: Sun May 29 03:44:37 2016 New Revision: 300933 URL: https://svnweb.freebsd.org/changeset/base/300933 Log: Add Documentation for missing ifconfig(8) flags autoconf / -autoconf deprecated / -deprecated pltime vltime PR: 209822 Submitted by: Sevan

Re: svn commit: r300932 - head/usr.sbin/rpcbind

2016-05-29 Thread Bryan Drewery
On 5/28/2016 8:42 PM, Garrett Cooper wrote: > Author: ngie > Date: Sun May 29 03:42:50 2016 > New Revision: 300932 > URL: https://svnweb.freebsd.org/changeset/base/300932 > > Log: > Catch malloc(3) errors and socket(2) errors > > - malloc failing will result in a delayed segfault > - sock

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

2016-05-29 Thread Garrett Cooper
Author: ngie Date: Sun May 29 01:52:05 2016 New Revision: 300927 URL: https://svnweb.freebsd.org/changeset/base/300927 Log: Delete duplicate declaration for i40e_blink_phy_link_led(..) It was already declared on line 90 Differential Revision: https://reviews.freebsd.org/D6570 Reporte

svn commit: r300924 - vendor/Juniper/libxo/0.6.2

2016-05-29 Thread Phil Shafer
Author: phil Date: Sun May 29 01:40:48 2016 New Revision: 300924 URL: https://svnweb.freebsd.org/changeset/base/300924 Log: Tag libxo 0.6.2 Added: - copied from r300923, vendor/Juniper/libxo/dist/ Directory Properties: vendor/Juniper/libxo/0.6.2/ (props changed) ___

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

2016-05-29 Thread Bruce Evans
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 floating point and doing the comparisions in float

svn commit: r300950 - in head/sys: conf modules/dummynet

2016-05-29 Thread Don Lewis
Author: truckman Date: Sun May 29 07:29:35 2016 New Revision: 300950 URL: https://svnweb.freebsd.org/changeset/base/300950 Log: Now that PIE is free of runtime floating point, revert r300853 to reconnect PIE to the build. Modified: head/sys/conf/files head/sys/modules/dummynet/Makefile

svn commit: r300943 - in head: . lib/libc++ lib/libcxxrt share/mk

2016-05-29 Thread Bryan Drewery
Author: bdrewery Date: Sun May 29 06:20:15 2016 New Revision: 300943 URL: https://svnweb.freebsd.org/changeset/base/300943 Log: GCC External: Revert r300886, r300904, r300917, r300918 The fix in r300873 is mostly enough. A fix for lib32 will be committed.separately. Modified: head/Mak

svn commit: r300945 - head/usr.sbin/rpcbind

2016-05-29 Thread Garrett Cooper
Author: ngie Date: Sun May 29 06:29:22 2016 New Revision: 300945 URL: https://svnweb.freebsd.org/changeset/base/300945 Log: Remove unnecessary caller_uaddr != NULL test before calling free on it MFC after: 3 days Sponsored by: EMC / Isilon Storage Division Modified: head/usr.sbin/rpcbi

svn commit: r300940 - head/tools/build/mk

2016-05-29 Thread Garrett Cooper
Author: ngie Date: Sun May 29 04:56:48 2016 New Revision: 300940 URL: https://svnweb.freebsd.org/changeset/base/300940 Log: Remove yacc and the yacc tests if MK_TOOLCHAIN == no yacc's install is conditional based on MK_TOOLCHAIN != no MFC after: 1 week Sponsored by: EMC / Isilon Stor

svn commit: r300942 - head/usr.sbin/rpcbind

2016-05-29 Thread Garrett Cooper
Author: ngie Date: Sun May 29 06:01:18 2016 New Revision: 300942 URL: https://svnweb.freebsd.org/changeset/base/300942 Log: Remove a useless if (x != NULL) check before calling free on allocated_uaddr MFC after: 3 days Sponsored by: EMC / Isilon Storage Division Modified: head/usr.sbin

svn commit: r300939 - head/bin/ls/tests

2016-05-29 Thread Garrett Cooper
Author: ngie Date: Sun May 29 04:50:49 2016 New Revision: 300939 URL: https://svnweb.freebsd.org/changeset/base/300939 Log: Use require.progs with bc instead of require.files with /usr/bin/bc This will make things more flexible if the program path changes in the future, and the test in an

svn commit: r300938 - head/tools/build/mk

2016-05-29 Thread Garrett Cooper
Author: ngie Date: Sun May 29 04:47:10 2016 New Revision: 300938 URL: https://svnweb.freebsd.org/changeset/base/300938 Log: Remove the sa(8) tests if MK_ACCT == no when "make delete-old" is run sa(8) is conditionally installed based on MK_ACCT != no today MFC after: 1 week Sponsored

svn commit: r300941 - head/usr.sbin/rpcbind

2016-05-29 Thread Garrett Cooper
Author: ngie Date: Sun May 29 05:55:21 2016 New Revision: 300941 URL: https://svnweb.freebsd.org/changeset/base/300941 Log: Don't leak res in network_init(..) Call freeaddrinfo on it after it's been used MFC after: 1 week Reported by: Coverity CID: 1225050 Sponsored by: EMC / Isi

svn commit: r300935 - head/usr.sbin/rpc.statd

2016-05-29 Thread Garrett Cooper
Author: ngie Date: Sun May 29 04:18:47 2016 New Revision: 300935 URL: https://svnweb.freebsd.org/changeset/base/300935 Log: Mark out_of_mem(..) and usage(..) with __dead2 as they both directly call exit as a hint to static analysis tools MFC after: 1 week Sponsored by: EMC / Isilon Stor

svn commit: r300932 - head/usr.sbin/rpcbind

2016-05-29 Thread Garrett Cooper
Author: ngie Date: Sun May 29 03:42:50 2016 New Revision: 300932 URL: https://svnweb.freebsd.org/changeset/base/300932 Log: Catch malloc(3) errors and socket(2) errors - malloc failing will result in a delayed segfault - socket failing will result in delayed failures with setsockopt

svn commit: r300934 - head/usr.sbin/rpcbind

2016-05-29 Thread Garrett Cooper
Author: ngie Date: Sun May 29 04:02:02 2016 New Revision: 300934 URL: https://svnweb.freebsd.org/changeset/base/300934 Log: Plug leak with ifp by calling freeifaddrs after calling getifaddrs MFC after: 1 week Obtained from: NetBSD v1.18 Sponsored by: EMC / Isilon Storage Division Modif

Re: svn commit: r300922 - head/etc/mtree

2016-05-29 Thread Ngie Cooper (yaneurabeya)
> On May 28, 2016, at 18:45, Bryan Drewery wrote: > > On 5/28/16 6:39 PM, Ngie Cooper (yaneurabeya) wrote: >> >>> On May 28, 2016, at 18:38, Garrett Cooper wrote: >>> >>> Author: ngie >>> Date: Sun May 29 01:38:12 2016 >>> New Revision: 300922 >>> URL: https://svnweb.freebsd.org/changeset/bas

Re: svn commit: r300922 - head/etc/mtree

2016-05-29 Thread Bryan Drewery
On 5/28/16 6:39 PM, Ngie Cooper (yaneurabeya) wrote: > >> On May 28, 2016, at 18:38, Garrett Cooper wrote: >> >> Author: ngie >> Date: Sun May 29 01:38:12 2016 >> New Revision: 300922 >> URL: https://svnweb.freebsd.org/changeset/base/300922 >> >> Log: >> Fix "make installworld" with MK_CDDL == n

svn commit: r300926 - head

2016-05-29 Thread Bryan Drewery
Author: bdrewery Date: Sun May 29 01:45:15 2016 New Revision: 300926 URL: https://svnweb.freebsd.org/changeset/base/300926 Log: Libcompat: Set build tools in environment rather than make overrides. This allows the CXX hack in r300917 for external GCC to work for the lib32 build. It is al

Re: svn commit: r300931 - head/etc/rc.d

2016-05-29 Thread Ngie Cooper (yaneurabeya)
> On May 28, 2016, at 19:59, Garrett Cooper wrote: > > Author: ngie > Date: Sun May 29 02:59:03 2016 > New Revision: 300931 > URL: https://svnweb.freebsd.org/changeset/base/300931 > > Log: > Make netif REQUIRE hostid > > As noted in the PR, if etc/rc.d/zvol is removed, netif will be run befo

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

2016-05-29 Thread Garrett Cooper
Author: ngie Date: Sun May 29 02:59:03 2016 New Revision: 300931 URL: https://svnweb.freebsd.org/changeset/base/300931 Log: Make netif REQUIRE hostid As noted in the PR, if etc/rc.d/zvol is removed, netif will be run before hostid, and the MAC address generated for any bridge devices will

svn commit: r300923 - in vendor/Juniper/libxo/dist: . doc libxo tests/core tests/core/saved

2016-05-29 Thread Phil Shafer
Author: phil Date: Sun May 29 01:40:19 2016 New Revision: 300923 URL: https://svnweb.freebsd.org/changeset/base/300923 Log: Import libxo 0.6.2 Modified: vendor/Juniper/libxo/dist/configure.ac vendor/Juniper/libxo/dist/doc/libxo-manual.html vendor/Juniper/libxo/dist/doc/libxo.txt vendor/

Re: svn commit: r300922 - head/etc/mtree

2016-05-29 Thread Ngie Cooper (yaneurabeya)
> On May 28, 2016, at 18:38, Garrett Cooper wrote: > > Author: ngie > Date: Sun May 29 01:38:12 2016 > New Revision: 300922 > URL: https://svnweb.freebsd.org/changeset/base/300922 > > Log: > Fix "make installworld" with MK_CDDL == no after r300906 by This should read, "!= no" >_>.. signatur

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

2016-05-29 Thread Don Lewis
Author: truckman Date: Sun May 29 07:23:56 2016 New Revision: 300949 URL: https://svnweb.freebsd.org/changeset/base/300949 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