svn commit: r223222 - head/usr.bin/users

2011-06-18 Thread Ed Schouten
Author: ed Date: Sat Jun 18 07:47:15 2011 New Revision: 223222 URL: http://svn.freebsd.org/changeset/base/223222 Log: Let the size of the namebuf depend on the size of the ut_user field. Modified: head/usr.bin/users/users.c Modified: head/usr.bin/users/users.c ===

svn commit: r223223 - head/sys/net

2011-06-18 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 18 09:34:03 2011 New Revision: 223223 URL: http://svn.freebsd.org/changeset/base/223223 Log: gre(4) was using a field in the softc to detect possible recursion. On MP systems this is not a usable solution anymore and could easily lead to false positives triggering en

svn commit: r223224 - head/usr.sbin/jls

2011-06-18 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 18 09:46:39 2011 New Revision: 223224 URL: http://svn.freebsd.org/changeset/base/223224 Log: Add a missing ',' to separate arguments lost for r222465 only found in case a complete world is built without INET support. MFC after:10 days X-MFC with: 222465 M

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

2011-06-18 Thread Michael Tuexen
Author: tuexen Date: Sat Jun 18 10:36:05 2011 New Revision: 223225 URL: http://svn.freebsd.org/changeset/base/223225 Log: Document the latest changes to sctp_opt_info() in the code. This makes sctp_opt_info() compiliant with the latest version of the socket API ID. Modified: head/lib/libc

svn commit: r223226 - head

2011-06-18 Thread Marius Strobl
Author: marius Date: Sat Jun 18 10:48:00 2011 New Revision: 223226 URL: http://svn.freebsd.org/changeset/base/223226 Log: Add an entry for r221407 forgotten in said revision. Modified: head/UPDATING Modified: head/UPDATING =

svn commit: r223227 - head/etc

2011-06-18 Thread Jilles Tjoelker
Author: jilles Date: Sat Jun 18 11:05:30 2011 New Revision: 223227 URL: http://svn.freebsd.org/changeset/base/223227 Log: rc.subr: Eliminate about 100 forks from the boot sequence. With the current sh, placing eval in a command substitution always results in a fork(), even if it is the on

svn commit: r223228 - in head/lib/libthr/arch/sparc64: . include sparc64

2011-06-18 Thread Marius Strobl
Author: marius Date: Sat Jun 18 11:07:09 2011 New Revision: 223228 URL: http://svn.freebsd.org/changeset/base/223228 Log: Merge from r161730: o Set TP using inline assembly to avoid dead code elimination. o Eliminate _tcb. Merge from r161840: Stylize: avoid using a global register v

Re: svn commit: r223211 - head/sys/x86/x86

2011-06-18 Thread Bruce Evans
On Fri, 17 Jun 2011, Jung-uk Kim wrote: Log: Teach the compiler how to shift TSC value efficiently. As noted in r220631, some times compiler inserts redundant instructions to preserve unused upper 32 bits even when it is casted to a 32-bit value. Unfortunately, it seems the problem becomes

svn commit: r223235 - head/sys/sparc64/sparc64

2011-06-18 Thread Marius Strobl
Author: marius Date: Sat Jun 18 11:27:44 2011 New Revision: 223235 URL: http://svn.freebsd.org/changeset/base/223235 Log: - As with stray vector interrupts limit the reporting of stray level interrupts. Bringup on additional machine models repeatedly reveals firmware that enables interru

Re: svn commit: r222866 - head/sys/x86/x86

2011-06-18 Thread Bruce Evans
Long ago, On Wed, 8 Jun 2011, Jung-uk Kim wrote: On Wednesday 08 June 2011 04:55 pm, Bruce Evans wrote: On Wed, 8 Jun 2011, Jung-uk Kim wrote: Log: Introduce low-resolution TSC timecounter "TSC-low". It replaces the normal TSC timecounter if TSC frequency is higher than ~4.29 MHz (or 2^32-1

Re: svn commit: r222884 - head/sys/x86/x86

2011-06-18 Thread Bruce Evans
On Wed, 8 Jun 2011, Jung-uk Kim wrote: Log: Tidy up r222866. - Re-add accidentally removed atomic op. for sysctl(9) handler. - Remove a period(`.') at the end of a debugging message. - Consistently spell "low" for "TSC-low" timecounter throughout. Pointed out by:bde Thanks. Bru

svn commit: r223254 - head/sys/amd64/ia32

2011-06-18 Thread Konstantin Belousov
Author: kib Date: Sat Jun 18 12:13:28 2011 New Revision: 223254 URL: http://svn.freebsd.org/changeset/base/223254 Log: Fix vfork. Add comments. Modified: head/sys/amd64/ia32/ia32_sigtramp.S Modified: head/sys/amd64/ia32/ia32_sigtramp.S

svn commit: r223259 - head/share/man/man9

2011-06-18 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 18 13:03:06 2011 New Revision: 223259 URL: http://svn.freebsd.org/changeset/base/223259 Log: Correct a typo in the function name. MFC after:1 week Modified: head/share/man/man9/device_get_sysctl.9 Modified: head/share/man/man9/device_get_sysctl.9 ===

svn commit: r223260 - head/share/man/man9

2011-06-18 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 18 13:08:46 2011 New Revision: 223260 URL: http://svn.freebsd.org/changeset/base/223260 Log: Install symlinks for m_tag_* mbuf tag functions to the mbuf_tags.9 man page. MFC after:1 week Modified: head/share/man/man9/Makefile Modified: head/share/man/man9/Ma

svn commit: r223261 - head/sys/netinet

2011-06-18 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 18 13:54:36 2011 New Revision: 223261 URL: http://svn.freebsd.org/changeset/base/223261 Log: Remove a these days incorrect comment left from before new-arp. MFC after:1 week Modified: head/sys/netinet/if_ether.c Modified: head/sys/netinet/if_ether.c

svn commit: r223262 - in head: cddl/contrib/opensolaris/lib/libdtrace/common contrib/binutils/bfd contrib/binutils/gas contrib/binutils/gas/config contrib/binutils/ld contrib/binutils/opcodes contr...

2011-06-18 Thread Ben Laurie
Author: benl Date: Sat Jun 18 13:56:33 2011 New Revision: 223262 URL: http://svn.freebsd.org/changeset/base/223262 Log: Fix clang warnings. Approved by: philip (mentor) Modified: head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c head/contrib/binutils/bfd/coffcode.h head/c

Re: svn commit: r223262 - in head: cddl/contrib/opensolaris/lib/libdtrace/common contrib/binutils/bfd contrib/binutils/gas contrib/binutils/gas/config contrib/binutils/ld contrib/binutils/opcodes cont

2011-06-18 Thread Bruce Evans
On Sat, 18 Jun 2011, Ben Laurie wrote: Author: benl Date: Sat Jun 18 13:56:33 2011 New Revision: 223262 URL: http://svn.freebsd.org/changeset/base/223262 Log: Fix clang warnings. Approved by: philip (mentor) Most of these seem to be bugs in clang, so source code can only be broken by avo

Re: svn commit: r223262 - in head: cddl/contrib/opensolaris/lib/libdtrace/common contrib/binutils/bfd contrib/binutils/gas contrib/binutils/gas/config contrib/binutils/ld contrib/binutils/opcodes cont

2011-06-18 Thread Ben Kaduk
On Sat, Jun 18, 2011 at 9:56 AM, Ben Laurie wrote: > Author: benl > Date: Sat Jun 18 13:56:33 2011 > New Revision: 223262 > URL: http://svn.freebsd.org/changeset/base/223262 > > Log: >  Fix clang warnings. > >  Approved by:  philip (mentor) > > > Modified: head/cddl/contrib/opensolaris/lib/libdtra

Re: svn commit: r223129 - head/release

2011-06-18 Thread Alexey Dokuchaev
On Sat, Jun 18, 2011 at 09:17:57AM +1000, Peter Jeremy wrote: > On 2011-Jun-15 23:38:15 +, Nathan Whitehorn > wrote: > >Log: > > Do not install the rescue tools onto the install CD. Since it is read > > only, they are very unlikely to be needed and take up a great deal of > > space. > > I

Re: svn commit: r223262 - in head: cddl/contrib/opensolaris/lib/libdtrace/common contrib/binutils/bfd contrib/binutils/gas contrib/binutils/gas/config contrib/binutils/ld contrib/binutils/opcodes cont

2011-06-18 Thread Kostik Belousov
> Modified: head/sys/sys/param.h > == > --- head/sys/sys/param.h Sat Jun 18 13:54:36 2011(r223261) > +++ head/sys/sys/param.h Sat Jun 18 13:56:33 2011(r223262) > @@ -319,4 +319,10 @@ __END_DECLS >

Re: svn commit: r223129 - head/release

2011-06-18 Thread Bjoern A. Zeeb
On Jun 18, 2011, at 4:47 PM, Alexey Dokuchaev wrote: > On Sat, Jun 18, 2011 at 09:17:57AM +1000, Peter Jeremy wrote: >> On 2011-Jun-15 23:38:15 +, Nathan Whitehorn >> wrote: >>> Log: >>> Do not install the rescue tools onto the install CD. Since it is read >>> only, they are very unlikely t

svn commit: r223264 - in head: etc/defaults etc/rc.d share/man/man5

2011-06-18 Thread Doug Barton
Author: dougb Date: Sat Jun 18 19:41:05 2011 New Revision: 223264 URL: http://svn.freebsd.org/changeset/base/223264 Log: Add rc.d/kld to load kernel modules after local disks are up. This method is many times faster than doing it in /boot/loader.conf. Added: head/etc/rc.d/kld (contents, p

Re: svn commit: r223129 - head/release

2011-06-18 Thread Nathan Whitehorn
On 06/17/11 18:17, Peter Jeremy wrote: On 2011-Jun-15 23:38:15 +, Nathan Whitehorn wrote: Log: Do not install the rescue tools onto the install CD. Since it is read only, they are very unlikely to be needed and take up a great deal of space. If I've correctly understood this change,

Re: svn commit: r223262 - in head: cddl/contrib/opensolaris/lib/libdtrace/common contrib/binutils/bfd contrib/binutils/gas contrib/binutils/gas/config contrib/binutils/ld contrib/binutils/opcodes cont

2011-06-18 Thread Jilles Tjoelker
On Sat, Jun 18, 2011 at 01:56:33PM +, Ben Laurie wrote: > Modified: head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c > == > --- head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c Sat Jun > 18

svn commit: r223267 - head/usr.sbin/mfiutil

2011-06-18 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 18 21:08:27 2011 New Revision: 223267 URL: http://svn.freebsd.org/changeset/base/223267 Log: Add 'show logstate' to usage(). MFC after:1 week Modified: head/usr.sbin/mfiutil/mfiutil.c Modified: head/usr.sbin/mfiutil/mfiutil.c

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

2011-06-18 Thread Kirk McKusick
Author: mckusick Date: Sat Jun 18 21:10:03 2011 New Revision: 223268 URL: http://svn.freebsd.org/changeset/base/223268 Log: Fixed dereference of a NULL pointer. Reported by: Peter Holm Modified: head/sys/ufs/ffs/ffs_snapshot.c Modified: head/sys/ufs/ffs/ffs_snapshot.c =

svn commit: r223269 - head/lib/libprocstat

2011-06-18 Thread Jilles Tjoelker
Author: jilles Date: Sat Jun 18 21:29:25 2011 New Revision: 223269 URL: http://svn.freebsd.org/changeset/base/223269 Log: libprocstat: Correct format for size_t (should be %zu, not %zd). Modified: head/lib/libprocstat/libprocstat.c Modified: head/lib/libprocstat/libprocstat.c ===

svn commit: r223270 - head/lib/libprocstat

2011-06-18 Thread Jilles Tjoelker
Author: jilles Date: Sat Jun 18 21:46:11 2011 New Revision: 223270 URL: http://svn.freebsd.org/changeset/base/223270 Log: libprocstat: Remove spaces between function name and open parenthesis. Modified: head/lib/libprocstat/libprocstat.c Modified: head/lib/libprocstat/libprocstat.c =

svn commit: r223271 - head/usr.bin/fstat

2011-06-18 Thread Jilles Tjoelker
Author: jilles Date: Sat Jun 18 21:53:36 2011 New Revision: 223271 URL: http://svn.freebsd.org/changeset/base/223271 Log: fuser: Fix skipping "SIG" on signal names (-s). The code did !strncasecmp(str, "sig", 4) which is not useful. Also change "sig" to "SIG" matching the uppercase si

svn commit: r223276 - head/lib/libprocstat

2011-06-18 Thread Jilles Tjoelker
Author: jilles Date: Sat Jun 18 22:16:55 2011 New Revision: 223276 URL: http://svn.freebsd.org/changeset/base/223276 Log: libprocstat: Fix typo in error messages. Modified: head/lib/libprocstat/libprocstat.c Modified: head/lib/libprocstat/libprocstat.c ===

svn commit: r223277 - head/sys/cam/ata

2011-06-18 Thread Konstantin Belousov
Author: kib Date: Sat Jun 18 22:26:58 2011 New Revision: 223277 URL: http://svn.freebsd.org/changeset/base/223277 Log: Fix a typo in adagetattr() from r223089. In particular, this restores the ability to use ahci(4) for kernel dumps. Modified: head/sys/cam/ata/ata_da.c Modified: head/sys/c

svn commit: r223278 - head/sbin/ddb

2011-06-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Jun 18 22:32:55 2011 New Revision: 223278 URL: http://svn.freebsd.org/changeset/base/223278 Log: Correct subcommand name 'unset' -> 'unscript'. Modified: head/sbin/ddb/ddb.8 Modified: head/sbin/ddb/ddb.8 ==

svn commit: r223279 - head/lib/libprocstat

2011-06-18 Thread Jilles Tjoelker
Author: jilles Date: Sat Jun 18 23:01:26 2011 New Revision: 223279 URL: http://svn.freebsd.org/changeset/base/223279 Log: libprocstat: For MAP_PRIVATE, do not consider the file open for writing. If a file is mapped with with MAP_PRIVATE, no write permission is required and changes do not

svn commit: r223280 - in head/sys: fs/nfs fs/nfsclient modules/dtrace modules/dtrace/dtnfscl modules/dtrace/dtraceall sys

2011-06-18 Thread Rick Macklem
Author: rmacklem Date: Sat Jun 18 23:02:53 2011 New Revision: 223280 URL: http://svn.freebsd.org/changeset/base/223280 Log: Add DTrace support to the new NFS client. This is essentially cloned from the old NFS client, plus additions for NFSv4. A review of this code is in progress, however it

svn commit: r223281 - head/bin/sh

2011-06-18 Thread Jilles Tjoelker
Author: jilles Date: Sat Jun 18 23:43:28 2011 New Revision: 223281 URL: http://svn.freebsd.org/changeset/base/223281 Log: sh: Add do-nothing -h option. POSIX requires a -h option to sh and set, to locate and remember utilities invoked by functions as they are defined. Given that this lo

svn commit: r223282 - head/bin/sh

2011-06-18 Thread Jilles Tjoelker
Author: jilles Date: Sat Jun 18 23:58:59 2011 New Revision: 223282 URL: http://svn.freebsd.org/changeset/base/223282 Log: sh: Remove special support for background simple commands. It expands the arguments in the parent shell process, which is incorrect. Modified: head/bin/sh/eval.c he

svn commit: r223283 - head/tools/regression/bin/sh/execution

2011-06-18 Thread Jilles Tjoelker
Author: jilles Date: Sun Jun 19 00:00:36 2011 New Revision: 223283 URL: http://svn.freebsd.org/changeset/base/223283 Log: sh: Add test for r223282. Added: head/tools/regression/bin/sh/execution/bg4.0 (contents, props changed) Added: head/tools/regression/bin/sh/execution/bg4.0

Re: svn commit: r223129 - head/release

2011-06-18 Thread Adrian Chadd
On 19 June 2011 04:34, Nathan Whitehorn wrote: > Since all of our install CDs for 9.0 (even the boot-only ones!) will be live > CDs, the full versions of everything in /rescue are on the CD in their usual > locations in /bin, /sbin, etc. and these can be used just as well for fixing > a system as

Re: svn commit: r223262 - in head: cddl/contrib/opensolaris/lib/libdtrace/common contrib/binutils/bfd contrib/binutils/gas contrib/binutils/gas/config contrib/binutils/ld contrib/binutils/opcodes cont

2011-06-18 Thread TAKAHASHI Yoshihiro
In article <201106181356.p5iduxhw044...@svn.freebsd.org> Ben Laurie writes: > Author: benl > Date: Sat Jun 18 13:56:33 2011 > New Revision: 223262 > URL: http://svn.freebsd.org/changeset/base/223262 > > Log: > Fix clang warnings. > > Modified: head/sys/sys/diskpc98.h > ===