svn commit: r270927 - in head: sys/netinet6 usr.bin/netstat

2014-09-01 Thread Andrey V. Elsukov
Author: ae Date: Mon Sep 1 09:30:34 2014 New Revision: 270927 URL: http://svnweb.freebsd.org/changeset/base/270927 Log: Add the reverse part to rule #9. Also change its description in the netstat(8) output. MFC after:1 week Modified: head/sys/netinet6/in6_src.c head/usr.bin/nets

svn commit: r270928 - head/sys/netpfil/pf

2014-09-01 Thread Gleb Smirnoff
Author: glebius Date: Mon Sep 1 13:00:45 2014 New Revision: 270928 URL: http://svnweb.freebsd.org/changeset/base/270928 Log: Explicitly free packet on PF_DROP, otherwise a "quick" rule with "route-to" may still forward it. PR: 177808 Submitted by: Kajetan Staszkiewicz Spon

svn commit: r270929 - in head: share/man/man4 sys/netinet sys/sys usr.sbin/traceroute

2014-09-01 Thread Gleb Smirnoff
Author: glebius Date: Mon Sep 1 14:04:51 2014 New Revision: 270929 URL: http://svnweb.freebsd.org/changeset/base/270929 Log: Make SOCK_RAW sockets to be truly raw, not modifying received and sent packets at all. Swapping byte order on SOCK_RAW was actually a bug, an artifact from the BSD ne

svn commit: r270930 - head/sys/arm/include

2014-09-01 Thread Ian Lepore
Author: ian Date: Mon Sep 1 14:57:04 2014 New Revision: 270930 URL: http://svnweb.freebsd.org/changeset/base/270930 Log: Do not generate unwind info in asm functions if _STANDALONE is defined. The .fnend op causes the assembler to emit RELOC references to unwind support functions that don't

svn commit: r270931 - head/usr.sbin/smbmsg

2014-09-01 Thread Stefan Esser
Author: se Date: Mon Sep 1 16:12:29 2014 New Revision: 270931 URL: http://svnweb.freebsd.org/changeset/base/270931 Log: Fix typo (by -> be). MFC after:3 days Modified: head/usr.sbin/smbmsg/smbmsg.8 Modified: head/usr.sbin/smbmsg/smbmsg.8

svn commit: r270932 - head/lib/msun/src

2014-09-01 Thread Steve Kargl
Author: kargl Date: Mon Sep 1 16:24:25 2014 New Revision: 270932 URL: http://svnweb.freebsd.org/changeset/base/270932 Log: Fix a tab that somehow became 8 spaces. Remove parentheses in a return statement to be consistent with the rest of the file. Rename sin_pi() in the float versio

svn commit: r270933 - in head: sbin/conscontrol usr.sbin/vidcontrol

2014-09-01 Thread Stefan Esser
Author: se Date: Mon Sep 1 16:25:08 2014 New Revision: 270933 URL: http://svnweb.freebsd.org/changeset/base/270933 Log: Add references to vt(4) to further man-pages. MFC after:3 days Modified: head/sbin/conscontrol/conscontrol.8 head/usr.sbin/vidcontrol/vidcontrol.1 Modified: hea

svn commit: r270934 - head/tools/tools/vt/keymaps

2014-09-01 Thread Stefan Esser
Author: se Date: Mon Sep 1 16:26:57 2014 New Revision: 270934 URL: http://svnweb.freebsd.org/changeset/base/270934 Log: Final patches to the tools used to convert syscons keymaps for use with vt. MFC after:3 days Modified: head/tools/tools/vt/keymaps/KBDFILES.map head/tools/tool

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

2014-09-01 Thread Stefan Esser
Author: se Date: Mon Sep 1 16:51:57 2014 New Revision: 270935 URL: http://svnweb.freebsd.org/changeset/base/270935 Log: Add vt(4) support to the console initialisation script, specifically: - Identify the console driver used and print syscons or vt as appropriate. - If vt is used and

svn commit: r270941 - head/sys/sys

2014-09-01 Thread Ed Schouten
Author: ed Date: Mon Sep 1 18:27:04 2014 New Revision: 270941 URL: http://svnweb.freebsd.org/changeset/base/270941 Log: Add lock annotations to . Clang has support for annotating mutexes and code that uses mutexes to validate certain aspects of thread safety: - Whether acquiring/rel

