svn commit: r230262 - head/sys/amd64/include

2012-01-16 Thread Konstantin Belousov
Author: kib Date: Tue Jan 17 07:30:36 2012 New Revision: 230262 URL: http://svn.freebsd.org/changeset/base/230262 Log: Implement xsetbv(), xsave() and xrstor() providing C access to the similarly named CPU instructions. Since our in-tree binutils gas is not aware of the instructions, and

svn commit: r230261 - in head/sys: amd64/include i386/include

2012-01-16 Thread Konstantin Belousov
Author: kib Date: Tue Jan 17 07:23:43 2012 New Revision: 230261 URL: http://svn.freebsd.org/changeset/base/230261 Log: Add definitions related to XCR0. MFC after:1 week Modified: head/sys/amd64/include/specialreg.h head/sys/i386/include/specialreg.h Modified: head/sys/amd64/includ

svn commit: r230260 - head/sys/amd64/include

2012-01-16 Thread Konstantin Belousov
Author: kib Date: Tue Jan 17 07:21:23 2012 New Revision: 230260 URL: http://svn.freebsd.org/changeset/base/230260 Log: Add macro IS_BSP() to check whether the current CPU is BSP. MFC after:1 week Modified: head/sys/amd64/include/pcpu.h Modified: head/sys/amd64/include/pcpu.h ===

svn commit: r230256 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-01-16 Thread Sergey Kandaurov
Author: pluknet Date: Tue Jan 17 06:23:25 2012 New Revision: 230256 URL: http://svn.freebsd.org/changeset/base/230256 Log: Fix the "lock &zrl->zr_mtx already initialized" assertion by initializing the allocated memory before calling mtx_init(9) on mtx pointing to it. Otherwize, random conten

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

2012-01-16 Thread Kevin Lo
Author: kevlo Date: Tue Jan 17 01:25:53 2012 New Revision: 230252 URL: http://svn.freebsd.org/changeset/base/230252 Log: Return EOPNOTSUPP since we only support update mounts for NFS export. Spotted by: trociny Modified: head/sys/fs/tmpfs/tmpfs_vfsops.c Modified: head/sys/fs/tmpfs/tmp

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

2012-01-16 Thread Kirk McKusick
Author: mckusick Date: Tue Jan 17 01:14:56 2012 New Revision: 230250 URL: http://svn.freebsd.org/changeset/base/230250 Log: There are several bugs/hangs when trying to take a snapshot on a UFS/FFS filesystem running with journaled soft updates. Until these problems have been tracked down, re

svn commit: r230249 - in head/sys: compat/freebsd32 fs/cd9660 fs/fdescfs fs/hpfs fs/msdosfs fs/nfsclient fs/ntfs fs/nwfs fs/portalfs fs/pseudofs fs/smbfs gnu/fs/reiserfs kern nfsclient sys ufs/ffs

2012-01-16 Thread Kirk McKusick
Author: mckusick Date: Tue Jan 17 01:08:01 2012 New Revision: 230249 URL: http://svn.freebsd.org/changeset/base/230249 Log: Make sure all intermediate variables holding mount flags (mnt_flag) and that all internal kernel calls passing mount flags are declared as uint64_t so that flags in the

svn commit: r230247 - head/sys/vm

2012-01-16 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jan 17 00:31:09 2012 New Revision: 230247 URL: http://svn.freebsd.org/changeset/base/230247 Log: Revert r212360 now that PowerPC can handle large sparse arguments to pmap_remove() (changed in r228412). MFC after:2 weeks Modified: head/sys/vm/vm_pageout.

svn commit: r230246 - head/sys/kern

2012-01-16 Thread Alan Cox
Author: alc Date: Tue Jan 17 00:27:32 2012 New Revision: 230246 URL: http://svn.freebsd.org/changeset/base/230246 Log: Improve abstraction. Eliminate direct access by elf*_load_section() to an OBJT_VNODE-specific field of the vm object. The same information can be just as easily obtained f

svn commit: r230242 - in head/sys/dev/usb: . serial

2012-01-16 Thread Stanislav Sedov
Author: stas Date: Mon Jan 16 23:14:23 2012 New Revision: 230242 URL: http://svn.freebsd.org/changeset/base/230242 Log: - Add ID for the BeagleBone FTDI serial over usb port. MFC after:3 days Modified: head/sys/dev/usb/serial/uftdi.c head/sys/dev/usb/usbdevs Modified: head/sys/dev

svn commit: r230238 - in head/sys/dev/usb: . quirk serial

