svn commit: r278950 - head/sys/dev/random

2015-02-18 Thread Xin LI
Author: delphij Date: Wed Feb 18 08:21:51 2015 New Revision: 278950 URL: https://svnweb.freebsd.org/changeset/base/278950 Log: - fortuna.c: catch up with r278927 and fix a buffer overflow by using the temporary buffer when remaining space is not enough to hold a

Re: svn commit: r278927 - head/sys/dev/random

2015-02-18 Thread John-Mark Gurney
Shawn Webb wrote this message on Tue, Feb 17, 2015 at 20:10 -0500: On Tuesday, February 17, 2015 08:06:32 PM Shawn Webb wrote: On Tuesday, February 17, 2015 11:14:26 PM John-Mark Gurney wrote: Author: jmg Date: Tue Feb 17 23:14:26 2015 New Revision: 278927 URL:

svn commit: r278951 - head

2015-02-18 Thread Xin LI
Author: delphij Date: Wed Feb 18 08:24:00 2015 New Revision: 278951 URL: https://svnweb.freebsd.org/changeset/base/278951 Log: Bump revision again after my Fortuna change. Modified: head/UPDATING Modified: head/UPDATING

svn commit: r278954 - head/sys/x86/acpica

2015-02-18 Thread Konstantin Belousov
Author: kib Date: Wed Feb 18 10:51:48 2015 New Revision: 278954 URL: https://svnweb.freebsd.org/changeset/base/278954 Log: Fix UP build. Sponsored by: The FreeBSD Foundation MFC after:2 months Modified: head/sys/x86/acpica/acpi_wakeup.c Modified: head/sys/x86/acpica/acpi_wakeup.c

svn commit: r278962 - head/share/mk

2015-02-18 Thread Marcel Moolenaar
Author: marcel Date: Wed Feb 18 17:28:55 2015 New Revision: 278962 URL: https://svnweb.freebsd.org/changeset/base/278962 Log: Add LIBXO. Modified: head/share/mk/bsd.libnames.mk Modified: head/share/mk/bsd.libnames.mk

svn commit: r278963 - head/sys/kern

2015-02-18 Thread Konstantin Belousov
Author: kib Date: Wed Feb 18 18:12:06 2015 New Revision: 278963 URL: https://svnweb.freebsd.org/changeset/base/278963 Log: If malloc() sleeps, Giant is dropped. Recheck for another thread doing our work. Remove unneeded check for failed M_WAITOK allocation. Reviewed by: alc

svn commit: r278964 - in head: sbin/camcontrol sys/cam sys/cam/scsi sys/dev/mpr sys/dev/mps sys/sys

2015-02-18 Thread Kenneth D. Merry
Author: ken Date: Wed Feb 18 18:30:19 2015 New Revision: 278964 URL: https://svnweb.freebsd.org/changeset/base/278964 Log: Make sure that the flags for the XPT_DEV_ADVINFO CCB are initialized properly. If there is garbage in the flags field, it can sometimes include a set

Re: svn commit: r277300 - in head: cddl/contrib/opensolaris/cmd/dtrace cddl/contrib/opensolaris/cmd/lockstat cddl/contrib/opensolaris/cmd/mdb/tools/common cddl/contrib/opensolaris/cmd/plockstat cddl/c

2015-02-18 Thread Rui Paulo
On Jan 17, 2015, at 06:45 AM, Steven Hartland s...@freebsd.org wrote: Author: smh Date: Sat Jan 17 14:44:59 2015 New Revision: 277300 URL: https://svnweb.freebsd.org/changeset/base/277300 Log: Mechanically convert cddl sun #ifdef's to illumos Since the upstream for cddl code is now illumos not

svn commit: r278965 - head

2015-02-18 Thread Peter Grehan
Author: grehan Date: Wed Feb 18 19:27:51 2015 New Revision: 278965 URL: https://svnweb.freebsd.org/changeset/base/278965 Log: Restore the ability to use clang as an external compiler. This was inadvertently removed when support for external GCC was added. Deprecate XFLAGS in favour of