svn commit: r270942 - head/sys/sys

2014-09-01 Thread Ed Schouten
Author: ed Date: Mon Sep 1 18:28:11 2014 New Revision: 270942 URL: http://svnweb.freebsd.org/changeset/base/270942 Log: Enable lock annotations on HEAD when using Clang. MFC after:never Modified: head/sys/sys/cdefs.h Modified: head/sys/sys/cdefs.h ==

svn commit: r270943 - in head: include lib/libstdthreads

2014-09-01 Thread Ed Schouten
Author: ed Date: Mon Sep 1 18:34:30 2014 New Revision: 270943 URL: http://svnweb.freebsd.org/changeset/base/270943 Log: Add lock annotations to the header files of our threading libraries. This change extends all of the functions present in the and headers to have lock annotations. Thi

Re: svn commit: r270943 - in head: include lib/libstdthreads

2014-09-01 Thread Ed Schouten
On 1 September 2014 20:34, Ed Schouten wrote: > - Locking a function twice, > - Unlocking a function without a mutex being locked, Errr... - Locking a mutex twice, - Unlocking a mutex without it being locked -- Ed Schouten ___ svn-src-head@freeb

svn commit: r270944 - head/sbin/hastd

2014-09-01 Thread Ed Schouten
Author: ed Date: Mon Sep 1 18:37:17 2014 New Revision: 270944 URL: http://svnweb.freebsd.org/changeset/base/270944 Log: Add lock annotations to the threading API used by hastd. Approved by: pjd@ Modified: head/sbin/hastd/primary.c head/sbin/hastd/synch.h Modified: head/sbin/hastd/pr

svn commit: r270945 - in head/sys: arm/arm arm/at91 arm/freescale/vybrid arm/mv arm/rockchip dev/fdt dev/gpio dev/ofw dev/tsec mips/beri powerpc/ofw powerpc/powermac

2014-09-01 Thread Ian Lepore
Author: ian Date: Mon Sep 1 18:51:01 2014 New Revision: 270945 URL: http://svnweb.freebsd.org/changeset/base/270945 Log: Rename OF_xref_phandle() to OF_node_from_xref() and add a new function that provides the inverse translation, OF_xref_from_node(). Discussed with: nwhitehorn Mo

svn commit: r270947 - head/lib/msun/src

2014-09-01 Thread Steve Kargl
Author: kargl Date: Mon Sep 1 18:57:13 2014 New Revision: 270947 URL: http://svnweb.freebsd.org/changeset/base/270947 Log: According to the ISO C standard, lgamma(-integer) returns inf and raises the divided-by-zero exception. Compilers constant fold one/zero to inf but do not raise the ex

svn commit: r270948 - in head/sys/arm: broadcom/bcm2835 freescale/imx ti

2014-09-01 Thread Ian Lepore
Author: ian Date: Mon Sep 1 19:20:34 2014 New Revision: 270948 URL: http://svnweb.freebsd.org/changeset/base/270948 Log: sdhci.h has grown a dependency on sysctl.h, include the latter where needed. Modified: head/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c head/sys/arm/freescale/imx/imx_sdhci

svn commit: r270950 - head/lib/libcuse

2014-09-01 Thread Ed Schouten
Author: ed Date: Mon Sep 1 19:56:28 2014 New Revision: 270950 URL: http://svnweb.freebsd.org/changeset/base/270950 Log: Add lock annotations to libcuse. - Add annotations to the lock/unlock function to indicate that the function is allowed to lock and unlock the underlying pthread mute

svn commit: r270951 - in head: share/mk usr.sbin/auditdistd

2014-09-01 Thread Ed Schouten
Author: ed Date: Mon Sep 1 20:18:09 2014 New Revision: 270951 URL: http://svnweb.freebsd.org/changeset/base/270951 Log: Add -Wthread-safety to WARNS=6. While there, add a NO_WTHREAD_SAFETY flag that can be used to disable this specific warning flag. Disable it for auditdistd. We can easi

svn commit: r270952 - in head: include lib/libc/stdlib

