svn commit: r301825 - stable/9/release/scripts

2016-06-10 Thread Xin LI
Author: delphij Date: Sat Jun 11 05:58:51 2016 New Revision: 301825 URL: https://svnweb.freebsd.org/changeset/base/301825 Log: MFC r301584: Apply mergemaster r255428: Pass -n (do not emit comments) when saving mtree information for future mergemaster(8) runs. Modified:

svn commit: r301824 - stable/10/release/scripts

2016-06-10 Thread Xin LI
Author: delphij Date: Sat Jun 11 05:53:50 2016 New Revision: 301824 URL: https://svnweb.freebsd.org/changeset/base/301824 Log: MFC r301584: Apply mergemaster r255428: Pass -n (do not emit comments) when saving mtree information for future mergemaster(8) runs. Modified:

svn commit: r301823 - stable/9/gnu/lib/libsupc++

2016-06-10 Thread Pedro F. Giffuni
Author: pfg Date: Sat Jun 11 03:59:44 2016 New Revision: 301823 URL: https://svnweb.freebsd.org/changeset/base/301823 Log: MFC r301570: libsupc++: Fix typo in symbol map. This went mostly unnoticed with the deprecation of the GNU toolchain in tier 1 platforms. Fix it now for the rest.

svn commit: r301822 - stable/10/gnu/lib/libsupc++

2016-06-10 Thread Pedro F. Giffuni
Author: pfg Date: Sat Jun 11 03:58:59 2016 New Revision: 301822 URL: https://svnweb.freebsd.org/changeset/base/301822 Log: MFC r301570: libsupc++: Fix typo in symbol map. This went mostly unnoticed with the deprecation of the GNU toolchain in tier 1 platforms. Fix it now for the rest.

svn commit: r301821 - stable/9/lib/libc/rpc

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Sat Jun 11 01:44:27 2016 New Revision: 301821 URL: https://svnweb.freebsd.org/changeset/base/301821 Log: MFstable/10 r301820: MFC r301704: Test for strchr(3) returning NULL, not 0 Modified: stable/9/lib/libc/rpc/getnetpath.c Directory Properties: stable/9/

svn commit: r301820 - stable/10/lib/libc/rpc

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Sat Jun 11 01:37:59 2016 New Revision: 301820 URL: https://svnweb.freebsd.org/changeset/base/301820 Log: MFC r301704: Test for strchr(3) returning NULL, not 0 Modified: stable/10/lib/libc/rpc/getnetpath.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r301819 - stable/9/etc/defaults

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Sat Jun 11 01:35:34 2016 New Revision: 301819 URL: https://svnweb.freebsd.org/changeset/base/301819 Log: MFstable/10 r301818: MFC r301683: Fix typo with description for $ipv6_cpe_wanif (upstram -> upstream) PR: 210146 Modified: stable/9/etc/defaults/rc.conf

svn commit: r301818 - stable/10/etc/defaults

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Sat Jun 11 01:34:41 2016 New Revision: 301818 URL: https://svnweb.freebsd.org/changeset/base/301818 Log: MFC r301683: Fix typo with description for $ipv6_cpe_wanif (upstram -> upstream) PR: 210146 Modified: stable/10/etc/defaults/rc.conf Directory Properties:

svn commit: r301817 - stable/10/contrib/gcc

2016-06-10 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jun 10 22:07:17 2016 New Revision: 301817 URL: https://svnweb.freebsd.org/changeset/base/301817 Log: MFC r300301, r300319: GCC: Add support for named initializers for anonymous structs/unions. This is a C11 feature that is starting to get used in places such as

svn commit: r301816 - stable/10/contrib/binutils/gas/config

2016-06-10 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jun 10 21:47:37 2016 New Revision: 301816 URL: https://svnweb.freebsd.org/changeset/base/301816 Log: MFC r300333: gas: Implement the .inst assembler directive for arm. We normally use the binutils from ports but on other systems this is required for building gcc

Re: svn commit: r301572 - in head/lib/libcasper: libcasper services/cap_dns services/cap_grp services/cap_pwd services/cap_random services/cap_sysctl

2016-06-10 Thread Jilles Tjoelker
On Fri, Jun 10, 2016 at 09:17:45PM +0200, Mariusz Zaborski wrote: > On Fri, Jun 10, 2016 at 04:47:28PM +0200, Jilles Tjoelker wrote: > > On Wed, Jun 08, 2016 at 02:03:53AM +, Mariusz Zaborski wrote: > > > + if (setsid() == -1) > > > + errx(1, "Unable to detach from session"); > >

