Re: svn commit: r215178 - in head: lib/libc/sys sys/kern sys/sys

2011-05-22 Thread Adrian Chadd
On 15 November 2010 19:56, Ivan Voras ivo...@freebsd.org wrote: While at it, why not intptr_t? It would be marginally more useful and almost free. Because it can lead to code choices that use the whole 64 bit space for something other than a single 32 bit integer (say, four 16 bit words all

Re: svn commit: r222094 - head/share/misc

2011-05-22 Thread Ulrich Spörlein
On Thu, 19.05.2011 at 13:09:39 +, Edwin Groothuis wrote: Author: edwin Date: Thu May 19 13:09:39 2011 New Revision: 222094 URL: http://svn.freebsd.org/changeset/base/222094 Log: Put AN back after finding out that tzsetup(1) will complain that it doesn't exist. It will be removed

svn commit: r222171 - head/tools/tools/iso

2011-05-22 Thread Ulrich Spoerlein
Author: uqs Date: Sun May 22 09:48:25 2011 New Revision: 222171 URL: http://svn.freebsd.org/changeset/base/222171 Log: Update URLs and fix regex to work with current version of the files. Modified: head/tools/tools/iso/check-iso3166.pl Modified: head/tools/tools/iso/check-iso3166.pl

Re: svn commit: r221972 - head/sys/geom/part

2011-05-22 Thread Stefan Farfeleder
On Sun, May 15, 2011 at 08:03:55PM +, Andrey V. Elsukov wrote: Author: ae Date: Sun May 15 20:03:54 2011 New Revision: 221972 URL: http://svn.freebsd.org/changeset/base/221972 Log: Add a sysctl kern.geom.part.check_integrity for those who has corrupt partition tables and lost an

svn commit: r222172 - head/sys/gnu/fs/xfs/FreeBSD/support

2011-05-22 Thread Ulrich Spoerlein
Author: uqs Date: Sun May 22 09:58:48 2011 New Revision: 222172 URL: http://svn.freebsd.org/changeset/base/222172 Log: Fix typo in unused function name Submitted by: arundel Modified: head/sys/gnu/fs/xfs/FreeBSD/support/kdb.c Modified: head/sys/gnu/fs/xfs/FreeBSD/support/kdb.c

Re: svn commit: r222094 - head/share/misc

2011-05-22 Thread Edwin Groothuis
On 22/05/2011, at 7:29 PM, Ulrich Spörlein wrote: On Thu, 19.05.2011 at 13:09:39 +, Edwin Groothuis wrote: Author: edwin Date: Thu May 19 13:09:39 2011 New Revision: 222094 URL: http://svn.freebsd.org/changeset/base/222094 Log: Put AN back after finding out that tzsetup(1) will

svn commit: r222173 - head/bin/sh

2011-05-22 Thread Jilles Tjoelker
Author: jilles Date: Sun May 22 12:12:28 2011 New Revision: 222173 URL: http://svn.freebsd.org/changeset/base/222173 Log: sh: Fix bss-based buffer overflow in . builtin. If the length of a directory in PATH together with the given filename exceeded FILENAME_MAX (which may happen even for

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

2011-05-22 Thread Jilles Tjoelker
Author: jilles Date: Sun May 22 12:15:14 2011 New Revision: 222174 URL: http://svn.freebsd.org/changeset/base/222174 Log: sh: Add test for r222173. Added: head/tools/regression/bin/sh/builtins/dot4.0 (contents, props changed) Added: head/tools/regression/bin/sh/builtins/dot4.0

Re: svn commit: r221972 - head/sys/geom/part

2011-05-22 Thread Adrian Chadd
This also bit me on embedded platform stuff. Is it possible to disable this by default for now and have it just warn loudly? And/or hide the default value behind a kernel configuration variable so we can disable it (but still get the warnings) for now? Thanks, Adrian On 22 May 2011 17:33,

svn commit: r222175 - head/share/examples/libvgl

2011-05-22 Thread Ulrich Spoerlein
Author: uqs Date: Sun May 22 14:03:21 2011 New Revision: 222175 URL: http://svn.freebsd.org/changeset/base/222175 Log: Remove typos, tabs-after-spaces and EOL whitespace. Convert to UTF-8. Modified: head/share/examples/libvgl/demo.c Modified: head/share/examples/libvgl/demo.c

svn commit: r222176 - in head: sbin/atacontrol sbin/mount_reiserfs share/man/man4 share/man/man5 share/man/man9 share/misc

2011-05-22 Thread Ulrich Spoerlein
Author: uqs Date: Sun May 22 14:03:30 2011 New Revision: 222176 URL: http://svn.freebsd.org/changeset/base/222176 Log: Re-encode files from ISO-8859-1 to UTF-8 Modified: head/sbin/atacontrol/atacontrol.8 head/sbin/atacontrol/atacontrol.c head/sbin/mount_reiserfs/mount_reiserfs.8

svn commit: r222177 - head/bin/pax

2011-05-22 Thread Ulrich Spoerlein
Author: uqs Date: Sun May 22 14:03:38 2011 New Revision: 222177 URL: http://svn.freebsd.org/changeset/base/222177 Log: Fix a bunch of typos and a couple of whitespace nits. Helped by:codespell and vim's spellchecker Modified: head/bin/pax/ar_io.c head/bin/pax/ar_subs.c

svn commit: r222178 - in head/bin: ed ps sh

2011-05-22 Thread Ulrich Spoerlein
Author: uqs Date: Sun May 22 14:03:46 2011 New Revision: 222178 URL: http://svn.freebsd.org/changeset/base/222178 Log: Fix some typos under bin/ Found by: codespell Modified: head/bin/ed/POSIX head/bin/ps/ps.c head/bin/sh/mkinit.c Modified: head/bin/ed/POSIX

svn commit: r222179 - in head/share/examples: diskless drivers netgraph

2011-05-22 Thread Ulrich Spoerlein
Author: uqs Date: Sun May 22 14:23:48 2011 New Revision: 222179 URL: http://svn.freebsd.org/changeset/base/222179 Log: Fix more typos to be a good example. Found by: codespell Modified: head/share/examples/diskless/README.TEMPLATING

svn commit: r222182 - head/bin/sh

2011-05-22 Thread Jilles Tjoelker
Author: jilles Date: Sun May 22 15:24:56 2011 New Revision: 222182 URL: http://svn.freebsd.org/changeset/base/222182 Log: sh: Remove obsolete token type TENDBQUOTE. This token type was related to Almquist's original version of backquotes that could not nest and fell into disuse fairly

Re: svn commit: r221972 - head/sys/geom/part

2011-05-22 Thread Warner Losh
On May 22, 2011, at 3:33 AM, Stefan Farfeleder wrote: On Sun, May 15, 2011 at 08:03:55PM +, Andrey V. Elsukov wrote: Author: ae Date: Sun May 15 20:03:54 2011 New Revision: 221972 URL: http://svn.freebsd.org/changeset/base/221972 Log: Add a sysctl kern.geom.part.check_integrity for

Re: svn commit: r221972 - head/sys/geom/part

2011-05-22 Thread Warner Losh
On May 22, 2011, at 7:03 AM, Adrian Chadd wrote: This also bit me on embedded platform stuff. Is it possible to disable this by default for now and have it just warn loudly? And/or hide the default value behind a kernel configuration variable so we can disable it (but still get the

svn commit: r222183 - head/lib/clang

2011-05-22 Thread Dimitry Andric
Author: dim Date: Sun May 22 16:32:44 2011 New Revision: 222183 URL: http://svn.freebsd.org/changeset/base/222183 Log: On amd64, change clang's default triple to 'x86_64-unknown-freebsd9.0', similar to what we do for binutils. When clang's default triple starts with 'amd64-', it does not

Re: svn commit: r221972 - head/sys/geom/part

2011-05-22 Thread Warner Losh
After carefully reviewing this code, we need to have it be *OFF* by default. It should also explain *WHY* it is rejecting the partition. It isn't clear to me at all that this is even useful. While different than Marcel's warnings, I think we need to take a very cautious approach here. Where

Re: svn commit: r221972 - head/sys/geom/part

2011-05-22 Thread Andrey V. Elsukov
On 22.05.2011 13:33, Stefan Farfeleder wrote: URL: http://svn.freebsd.org/changeset/base/221972 Log: Add a sysctl kern.geom.part.check_integrity for those who has corrupt partition tables and lost an ability to boot after r221788. Also unhide an error message from bootverbose, this

Re: svn commit: r221972 - head/sys/geom/part

2011-05-22 Thread Poul-Henning Kamp
In message 38a0d352-30a8-47a0-8259-12b3b2164...@bsdimp.com, Warner Losh write s: After carefully reviewing this code, we need to have it be *OFF* by default. It should also explain *WHY* it is rejecting the partition. It isn't clear to me at all that this is even useful. Seconded * 3. My

Re: svn commit: r221972 - head/sys/geom/part

2011-05-22 Thread Andrey V. Elsukov
On 22.05.2011 20:32, Warner Losh wrote: After carefully reviewing this code, we need to have it be *OFF* by default. It should also explain *WHY* it is rejecting the partition. Did you reviewed r221992? It isn't clear to me at all that this is even useful. While different than Marcel's

svn commit: r222184 - head/sys/vm

2011-05-22 Thread Alan Cox
Author: alc Date: Sun May 22 17:46:16 2011 New Revision: 222184 URL: http://svn.freebsd.org/changeset/base/222184 Log: Correct an error in r222163. Unless UMA_MD_SMALL_ALLOC is defined, startup_alloc() must be used until uma_startup2() is called. Reported by: jh Modified:

svn commit: r222185 - in head: share/mk sys/conf

2011-05-22 Thread Warner Losh
Author: imp Date: Sun May 22 18:01:52 2011 New Revision: 222185 URL: http://svn.freebsd.org/changeset/base/222185 Log: Start to usher INSTALL_NODEBUG hack out the door. Add new WITH{OUT,}_KERNEL_SYMBOLS (defaulting to WITH). In the fullness of time, likely around 2020, INSTALL_NODEBUG

svn commit: r222186 - head/sys/conf

2011-05-22 Thread Warner Losh
Author: imp Date: Sun May 22 18:09:51 2011 New Revision: 222186 URL: http://svn.freebsd.org/changeset/base/222186 Log: Backwards compatibility hacks to allow kernels to be built via config wihtout updating world (good transition aide for -current, but also allows kernels to be built on

svn commit: r222187 - in head/sys: fs/nfsclient nfsclient

2011-05-22 Thread Alan Cox
Author: alc Date: Sun May 22 18:11:41 2011 New Revision: 222187 URL: http://svn.freebsd.org/changeset/base/222187 Log: Eliminate duplicate #include's. Modified: head/sys/fs/nfsclient/nfs_clvnops.c head/sys/nfsclient/nfs_vnops.c Modified: head/sys/fs/nfsclient/nfs_clvnops.c

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

2011-05-22 Thread Warner Losh
Author: imp Date: Sun May 22 18:12:59 2011 New Revision: 222188 URL: http://svn.freebsd.org/changeset/base/222188 Log: Add documentation for WITHOUT_KERNEL_SYMBOLS Added: head/tools/build/options/WITHOUT_KERNEL_SYMBOLS (contents, props changed) Added:

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

2011-05-22 Thread Warner Losh
Author: imp Date: Sun May 22 18:23:17 2011 New Revision: 222189 URL: http://svn.freebsd.org/changeset/base/222189 Log: Add the description properly... Modified: head/tools/build/options/WITHOUT_KERNEL_SYMBOLS Modified: head/tools/build/options/WITHOUT_KERNEL_SYMBOLS

svn commit: r222190 - head/share/man/man5

2011-05-22 Thread Warner Losh
Author: imp Date: Sun May 22 18:34:11 2011 New Revision: 222190 URL: http://svn.freebsd.org/changeset/base/222190 Log: regen Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 == ---

svn commit: r222191 - in head/usr.sbin/makefs: . cd9660

2011-05-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun May 22 19:56:14 2011 New Revision: 222191 URL: http://svn.freebsd.org/changeset/base/222191 Log: Add analogs to the -chrp-boot and -prep-boot options to mkisofs. Modified: head/usr.sbin/makefs/cd9660.c head/usr.sbin/makefs/cd9660.h

Re: svn commit: r222183 - head/lib/clang

2011-05-22 Thread Roman Divacky
The problem here is deeper in my opinion. What FreeBSD calls amd64 the rest of the world (ie. linux) calls x86_64, I think that instead of this we should teach llvm/clang about amd64. Maybe as a FreeBSD-only diff. The machine part of the triple is used in more places and this hack only is not the

Re: svn commit: r221972 - head/sys/geom/part

2011-05-22 Thread Marcel Moolenaar
On May 22, 2011, at 9:26 AM, Warner Losh wrote: On May 22, 2011, at 7:03 AM, Adrian Chadd wrote: This also bit me on embedded platform stuff. Is it possible to disable this by default for now and have it just warn loudly? And/or hide the default value behind a kernel configuration

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

2011-05-22 Thread Rick Macklem
Author: rmacklem Date: Sun May 22 20:39:07 2011 New Revision: 222196 URL: http://svn.freebsd.org/changeset/base/222196 Log: Fix the ufs/ffs file system so that it uses the lock flags argument added to VFS_FHTOVP() by r222167. Reviewed by: mckusick Modified:

Re: svn commit: r222183 - head/lib/clang

2011-05-22 Thread Doug Barton
On 05/22/2011 13:22, Roman Divacky wrote: The problem here is deeper in my opinion. What FreeBSD calls amd64 the rest of the world (ie. linux) calls x86_64, I think that instead of this we should teach llvm/clang about amd64. Maybe as a FreeBSD-only diff. Can we please not go down that route

svn commit: r222198 - in head/sys: dev/cfi powerpc/include

2011-05-22 Thread Attilio Rao
Author: attilio Date: Sun May 22 20:55:54 2011 New Revision: 222198 URL: http://svn.freebsd.org/changeset/base/222198 Log: Merge r221614,221696,221737,221840 from largeSMP project branch: Rewrite atomic operations for powerpc in order to achieve the following: - Produce a type-clean

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

2011-05-22 Thread Rick Macklem
Author: rmacklem Date: Sun May 22 21:04:32 2011 New Revision: 222199 URL: http://svn.freebsd.org/changeset/base/222199 Log: Fix the zfs file system so that it uses the lock flags argument added to VFS_FHTOVP() by r222167. Reviewed by: pjd Modified:

Re: svn commit: r222183 - head/lib/clang

2011-05-22 Thread Mark Linimon
On Sun, May 22, 2011 at 10:22:56PM +0200, Roman Divacky wrote: The problem here is deeper in my opinion. What FreeBSD calls amd64 the rest of the world (ie. linux) calls x86_64, I think that instead of this we should teach llvm/clang about amd64. Maybe as a FreeBSD-only diff. If we move away

svn commit: r222200 - head/sys/sys

2011-05-22 Thread Attilio Rao
Author: attilio Date: Sun May 22 21:31:36 2011 New Revision: 00 URL: http://svn.freebsd.org/changeset/base/00 Log: Merge r221901 from largeSMP project branch: Increase the size of cg_count in order to enable usage of 127 CPUs. cg_children is also bumped in order to keep the

svn commit: r222201 - head/sys/kern

2011-05-22 Thread Attilio Rao
Author: attilio Date: Sun May 22 21:35:03 2011 New Revision: 01 URL: http://svn.freebsd.org/changeset/base/01 Log: Merge r221912 from largeSMP project branch: Fix a long-standing bug in cpuset_thread0() where only the first part of cs_mask is set full. Submitted by: anonymous

Re: svn commit: r221972 - head/sys/geom/part

2011-05-22 Thread Poul-Henning Kamp
In message 6ae10d76-ac2f-4d7b-a985-ee072949e...@xcllnt.net, Marcel Moolenaar writes: Rather than just calling it a bad idea, why not come up with something constructive? One thing I would like to point out, is that the potential for damage is very different in R/O and R/W mode. I think it

Re: svn commit: r222183 - head/lib/clang

2011-05-22 Thread Warner Losh
On May 22, 2011, at 3:30 PM, Mark Linimon wrote: On Sun, May 22, 2011 at 10:22:56PM +0200, Roman Divacky wrote: The problem here is deeper in my opinion. What FreeBSD calls amd64 the rest of the world (ie. linux) calls x86_64, I think that instead of this we should teach llvm/clang about

Re: svn commit: r222183 - head/lib/clang

2011-05-22 Thread Warner Losh
On May 22, 2011, at 2:22 PM, Roman Divacky wrote: The problem here is deeper in my opinion. What FreeBSD calls amd64 the rest of the world (ie. linux) calls x86_64, I think that instead of this we should teach llvm/clang about amd64. Maybe as a FreeBSD-only diff. The machine part of the

svn commit: r222203 - head/contrib/gcclibs/libiberty

2011-05-22 Thread Ben Laurie
Author: benl Date: Sun May 22 22:14:15 2011 New Revision: 03 URL: http://svn.freebsd.org/changeset/base/03 Log: Fix clang compile warnings. Approved by: philip (mentor) Modified: head/contrib/gcclibs/libiberty/regex.c Modified: head/contrib/gcclibs/libiberty/regex.c

svn commit: r222204 - head/contrib/binutils/binutils

2011-05-22 Thread Ben Laurie
Author: benl Date: Sun May 22 22:15:16 2011 New Revision: 04 URL: http://svn.freebsd.org/changeset/base/04 Log: Fix clang warnings. Approved by: philip (mentor) Modified: head/contrib/binutils/binutils/objcopy.c head/contrib/binutils/binutils/readelf.c

svn commit: r222205 - head/contrib/binutils/gas

2011-05-22 Thread Ben Laurie
Author: benl Date: Sun May 22 22:15:42 2011 New Revision: 05 URL: http://svn.freebsd.org/changeset/base/05 Log: Fix clang warnings. Approved by: philip (mentor) Modified: head/contrib/binutils/gas/read.h head/contrib/binutils/gas/write.c Modified:

svn commit: r222206 - head/contrib/binutils/ld

2011-05-22 Thread Ben Laurie
Author: benl Date: Sun May 22 22:16:19 2011 New Revision: 06 URL: http://svn.freebsd.org/changeset/base/06 Log: Fix clang warnings. Approved by: philip (mentor) Modified: head/contrib/binutils/ld/ldlang.c Modified: head/contrib/binutils/ld/ldlang.c

svn commit: r222207 - head/contrib/gcc

2011-05-22 Thread Ben Laurie
Author: benl Date: Sun May 22 22:17:06 2011 New Revision: 07 URL: http://svn.freebsd.org/changeset/base/07 Log: Fix clang warnings. Approved by: philip (mentor) Modified: head/contrib/gcc/combine.c head/contrib/gcc/emit-rtl.c head/contrib/gcc/function.c

Re: svn commit: r221972 - head/sys/geom/part

2011-05-22 Thread Warner Losh
On May 22, 2011, at 2:28 PM, Marcel Moolenaar wrote: On May 22, 2011, at 9:26 AM, Warner Losh wrote: On May 22, 2011, at 7:03 AM, Adrian Chadd wrote: This also bit me on embedded platform stuff. Is it possible to disable this by default for now and have it just warn loudly?