Re: svn commit: r277300 - in head: cddl/contrib/opensolaris/cmd/dtrace cddl/contrib/opensolaris/cmd/lockstat cddl/contrib/opensolaris/cmd/mdb/tools/common cddl/contrib/opensolaris/cmd/plockstat cddl/c

2015-02-18 Thread Pedro Giffuni
On 18/02/2015 01:36 p.m., Rui Paulo wrote: On Jan 17, 2015, at 06:45 AM, Steven Hartland s...@freebsd.org wrote: Author: smh Date: Sat Jan 17 14:44:59 2015 New Revision: 277300 URL: https://svnweb.freebsd.org/changeset/base/277300 Log: Mechanically convert cddl sun #ifdef's to illumos Since

svn commit: r278970 - in head: sys/conf sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/components/debugger sys/contrib/dev/acpica/compon...

2015-02-18 Thread Jung-uk Kim
Author: jkim Date: Wed Feb 18 20:33:00 2015 New Revision: 278970 URL: https://svnweb.freebsd.org/changeset/base/278970 Log: Merge ACPICA 20141107 and 20150204. Added: head/sys/contrib/dev/acpica/compiler/aslprintf.c - copied, changed from r274357,

svn commit: r278988 - head/usr.sbin

2015-02-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Feb 19 06:27:14 2015 New Revision: 278988 URL: https://svnweb.freebsd.org/changeset/base/278988 Log: Temporarily disconnect ifmcstat(8) from build, to make world buildable ifmcstat(8) noses in kernel memory too much, and thus is very tentative to any changes in

svn commit: r278986 - head

2015-02-18 Thread Glen Barber
Author: gjb Date: Thu Feb 19 05:20:59 2015 New Revision: 278986 URL: https://svnweb.freebsd.org/changeset/base/278986 Log: Fix a grammar nit. Sponsored by: The FreeBSD Foundation Modified: head/UPDATING Modified: head/UPDATING

Re: svn commit: r278979 - head/sys/netinet6

2015-02-18 Thread Gleb Smirnoff
On Thu, Feb 19, 2015 at 02:22:33PM +0800, Alastair Hogge wrote: A On 2015-02-19 Thu 07:32:37 +0300, Gleb Smirnoff wrote: A On Thu, Feb 19, 2015 at 10:49:22AM +0800, Alastair Hogge wrote: A A On 2015-02-19 Thu 01:21:24 +, Gleb Smirnoff wrote: A A A A Hi Gleb, A A A A I think this commit

Re: svn commit: r278979 - head/sys/netinet6

2015-02-18 Thread Alastair Hogge
On 2015-02-19 Thu 07:32:37 +0300, Gleb Smirnoff wrote: On Thu, Feb 19, 2015 at 10:49:22AM +0800, Alastair Hogge wrote: A On 2015-02-19 Thu 01:21:24 +, Gleb Smirnoff wrote: A A Hi Gleb, A A I think this commit the whole economy^W buildworld? Here is preliminary patch, that I'm testing

svn commit: r278987 - in head/sys: netinet netinet6 sys

2015-02-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Feb 19 06:24:27 2015 New Revision: 278987 URL: https://svnweb.freebsd.org/changeset/base/278987 Log: Widen _KERNEL ifdef to hide more kernel network stack structures from userland. Modified: head/sys/netinet/in_var.h head/sys/netinet6/in6_var.h

Re: svn commit: r278979 - head/sys/netinet6

2015-02-18 Thread Gleb Smirnoff
On Thu, Feb 19, 2015 at 10:49:22AM +0800, Alastair Hogge wrote: A On 2015-02-19 Thu 01:21:24 +, Gleb Smirnoff wrote: A A Hi Gleb, A A I think this commit the whole economy^W buildworld? Here is preliminary patch, that I'm testing now. -- Totus tuus, Glebius. Index: sys/netinet6/in6_var.h