2012-01-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jan 16 22:26:25 2012 New Revision: 230238 URL: http://svn.freebsd.org/changeset/base/230238 Log: Add support for more USB devices. Submitted by: pav @ MFC after:1 week Modified: head/sys/dev/usb/quirk/usb_quirk.c head/sys/dev/usb/serial/u3g.c head/sys

svn commit: r230234 - head/lib/libutil

2012-01-16 Thread Guy Helmer
Author: ghelmer Date: Mon Jan 16 21:25:41 2012 New Revision: 230234 URL: http://svn.freebsd.org/changeset/base/230234 Log: Remove unnecessary includes from these libutil man pages. Requested by bde (as was the previous commit). Modified: head/lib/libutil/pidfile.3 head/lib/libutil/prop

svn commit: r230233 - head/lib/libutil

2012-01-16 Thread Guy Helmer
Author: ghelmer Date: Mon Jan 16 21:19:23 2012 New Revision: 230233 URL: http://svn.freebsd.org/changeset/base/230233 Log: Fix more disorder in prototypes and constants. Fix header comments for each section of constants. Fix whitespace in #define lines. Fix unnecessary parenthesis in const

svn commit: r230231 - head/sys/kern

2012-01-16 Thread Sergey Kandaurov
Author: pluknet Date: Mon Jan 16 20:42:56 2012 New Revision: 230231 URL: http://svn.freebsd.org/changeset/base/230231 Log: Be pedantic and change // comment to C-style one. Noticed by: Bruce Evans Modified: head/sys/kern/kern_intr.c Modified: head/sys/kern/kern_intr.c

svn commit: r230230 - head/sys/dev/random

2012-01-16 Thread David Schultz
Author: das Date: Mon Jan 16 20:18:10 2012 New Revision: 230230 URL: http://svn.freebsd.org/changeset/base/230230 Log: Generate a warning if the kernel's arc4random() is seeded with bogus entropy. Modified: head/sys/dev/random/harvest.c Modified: head/sys/dev/random/harvest.c ===

svn commit: r230229 - in head/sys: arm/include mips/include powerpc/include

2012-01-16 Thread David Schultz
Author: das Date: Mon Jan 16 20:17:51 2012 New Revision: 230229 URL: http://svn.freebsd.org/changeset/base/230229 Log: Fix the value of float_t to match what is implied by FLT_EVAL_METHOD. Modified: head/sys/arm/include/_types.h head/sys/mips/include/_types.h head/sys/powerpc/include/_typ

svn commit: r230228 - head/sys/powerpc/include

2012-01-16 Thread David Schultz
Author: das Date: Mon Jan 16 20:17:29 2012 New Revision: 230228 URL: http://svn.freebsd.org/changeset/base/230228 Log: Change the definition of FLT_EVAL_METHOD from 1 to 0. A value of 1 implies that the compiler promotes floats to double precision in computations, but inspection of the outp

Re: svn commit: r230193 - head/lib/libc/sparc64/fpu

2012-01-16 Thread David Schultz
On Tue, Jan 17, 2012, Bruce Evans wrote: > On Mon, 16 Jan 2012, David Schultz wrote: > > >Log: > > Computations on NaNs are supposed to return one of the input NaNs > > unchanged. > > Fix a few places in the sparc64 floating-point emulator where this wasn't > > being handled properly. > > > > Sub

Re: svn commit: r229794 - head/usr.bin/hexdump

2012-01-16 Thread Tijl Coosemans
On Sunday 08 January 2012 00:15:22 Eitan Adler wrote: > Author: eadler (ports committer) > Date: Sat Jan 7 23:15:21 2012 > New Revision: 229794 > URL: http://svn.freebsd.org/changeset/base/229794 > > Log: > - Fix how hexdump parses escape strings > From the NetBSD bug: > The way how hexdump

svn commit: r230226 - in head: sbin/mount sbin/mount_cd9660 sbin/mount_ext2fs sbin/mount_msdosfs sbin/mount_nfs sbin/mount_ntfs sbin/mount_nullfs sbin/mount_reiserfs sbin/mount_std sbin/mount_udf s...

2012-01-16 Thread Jaakko Heinonen
Author: jh Date: Mon Jan 16 19:34:21 2012 New Revision: 230226 URL: http://svn.freebsd.org/changeset/base/230226 Log: Change checkpath() to not exit on error. This is a prerequisite for fixing the mount(8) "failok" option. PR: 163668 Reviewed by: Garrett Cooper, delphij (prev

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

2012-01-16 Thread David Schultz
On Mon, Jan 16, 2012, Kostik Belousov wrote: > On Sun, Jan 15, 2012 at 11:11:43PM -0500, David Schultz wrote: > > On Mon, Jan 16, 2012, David Schultz wrote: > > > Author: das > > > Date: Mon Jan 16 04:08:29 2012 > > > New Revision: 230191 > > > URL: http://svn.freebsd.org/changeset/base/230191 > >

svn commit: r230225 - head/include

2012-01-16 Thread David Chisnall
Author: theraven Date: Mon Jan 16 18:19:53 2012 New Revision: 230225 URL: http://svn.freebsd.org/changeset/base/230225 Log: Use the signal fence builtin in stdatomic.h when using the clang atomic builtins, rather than the __asm hack. Somehow I missed the existence of this builtin originally

Re: svn commit: r230037 - head/lib/libutil

2012-01-16 Thread Pawel Jakub Dawidek
On Mon, Jan 16, 2012 at 11:14:32AM -0600, Guy Helmer wrote: > I've pasted the diff below that I think captures the majority of the issues > you have brought up. I have not attempted to tackle the > property.3/properties.3 issues, nor the objections to the prefixes that I > think would take consi

Re: svn commit: r230037 - head/lib/libutil

2012-01-16 Thread Guy Helmer
On Jan 14, 2012, at 3:02 PM, Bruce Evans wrote: > On Sat, 14 Jan 2012, Pawel Jakub Dawidek wrote: > >> On Sat, Jan 14, 2012 at 09:59:27PM +1100, Bruce Evans wrote: >>> ... >>> It's good to declare mode_t, since pidfile_open() uses it and we want >>> to remove the dependency on . However, this de

svn commit: r230221 - head/sys/ufs/ufs

2012-01-16 Thread Ivan Voras
Author: ivoras Date: Mon Jan 16 15:47:42 2012 New Revision: 230221 URL: http://svn.freebsd.org/changeset/base/230221 Log: Add a bit of verbosity to the comment. Modified: head/sys/ufs/ufs/ufs_dirhash.c Modified: head/sys/ufs/ufs/ufs_dirhash.c =

svn commit: r230218 - head/sys/kern

2012-01-16 Thread Kevin Lo
Author: kevlo Date: Mon Jan 16 14:54:48 2012 New Revision: 230218 URL: http://svn.freebsd.org/changeset/base/230218 Log: Fix a style bug Spotted by: avg Modified: head/sys/kern/subr_mchain.c Modified: head/sys/kern/subr_mchain.c

Re: svn commit: r230193 - head/lib/libc/sparc64/fpu

2012-01-16 Thread Bruce Evans
On Mon, 16 Jan 2012, David Schultz wrote: Log: Computations on NaNs are supposed to return one of the input NaNs unchanged. Fix a few places in the sparc64 floating-point emulator where this wasn't being handled properly. Submitted by: bde Thanks. The only remaining large bug that I not

svn commit: r230215 - head/sys/sys

2012-01-16 Thread Gleb Smirnoff
Author: glebius Date: Mon Jan 16 13:23:19 2012 New Revision: 230215 URL: http://svn.freebsd.org/changeset/base/230215 Log: Make panic strings in m_gettype(), m_getzone(), m_cljset() consistent. Modified: head/sys/sys/mbuf.h Modified: head/sys/sys/mbuf.h

svn commit: r230214 - head/sys/netgraph

2012-01-16 Thread Gleb Smirnoff
Author: glebius Date: Mon Jan 16 12:33:55 2012 New Revision: 230214 URL: http://svn.freebsd.org/changeset/base/230214 Log: Add missing static. Modified: head/sys/netgraph/ng_ipfw.c Modified: head/sys/netgraph/ng_ipfw.c =

svn commit: r230213 - head/sys/netgraph

2012-01-16 Thread Gleb Smirnoff
Author: glebius Date: Mon Jan 16 12:31:33 2012 New Revision: 230213 URL: http://svn.freebsd.org/changeset/base/230213 Log: Remove some disabled NOTYET code. Probability of enabling it is low, if anyone wants, he/she can take it from svn. Modified: head/sys/netgraph/ng_socket.c Modified: he

Re: svn commit: r230152 - head/sys/mips/conf

2012-01-16 Thread Bjoern A. Zeeb
On 15. Jan 2012, at 19:43 , Adrian Chadd wrote: > Author: adrian > Date: Sun Jan 15 19:43:56 2012 > New Revision: 230152 > URL: http://svn.freebsd.org/changeset/base/230152 > > Log: > Build some more things (random, bridge/gif/gre, gpio, USB) as modules as well > so some embedded platform buil

Re: svn commit: r230208 - head/sys/fs/tmpfs

2012-01-16 Thread Mikolaj Golub
On Mon, 16 Jan 2012 10:25:23 + (UTC) Kevin Lo wrote: KL> Author: kevlo KL> Date: Mon Jan 16 10:25:22 2012 KL> New Revision: 230208 KL> URL: http://svn.freebsd.org/changeset/base/230208 KL> Log: KL> Add nfs export support to tmpfs(5) KL> KL> Reviewed by:kib KL> Modifi

Re: svn commit: r230212 - in head: bin/sh tools/regression/bin/sh/builtins

2012-01-16 Thread Jean-Sébastien Pédron
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 16.01.2012 12:07, Jean-Sebastien Pedron wrote: > Author: dumbbell Date: Mon Jan 16 11:07:46 2012 New Revision: > 230212 URL: http://svn.freebsd.org/changeset/base/230212 > > Log: sh: Fix execution of multiple statements in a trap when > evalskip is

svn commit: r230212 - in head: bin/sh tools/regression/bin/sh/builtins

2012-01-16 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Jan 16 11:07:46 2012 New Revision: 230212 URL: http://svn.freebsd.org/changeset/base/230212 Log: sh: Fix execution of multiple statements in a trap when evalskip is set Before this fix, only the first statement of the trap was executed if evalskip was set. This

svn commit: r230211 - head/tools/regression/bin/sh/builtins

2012-01-16 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Mon Jan 16 10:59:44 2012 New Revision: 230211 URL: http://svn.freebsd.org/changeset/base/230211 Log: sh: Test EXIT trap with multiple statements in it Reviewed by: jilles MFC after:2 weeks Added: head/tools/regression/bin/sh/builtins/trap9.0 (contents, pro

svn commit: r230210 - head/sys/sys

2012-01-16 Thread Gleb Smirnoff
Author: glebius Date: Mon Jan 16 10:58:14 2012 New Revision: 230210 URL: http://svn.freebsd.org/changeset/base/230210 Log: m_getzone() should return only cluster zones. Modified: head/sys/sys/mbuf.h Modified: head/sys/sys/mbuf.h ===

svn commit: r230209 - head/sys/dev/usb/serial

2012-01-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jan 16 10:42:43 2012 New Revision: 230209 URL: http://svn.freebsd.org/changeset/base/230209 Log: Export ttyname instead of ttyunit via the sysctl interface. Submitted by: Mykhaylo Yehorov PR: usb/164090 MFC after:1 week Modified: head/sys/dev/

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

2012-01-16 Thread Kevin Lo
Author: kevlo Date: Mon Jan 16 10:25:22 2012 New Revision: 230208 URL: http://svn.freebsd.org/changeset/base/230208 Log: Add nfs export support to tmpfs(5) Reviewed by: kib Modified: head/sys/fs/tmpfs/tmpfs_vfsops.c Modified: head/sys/fs/tmpfs/tmpfs_vfsops.c ===

svn commit: r230207 - in head/sys: netinet sys

2012-01-16 Thread Gleb Smirnoff
Author: glebius Date: Mon Jan 16 09:53:24 2012 New Revision: 230207 URL: http://svn.freebsd.org/changeset/base/230207 Log: Drop support for SIOCSIFADDR, SIOCSIFNETMASK, SIOCSIFBRDADDR, SIOCSIFDSTADDR ioctl commands. PR: 163524 Reviewed by: net Modified: head/sys/netinet/in

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

2012-01-16 Thread Kostik Belousov
On Sun, Jan 15, 2012 at 11:11:43PM -0500, David Schultz wrote: > On Mon, Jan 16, 2012, David Schultz wrote: > > Author: das > > Date: Mon Jan 16 04:08:29 2012 > > New Revision: 230191 > > URL: http://svn.freebsd.org/changeset/base/230191 > > > > Log: > > Implement FLT_ROUNDS for arm. Some (all?

svn commit: r230204 - head/sys/dev/usb/serial

2012-01-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jan 16 08:13:25 2012 New Revision: 230204 URL: http://svn.freebsd.org/changeset/base/230204 Log: Export information about USB serial port unit and port numbers directly via the sysctl interface. Submitted by: Mykhaylo Yehorov PR: usb/164090 MFC aft