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

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

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

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

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