svn commit: r197020 - head/sys/sys

2009-09-09 Thread Warner Losh
Author: imp Date: Wed Sep 9 06:49:49 2009 New Revision: 197020 URL: http://svn.freebsd.org/changeset/base/197020 Log: kern_execve.c hasn't been around in ages, so update the file(s) where a_magic is used instead of the a_midmag # maybe we can retire this hack soon... Modified:

svn commit: r197021 - head/sys/dev/dpms

2009-09-09 Thread Xin LI
Author: delphij Date: Wed Sep 9 07:42:04 2009 New Revision: 197021 URL: http://svn.freebsd.org/changeset/base/197021 Log: Add a directory to hold dpms stuff separated from i386/isa/. Added: head/sys/dev/dpms/ ___ svn-src-all@freebsd.org mailing

svn commit: r197022 - in head/sys/dev: dpms fb

2009-09-09 Thread Xin LI
Author: delphij Date: Wed Sep 9 07:45:08 2009 New Revision: 197022 URL: http://svn.freebsd.org/changeset/base/197022 Log: Copy the following files to new places, a subsequent commit would remove them from the old place. This commit necessary so that the tree would not enter a broken

svn commit: r197023 - stable/8/sys/kern

2009-09-09 Thread Attilio Rao
Author: attilio Date: Wed Sep 9 09:17:31 2009 New Revision: 197023 URL: http://svn.freebsd.org/changeset/base/197023 Log: MFC r196772: fix adaptive spinning in lockmgr by using correctly GIANT_RESTORE and continue statement and improve adaptive spinning for sx lock by just doing once

svn commit: r197024 - stable/8/sys/kern

2009-09-09 Thread Attilio Rao
Author: attilio Date: Wed Sep 9 09:34:13 2009 New Revision: 197024 URL: http://svn.freebsd.org/changeset/base/197024 Log: Adaptive spinning for locking primitives, in read-mode, have some tuning SYSCTLs which are inappropriate for a daily use of the machine (mostly useful only by a

svn commit: r197025 - in head: lib share/man/man4 share/man/man4/man4.i386 sys/amd64/conf sys/conf sys/dev/dpms sys/dev/fb sys/dev/syscons sys/i386/conf sys/i386/include/pc sys/i386/isa sys/modules...

2009-09-09 Thread Xin LI
Author: delphij Date: Wed Sep 9 09:50:31 2009 New Revision: 197025 URL: http://svn.freebsd.org/changeset/base/197025 Log: - Teach vesa(4) and dpms(4) about x86emu. [1] - Add vesa kernel options for amd64. - Connect libvgl library and splash kernel modules to amd64 build. - Connect

svn commit: r197028 - stable/8/sys/sys

2009-09-09 Thread Konstantin Belousov
Author: kib Date: Wed Sep 9 10:31:09 2009 New Revision: 197028 URL: http://svn.freebsd.org/changeset/base/197028 Log: Use traditional td_unusedX names for the padding members. Suggested by: julian Approved by: re (kensmith) Modified: stable/8/sys/sys/proc.h Modified:

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

2009-09-09 Thread Poul-Henning Kamp
Author: phk Date: Wed Sep 9 10:31:20 2009 New Revision: 197029 URL: http://svn.freebsd.org/changeset/base/197029 Log: Revert r196976, now that machine/param.h behaves predictably. Modified: head/lib/libc/net/getifaddrs.c Modified: head/lib/libc/net/getifaddrs.c

svn commit: r197030 - head/sys/kern

2009-09-09 Thread Konstantin Belousov
Author: kib Date: Wed Sep 9 10:51:50 2009 New Revision: 197030 URL: http://svn.freebsd.org/changeset/base/197030 Log: In vfs_mark_atime(9), be resistent against reclaimed vnodes. Assert that neccessary locks are taken, since vop might not be called. Tested by:pho MFC after:3

svn commit: r197031 - head/sys/kern

2009-09-09 Thread Konstantin Belousov
Author: kib Date: Wed Sep 9 10:52:36 2009 New Revision: 197031 URL: http://svn.freebsd.org/changeset/base/197031 Log: Unlock the image vnode around the call of pmc PMC_FN_PROCESS_EXEC hook. The hook calls vn_fullpath(9), that should not be executed with a vnode lock held. Reported by:

