svn commit: r246873 - head/contrib/opie

2013-02-16 Thread Dimitry Andric
Author: dim Date: Sat Feb 16 12:45:57 2013 New Revision: 246873 URL: http://svnweb.freebsd.org/changeset/base/246873 Log: In contrib/opie/opiekey.c, use the correct length to zero the secret. Found by: clang ToT Reviewed by: delphij MFC after:3 days Modified:

svn commit: r246874 - in head/contrib/nvi: ex vi

2013-02-16 Thread Dimitry Andric
Author: dim Date: Sat Feb 16 12:48:06 2013 New Revision: 246874 URL: http://svnweb.freebsd.org/changeset/base/246874 Log: Fix two instances of undefined behaviour in contrib/nvi. Found by: clang ToT Obtained from:NetBSD Reviewed by: jh MFC after:3 days Modified:

svn commit: r246875 - head/contrib/wpa/src/crypto

2013-02-16 Thread Dimitry Andric
Author: dim Date: Sat Feb 16 12:52:40 2013 New Revision: 246875 URL: http://svnweb.freebsd.org/changeset/base/246875 Log: Import change 40eebf235370b6fe6353784ccf01ab92eed062a5 from upstream wpa: From: Jouni Malinen j...@w1.fi Date: Fri, 15 Jul 2011 13:42:06 +0300 Subject:

Re: svn commit: r246824 - head/lib/libc/stdio

2013-02-16 Thread Jilles Tjoelker
On Sat, Feb 16, 2013 at 04:08:06AM +1100, Bruce Evans wrote: On Fri, 15 Feb 2013, Jilles Tjoelker wrote: Log: setbuf(3): Remove bugs section about ancient versions of BSD. Modified: head/lib/libc/stdio/setbuf.3 Modified: head/lib/libc/stdio/setbuf.3

svn commit: r246876 - in head/sys: geom kern sys

2013-02-16 Thread Kirk McKusick
Author: mckusick Date: Sat Feb 16 14:51:30 2013 New Revision: 246876 URL: http://svnweb.freebsd.org/changeset/base/246876 Log: Add barrier write capability to the VFS buffer interface. A barrier write is a disk write request that tells the disk that the buffer being written must be

svn commit: r246877 - head/sys/ufs/ffs

2013-02-16 Thread Kirk McKusick
Author: mckusick Date: Sat Feb 16 15:11:40 2013 New Revision: 246877 URL: http://svnweb.freebsd.org/changeset/base/246877 Log: The UFS2 filesystem allocates new blocks of inodes as they are needed. When a cylinder group runs short of inodes, a new block for inodes is allocated, zero'ed, and

Re: svn commit: r246204 - head/sys/arm/include

2013-02-16 Thread Alan Cox
On 02/16/2013 00:36, Oleksandr Tymoshenko wrote: On 2013-02-01, at 2:26 AM, Andre Oppermann an...@freebsd.org wrote: Author: andre Date: Fri Feb 1 10:26:31 2013 New Revision: 246204 URL: http://svnweb.freebsd.org/changeset/base/246204 Log: Add VM_KMEM_SIZE_SCALE parameter set to 2 (50%)

svn commit: r246879 - head/sys/dev/ath

2013-02-16 Thread Adrian Chadd
Author: adrian Date: Sat Feb 16 19:11:57 2013 New Revision: 246879 URL: http://svnweb.freebsd.org/changeset/base/246879 Log: * Reduce the PCU lock overhead a little by only re-acquiring it if we actually do have to reinitialise the RX side of things after an RX descriptor EOL error.

Re: svn commit: r246204 - head/sys/arm/include

2013-02-16 Thread Oleksandr Tymoshenko
On 2013-02-16, at 9:46 AM, Alan Cox a...@rice.edu wrote: On 02/16/2013 00:36, Oleksandr Tymoshenko wrote: On 2013-02-01, at 2:26 AM, Andre Oppermann an...@freebsd.org wrote: Author: andre Date: Fri Feb 1 10:26:31 2013 New Revision: 246204 URL:

svn commit: r246880 - in head: lib/libsm libexec/mail.local libexec/smrsh share/mk usr.bin/vacation usr.sbin/sendmail

2013-02-16 Thread Dimitry Andric
Author: dim Date: Sat Feb 16 20:17:31 2013 New Revision: 246880 URL: http://svnweb.freebsd.org/changeset/base/246880 Log: Since clang 3.2 now has an option to suppress warnings about implicitly promoted KR parameters, remove the workarounds added for sendmail components in r228558. MFC

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

2013-02-16 Thread Ian Lepore
Author: ian Date: Sat Feb 16 20:43:16 2013 New Revision: 246881 URL: http://svnweb.freebsd.org/changeset/base/246881 Log: In _bus_dmamap_addseg(), the return value must be zero for error, or the size actually added to the segment (possibly smaller than the requested size if boundary

svn commit: r246882 - head/sys/ia64/ia64

2013-02-16 Thread Marcel Moolenaar
Author: marcel Date: Sat Feb 16 21:46:27 2013 New Revision: 246882 URL: http://svnweb.freebsd.org/changeset/base/246882 Log: Return EFAULT when the address is not a kernel virtual address. Modified: head/sys/ia64/ia64/mem.c Modified: head/sys/ia64/ia64/mem.c

svn commit: r246883 - head/contrib/ldns

2013-02-16 Thread Dag-Erling Smørgrav
Author: des Date: Sat Feb 16 22:16:14 2013 New Revision: 246883 URL: http://svnweb.freebsd.org/changeset/base/246883 Log: #if out unused functions which trip up gcc but not clang. Modified: head/contrib/ldns/dnssec_verify.c head/contrib/ldns/dnssec_zone.c head/contrib/ldns/parse.c

