svn commit: r254512 - head/sys/dev/sdhci

2013-08-18 Thread Rui Paulo
Author: rpaulo Date: Mon Aug 19 05:48:42 2013 New Revision: 254512 URL: http://svnweb.freebsd.org/changeset/base/254512 Log: Style changes and typos fixed. Modified: head/sys/dev/sdhci/sdhci.c Modified: head/sys/dev/sdhci/sdhci.c ==

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

2013-08-18 Thread Peter Wemm
Author: peter Date: Mon Aug 19 05:37:49 2013 New Revision: 254511 URL: http://svnweb.freebsd.org/changeset/base/254511 Log: Pass pidfile to bsnmpd if it's been changed (parts cut/pasted from rc.d/rarpd and rc.d/wpa_supplicant) Modified: head/etc/rc.d/bsnmpd Modified: head/etc/rc.d/bsnmpd =

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

2013-08-18 Thread Peter Wemm
Author: peter Date: Mon Aug 19 05:12:38 2013 New Revision: 254510 URL: http://svnweb.freebsd.org/changeset/base/254510 Log: Revert r254508. Modified: head/etc/rc.d/bsnmpd Modified: head/etc/rc.d/bsnmpd == --- head/et

svn commit: r254509 - in head/sys: cddl/dev/dtrace/powerpc modules/dtrace

2013-08-18 Thread Justin Hibbits
Author: jhibbits Date: Mon Aug 19 05:10:46 2013 New Revision: 254509 URL: http://svnweb.freebsd.org/changeset/base/254509 Log: Fix some ppc64 dtrace bugs, and enable systrace_freebsd32 for ppc64. Modified: head/sys/cddl/dev/dtrace/powerpc/dtrace_asm.S head/sys/cddl/dev/dtrace/powerpc/dtrace

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

2013-08-18 Thread Peter Wemm
Author: peter Date: Mon Aug 19 04:56:03 2013 New Revision: 254508 URL: http://svnweb.freebsd.org/changeset/base/254508 Log: Add the optional ability to run as a different user. Obtained from:Antique freebsd.org cluster archive images Modified: head/etc/rc.d/bsnmpd Modified: head

svn commit: r254507 - head/sys/dev/sdhci

2013-08-18 Thread Ian Lepore
Author: ian Date: Mon Aug 19 01:29:13 2013 New Revision: 254507 URL: http://svnweb.freebsd.org/changeset/base/254507 Log: Allow a hardware driver to pass clock frequencies into the sdhci driver. The sdhci spec says that if the base or timeout clock frequency in the capabilities register i

svn commit: r254506 - head/sys/net80211

2013-08-18 Thread Adrian Chadd
Author: adrian Date: Sun Aug 18 23:40:30 2013 New Revision: 254506 URL: http://svnweb.freebsd.org/changeset/base/254506 Log: Don't return ENOTSUPP here - the net80211 pluggable ioctl API will treat this as the final item in the linker set and not try others. This stopped the fast frames I

Re: svn commit: r254273 - in head: . include lib lib/libc/iconv lib/libiconv_compat lib/libkiconv share/mk sys/sys tools/build/mk

2013-08-18 Thread Peter Wemm
On 8/18/13 3:42 PM, Jilles Tjoelker wrote: > On Sun, Aug 18, 2013 at 09:53:04PM +0200, Joel Dahl wrote: >> On Sun, Aug 18, 2013 at 12:34:30AM +0200, Dimitry Andric wrote: >>> On Aug 13, 2013, at 09:15, Peter Wemm wrote: Author: peter Date: Tue Aug 13 07:15:01 2013 New Revision: 2542

Re: svn commit: r254273 - in head: . include lib lib/libc/iconv lib/libiconv_compat lib/libkiconv share/mk sys/sys tools/build/mk

2013-08-18 Thread Peter Wemm
On 8/17/13 3:34 PM, Dimitry Andric wrote: > On Aug 13, 2013, at 09:15, Peter Wemm wrote: >> Author: peter >> Date: Tue Aug 13 07:15:01 2013 >> New Revision: 254273 >> URL: http://svnweb.freebsd.org/changeset/base/254273 >> >> Log: >> The iconv in libc did two things - implement the standard APIs,