svn commit: r278956 - head/sys/kern

2015-02-18 Thread Mateusz Guzik
Author: mjg Date: Wed Feb 18 13:37:28 2015 New Revision: 278956 URL: https://svnweb.freebsd.org/changeset/base/278956 Log: filedesc: obtain a stable copy of credentials in fget_unlocked This was broken in r278930. While here tidy up fget_mmap to use fdp from local var instead of

svn commit: r278957 - head/sys/dev/spibus

2015-02-18 Thread Warner Losh
Author: imp Date: Wed Feb 18 14:33:33 2015 New Revision: 278957 URL: https://svnweb.freebsd.org/changeset/base/278957 Log: Add copyright statement I should have had on these files in 2006, based on the spibus_if.m file. Modified: head/sys/dev/spibus/spi.h head/sys/dev/spibus/spibus.c

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

2015-02-18 Thread Warner Losh
Author: imp Date: Wed Feb 18 15:25:19 2015 New Revision: 278958 URL: https://svnweb.freebsd.org/changeset/base/278958 Log: Populate new KERN_OPTS from all the opt_*.h files in KERNBUILDDIR. Come up with some sensible defaults (though listing them in kmod.mk may be unwise -- we have no easy

svn commit: r278959 - in head/sys/modules: dpt ed ep si vx

2015-02-18 Thread Warner Losh
Author: imp Date: Wed Feb 18 15:25:22 2015 New Revision: 278959 URL: https://svnweb.freebsd.org/changeset/base/278959 Log: Cleanup the way we include some files (in this case EISA) based on kernel config. Also tidy up the ed options. Modified: head/sys/modules/dpt/Makefile

svn commit: r278960 - in head/sys/modules: if_gif if_gre

2015-02-18 Thread Warner Losh
Author: imp Date: Wed Feb 18 15:25:25 2015 New Revision: 278960 URL: https://svnweb.freebsd.org/changeset/base/278960 Log: Clean up a bit of the INET/INET6 mess wrt options. Modified: head/sys/modules/if_gif/Makefile head/sys/modules/if_gre/Makefile Modified:

svn commit: r278975 - head

2015-02-18 Thread Jung-uk Kim
Author: jkim Date: Wed Feb 18 23:10:15 2015 New Revision: 278975 URL: https://svnweb.freebsd.org/changeset/base/278975 Log: Fix bootstrap on systems with old yacc with small MAXTABLE. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

Re: svn commit: r278889 - head/lib/libc/include

2015-02-18 Thread Bryan Drewery
On 2/18/2015 6:58 PM, Bruce Evans wrote: On Wed, 18 Feb 2015, Bryan Drewery wrote: On 2/17/2015 2:54 AM, Konstantin Belousov wrote: ... Log: Restore the extern qualifier on __cleanup. ... Modified: head/lib/libc/include/libc_private.h

Re: svn commit: r278889 - head/lib/libc/include

2015-02-18 Thread Bruce Evans
On Wed, 18 Feb 2015, Bryan Drewery wrote: On 2/17/2015 2:54 AM, Konstantin Belousov wrote: ... Log: Restore the extern qualifier on __cleanup. ... Modified: head/lib/libc/include/libc_private.h == ---

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

2015-02-18 Thread John-Mark Gurney
Author: jmg Date: Thu Feb 19 01:51:17 2015 New Revision: 278981 URL: https://svnweb.freebsd.org/changeset/base/278981 Log: fix spelling, add comma and remove BUGS section.. it provided no useful information, and is not really bugs, but limitations for other reasons... Modified:

svn commit: r278979 - head/sys/netinet6

2015-02-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Feb 19 01:21:23 2015 New Revision: 278979 URL: https://svnweb.freebsd.org/changeset/base/278979 Log: Use new struct mbufq instead of struct ifqueue to manage packet queues in IPv6 multicast code. Sponsored by: Netflix Sponsored by: Nginx, Inc. Modified:

svn commit: r278978 - head/sys/netinet

2015-02-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Feb 19 01:21:02 2015 New Revision: 278978 URL: https://svnweb.freebsd.org/changeset/base/278978 Log: Use new struct mbufq instead of struct ifqueue to manage packet queues in IPv4 multicast code. Sponsored by: Netflix Sponsored by: Nginx, Inc. Modified:

svn commit: r278977 - in head/sys: dev/cxgb dev/cxgb/sys dev/cxgb/ulp/tom dev/xen/netfront sys

2015-02-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Feb 19 01:19:42 2015 New Revision: 278977 URL: https://svnweb.freebsd.org/changeset/base/278977 Log: Provide a set of inline functions to manage simple mbuf(9) queues, based on queue(3)'s STAILQ. Utilize them in cxgb(4) and Xen, deleting home grown

svn commit: r278984 - head/sys/kern

2015-02-18 Thread Mark Johnston
Author: markj Date: Thu Feb 19 03:32:48 2015 New Revision: 278984 URL: https://svnweb.freebsd.org/changeset/base/278984 Log: Remove unnecessary checks for a return value of NULL from M_WAITOK allocations. MFC after:3 days Modified: head/sys/kern/kern_ctf.c Modified:

svn commit: r278976 - in head/sys: amd64/amd64 i386/i386

2015-02-18 Thread John Baldwin
Author: jhb Date: Wed Feb 18 23:34:03 2015 New Revision: 278976 URL: https://svnweb.freebsd.org/changeset/base/278976 Log: Ensure that the supplied data length is large enough to hold the base FPU state to avoid passing a negative length to fpusetregs() / npxsetregs(). Differential

svn commit: r278983 - head/sys/kern

2015-02-18 Thread Mark Johnston
Author: markj Date: Thu Feb 19 03:29:46 2015 New Revision: 278983 URL: https://svnweb.freebsd.org/changeset/base/278983 Log: Free the zlib stream after expanding a compressed CTF section. Note that this memory would only be leaked once, since CTF info for a kld file is cached after the

Re: svn commit: r278979 - head/sys/netinet6

2015-02-18 Thread Alastair Hogge
On 2015-02-19 Thu 01:21:24 +, Gleb Smirnoff wrote: Hi Gleb, I think this commit the whole economy^W buildworld? Author: glebius Date: Thu Feb 19 01:21:23 2015 New Revision: 278979 URL: https://svnweb.freebsd.org/changeset/base/278979 Log: Use new struct mbufq instead of struct

Re: svn commit: r277300 - in head: cddl/contrib/opensolaris/cmd/dtrace cddl/contrib/opensolaris/cmd/lockstat cddl/contrib/opensolaris/cmd/mdb/tools/common cddl/contrib/opensolaris/cmd/plockstat cddl/c

2015-02-18 Thread Steven Hartland
On 18/02/2015 18:36, Rui Paulo wrote: On Jan 17, 2015, at 06:45 AM, Steven Hartland s...@freebsd.org wrote: Author: smh Date: Sat Jan 17 14:44:59 2015 New Revision: 277300 URL: https://svnweb.freebsd.org/changeset/base/277300 Log: Mechanically convert cddl sun #ifdef's to illumos Since the

Re: svn commit: r278889 - head/lib/libc/include

2015-02-18 Thread Bryan Drewery
On 2/17/2015 2:54 AM, Konstantin Belousov wrote: Author: kib Date: Tue Feb 17 08:54:03 2015 New Revision: 278889 URL: https://svnweb.freebsd.org/changeset/base/278889 Log: Restore the extern qualifier on __cleanup. Sponsored by: The FreeBSD Foundation MFC after: 3 days