2014-09-01 Thread Pedro F. Giffuni
Author: pfg Date: Mon Sep 1 22:25:42 2014 New Revision: 270952 URL: http://svnweb.freebsd.org/changeset/base/270952 Log: Add bsearch_b to the libc map and the stdlib header. bsearch_b is the Apple blocks enabled version of bsearch(3). This was added to libc in Revision 264042 but the com

svn commit: r270953 - head/sys/dev/ofw

2014-09-01 Thread Ian Lepore
Author: ian Date: Mon Sep 1 22:40:31 2014 New Revision: 270953 URL: http://svnweb.freebsd.org/changeset/base/270953 Log: Create a mechanism for looking up a device_t associated with an ofw/fdt xref handle, and for registering that association. Also use the same data for faster translations

svn commit: r270954 - head/usr.sbin/bsdconfig/share

2014-09-01 Thread Devin Teske
Author: dteske Date: Mon Sep 1 22:53:47 2014 New Revision: 270954 URL: http://svnweb.freebsd.org/changeset/base/270954 Log: Fix a bug where command line arguments could be misprocessed if getopts is used prior to f_dialog_init() -- e.g., in a script that sets DIALOG_SELF_INITIALIZE to NULL,

svn commit: r270955 - head/sys/arm/freescale

2014-09-01 Thread Ian Lepore
Author: ian Date: Tue Sep 2 02:54:55 2014 New Revision: 270955 URL: http://svnweb.freebsd.org/changeset/base/270955 Log: The ocotp driver provides access to registers containing chip configuration data that is needed by other drivers, so make it an EARLY_DRIVER_MODULE() that loads before ju

svn commit: r270956 - head/sys/arm/freescale/imx

2014-09-01 Thread Ian Lepore
Author: ian Date: Tue Sep 2 02:56:43 2014 New Revision: 270956 URL: http://svnweb.freebsd.org/changeset/base/270956 Log: The anatop driver controls power and PLLs and needs to be available before just about anything else (other than octop which provides it config info), so make it an EARLY_

svn commit: r270957 - in head/sys: conf dev/fdt

2014-09-01 Thread Ian Lepore
Author: ian Date: Tue Sep 2 03:23:05 2014 New Revision: 270957 URL: http://svnweb.freebsd.org/changeset/base/270957 Log: Create an interface for drivers to enable or disable their clocks as listed in the clocks=<...> properties of their FDT data. The clock properties consist of 2-cell tupl

svn commit: r270958 - head/sys/dev/ofw

2014-09-01 Thread Ian Lepore
Author: ian Date: Tue Sep 2 03:45:01 2014 New Revision: 270958 URL: http://svnweb.freebsd.org/changeset/base/270958 Log: Add OF_xref_from_device() so that there's no need to have an intermediate call to ofw_bus_get_node() to lookup info that's already in the xreflist. Modified: head/sys/de

svn commit: r270959 - head/sys/dev/fdt

2014-09-01 Thread Ian Lepore
Author: ian Date: Tue Sep 2 03:46:24 2014 New Revision: 270959 URL: http://svnweb.freebsd.org/changeset/base/270959 Log: Use OF_xref_from_device(), not OF_xref_from_node(). Also, use bzero() rather than memset(). Modified: head/sys/dev/fdt/fdt_clock.c Modified: head/sys/dev/fdt/fdt_clock

svn commit: r270960 - head/sys/dev/ofw

2014-09-01 Thread Ian Lepore
Author: ian Date: Tue Sep 2 03:51:12 2014 New Revision: 270960 URL: http://svnweb.freebsd.org/changeset/base/270960 Log: Fix typo. Pointy hat: ian Modified: head/sys/dev/ofw/openfirm.c Modified: head/sys/dev/ofw/openfirm.c =

svn commit: r270961 - head/sys/amd64/amd64

2014-09-01 Thread Alan Cox
Author: alc Date: Tue Sep 2 04:11:20 2014 New Revision: 270961 URL: http://svnweb.freebsd.org/changeset/base/270961 Log: Update a comment to reflect the changes in r213408. MFC after:5 days Modified: head/sys/amd64/amd64/pmap.c Modified: head/sys/amd64/amd64/pmap.c