Re: svn commit: r254273 - in head: . include lib lib/libc/iconv lib/libiconv_compat lib/libkiconv share/mk sys/sys tools/build/mk

2013-08-18 Thread Jilles Tjoelker
On Sun, Aug 18, 2013 at 09:53:04PM +0200, Joel Dahl wrote: > On Sun, Aug 18, 2013 at 12:34:30AM +0200, Dimitry Andric wrote: > > On Aug 13, 2013, at 09:15, Peter Wemm wrote: > > > Author: peter > > > Date: Tue Aug 13 07:15:01 2013 > > > New Revision: 254273 > > > URL: http://svnweb.freebsd.org/cha

Re: svn commit: r254025 - in head/sys: amd64/amd64 arm/arm arm/at91 arm/mv/armadaxp arm/s3c2xx0 arm/xscale/i80321 arm/xscale/i8134x arm/xscale/ixp425 cddl/compat/opensolaris/kern cddl/compat/opensolar

2013-08-18 Thread Adrian Chadd
Hi Jeff, This has broken booting on the MIPS Octeon platform. Apparently things just plain hang during boot. Would you please work with Joe to sort out what's going on? I'd like to try and get this fixed up before 10.0-RELEASE is cut as the Octeon SMP platform seems to be somewhat popular. Thank

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

2013-08-18 Thread Konstantin Belousov
Author: kib Date: Sun Aug 18 21:36:22 2013 New Revision: 254501 URL: http://svnweb.freebsd.org/changeset/base/254501 Log: When code from r254064 in pmap_ts_referenced() drops pv lock and blocks on a pmap lock, pmap_release() might proceed in parallel and destroy the pmap mutex, since unlocke

svn commit: r254500 - head/sys/net80211

2013-08-18 Thread Adrian Chadd
Author: adrian Date: Sun Aug 18 20:40:13 2013 New Revision: 254500 URL: http://svnweb.freebsd.org/changeset/base/254500 Log: Return the correct status if ieee80211_ff_check() consumes the mbuf. I broke this when converting the net80211 TX path to use if_transmit. Modified: head/sys/net80

svn commit: r254499 - in head: include lib/libc/gen

2013-08-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 18 20:11:34 2013 New Revision: 254499 URL: http://svnweb.freebsd.org/changeset/base/254499 Log: Implement fdclosedir(3) function, which is equivalent to the closedir(3) function, but returns directory file descriptor instead of closing it. Submitted by: Mariusz Z

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

2013-08-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 18 20:06:35 2013 New Revision: 254498 URL: http://svnweb.freebsd.org/changeset/base/254498 Log: Remove redundant space. Modified: head/lib/libc/gen/Symbol.map Modified: head/lib/libc/gen/Symbol.map

Re: svn commit: r254273 - in head: . include lib lib/libc/iconv lib/libiconv_compat lib/libkiconv share/mk sys/sys tools/build/mk

2013-08-18 Thread Joel Dahl
On Sun, Aug 18, 2013 at 12:34:30AM +0200, Dimitry Andric wrote: > On Aug 13, 2013, at 09:15, Peter Wemm wrote: > > Author: peter > > Date: Tue Aug 13 07:15:01 2013 > > New Revision: 254273 > > URL: http://svnweb.freebsd.org/changeset/base/254273 > > > > Log: > > The iconv in libc did two things

svn commit: r254497 - head/sys/sys

2013-08-18 Thread Tijl Coosemans
Author: tijl Date: Sun Aug 18 19:37:35 2013 New Revision: 254497 URL: http://svnweb.freebsd.org/changeset/base/254497 Log: Change the return type of the fallback implementation of the atomic_compare_exchange_* macros in stdatomic.h to _Bool. Modified: head/sys/sys/stdatomic.h Modified: hea

svn commit: r254496 - head/sys/dev/sdhci