svn commit: r246884 - in head/lib/libc: gen sys

2013-02-16 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Feb 16 22:21:46 2013 New Revision: 246884 URL: http://svnweb.freebsd.org/changeset/base/246884 Log: Put one file per line so it is easier to read diffs against those files. Modified: head/lib/libc/gen/Makefile.inc head/lib/libc/sys/Makefile.inc Modified:

svn commit: r246885 - in stable/9/sys: amd64/conf conf i386/conf

2013-02-16 Thread Luigi Rizzo
Author: luigi Date: Sat Feb 16 22:44:02 2013 New Revision: 246885 URL: http://svnweb.freebsd.org/changeset/base/246885 Log: partial MFC of rev=245362: enable building virtio devices into static kernels. I think the 'files.*' entries should be improved (also in HEAD) because bringing up

Re: svn commit: r246824 - head/lib/libc/stdio

2013-02-16 Thread Bruce Evans
On Sat, 16 Feb 2013, Jilles Tjoelker wrote: On Sat, Feb 16, 2013 at 04:08:06AM +1100, Bruce Evans wrote: On Fri, 15 Feb 2013, Jilles Tjoelker wrote: Log: setbuf(3): Remove bugs section about ancient versions of BSD. Modified: head/lib/libc/stdio/setbuf.3 ... -On -.Bx 4.2 -and -.Bx 4.3

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

2013-02-16 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Feb 16 23:12:06 2013 New Revision: 246886 URL: http://svnweb.freebsd.org/changeset/base/246886 Log: Various timing-related fixes: - Replace divisor numbers with more descirptive names - Properly calculate minimum frequency for SDHCI 3.0 - Properly calculate

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

2013-02-16 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Feb 16 23:52:14 2013 New Revision: 246887 URL: http://svnweb.freebsd.org/changeset/base/246887 Log: Disable debug accidentally enabled by previous commit Modified: head/sys/dev/sdhci/sdhci.c Modified: head/sys/dev/sdhci/sdhci.c

svn commit: r246888 - head/sys/arm/broadcom/bcm2835

2013-02-16 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Feb 17 00:23:42 2013 New Revision: 246888 URL: http://svnweb.freebsd.org/changeset/base/246888 Log: - Add hw.bcm2835.sdhci.hs tunable to enable/disable highspeed mode in SDHCI driver Suggested by: Daisuke Aoyama - Set initilization sequence frequency to

svn commit: r246890 - head/sys/ia64/ia64

2013-02-16 Thread Marcel Moolenaar
Author: marcel Date: Sun Feb 17 00:51:34 2013 New Revision: 246890 URL: http://svnweb.freebsd.org/changeset/base/246890 Log: Close a race relating to setting the PCPU pointer (r13). Register r13 points to the TLS in user space and points to the PCPU structure in the kernel. The race is the

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

2013-02-16 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Feb 17 01:34:25 2013 New Revision: 246891 URL: http://svnweb.freebsd.org/changeset/base/246891 Log: Remove accidentally committed debug panic(9) call Modified: head/sys/dev/sdhci/sdhci.c Modified: head/sys/dev/sdhci/sdhci.c

svn commit: r246892 - stable/9/sys/fs/ext2fs

2013-02-16 Thread Pedro F. Giffuni
Author: pfg Date: Sun Feb 17 01:34:41 2013 New Revision: 246892 URL: http://svnweb.freebsd.org/changeset/base/246892 Log: MFC r240355, r239372, r246258; ext2fs: general cleanups. - Remove unused extern declarations in fs.h - Correct comments in ext2_dir.h - Several panic()

svn commit: r246893 - head/gnu/usr.bin/gdb/kgdb

2013-02-16 Thread Marcel Moolenaar
Author: marcel Date: Sun Feb 17 02:15:19 2013 New Revision: 246893 URL: http://svnweb.freebsd.org/changeset/base/246893 Log: In kthr.c, obtain the address of the PCB for threads that were running on a core, when the core was stopped, by calling kgdb_trgt_core_pcb(). This has 2 advantages:

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

2013-02-16 Thread David Xu
Author: davidxu Date: Sun Feb 17 02:52:42 2013 New Revision: 246894 URL: http://svnweb.freebsd.org/changeset/base/246894 Log: Make more code be protected by internal mutex, and now it is fork-safe, in error case, the file exclusive lock is now released as soon as possible, in previous code,

svn commit: r246895 - in stable/9/usr.sbin/crunch: crunchgen crunchide

2013-02-16 Thread Pedro F. Giffuni
Author: pfg Date: Sun Feb 17 03:33:13 2013 New Revision: 246895 URL: http://svnweb.freebsd.org/changeset/base/246895 Log: MFC r246296, r246298, r246346; crunchide: support non-custom elf object layout. crunchgen: Permit use of alternative linkers. crunchide: Put e_shnum into a local

svn commit: r246896 - head/tools/tools/netmap

2013-02-16 Thread Luigi Rizzo
Author: luigi Date: Sun Feb 17 04:43:22 2013 New Revision: 246896 URL: http://svnweb.freebsd.org/changeset/base/246896 Log: update the netmap example programs merging some common code in nm_util.c pkt-gen now implements several functions (unlimited transmit, receive, ping-pong) and can

svn commit: r246897 - stable/9/sys/kern

2013-02-16 Thread Konstantin Belousov
Author: kib Date: Sun Feb 17 06:06:11 2013 New Revision: 246897 URL: http://svnweb.freebsd.org/changeset/base/246897 Log: MFC r246636: Remove the ia64-specific code fragment, which effect is more cleanly done by the call to trans_prot() function a line before. Modified: