Re: svn commit: r234329 - head/lib/libc/net

2012-04-16 Thread Gleb Smirnoff
On Sun, Apr 15, 2012 at 11:56:04PM +, Eitan Adler wrote: E> Author: eadler E> Date: Sun Apr 15 23:56:03 2012 E> New Revision: 234329 E> URL: http://svn.freebsd.org/changeset/base/234329 E> E> Log: E> When searching for uninitialized memory usage add ensure that the entire E> struct is set

svn commit: r234336 - head/cddl/contrib/opensolaris/cmd/zpool

2012-04-16 Thread Martin Matuska
Author: mm Date: Mon Apr 16 08:19:43 2012 New Revision: 234336 URL: http://svn.freebsd.org/changeset/base/234336 Log: Fix typo miror -> mirror Reported by: Glen Barber MFC after:3 days Modified: head/cddl/contrib/opensolaris/cmd/zpool/zpool.8 Modified: head/cddl/contrib/opensola

svn commit: r234337 - in head: lib/libc/arm/gen sys/arm/include

2012-04-16 Thread Andrew Turner
Author: andrew Date: Mon Apr 16 09:38:20 2012 New Revision: 234337 URL: http://svn.freebsd.org/changeset/base/234337 Log: Replace the C implementation of __aeabi_read_tp with an assembly version. This ensures we follow the ABI by preserving registers r1-r3. Reviewed by: jmallett, imp Ad

svn commit: r234338 - head/sys/pci

2012-04-16 Thread Andriy Gapon
Author: avg Date: Mon Apr 16 10:33:46 2012 New Revision: 234338 URL: http://svn.freebsd.org/changeset/base/234338 Log: intpm: add ATI IXP400 pci id PR: kern/136762 Submitted by: Aurelien Mere Tested by:Jens Link MFC after:5 days Modified: head/sys/pci/intpm.c M

svn commit: r234339 - head/sys/boot/i386/zfsboot

2012-04-16 Thread Andriy Gapon
Author: avg Date: Mon Apr 16 10:43:06 2012 New Revision: 234339 URL: http://svn.freebsd.org/changeset/base/234339 Log: zfsboot: honor -q if it's present in boot.config Before r228267 the option was honored but the original content of boot.config was not preserved. I tried to fix that but

svn commit: r234341 - head/sys/netgraph

2012-04-16 Thread Marko Zec
Author: zec Date: Mon Apr 16 13:41:46 2012 New Revision: 234341 URL: http://svn.freebsd.org/changeset/base/234341 Log: #include is no longer needed here. Spotted by: Ed Maste MFC after:3 days. Modified: head/sys/netgraph/ng_source.c Modified: head/sys/netgraph/ng_source.c =

svn commit: r234342 - head/sys/netinet

2012-04-16 Thread Gleb Smirnoff
Author: glebius Date: Mon Apr 16 13:49:03 2012 New Revision: 234342 URL: http://svn.freebsd.org/changeset/base/234342 Log: When we receive an ICMP unreach need fragmentation datagram, we take proposed MTU value from it and update the TCP host cache. Then tcp_mss_update() is called on the cor

Re: svn commit: r234280 - head/sys/kern

2012-04-16 Thread John Baldwin
On Saturday, April 14, 2012 7:21:24 am Marius Strobl wrote: > Author: marius > Date: Sat Apr 14 11:21:24 2012 > New Revision: 234280 > URL: http://svn.freebsd.org/changeset/base/234280 > > Log: > Fix !DDB build after r234190. > > Modified: > head/sys/kern/subr_turnstile.c Doh, thanks for fix

Re: svn commit: r234074 - in head/sys: amd64/amd64 i386/i386

2012-04-16 Thread John Baldwin
On Saturday, April 14, 2012 7:05:35 pm Justin T. Gibbs wrote: > > On Apr 10, 2012, at 5:41 AM, Marius Strobl wrote: > > > On Tue, Apr 10, 2012 at 01:03:56AM +0100, Attilio Rao wrote: > >> Il 10 aprile 2012 00:09, Marius Strobl ha scritto: > >>> On Mon, Apr 09, 2012 at 10:41:19PM +, Attilio

svn commit: r234343 - head/share/misc

2012-04-16 Thread Armin Pirkovitsch
Author: sperber (ports committer) Date: Mon Apr 16 15:08:01 2012 New Revision: 234343 URL: http://svn.freebsd.org/changeset/base/234343 Log: Add myself to committers-ports Approved by: beat (mentor) Modified: head/share/misc/committers-ports.dot Modified: head/share/misc/committers-por

Re: svn commit: r234329 - head/lib/libc/net

2012-04-16 Thread Eitan Adler
2012/4/16 Gleb Smirnoff : > Is that PURIFY documented anywhere? I'm uncertain, but it isn't the only use in the source tree. -- Eitan Adler Source & Ports committer X11, Bugbusting teams ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.o

Re: svn commit: r234329 - head/lib/libc/net

2012-04-16 Thread Gleb Smirnoff
On Mon, Apr 16, 2012 at 11:48:49AM -0400, Eitan Adler wrote: E> 2012/4/16 Gleb Smirnoff : E> > Is that PURIFY documented anywhere? E> E> I'm uncertain, but it isn't the only use in the source tree. Is there any build with it? (rhetoric question) I'm just afraid that committing fix under ifdef wo

svn commit: r234345 - head/sbin/fdisk

2012-04-16 Thread Dmitry Morozovsky
Author: marck (doc committer) Date: Mon Apr 16 17:30:19 2012 New Revision: 234345 URL: http://svn.freebsd.org/changeset/base/234345 Log: VMware environment is frequent nowadays. Add VMFS id. MFC after:2 weeks Modified: head/sbin/fdisk/fdisk.c Modified: head/sbin/fdisk/fdisk.c =

svn commit: r234346 - head/sys/fs/tmpfs

2012-04-16 Thread Jaakko Heinonen
Author: jh Date: Mon Apr 16 18:07:42 2012 New Revision: 234346 URL: http://svn.freebsd.org/changeset/base/234346 Log: tmpfs: Allow update mounts only for certain options. Since r230208 update mounts were allowed if the list of mount options contained the "export" option. This is not corre

svn commit: r234347 - head/sys/fs/tmpfs

2012-04-16 Thread Jaakko Heinonen
Author: jh Date: Mon Apr 16 18:10:34 2012 New Revision: 234347 URL: http://svn.freebsd.org/changeset/base/234347 Log: Sync tmpfs_chflags() with the recent changes to UFS: - Add a check for unsupported file flags. - Return EPERM when an user without PRIV_VFS_SYSFLAGS privilege attempts

svn commit: r234349 - head/sys/dev/virtio/block

2012-04-16 Thread Peter Grehan
Author: grehan Date: Mon Apr 16 18:29:12 2012 New Revision: 234349 URL: http://svn.freebsd.org/changeset/base/234349 Log: Sync with Bryan Venteicher's virtio git repo: d04e609bdd1973cc7d2e8b38b7dcfae057b0962d virtio_blk: Use correct temporary variable in vtblk_poll_request Obta

svn commit: r234348 - head/sys/sparc64/conf

2012-04-16 Thread Marius Strobl
Author: marius Date: Mon Apr 16 18:29:07 2012 New Revision: 234348 URL: http://svn.freebsd.org/changeset/base/234348 Log: Turn on PREEMPTION by default. After fixing several bugs over time, the last show-stopper keeping PREEMPTION from being usable on sparc64 should have been dealt with in r

svn commit: r234350 - head/sys/i386/i386

2012-04-16 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 16 19:31:44 2012 New Revision: 234350 URL: http://svn.freebsd.org/changeset/base/234350 Log: - When interrupt is not requested for VM86 call, make a fake exit point and push the address onto stack as we do for INTn emulation. This avoids stack underflow when we en

Re: svn commit: r234337 - in head: lib/libc/arm/gen sys/arm/include

2012-04-16 Thread Juli Mallett
On Mon, Apr 16, 2012 at 02:38, Andrew Turner wrote: > Log: >  Replace the C implementation of __aeabi_read_tp with an assembly version. >  This ensures we follow the ABI by preserving registers r1-r3. > +ENTRY(__aeabi_read_tp) > +       ldr     r0, .Larm_tp_address > +       ldr     r0, [r0] > +

Re: svn commit: r234337 - in head: lib/libc/arm/gen sys/arm/include

2012-04-16 Thread Bjoern A. Zeeb
On 16. Apr 2012, at 19:41 , Juli Mallett wrote: > On Mon, Apr 16, 2012 at 02:38, Andrew Turner wrote: >> Log: >> Replace the C implementation of __aeabi_read_tp with an assembly version. >> This ensures we follow the ABI by preserving registers r1-r3. > >> +ENTRY(__aeabi_read_tp) >> + l

Re: svn commit: r234337 - in head: lib/libc/arm/gen sys/arm/include

2012-04-16 Thread Ian Lepore
On Mon, 2012-04-16 at 12:41 -0700, Juli Mallett wrote: > On Mon, Apr 16, 2012 at 02:38, Andrew Turner wrote: > > Log: > > Replace the C implementation of __aeabi_read_tp with an assembly version. > > This ensures we follow the ABI by preserving registers r1-r3. > > > +ENTRY(__aeabi_read_tp) > >

Re: svn commit: r234337 - in head: lib/libc/arm/gen sys/arm/include

2012-04-16 Thread Andrew Turner
On Mon, 16 Apr 2012 12:41:38 -0700 Juli Mallett wrote: > On Mon, Apr 16, 2012 at 02:38, Andrew Turner > wrote: > > Log: > >  Replace the C implementation of __aeabi_read_tp with an assembly > > version. This ensures we follow the ABI by preserving registers > > r1-r3. > > > +ENTRY(__aeabi_read_

svn commit: r234351 - head/usr.sbin/pkg

2012-04-16 Thread Baptiste Daroussin
Author: bapt Date: Mon Apr 16 20:41:25 2012 New Revision: 234351 URL: http://svn.freebsd.org/changeset/base/234351 Log: - Use _PATH_TMP instead of hardcoded /tmp - more style(9) fixes - some refactoring - better error detection - Add the DPADD to Makefile Submitted by: Garrett Coope

svn commit: r234352 - in head/sys: amd64/linux32 compat/linux i386/linux kern

2012-04-16 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 16 21:22:02 2012 New Revision: 234352 URL: http://svn.freebsd.org/changeset/base/234352 Log: - Implement pipe2 syscall for Linuxulator. This syscall appeared in 2.6.27 but GNU libc used it without checking its kernel version, e. g., Fedora 10. - Move pipe(2) imple

svn commit: r234354 - in head/sys: amd64/linux32 i386/linux

2012-04-16 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 16 21:24:23 2012 New Revision: 234354 URL: http://svn.freebsd.org/changeset/base/234354 Log: Regen for r234352. Modified: head/sys/amd64/linux32/linux32_proto.h head/sys/amd64/linux32/linux32_syscall.h head/sys/amd64/linux32/linux32_syscalls.c head/sys/amd64/l

svn commit: r234355 - head/sys/sys

2012-04-16 Thread Dimitry Andric
Author: dim Date: Mon Apr 16 21:28:04 2012 New Revision: 234355 URL: http://svn.freebsd.org/changeset/base/234355 Log: Bump __FreeBSD_version due to the import of a new clang 3.1 prerelease snapshot. Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

Re: svn commit: r233937 - in head/sys: kern net security/mac

2012-04-16 Thread Adrian Chadd
On 15 April 2012 23:33, Alexander V. Chernikov wrote: > On 16.04.2012 01:17, Adrian Chadd wrote: >> >> Hi, >> >> This has broken (at least) net80211 and bpf, with LOR: > > Yes, it is. Please try the attached patch Hi, This seems like a very, very complicated diff. * You've removed BPF_LOCK_ASSE

svn commit: r234356 - in head: gnu/lib/csu lib/clang lib/csu/powerpc

2012-04-16 Thread Dimitry Andric
Author: dim Date: Mon Apr 16 21:36:55 2012 New Revision: 234356 URL: http://svn.freebsd.org/changeset/base/234356 Log: Work around an issue on 32-bit PowerPC, where clang executable can get too big, causing 'relocation truncated to fit' errors at link time. Reviewed by: nwhitehorn Modif

Re: svn commit: r234355 - head/sys/sys

2012-04-16 Thread Bjoern A. Zeeb
On 16. Apr 2012, at 21:28 , Dimitry Andric wrote: > Author: dim > Date: Mon Apr 16 21:28:04 2012 > New Revision: 234355 > URL: http://svn.freebsd.org/changeset/base/234355 > > Log: > Bump __FreeBSD_version due to the import of a new clang 3.1 prerelease > snapshot. > With SVN can we please

svn commit: r234357 - in head/sys: amd64/linux32 i386/linux

2012-04-16 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 16 22:58:28 2012 New Revision: 234357 URL: http://svn.freebsd.org/changeset/base/234357 Log: Correct arguments of stat64, fstat64 and lstat64 syscalls for Linuxulator. Modified: head/sys/amd64/linux32/syscalls.master head/sys/i386/linux/syscalls.master Modified:

svn commit: r234358 - in head/sys: amd64/linux32 i386/linux

2012-04-16 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 16 22:59:51 2012 New Revision: 234358 URL: http://svn.freebsd.org/changeset/base/234358 Log: Regen for r234357. Modified: head/sys/amd64/linux32/linux32_proto.h head/sys/amd64/linux32/linux32_syscall.h head/sys/amd64/linux32/linux32_syscalls.c head/sys/amd64/l

svn commit: r234359 - in head/sys: amd64/linux32 i386/linux

2012-04-16 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 16 23:16:18 2012 New Revision: 234359 URL: http://svn.freebsd.org/changeset/base/234359 Log: Correct an argument type of iopl syscall for Linuxulator. This also fixes a warning from Clang, i. e., "args->level < 0 is always false". Modified: head/sys/amd64/linux32

svn commit: r234360 - in head/sys: amd64/linux32 i386/linux

2012-04-16 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 16 23:17:29 2012 New Revision: 234360 URL: http://svn.freebsd.org/changeset/base/234360 Log: Regen for r234359. Modified: head/sys/amd64/linux32/linux32_proto.h head/sys/amd64/linux32/linux32_syscall.h head/sys/amd64/linux32/linux32_syscalls.c head/sys/amd64/l

svn commit: r234362 - head/sys/dev/fb

2012-04-16 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 16 23:29:12 2012 New Revision: 234362 URL: http://svn.freebsd.org/changeset/base/234362 Log: Fix a Clang warning. Submitted by: arundel Modified: head/sys/dev/fb/s3_pci.c Modified: head/sys/dev/fb/s3_pci.c ==

svn commit: r234364 - head/sys/x86/include

2012-04-16 Thread Peter Grehan
Author: grehan Date: Tue Apr 17 00:54:38 2012 New Revision: 234364 URL: http://svn.freebsd.org/changeset/base/234364 Log: Add x2apic MSR definitions Reviewed by: jhb Obtained from:bhyve via Neel via NetApp Modified: head/sys/x86/include/specialreg.h Modified: head/sys/x86/inc

svn commit: r234365 - head/sys/mips/atheros

2012-04-16 Thread Adrian Chadd
Author: adrian Date: Tue Apr 17 01:22:59 2012 New Revision: 234365 URL: http://svn.freebsd.org/changeset/base/234365 Log: Protect the PCI space registers behind a mutex. Obtained from:Linux/OpenWRT, Atheros Modified: head/sys/mips/atheros/ar71xx_pci.c Modified: head/sys/mips/ath

svn commit: r234366 - head/sys/mips/atheros

2012-04-16 Thread Adrian Chadd
Author: adrian Date: Tue Apr 17 01:34:49 2012 New Revision: 234366 URL: http://svn.freebsd.org/changeset/base/234366 Log: Style(9) and white space fixes. Modified: head/sys/mips/atheros/ar71xx_pci.c Modified: head/sys/mips/atheros/ar71xx_pci.c

svn commit: r234367 - head/sys/dev/mwl

2012-04-16 Thread Adrian Chadd
Author: adrian Date: Tue Apr 17 04:31:50 2012 New Revision: 234367 URL: http://svn.freebsd.org/changeset/base/234367 Log: Add missing #include Modified: head/sys/dev/mwl/if_mwl.c Modified: head/sys/dev/mwl/if_mwl.c =

svn commit: r234368 - head/sys/dev/mwl

2012-04-16 Thread Adrian Chadd
Author: adrian Date: Tue Apr 17 04:52:57 2012 New Revision: 234368 URL: http://svn.freebsd.org/changeset/base/234368 Log: Fix the RX free list locking creation and destruction to be consistent even in the face of errors. If the RX descriptor list fails, the RX lock won't be initialised, b

Re: svn commit: r234355 - head/sys/sys

2012-04-16 Thread Dimitry Andric
On 2012-04-17 00:38, Bjoern A. Zeeb wrote: On 16. Apr 2012, at 21:28 , Dimitry Andric wrote: Author: dim Date: Mon Apr 16 21:28:04 2012 New Revision: 234355 URL: http://svn.freebsd.org/changeset/base/234355 Log: Bump __FreeBSD_version due to the import of a new clang 3.1 prerelease snapshot

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

2012-04-16 Thread Adrian Chadd
Author: adrian Date: Tue Apr 17 06:02:41 2012 New Revision: 234369 URL: http://svn.freebsd.org/changeset/base/234369 Log: Run the fatal proc as a proc, rather than where it currently is. Otherwise the reset path will sleep, which it can't do in this context. Modified: head/sys/dev/ath/if