2013-08-18 Thread Ian Lepore
Author: ian Date: Sun Aug 18 19:08:53 2013 New Revision: 254496 URL: http://svnweb.freebsd.org/changeset/base/254496 Log: Add a new SDHCI_QUIRK_DONT_SHIFT_RESPONSE for hardware that pre-shifts the response bits the way we do in software. While the hardware is just doing the sensible thing r

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

2013-08-18 Thread Olivier Houchard
Author: cognet Date: Sun Aug 18 18:08:12 2013 New Revision: 254495 URL: http://svnweb.freebsd.org/changeset/base/254495 Log: Increase the max KVA available for general consumption on the Exynos 5. Submitted by: Ruslan Bukin Modified: head/sys/arm/samsung/exynos/exynos5_machdep.c Modifi

svn commit: r254494 - head/sys/arm/conf

2013-08-18 Thread Andrew Turner
Author: andrew Date: Sun Aug 18 17:18:52 2013 New Revision: 254494 URL: http://svnweb.freebsd.org/changeset/base/254494 Log: Enable VFP in the Versatile PB (QEMU) kernel. Tested on QEMU 1.6.0. Modified: head/sys/arm/conf/VERSATILEPB Modified: head/sys/arm/conf/VERSATILEPB ===

svn commit: r254493 - head/sys/arm/conf

2013-08-18 Thread Andrew Turner
Author: andrew Date: Sun Aug 18 16:16:36 2013 New Revision: 254493 URL: http://svnweb.freebsd.org/changeset/base/254493 Log: Enable VFP on the CubieBoard and CubieBoard 2. Modified: head/sys/arm/conf/CUBIEBOARD head/sys/arm/conf/CUBIEBOARD2 Modified: head/sys/arm/conf/CUBIEBOARD ==

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

2013-08-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 18 13:38:39 2013 New Revision: 254492 URL: http://svnweb.freebsd.org/changeset/base/254492 Log: Regenerate after r254491. Modified: head/sys/compat/freebsd32/freebsd32_proto.h head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_sysca

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

2013-08-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 18 13:37:54 2013 New Revision: 254491 URL: http://svnweb.freebsd.org/changeset/base/254491 Log: The cap_rights_limit(2) system calls needs a wrapper for 32bit binaries running under 64bit kernels as the 'rights' argument has to be split into two registers or the hal

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

2013-08-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 18 13:34:11 2013 New Revision: 254490 URL: http://svnweb.freebsd.org/changeset/base/254490 Log: Move the PAIR32TO64() macro and the RETVAL_HI/RETVAL_LO defines to a header file for use by other .c files. Sponsored by: The FreeBSD Foundation Added: head/sys/com

svn commit: r254489 - head/sys/kern

2013-08-18 Thread Jilles Tjoelker
Author: jilles Date: Sun Aug 18 13:27:04 2013 New Revision: 254489 URL: http://svnweb.freebsd.org/changeset/base/254489 Log: Disallow opening a POSIX message queue for execute. O_EXEC was formerly ignored, so equivalent to O_RDONLY. Reject O_EXEC with [EINVAL] like the invalid mode 3.

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

2013-08-18 Thread Jilles Tjoelker
Author: jilles Date: Sun Aug 18 13:25:18 2013 New Revision: 254488 URL: http://svnweb.freebsd.org/changeset/base/254488 Log: dup3(3): Replace copyright notice. Although I copied dup(2) to create dup3(3), I removed almost all the non-boilerplate, so dup3(3) is copyright me. Reported b

svn commit: r254487 - head/sys/arm/conf

2013-08-18 Thread Andrew Turner
Author: andrew Date: Sun Aug 18 11:54:20 2013 New Revision: 254487 URL: http://svnweb.freebsd.org/changeset/base/254487 Log: Enable VFP support on EFIKA MX. Modified: head/sys/arm/conf/EFIKA_MX Modified: head/sys/arm/conf/EFIKA_MX =

svn commit: r254486 - head/usr.sbin/rwhod