svn commit: r301815 - head/sys/conf

2016-06-10 Thread Glen Barber
Author: gjb Date: Fri Jun 10 19:29:55 2016 New Revision: 301815 URL: https://svnweb.freebsd.org/changeset/base/301815 Log: Update 11.0 to ALPHA3 in preparation for new snapshot builds. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified: head/sys/conf/newvers.sh

Re: svn commit: r301572 - in head/lib/libcasper: libcasper services/cap_dns services/cap_grp services/cap_pwd services/cap_random services/cap_sysctl

2016-06-10 Thread Mariusz Zaborski
On Fri, Jun 10, 2016 at 04:47:28PM +0200, Jilles Tjoelker wrote: > On Wed, Jun 08, 2016 at 02:03:53AM +, Mariusz Zaborski wrote: > > Author: oshogbo > > Date: Wed Jun 8 02:03:53 2016 > > New Revision: 301572 > > URL: https://svnweb.freebsd.org/changeset/base/301572 > > > Log: > > Add flags

svn commit: r301814 - in head/sys: conf modules

2016-06-10 Thread Jonathan T. Looney
Author: jtl Date: Fri Jun 10 19:06:11 2016 New Revision: 301814 URL: https://svnweb.freebsd.org/changeset/base/301814 Log: Change the default build behavior so we don't compile extra TCP modules by default. At least initially, the feature to support multiple TCP stacks is aimed at

svn commit: r301813 - stable/10

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 18:47:11 2016 New Revision: 301813 URL: https://svnweb.freebsd.org/changeset/base/301813 Log: Record mergeinfo for all complete commits done in the ioat(4) merge in r300661 This will make it easier for someone to determine what's missing when running `svn

svn commit: r301812 - stable/10/sys/dev/ioat

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 18:40:03 2016 New Revision: 301812 URL: https://svnweb.freebsd.org/changeset/base/301812 Log: MFC r301296,r301297,r301300: r301296 (by cem): ioat(4): Make channel indices unsigned r301297 (by cem): ioat(4): Export the number of available

svn commit: r301811 - stable/10/sys/dev/ntb/ntb_hw

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 18:34:31 2016 New Revision: 301811 URL: https://svnweb.freebsd.org/changeset/base/301811 Log: MFC r295618,r300100,r300531: r295618 (by cem): NTB: workaround for high traffic hardware hang This patch comes from Dave Jiang's Linux tree, davejiang/ntb.

svn commit: r301810 - stable/9/usr.sbin/rtadvd

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 18:22:21 2016 New Revision: 301810 URL: https://svnweb.freebsd.org/changeset/base/301810 Log: MFstable/10 r301809: MFC r299513,r299515: r299513 (by cem): rtadvd(8): Don't use-after-free This whole block of code as committed fully formed in

svn commit: r301809 - stable/10/usr.sbin/rtadvd

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 18:21:05 2016 New Revision: 301809 URL: https://svnweb.freebsd.org/changeset/base/301809 Log: MFC r299513,r299515: r299513 (by cem): rtadvd(8): Don't use-after-free This whole block of code as committed fully formed in r224144. I'm not really sure

svn commit: r301808 - stable/10/lib/libc/tests/stdio

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 18:13:41 2016 New Revision: 301808 URL: https://svnweb.freebsd.org/changeset/base/301808 Log: MFC r299511: r299511 (by cem): print_positional_test: Fix misuse of wchar APIs These APIs take unit length, not byte length parameters. CIDs:

svn commit: r301807 - stable/9/lib/libmp

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 18:12:11 2016 New Revision: 301807 URL: https://svnweb.freebsd.org/changeset/base/301807 Log: MFstable/10 r301806: MFC r299510: r299510 (by cem): libmp: Fix trivial buffer overrun fgetln yields a non-NUL-terminated buffer and its length. This

svn commit: r301806 - stable/10/lib/libmp

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 18:10:32 2016 New Revision: 301806 URL: https://svnweb.freebsd.org/changeset/base/301806 Log: MFC r299510: r299510 (by cem): libmp: Fix trivial buffer overrun fgetln yields a non-NUL-terminated buffer and its length. This routine attempted to

