svn commit: r292981 - head/usr.sbin/bhyve

2015-12-30 Thread Marcelo Araujo
Author: araujo Date: Thu Dec 31 07:08:21 2015 New Revision: 292981 URL: https://svnweb.freebsd.org/changeset/base/292981 Log: Clean up unused-but-set-variable spotted by gcc-4.9. Reviewed by: grehan Approved by: rodrigc (mentor) Differential Revision:

Re: svn commit: r292969 - head/sys/xen/xenbus

2015-12-30 Thread NGie Cooper
> On Dec 30, 2015, at 17:54, Marcelo Araujo wrote: > > Author: araujo > Date: Thu Dec 31 01:54:07 2015 > New Revision: 292969 > URL: https://svnweb.freebsd.org/changeset/base/292969 > > Log: > Clean up unused-but-set-variable spotted by gcc-4.9. > > Reviewed by: royger >

Re: svn commit: r292955 - head/lib/libmd

2015-12-30 Thread Allan Jude
On 2015-12-30 23:10, Bruce Evans wrote: > On Thu, 31 Dec 2015, Bruce Evans wrote: > >> >> wc /proc/0/* works. md5 works like wc using a hack to avoid calling this >> broken function. E.g., >> >>for i in $(ls /proc/0/*); do echo -n "$i: "; md5 <$i; done # gives >> >> /proc/0/cmdline:

Re: svn commit: r292955 - head/lib/libmd

2015-12-30 Thread Bruce Evans
On Wed, 30 Dec 2015, Jonathan T. Looney wrote: Log: Fix a file descriptor leak in mdXhl.c (which is used by numerous hashing algorithms. This code had amazingly low quality and is still especially broken near the main leak fixed. Modified: head/lib/libmd/mdXhl.c

Re: svn commit: r292955 - head/lib/libmd

2015-12-30 Thread Bruce Evans
On Thu, 31 Dec 2015, Bruce Evans wrote: wc /proc/0/* works. md5 works like wc using a hack to avoid calling this broken function. E.g., for i in $(ls /proc/0/*); do echo -n "$i: "; md5 <$i; done # gives /proc/0/cmdline: 3c5896b1ac441f4998f052e2126e8d20 /proc/0/ctl:

Re: svn commit: r289421 - in head/etc: . mtree ntp

2015-12-30 Thread Ian Lepore
On Wed, 2015-12-30 at 04:50 -0800, Colin Percival wrote: > On 10/16/15 07:04, Cy Schubert wrote: > > Add default leap-seconds file. This should help ntp networks get > > the > > leap second date correct > > > > Added: > > head/etc/ntp/ > > head/etc/ntp/Makefile (contents, props

Re: svn commit: r292782 - in head: lib/libcrypt lib/libmd sbin/gbde sbin/geom/class/eli sbin/md5 sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/conf sys/crypto/sha2 sys/dev/random sys/geom/bde sys

2015-12-30 Thread Oliver Pinter
On 12/27/15, Allan Jude wrote: > Author: allanjude > Date: Sun Dec 27 17:33:59 2015 > New Revision: 292782 > URL: https://svnweb.freebsd.org/changeset/base/292782 > > Log: > Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c > > cperciva's libmd implementation is

svn commit: r292950 - in head: contrib/llvm/patches contrib/llvm/tools/clang/tools/driver usr.bin/clang/clang

2015-12-30 Thread Dimitry Andric
Author: dim Date: Wed Dec 30 16:14:30 2015 New Revision: 292950 URL: https://svnweb.freebsd.org/changeset/base/292950 Log: Drop the clang patch which adds recognition of 'CC' suffixes as aliases for --driver-mode=g++, since this was never upstreamed. For backwards compatibility, add a

svn commit: r292955 - head/lib/libmd

2015-12-30 Thread Jonathan T. Looney
Author: jtl Date: Wed Dec 30 18:04:50 2015 New Revision: 292955 URL: https://svnweb.freebsd.org/changeset/base/292955 Log: Fix a file descriptor leak in mdXhl.c (which is used by numerous hashing algorithms. CID: 1305669,1305611,1305663,1305603,1305584,1305639,1346865,1305601

Re: svn commit: r292914 - in head: tests/sys/kern tools/regression/sockets/unix_passfd

2015-12-30 Thread NGie Cooper
> On Dec 30, 2015, at 08:31, Bjoern A. Zeeb wrote: > >> >> On 30 Dec 2015, at 11:15 , Garrett Cooper wrote: >> >> Author: ngie >> Date: Wed Dec 30 11:15:07 2015 >> New Revision: 292914 >> URL: https://svnweb.freebsd.org/changeset/base/292914 >> >> Log: >>

svn commit: r292956 - head/sys/netinet6

2015-12-30 Thread Jonathan T. Looney
Author: jtl Date: Wed Dec 30 18:08:05 2015 New Revision: 292956 URL: https://svnweb.freebsd.org/changeset/base/292956 Log: Add the appropriate case statement for IPV6_BINDMULTI so the option can be retrieved with getsockopt(). CID: 1229928 Differential Revision:

svn commit: r292960 - head/sys/sparc64/include

2015-12-30 Thread Marius Strobl
Author: marius Date: Wed Dec 30 18:57:29 2015 New Revision: 292960 URL: https://svnweb.freebsd.org/changeset/base/292960 Log: Change the - hopefully - last piece of ktr(9) to use PCPU_GET(cpuid) instead of the MD module ID for KTR_CPU. Modified: head/sys/sparc64/include/ktr.h Modified:

Re: svn commit: r289421 - in head/etc: . mtree ntp

2015-12-30 Thread Cy Schubert
In message <1451491490.1369.41.ca...@freebsd.org>, Ian Lepore writes: > On Wed, 2015-12-30 at 04:50 -0800, Colin Percival wrote: > > On 10/16/15 07:04, Cy Schubert wrote: > > > Add default leap-seconds file. This should help ntp networks get > > > the > > > leap second date correct > > > >

svn commit: r292961 - head/sys/fs/nullfs

2015-12-30 Thread Konstantin Belousov
Author: kib Date: Wed Dec 30 19:49:22 2015 New Revision: 292961 URL: https://svnweb.freebsd.org/changeset/base/292961 Log: Force nullfs vnode reclaim after unlinking, to potentially unlink lower vnode. Otherwise, reference to the lower vnode from the upper one prevents final unlink.

svn commit: r292964 - head/contrib/binutils/bfd

2015-12-30 Thread Ian Lepore
Author: ian Date: Wed Dec 30 23:04:08 2015 New Revision: 292964 URL: https://svnweb.freebsd.org/changeset/base/292964 Log: Add the MOVT/MOVW types to the list of relocs which do not generate .plt entries. This fixes the segfaults in arm userland code compiled with -march= or -mcpu= values

svn commit: r292966 - head/sys/sys

2015-12-30 Thread Allan Jude
Author: allanjude Date: Wed Dec 30 23:27:24 2015 New Revision: 292966 URL: https://svnweb.freebsd.org/changeset/base/292966 Log: Bump __FreeBSD_version because r292782 removes sys/crypto/sha2.h Submitted by: Oliver Pinter Modified: head/sys/sys/param.h

Re: svn commit: r292966 - head/sys/sys

2015-12-30 Thread Oliver Pinter
On 12/31/15, Allan Jude wrote: > Author: allanjude > Date: Wed Dec 30 23:27:24 2015 > New Revision: 292966 > URL: https://svnweb.freebsd.org/changeset/base/292966 > > Log: > Bump __FreeBSD_version because r292782 removes sys/crypto/sha2.h > > Submitted by: Oliver

Re: svn commit: r292914 - in head: tests/sys/kern tools/regression/sockets/unix_passfd

2015-12-30 Thread Bjoern A. Zeeb
> On 30 Dec 2015, at 11:15 , Garrett Cooper wrote: > > Author: ngie > Date: Wed Dec 30 11:15:07 2015 > New Revision: 292914 > URL: https://svnweb.freebsd.org/changeset/base/292914 > > Log: > Integrate tools/regression/sockets/unix_passfd into the FreeBSD test > suite as

svn commit: r292953 - head/sys/netinet6

2015-12-30 Thread Bjoern A. Zeeb
Author: bz Date: Wed Dec 30 17:10:03 2015 New Revision: 292953 URL: https://svnweb.freebsd.org/changeset/base/292953 Log: This code is not in modules that need KPI stability so no need to use the wrapper functions as used in r252511. We can directly use the locking macros. Reviewed

svn commit: r292954 - in head/sys/arm64: arm64 include

2015-12-30 Thread Andrew Turner
Author: andrew Date: Wed Dec 30 17:36:34 2015 New Revision: 292954 URL: https://svnweb.freebsd.org/changeset/base/292954 Log: Decode and print the ID_AA64* registers on boot. These registers hold information on what the core supports. In most cases these will be identical across most CPUs

svn commit: r292963 - in head/sys: crypto opencrypto

2015-12-30 Thread Allan Jude
Author: allanjude Date: Wed Dec 30 22:43:07 2015 New Revision: 292963 URL: https://svnweb.freebsd.org/changeset/base/292963 Log: Break up opencrypto/xform.c so it can be reused piecemeal Keep xform.c as a meta-file including the broken out bits existing code that includes xform.c

Re: svn commit: r292440 - in head/sys: kern sys

2015-12-30 Thread Oliver Pinter
On 12/18/15, Mateusz Guzik wrote: > Author: mjg > Date: Fri Dec 18 16:33:15 2015 > New Revision: 292440 > URL: https://svnweb.freebsd.org/changeset/base/292440 > > Log: > proc: fix a race which could result in dereference of bad p_pgrp pointer > on fork > > During fork

svn commit: r292970 - head/usr.sbin/bhyve

2015-12-30 Thread Marcelo Araujo
Author: araujo Date: Thu Dec 31 01:55:51 2015 New Revision: 292970 URL: https://svnweb.freebsd.org/changeset/base/292970 Log: Clean up unused-but-set-variable spotted by gcc-4.9. Reviewed by: grehan Approved by: bapt (mentor) Differential Revision:

svn commit: r292969 - head/sys/xen/xenbus

2015-12-30 Thread Marcelo Araujo
Author: araujo Date: Thu Dec 31 01:54:07 2015 New Revision: 292969 URL: https://svnweb.freebsd.org/changeset/base/292969 Log: Clean up unused-but-set-variable spotted by gcc-4.9. Reviewed by: royger Approved by: rodrigc (mentor) Differential Revision:

svn commit: r292971 - head/usr.sbin/camdd

2015-12-30 Thread Marcelo Araujo
Author: araujo Date: Thu Dec 31 01:57:55 2015 New Revision: 292971 URL: https://svnweb.freebsd.org/changeset/base/292971 Log: Clean up unused-but-set-variable spotted by gcc-4.9. Approved by: bapt (mentor) Differential Revision:https://reviews.freebsd.org/D4736 Modified:

svn commit: r292972 - head/sys/net

2015-12-30 Thread Marcelo Araujo
Author: araujo Date: Thu Dec 31 02:01:20 2015 New Revision: 292972 URL: https://svnweb.freebsd.org/changeset/base/292972 Log: Wrap using #ifdef 'notyet' those variables and statements not yet implemented to lower the compiler warnings. It fix the case of unused-but-set-variable spotted

Re: svn commit: r292969 - head/sys/xen/xenbus

2015-12-30 Thread Marcelo Araujo
2015-12-31 11:20 GMT+08:00 NGie Cooper : > > > On Dec 30, 2015, at 17:54, Marcelo Araujo wrote: > > > > Author: araujo > > Date: Thu Dec 31 01:54:07 2015 > > New Revision: 292969 > > URL: https://svnweb.freebsd.org/changeset/base/292969 > > > > Log: > >

svn commit: r292978 - in head/sys: dev/cxgb/ulp/tom dev/cxgbe/tom net netinet netinet6 ofed/drivers/infiniband/ulp/ipoib

2015-12-30 Thread Alexander V. Chernikov
Author: melifaro Date: Thu Dec 31 05:03:27 2015 New Revision: 292978 URL: https://svnweb.freebsd.org/changeset/base/292978 Log: Implement interface link header precomputation API. Add if_requestencap() interface method which is capable of calculating various link headers for given

svn commit: r292980 - head/sys/net

2015-12-30 Thread Marcelo Araujo
Author: araujo Date: Thu Dec 31 07:03:41 2015 New Revision: 292980 URL: https://svnweb.freebsd.org/changeset/base/292980 Log: Clean up unused-but-set-variable spotted by gcc4.9. Reviewed by: ngie Approved by: rodrigc (mentor) Differential Revision:

svn commit: r292911 - head

2015-12-30 Thread Dimitry Andric
Author: dim Date: Wed Dec 30 09:15:02 2015 New Revision: 292911 URL: https://svnweb.freebsd.org/changeset/base/292911 Log: Add some more obsolete files, left over from the clang 3.7.0 -> 3.7.1 upgrade. Noticed by: Nikolai Lifanov , jtl Modified:

svn commit: r292914 - in head: tests/sys/kern tools/regression/sockets/unix_passfd

2015-12-30 Thread Garrett Cooper
Author: ngie Date: Wed Dec 30 11:15:07 2015 New Revision: 292914 URL: https://svnweb.freebsd.org/changeset/base/292914 Log: Integrate tools/regression/sockets/unix_passfd into the FreeBSD test suite as tests/sys/kern/unix_passfd_test - Convert testcases to ATF - Fix an alignment issues

svn commit: r292943 - in head/sys: kern sparc64/include sparc64/sparc64

2015-12-30 Thread Marius Strobl
Author: marius Date: Wed Dec 30 13:49:20 2015 New Revision: 292943 URL: https://svnweb.freebsd.org/changeset/base/292943 Log: - (Ab)use udivx for dividing the u_int pc_cpuid when implementing CPU_ISSET(), CPU_SET etc. in sparc64 asm. This approach has the benefit of not clobbering %y,

Re: svn commit: r289421 - in head/etc: . mtree ntp

2015-12-30 Thread Colin Percival
On 10/16/15 07:04, Cy Schubert wrote: > Add default leap-seconds file. This should help ntp networks get the > leap second date correct > > Added: > head/etc/ntp/ > head/etc/ntp/Makefile (contents, props changed) > head/etc/ntp/leap-seconds (contents, props changed) So... is

svn commit: r292946 - head/sys/dev/mlx5/mlx5_en

2015-12-30 Thread Hans Petter Selasky
Author: hselasky Date: Wed Dec 30 14:54:08 2015 New Revision: 292946 URL: https://svnweb.freebsd.org/changeset/base/292946 Log: 10G ER/LR should present itself as LR. MFC after:1 week Submitted by: Shahar Klein Sponsored by: Mellanox Technologies Modified:

svn commit: r292947 - head/sbin/reboot

2015-12-30 Thread Steven Hartland
Author: smh Date: Wed Dec 30 14:57:42 2015 New Revision: 292947 URL: https://svnweb.freebsd.org/changeset/base/292947 Log: Fix use of uninitialised Nflag Initialise Nflag to 0 preventing use of uninitialised value. Reported by: uqs MFC after:1 week X-MFC-With: r292266

svn commit: r292948 - head/sys/dev/mlx5/mlx5_en

2015-12-30 Thread Hans Petter Selasky
Author: hselasky Date: Wed Dec 30 14:58:55 2015 New Revision: 292948 URL: https://svnweb.freebsd.org/changeset/base/292948 Log: Allow I2C to read address 0x51 as well as address 0x50. MFC after:1 week Submitted by: Shahar Klein Sponsored by: Mellanox

svn commit: r292949 - head/sys/dev/mlx5/mlx5_en

2015-12-30 Thread Hans Petter Selasky
Author: hselasky Date: Wed Dec 30 15:01:47 2015 New Revision: 292949 URL: https://svnweb.freebsd.org/changeset/base/292949 Log: Add support for modifying coalescing parameters runtime. MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/dev/mlx5/mlx5_en/en.h