2013-08-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 18 11:25:42 2013 New Revision: 254486 URL: http://svnweb.freebsd.org/changeset/base/254486 Log: Cast argument of is*() ctype functions to unsigned char. Without the cast there is ambiguity between 0xFF and -1 (EOF). Suggested by: jilles Submitted by: Mariusz

svn commit: r254485 - head/usr.bin/procstat

2013-08-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 18 10:44:37 2013 New Revision: 254485 URL: http://svnweb.freebsd.org/changeset/base/254485 Log: Make the "FD" column one character wider, so that "trace" can also align properly. Modified: head/usr.bin/procstat/procstat_files.c Modified: head/usr.bin/procstat/proc

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

2013-08-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 18 10:38:59 2013 New Revision: 254484 URL: http://svnweb.freebsd.org/changeset/base/254484 Log: Consistently use 'af' as an argument name for address family. Now both gethostbyname2(3) and gethostbyaddr(3) use the same argument name. The same argument name is also u

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

2013-08-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 18 10:33:46 2013 New Revision: 254483 URL: http://svnweb.freebsd.org/changeset/base/254483 Log: Make example more correct (errstr is a pointer, not boolean). Modified: head/lib/libc/stdlib/strtonum.3 Modified: head/lib/libc/stdlib/strtonum.3

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

2013-08-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 18 10:31:30 2013 New Revision: 254482 URL: http://svnweb.freebsd.org/changeset/base/254482 Log: Regenerate after r254481. Modified: head/sys/compat/freebsd32/freebsd32_proto.h head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_sysca

svn commit: r254481 - in head/sys: compat/freebsd32 conf kern sys

2013-08-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 18 10:30:41 2013 New Revision: 254481 URL: http://svnweb.freebsd.org/changeset/base/254481 Log: Implement 32bit versions of the cap_ioctls_limit(2) and cap_ioctls_get(2) system calls as unsigned longs have different size on i386 and amd64. Reported by: jilles

svn commit: r254480 - in head/sys: amd64/conf i386/conf ia64/conf pc98/conf powerpc/conf sparc64/conf

2013-08-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 18 10:21:29 2013 New Revision: 254480 URL: http://svnweb.freebsd.org/changeset/base/254480 Log: Add process descriptors support to the GENERIC kernel. It is already being used by the tools in base systems and with sandboxing more and more tools the usage should only

svn commit: r254479 - head/sys/sys

2013-08-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 18 09:45:52 2013 New Revision: 254479 URL: http://svnweb.freebsd.org/changeset/base/254479 Log: Better organize the filecaps structure, which reduces its size from 32 bytes to 24 bytes on 64bit archs. Modified: head/sys/sys/filedesc.h Modified: head/sys/sys/filede

Re: svn commit: r254466 - in head/sys/amd64: amd64 include

2013-08-18 Thread Slawa Olhovchenkov
On Sat, Aug 17, 2013 at 07:49:08PM +, Neel Natu wrote: > Author: neel > Date: Sat Aug 17 19:49:08 2013 > New Revision: 254466 > URL: http://svnweb.freebsd.org/changeset/base/254466 > > Log: > Bump up the maximum addressable memory on amd64 systems from 1TB to 4TB. > Bump up the KVA size p

svn commit: r254478 - stable/9/include

2013-08-18 Thread Ed Maste
Author: emaste Date: Sun Aug 18 08:24:58 2013 New Revision: 254478 URL: http://svnweb.freebsd.org/changeset/base/254478 Log: MFC r240970: - Make C11 atomic macros usable in expressions: - Replace do-while statements with void expressions. - Wrap __asm statements in statement e

svn commit: r254477 - stable/9/include

2013-08-18 Thread Ed Maste
Author: emaste Date: Sun Aug 18 08:18:49 2013 New Revision: 254477 URL: http://svnweb.freebsd.org/changeset/base/254477 Log: MFC r239960: Properly enable Clang-style atomics when available. In addition to testing against cxx_atomic, we must check c_atomic. The former is only se