svn commit: r264143 - head/lib/libc/stdlib

2014-04-05 Thread David Chisnall
Author: theraven Date: Sat Apr 5 08:17:48 2014 New Revision: 264143 URL: http://svnweb.freebsd.org/changeset/base/264143 Log: Silence a warning with GCC that was breaking the build with Juniper's GCC. Reviewed by: marcel Modified: head/lib/libc/stdlib/atexit.c

svn commit: r264144 - head/sys/sys

2014-04-05 Thread Ed Schouten
Author: ed Date: Sat Apr 5 11:37:58 2014 New Revision: 264144 URL: http://svnweb.freebsd.org/changeset/base/264144 Log: Add missing userspace bits to sys/procdesc.h. - Include sys/_types.h and define pid_t. - Add __BEGIN_DECLS/__END_DECLS. In my opinion we should have considered

svn commit: r264146 - in head/sys: kern sys

2014-04-05 Thread Konstantin Belousov
Author: kib Date: Sat Apr 5 14:09:16 2014 New Revision: 264146 URL: http://svnweb.freebsd.org/changeset/base/264146 Log: When KN_INFLUX is set on the knote due to kqueue_register() or kqueue_scan() unlocking the kqueue to call f_event, knote() or knote_fork() should not skip the knote.

svn commit: r264145 - in head: cddl/contrib/opensolaris/cmd/zfs sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/sys/fs

2014-04-05 Thread Alexander Motin
Author: mav Date: Sat Apr 5 13:01:44 2014 New Revision: 264145 URL: http://svnweb.freebsd.org/changeset/base/264145 Log: Add property and sysctl to control how ZVOLs are exposed to OS. New ZFS property volmode and sysctl vfs.zfs.vol.mode allow switching ZVOL between three modes: geom

svn commit: r264149 - in head: share/man/man4 sys/dev/usb sys/dev/usb/serial

2014-04-05 Thread Ian Lepore
Author: ian Date: Sat Apr 5 16:08:13 2014 New Revision: 264149 URL: http://svnweb.freebsd.org/changeset/base/264149 Log: Add ioctl(2) calls to uftdi(4) to access bitbang, MPSSE, CPU_FIFO, and other modes supported by the FTDI serial adapter chips. In addition to adding the new ioctls,

svn commit: r264150 - head/sys/arm/samsung/exynos

2014-04-05 Thread Ruslan Bukin
Author: br Date: Sat Apr 5 16:38:27 2014 New Revision: 264150 URL: http://svnweb.freebsd.org/changeset/base/264150 Log: Correct the end address of the video frame buffer. This fixes problem that sometimes display suddenly goes blank. Modified: head/sys/arm/samsung/exynos/exynos5_fimd.c

svn commit: r264151 - head/sys/kern

2014-04-05 Thread Dmitry Chagin
Author: dchagin Date: Sat Apr 5 16:54:47 2014 New Revision: 264151 URL: http://svnweb.freebsd.org/changeset/base/264151 Log: Prevent alq from panic when the invalid alq_file path specified. MFC after:1 week Modified: head/sys/kern/kern_alq.c Modified: head/sys/kern/kern_alq.c

svn commit: r264153 - head/sys/arm/ti

2014-04-05 Thread Luiz Otavio O Souza
Author: loos Date: Sat Apr 5 17:53:59 2014 New Revision: 264153 URL: http://svnweb.freebsd.org/changeset/base/264153 Log: - Fix the setup of interrupts for banks 2 and 3 on AM335x. On AM335x each one of the four GPIO banks has two physical interrupt lines, so we now allocate

svn commit: r264157 - head/secure

2014-04-05 Thread Warner Losh
Author: imp Date: Sat Apr 5 17:54:55 2014 New Revision: 264157 URL: http://svnweb.freebsd.org/changeset/base/264157 Log: Use MK_CRYPT=no in preference to WITHOUT_CRYPT here. Modified: head/secure/Makefile Modified: head/secure/Makefile

svn commit: r264155 - in head: lib/libc/amd64/sys lib/libc/arm/sys lib/libc/i386/sys lib/libc/ia64/sys lib/libc/mips/sys lib/libc/powerpc/sys lib/libc/powerpc64/sys lib/libc/sparc64/sys lib/libc/sy...

2014-04-05 Thread Warner Losh
Author: imp Date: Sat Apr 5 17:54:43 2014 New Revision: 264155 URL: http://svnweb.freebsd.org/changeset/base/264155 Log: Convert from WITHOUT_SYSCALL_COMPAT to MK_SYSCALL_COMPAT. Modified: head/lib/libc/amd64/sys/Makefile.inc head/lib/libc/arm/sys/Makefile.inc

svn commit: r264154 - in head: lib/libproc lib/libproc/test/t1-bkpt lib/libproc/test/t2-name2map lib/libproc/test/t3-name2sym share/mk

2014-04-05 Thread Warner Losh
Author: imp Date: Sat Apr 5 17:54:36 2014 New Revision: 264154 URL: http://svnweb.freebsd.org/changeset/base/264154 Log: The proper way to request no man pages currently is NO_MAN=xxx. Use it in preference to the user WITHOUT_MAN knob, which should never be set in normal src Makefiles.