svn commit: r301805 - stable/10/tests/sys/kern

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 18:07:35 2016 New Revision: 301805 URL: https://svnweb.freebsd.org/changeset/base/301805 Log: MFC r299508: r299508 (by cem): kern_descrip_test: Fix trivial buffer overrun with readlink(2) CID: 1229965, 1229972 Modified:

svn commit: r301804 - stable/9/usr.sbin/rtadvd

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 18:04:54 2016 New Revision: 301804 URL: https://svnweb.freebsd.org/changeset/base/301804 Log: MFstable/10 r301803: MFC r299507: r299507 (by cem): rtadvd(8): Fix a typo in full msg receive logic Check against the size of the struct, not the pointer.

svn commit: r301803 - stable/10/usr.sbin/rtadvd

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 18:02:51 2016 New Revision: 301803 URL: https://svnweb.freebsd.org/changeset/base/301803 Log: MFC r299507: r299507 (by cem): rtadvd(8): Fix a typo in full msg receive logic Check against the size of the struct, not the pointer. Previously, a message

svn commit: r301802 - stable/9/sys/rpc

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 17:59:30 2016 New Revision: 301802 URL: https://svnweb.freebsd.org/changeset/base/301802 Log: MFstable/10 r301801: MFC r300836: Quell false positives in svc_vc_create and svc_vc_create_conn with cd and xprt Both cd and xprt will be non-NULL after

svn commit: r301801 - stable/10/sys/rpc

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 17:57:50 2016 New Revision: 301801 URL: https://svnweb.freebsd.org/changeset/base/301801 Log: MFC r300836: Quell false positives in svc_vc_create and svc_vc_create_conn with cd and xprt Both cd and xprt will be non-NULL after their respective malloc(9)

svn commit: r301800 - head/sys/rpc

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 17:53:28 2016 New Revision: 301800 URL: https://svnweb.freebsd.org/changeset/base/301800 Log: Deobfuscate cleanup path in clnt_bck_create(..) Similar to r300836, cl and ct will always be non-NULL as they're allocated using the mem_alloc routines, which

svn commit: r301799 - stable/10/sys/dev/sound/pci/hda

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 15:47:20 2016 New Revision: 301799 URL: https://svnweb.freebsd.org/changeset/base/301799 Log: MFC r299503,r299504: r299503 (by cem): snd_hda(4): Don't pass bogus sizeof()s to unused sysctl arg2 parameter None of the sysctl handlers in hdaa use the

svn commit: r301798 - stable/10/lib/libc/tests/nss

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 15:42:17 2016 New Revision: 301798 URL: https://svnweb.freebsd.org/changeset/base/301798 Log: MFC r299502: r299502 (by cem): nss/gethostby_test: fix broken vector iteration of gethostbyaddr h_aliases h_aliases is a NULL-terminated rather than

svn commit: r301797 - head/release/doc/en_US.ISO8859-1/relnotes

2016-06-10 Thread Kurt Lidl
Author: lidl Date: Fri Jun 10 15:05:35 2016 New Revision: 301797 URL: https://svnweb.freebsd.org/changeset/base/301797 Log: Relnotes entries for blacklist project Approved by: re (gjb) Sponsored by: The FreeBSD Foundation Modified:

svn commit: r301796 - stable/9/etc/defaults

2016-06-10 Thread Cy Schubert
Author: cy Date: Fri Jun 10 15:03:45 2016 New Revision: 301796 URL: https://svnweb.freebsd.org/changeset/base/301796 Log: MFC r301295: Enable daily_ntpd_leapfile_enable by default. Otherwise an expired leapfile will be ignored and ntpd will behave as if it has no leapfile. While

svn commit: r301795 - stable/10/etc/defaults

2016-06-10 Thread Cy Schubert
Author: cy Date: Fri Jun 10 15:03:18 2016 New Revision: 301795 URL: https://svnweb.freebsd.org/changeset/base/301795 Log: MFC r301295: Enable daily_ntpd_leapfile_enable by default. Otherwise an expired leapfile will be ignored and ntpd will behave as if it has no leapfile. While

Re: svn commit: r301777 - head/lib/libc/stdio

2016-06-10 Thread Andrey Chernov
On 10.06.2016 17:14, Pedro Giffuni wrote: >> Because now strcoll_l() is used as before and it is broken in wide char >> converting process. It is broken for _all_, not just for vfscanf() >> ranges. It should never fail with any args. >> Real fix should be in strcoll_l(). >> > > Yes, it is broken

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