svn commit: r197038 - stable/8/share/zoneinfo

2009-09-09 Thread Edwin Groothuis
Author: edwin Date: Wed Sep 9 12:19:43 2009 New Revision: 197038 URL: http://svn.freebsd.org/changeset/base/197038 Log: MFC of r196581 r196582 r197000 Import of tzdata 2009k, 2009l and 2009m - Changes in Mauritius and Bangladesh - No leapsecond at the end of December 2009 - Egypt

svn commit: r197039 - head/sys/nfsserver

2009-09-09 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Sep 9 12:56:05 2009 New Revision: 197039 URL: http://svn.freebsd.org/changeset/base/197039 Log: Fix usecount leak in mknod(2) on file system exported over NFS. While I'm here, correct typo in comment. Reviewed by: kan, kib MFC after:3 days Modified:

svn commit: r197040 - head/sys/nfsserver

2009-09-09 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Sep 9 13:23:26 2009 New Revision: 197040 URL: http://svn.freebsd.org/changeset/base/197040 Log: Correct typo after manual patching. Noticed by: b. f. Modified: head/sys/nfsserver/nfs_serv.c Modified: head/sys/nfsserver/nfs_serv.c

Re: svn commit: r196981 - head/usr.bin/unzip

2009-09-09 Thread Andrey Chernov
On Tue, Sep 08, 2009 at 03:55:13PM +, Roman Divacky wrote: + * Detect whether this is a text file. The correct way to + * do this is to check the least significant bit of the + * internal file attributes field of the corresponding + *

svn commit: r197041 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci kern

2009-09-09 Thread Konstantin Belousov
Author: kib Date: Wed Sep 9 13:28:18 2009 New Revision: 197041 URL: http://svn.freebsd.org/changeset/base/197041 Log: MFC r196887: In fhopen, vfs_ref() the mount point while vnode is unlocked, to prevent vn_start_write(NULL, mp) from operating on potentially freed or reused struct mount

svn commit: r197042 - head/share/man/man4/man4.i386

2009-09-09 Thread Bjoern A. Zeeb
Author: bz Date: Wed Sep 9 14:17:07 2009 New Revision: 197042 URL: http://svn.freebsd.org/changeset/base/197042 Log: Remove dpms.4 missed in r197025. Modified: head/share/man/man4/man4.i386/Makefile Modified: head/share/man/man4/man4.i386/Makefile

Re: svn commit: r196981 - head/usr.bin/unzip

2009-09-09 Thread Dag-Erling Smørgrav
Andrey Chernov a...@nagual.pp.ru writes: If I understand the purpose of this code right, better use isalnum()+ispunct()+ispace() combination to count non-ASCII people too. uh, isprint() perhaps? DES -- Dag-Erling Smørgrav - d...@des.no ___

Re: svn commit: r196981 - head/usr.bin/unzip