svn commit: r264156 - in head: kerberos5 tools/bsdbox

2014-04-05 Thread Warner Losh
Author: imp Date: Sat Apr 5 17:54:50 2014 New Revision: 264156 URL: http://svnweb.freebsd.org/changeset/base/264156 Log: use MK_KERBEROS=no in preference to WITHOUT_KERBEROS Modified: head/kerberos5/Makefile head/tools/bsdbox/Makefile.telnetd Modified: head/kerberos5/Makefile

svn commit: r264158 - head/tools/build/options

2014-04-05 Thread Warner Losh
Author: imp Date: Sat Apr 5 18:00:45 2014 New Revision: 264158 URL: http://svnweb.freebsd.org/changeset/base/264158 Log: Document upcoming build option WITH_SORT_THREADS Added: head/tools/build/options/WITH_SORT_THREADS (contents, props changed) Added:

svn commit: r264159 - in head: share/mk usr.bin/sort

2014-04-05 Thread Warner Losh
Author: imp Date: Sat Apr 5 18:01:49 2014 New Revision: 264159 URL: http://svnweb.freebsd.org/changeset/base/264159 Log: Convert sort to using newer MK_ convention. Modified: head/share/mk/bsd.own.mk head/usr.bin/sort/Makefile Modified: head/share/mk/bsd.own.mk

svn commit: r264160 - head/sys/arm/arm

2014-04-05 Thread Rui Paulo
Author: rpaulo Date: Sat Apr 5 18:13:28 2014 New Revision: 264160 URL: http://svnweb.freebsd.org/changeset/base/264160 Log: Remove code under PMAP_CACHE_VIVT that is not compiled anymore. This is for ARMv4/ARMv5 and it doesn't belong in ARMv6 code. Reviewed by: ian Modified:

svn commit: r264161 - head/lib/libc/gen

2014-04-05 Thread Marcel Moolenaar
Author: marcel Date: Sat Apr 5 18:14:58 2014 New Revision: 264161 URL: http://svnweb.freebsd.org/changeset/base/264161 Log: The getlogin_basic() function can return a 0 status with a NULL pointer for the login name (result). Make sure to handle that case properly. Improve robustness by

svn commit: r264162 - head/lib/libc/net

2014-04-05 Thread Marcel Moolenaar
Author: marcel Date: Sat Apr 5 18:32:40 2014 New Revision: 264162 URL: http://svnweb.freebsd.org/changeset/base/264162 Log: Accept RFC 2292 option values so that RFC 2292 compliant programs that are unaware of RFC 3542 can construct control messages. The kernel disallows mixing RFC 2292

svn commit: r264163 - head/sys/dev/iscsi

2014-04-05 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Apr 5 18:41:08 2014 New Revision: 264163 URL: http://svnweb.freebsd.org/changeset/base/264163 Log: Remove hack to pass STAILQ to a function and do it properly instead. Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iscsi/icl.c Modified:

svn commit: r264164 - head/sys/compat/freebsd32

2014-04-05 Thread Marcel Moolenaar
Author: marcel Date: Sat Apr 5 18:56:01 2014 New Revision: 264164 URL: http://svnweb.freebsd.org/changeset/base/264164 Log: In freebsd32_sendmsg(), replace the call to sockargs() followed by a call to freebsd32_convert_msg_in() with freebsd32_copyin_control() to readin and convert in a

svn commit: r264165 - head/share/man/man4

2014-04-05 Thread Eitan Adler
Author: eadler Date: Sat Apr 5 19:08:16 2014 New Revision: 264165 URL: http://svnweb.freebsd.org/changeset/base/264165 Log: run.4: D1 is an mdoc macro, so we have to escape it. Obtained from:DragonFlyBSD (357f4b5) Modified: head/share/man/man4/run.4 Modified:

svn commit: r264167 - head/lib

2014-04-05 Thread Jilles Tjoelker
Author: jilles Date: Sat Apr 5 19:48:19 2014 New Revision: 264167 URL: http://svnweb.freebsd.org/changeset/base/264167 Log: lib: Remove duplicate SUBDIR libnv. With SUBDIR_PARALLEL, duplicates in ${SUBDIR} cause harmless but verbose warnings. Modified: head/lib/Makefile Modified:

svn commit: r264173 - head/sys/kern

2014-04-05 Thread Konstantin Belousov
Author: kib Date: Sat Apr 5 20:44:52 2014 New Revision: 264173 URL: http://svnweb.freebsd.org/changeset/base/264173 Log: Use realloc(9) instead of doing the reallocation inline. Submitted by: bde MFC after:1 week Modified: head/sys/kern/kern_linker.c Modified:

svn commit: r264174 - head/usr.sbin/arp

2014-04-05 Thread George V. Neville-Neil
Author: gnn Date: Sat Apr 5 22:13:32 2014 New Revision: 264174 URL: http://svnweb.freebsd.org/changeset/base/264174 Log: Speed up the lookup of interfaces when there are a large number of them, such in a system with a large number of VLANs. Submitted by: Nick Rogers MFC after: 2 weeks