2016-06-10 Thread Allan Jude
Author: allanjude Date: Fri Jun 10 14:59:11 2016 New Revision: 301794 URL: https://svnweb.freebsd.org/changeset/base/301794 Log: Fix a miss merge in the services_mkdb(8) man page Restore the cross reference to getservent(3) to the correct line Approved by: re (gjb) Sponsored by:

svn commit: r301793 - stable/10/contrib/atf/atf-c/detail

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 14:51:11 2016 New Revision: 301793 URL: https://svnweb.freebsd.org/changeset/base/301793 Log: MFC r299496: r299496 (by cem): atf map: Fix double-free in low memory error path If atf_list_append(, X, ) fails, X is freed. Don't free it again. CID:

svn commit: r301792 - stable/10/crypto/heimdal/lib/krb5

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 14:48:10 2016 New Revision: 301792 URL: https://svnweb.freebsd.org/changeset/base/301792 Log: MFC r299495: r299495 (by cem): libkrb5: Fix potential double-free If krb5_make_principal fails, tmp_creds.server may remain a pointer to freed memory and

Re: svn commit: r301572 - in head/lib/libcasper: libcasper services/cap_dns services/cap_grp services/cap_pwd services/cap_random services/cap_sysctl

2016-06-10 Thread Jilles Tjoelker
On Wed, Jun 08, 2016 at 02:03:53AM +, Mariusz Zaborski wrote: > Author: oshogbo > Date: Wed Jun 8 02:03:53 2016 > New Revision: 301572 > URL: https://svnweb.freebsd.org/changeset/base/301572 > Log: > Add flags to the Casper services. > CASPER_SERVICE_STDIO - Casper will not close the

svn commit: r301791 - stable/10/sys/kern

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 14:45:20 2016 New Revision: 301791 URL: https://svnweb.freebsd.org/changeset/base/301791 Log: MFC r299494: r299494 (by cem): subr_vmem: Fix double-free in error case of vmem_create If vmem_init() fails, 'vm' is already destroyed and freed. Don't free

svn commit: r301790 - stable/9/usr.sbin/route6d

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 14:42:36 2016 New Revision: 301790 URL: https://svnweb.freebsd.org/changeset/base/301790 Log: MFstable/10 r301789: MFC r299491: r299491 (by cem): route6d(8): Fix potential double-free In the case that the subsequent sysctl(3) call failed, 'buf'

svn commit: r301789 - stable/10/usr.sbin/route6d

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 14:40:41 2016 New Revision: 301789 URL: https://svnweb.freebsd.org/changeset/base/301789 Log: MFC r299491: r299491 (by cem): route6d(8): Fix potential double-free In the case that the subsequent sysctl(3) call failed, 'buf' could be free(3)ed

svn commit: r301788 - stable/10/sbin/camcontrol

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 14:33:21 2016 New Revision: 301788 URL: https://svnweb.freebsd.org/changeset/base/301788 Log: MFC r299490: r299490 (by cem): camcontrol(8): Fix another trivial double-free CID: 1331222 Modified: stable/10/sbin/camcontrol/fwdownload.c

svn commit: r301787 - head/usr.sbin/bsdinstall/scripts

2016-06-10 Thread Allan Jude
Author: allanjude Date: Fri Jun 10 14:31:59 2016 New Revision: 301787 URL: https://svnweb.freebsd.org/changeset/base/301787 Log: Fix bsdinstall for root-on-zfs with MBR partitioning Fix an error where vfs.root.mountfrom was not always set as required when creating a bootpool. After the

svn commit: r301786 - stable/10/sbin/camcontrol

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 14:31:03 2016 New Revision: 301786 URL: https://svnweb.freebsd.org/changeset/base/301786 Log: MFC r299489: r299489 (by cem): camcontrol(8): Fix trival double-free CID: 1331223 Modified: stable/10/sbin/camcontrol/camcontrol.c Directory

svn commit: r301785 - stable/9/usr.sbin/makefs/ffs

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 14:27:56 2016 New Revision: 301785 URL: https://svnweb.freebsd.org/changeset/base/301785 Log: MFstable/10 r301784: MFC r299461: r299461 (by cem): ffs_bswap: Copy one UFS dinode member at a time No functional change. CIDs: 974635,