2009-09-09 Thread Tim Kientzle
Andrey Chernov wrote: On Tue, Sep 08, 2009 at 03:55:13PM +, Roman Divacky wrote: +* Detect whether this is a text file. ... but libarchive +* does not read the central directory, so we have to +* guess ... +*/ + if (a_opt n == 0) { +

Re: svn commit: r196981 - head/usr.bin/unzip

2009-09-09 Thread Andrey Chernov
On Wed, Sep 09, 2009 at 05:14:32PM +0200, Dag-Erling Sm??rgrav wrote: Andrey Chernov a...@nagual.pp.ru writes: If I understand the purpose of this code right, better use isalnum()+ispunct()+ispace() combination to count non-ASCII people too. uh, isprint() perhaps? In some charsets there

Re: svn commit: r196981 - head/usr.bin/unzip

2009-09-09 Thread Andrey Chernov
On Wed, Sep 09, 2009 at 08:16:09AM -0700, Tim Kientzle wrote: Since this is only to support -a (which does end-of-line conversions), I would suggest using a rather different set of heuristics that examines end-of-line sequences and control characters only: * Any byte value 31 that's not CR

svn commit: r197043 - head/sys/dev/cxgb

2009-09-09 Thread Navdeep Parhar
Author: np Date: Wed Sep 9 18:55:18 2009 New Revision: 197043 URL: http://svn.freebsd.org/changeset/base/197043 Log: There is no need to log anything for a ctrlq stall or restart. These are normal events. Approved by: gnn (mentor) MFC after:1 month Modified:

svn commit: r197044 - head/sbin/geom/class/mirror

2009-09-09 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Sep 9 19:06:01 2009 New Revision: 197044 URL: http://svn.freebsd.org/changeset/base/197044 Log: Actually component with the greatest priority is used by the prefer balance algorithm. Modified: head/sbin/geom/class/mirror/gmirror.8 Modified:

svn commit: r197045 - head/lib/libc/stdio

2009-09-09 Thread Ed Schouten
Author: ed Date: Wed Sep 9 19:38:19 2009 New Revision: 197045 URL: http://svn.freebsd.org/changeset/base/197045 Log: Make the description of `b' a little better. If you have a one-byte sequence, `w', `b' is the second character. Not the third. Submitted by: Christoph Mallon

svn commit: r197046 - head/sys/i386/xen

2009-09-09 Thread Konstantin Belousov
Author: kib Date: Wed Sep 9 19:40:54 2009 New Revision: 197046 URL: http://svn.freebsd.org/changeset/base/197046 Log: As was done in r196643 for i386 and amd64, swap the start/end virtual addresses in pmap_invalidate_cache_range(). Reported by: Vincent Hoffman vince unsane co uk

svn commit: r197047 - head/share/man/man4

2009-09-09 Thread Brooks Davis
Author: brooks Date: Wed Sep 9 20:28:58 2009 New Revision: 197047 URL: http://svn.freebsd.org/changeset/base/197047 Log: Mention that a few ed(4) devices don't emit link state change notices and a workaround for dhclient. Reviewed by: thierry MFC after:3 days Modified:

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

2009-09-09 Thread Rick Macklem
Author: rmacklem Date: Wed Sep 9 20:37:49 2009 New Revision: 197048 URL: http://svn.freebsd.org/changeset/base/197048 Log: Add LK_NOWITNESS to the vn_lock() calls done on newly created nfs vnodes, since these nodes are not linked into the mount queue and, as such, the vn_lock() cannot

svn commit: r197049 - in head/sys: compat/freebsd32 compat/linux kern sys

2009-09-09 Thread Konstantin Belousov
Author: kib Date: Wed Sep 9 20:59:01 2009 New Revision: 197049 URL: http://svn.freebsd.org/changeset/base/197049 Log: kern_select(9) copies fd_set in and out of userspace in quantities of longs. Since 32bit processes longs are 4 bytes, 64bit kernel may copy in or out 4 bytes more then the

svn commit: r197050 - head/share/man/man4

2009-09-09 Thread Brooks Davis
Author: brooks Date: Wed Sep 9 21:51:54 2009 New Revision: 197050 URL: http://svn.freebsd.org/changeset/base/197050 Log: Change one no to not in r197047 Submitted by: John Nielsen john at jnielsen net Modified: head/share/man/man4/ed.4 Modified: head/share/man/man4/ed.4

svn commit: r197051 - head/usr.sbin/btxld

2009-09-09 Thread Warner Losh
Author: imp Date: Thu Sep 10 00:47:32 2009 New Revision: 197051 URL: http://svn.freebsd.org/changeset/base/197051 Log: The boot loader is a FreeBSD a.out binary for x86, not a VAX binary. Rather than writing out a MID of '0', write a MID of 0x86 (aka MID_I386) so that file gets it right.

svn commit: r197052 - head/release/doc/en_US.ISO8859-1/relnotes

2009-09-09 Thread Edwin Groothuis
Author: edwin Date: Thu Sep 10 01:26:45 2009 New Revision: 197052 URL: http://svn.freebsd.org/changeset/base/197052 Log: Mention update to tzdata2009m. Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.sgml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.sgml

Re: svn commit: r196981 - head/usr.bin/unzip

2009-09-09 Thread Tim Kientzle
Andrey Chernov wrote: On Wed, Sep 09, 2009 at 08:16:09AM -0700, Tim Kientzle wrote: Since this is only to support -a (which does end-of-line conversions), I would suggest using a rather different set of heuristics that examines end-of-line sequences and control characters only: * Any byte