svn commit: r264175 - in head: . sys/dev/uart

2014-04-05 Thread Marcel Moolenaar
ln -s 'abort:false,junk:false' /etc/malloc.conf.) +20140405: + The uart(4) driver has been changed with respect to its handling + of the low-level console. Previously the uart(4) driver prevented + any process from changing the baudrate or the CLOCAL and HUPCL

svn commit: r264176 - head

2014-04-05 Thread Marcel Moolenaar
Author: marcel Date: Sat Apr 5 22:28:46 2014 New Revision: 264176 URL: http://svnweb.freebsd.org/changeset/base/264176 Log: Fix typo (s/teh/the/) in previous commit. Pointed out by: rpaulo (thanks!) Modified: head/UPDATING Modified: head/UPDATING

svn commit: r264177 - in head/sys/dev/hyperv: netvsc storvsc

2014-04-05 Thread Warner Losh
Author: imp Date: Sat Apr 5 22:42:00 2014 New Revision: 264177 URL: http://svnweb.freebsd.org/changeset/base/264177 Log: Make some unwise casts. On i386 these casts wind up being safe. Rather than disturb the API, go with these casts to shut gcc up. Modified:

svn commit: r264178 - in head/sys: i386/xen x86/xen xen

2014-04-05 Thread Warner Losh
Author: imp Date: Sat Apr 5 22:43:18 2014 New Revision: 264178 URL: http://svnweb.freebsd.org/changeset/base/264178 Log: Make this compile with gcc. Submitted by: royger@ Modified: head/sys/i386/xen/xen_machdep.c head/sys/x86/xen/pv.c head/sys/xen/xen-os.h Modified:

svn commit: r264179 - in head/sys/amd64/vmm: . intel io

2014-04-05 Thread Warner Losh
Author: imp Date: Sat Apr 5 22:43:23 2014 New Revision: 264179 URL: http://svnweb.freebsd.org/changeset/base/264179 Log: Make the vmm code compile with gcc too. Not entirely sure things are correct for the pirbase test (since I'd have thought we'd need to do something even when the offset

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

2014-04-05 Thread Rui Paulo
Author: rpaulo Date: Sat Apr 5 23:16:51 2014 New Revision: 264180 URL: http://svnweb.freebsd.org/changeset/base/264180 Log: Follow files.imx51 and add vt support. Modified: head/sys/arm/freescale/imx/files.imx53 Modified: head/sys/arm/freescale/imx/files.imx53

svn commit: r264181 - head/sys/dev/ata/chipsets

2014-04-05 Thread Rui Paulo
Author: rpaulo Date: Sat Apr 5 23:20:04 2014 New Revision: 264181 URL: http://svnweb.freebsd.org/changeset/base/264181 Log: Add fsl,imx53. Modified: head/sys/dev/ata/chipsets/ata-fsl.c Modified: head/sys/dev/ata/chipsets/ata-fsl.c

svn commit: r264182 - head/sys/dev/vt/hw/fb

2014-04-05 Thread Rui Paulo
Author: rpaulo Date: Sat Apr 5 23:20:49 2014 New Revision: 264182 URL: http://svnweb.freebsd.org/changeset/base/264182 Log: Need to include machine/fdt.h. Modified: head/sys/dev/vt/hw/fb/vt_early_fb.c Modified: head/sys/dev/vt/hw/fb/vt_early_fb.c

svn commit: r264183 - head/sys/arm/arm

2014-04-05 Thread Ian Lepore
Author: ian Date: Sun Apr 6 00:17:41 2014 New Revision: 264183 URL: http://svnweb.freebsd.org/changeset/base/264183 Log: Add a couple more required TLB flushes. These should have been part of r264129, they are part of the overall set of changes that got several weeks of testing. I must

svn commit: r264184 - head/sys/geom

2014-04-05 Thread Marcel Moolenaar
Author: marcel Date: Sun Apr 6 02:20:42 2014 New Revision: 264184 URL: http://svnweb.freebsd.org/changeset/base/264184 Log: Make sure we don't free memory that's already been freed by setting the geom-softc pounter to NULL before freeing the g_slicer softc. In g_slicer_free() the pointer

svn commit: r264185 - in head/sys: conf geom/label modules/geom/geom_label

2014-04-05 Thread Marcel Moolenaar
Author: marcel Date: Sun Apr 6 02:44:37 2014 New Revision: 264185 URL: http://svnweb.freebsd.org/changeset/base/264185 Log: An all-or-nothing approach to labels isn't flexible enough. Embedded systems need fine-grained control over what's in and what's out. That's ideal. For now, separate

svn commit: r264186 - head/usr.sbin/makefs

2014-04-05 Thread Marcel Moolenaar
Author: marcel Date: Sun Apr 6 02:57:49 2014 New Revision: 264186 URL: http://svnweb.freebsd.org/changeset/base/264186 Log: Timestamps may not have a decimal point. While here, consistently use sbuf_new_auto(). Modified: head/usr.sbin/makefs/mtree.c Modified: head/usr.sbin/makefs/mtree.c