Re: svn commit: r301777 - head/lib/libc/stdio

2016-06-10 Thread Pedro Giffuni
On 06/10/16 07:19, Andrey Chernov wrote: On 10.06.2016 15:03, Pedro Giffuni wrote: (Sorry I have been offline/sleep for a while) Hello; I cannot back this out because of this report: http://docs.freebsd.org/cgi/mid.cgi?20160608132224.GA15454 This change only re-states what has been

svn commit: r301784 - stable/10/usr.sbin/makefs/ffs

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 14:13:24 2016 New Revision: 301784 URL: https://svnweb.freebsd.org/changeset/base/301784 Log: MFC r299461: r299461 (by cem): ffs_bswap: Copy one UFS dinode member at a time No functional change. CIDs: 974635, 974636, 977396, 977397, 977398,

svn commit: r301783 - stable/9/sbin/fsck_ffs

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 14:10:51 2016 New Revision: 301783 URL: https://svnweb.freebsd.org/changeset/base/301783 Log: MFstable/10 r301782: MFC r299460: r299460 (by cem): fsck_ffs: Don't overrun mount device buffer Maybe this case is impossible. Either way, when

svn commit: r301782 - stable/10/sbin/fsck_ffs

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 14:08:41 2016 New Revision: 301782 URL: https://svnweb.freebsd.org/changeset/base/301782 Log: MFC r299460: r299460 (by cem): fsck_ffs: Don't overrun mount device buffer Maybe this case is impossible. Either way, when attempting to "/dev/"-prefix a

svn commit: r301781 - stable/9/sys/netipsec

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 14:06:16 2016 New Revision: 301781 URL: https://svnweb.freebsd.org/changeset/base/301781 Log: MFstable/10 r301780: MFC r299387: r299387 (by cem): netipsec: Fix minor style nit Coverity points out that 'continue' is equivalent to 'break' in a do {}

svn commit: r301780 - stable/10/sys/netipsec

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 13:57:56 2016 New Revision: 301780 URL: https://svnweb.freebsd.org/changeset/base/301780 Log: MFC r299387: r299387 (by cem): netipsec: Fix minor style nit Coverity points out that 'continue' is equivalent to 'break' in a do {} while(false) loop.

Re: svn commit: r301777 - head/lib/libc/stdio

2016-06-10 Thread Andrey Chernov
On 10.06.2016 15:03, Pedro Giffuni wrote: > (Sorry I have been offline/sleep for a while) > > Hello; > > I cannot back this out because of this report: > > http://docs.freebsd.org/cgi/mid.cgi?20160608132224.GA15454 > > This change only re-states what has been working before the ABI breakage >

Re: svn commit: r301777 - head/lib/libc/stdio

2016-06-10 Thread Pedro Giffuni
(Sorry I have been offline/sleep for a while) Hello; I cannot back this out because of this report: http://docs.freebsd.org/cgi/mid.cgi?20160608132224.GA15454 This change only re-states what has been working before the ABI breakage fix in r301461. The fix to regex is completely

svn commit: r301779 - head/share/misc

2016-06-10 Thread Torsten Zuehlsdorff
Author: tz (ports committer) Date: Fri Jun 10 08:33:15 2016 New Revision: 301779 URL: https://svnweb.freebsd.org/changeset/base/301779 Log: - Add myself (tz / Torsten Zuehlsdorff) to ports commiters - Add mentors junovitch, pi, swills Approved by: re (gjb), junovitch (mentor) Modified:

Re: svn commit: r301777 - head/lib/libc/stdio

2016-06-10 Thread Andrey Chernov
Please back it out. __sccl() use plain chars, you can't just call wide chars __wcollate_range_cmp() from it. Never intermix plain chars and wide chars without conversion. The problem is somewhere else. The code used for [a-z] ranges in the format. Moreover, even if conversion added this code can't

svn commit: r301778 - in head: etc/mtree include sys/cam sys/cam/nvme sys/conf sys/dev/nvme

2016-06-10 Thread Warner Losh
Author: imp Date: Fri Jun 10 06:04:53 2016 New Revision: 301778 URL: https://svnweb.freebsd.org/changeset/base/301778 Log: Commit the bits of nda that were missed. This should fix the build. Approved by: re@ Modified: head/etc/mtree/BSD.include.dist head/include/Makefile