svn commit: r214546 - stable/8/sys/vm

2010-10-29 Thread Alan Cox
Author: alc Date: Sat Oct 30 04:53:50 2010 New Revision: 214546 URL: http://svn.freebsd.org/changeset/base/214546 Log: MFC r213408 If vm_map_find() is asked to allocate a superpage-aligned region of virtual addresses that is greater than a superpage in size but not a multiple of the

svn commit: r214544 - stable/8/share/man/man7

2010-10-29 Thread Konstantin Belousov
Author: kib Date: Sat Oct 30 01:24:26 2010 New Revision: 214544 URL: http://svn.freebsd.org/changeset/base/214544 Log: MFC r213917: Document vfs.ncsizefactor and vfs.ncnegfactor. Modified: stable/8/share/man/man7/tuning.7 Directory Properties: stable/8/share/man/man7/ (props changed) M

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

2010-10-29 Thread Konstantin Belousov
Author: kib Date: Sat Oct 30 01:19:15 2010 New Revision: 214543 URL: http://svn.freebsd.org/changeset/base/214543 Log: MFC r213916: Provide vfs.ncsizefactor instead of hard-coding namecache ratio. Move debug.ncnegfactor to vfs.ncnegfactor. Provide some descriptions for the namecache relate

svn commit: r214542 - head/sys/dev/alc

2010-10-29 Thread Pyun YongHyeon
Author: yongari Date: Sat Oct 30 01:12:54 2010 New Revision: 214542 URL: http://svn.freebsd.org/changeset/base/214542 Log: Don't bother to enable ASPM L1 to save more power. Even though I am not able to trigger the issue with sample boards, some users seems to suffer from freeze/lockup when

Re: svn commit: r214510 - in head: include lib/libc/gen sys/kern

2010-10-29 Thread Garrett Cooper
On Fri, Oct 29, 2010 at 3:21 PM, Pawel Jakub Dawidek wrote: > On Fri, Oct 29, 2010 at 01:31:10PM +, David Xu wrote: >> Author: davidxu >> Date: Fri Oct 29 13:31:10 2010 >> New Revision: 214510 >> URL: http://svn.freebsd.org/changeset/base/214510 >> >> Log: >>   Add sysctl kern.sched.cpusetsize

svn commit: r214539 - head/lib/libpcap

2010-10-29 Thread Dimitry Andric
Author: dim Date: Fri Oct 29 22:57:14 2010 New Revision: 214539 URL: http://svn.freebsd.org/changeset/base/214539 Log: Regenerate our lib/libpcap/config.h for libpcap 1.1.1. Modified: head/lib/libpcap/config.h Modified: head/lib/libpcap/config.h ==

Re: svn commit: r214510 - in head: include lib/libc/gen sys/kern

2010-10-29 Thread Pawel Jakub Dawidek
On Sat, Oct 30, 2010 at 12:21:59AM +0200, Pawel Jakub Dawidek wrote: > Also note, that on i386 long is 32bit and on amd64 long is 64bit, so > 32bit process running on 64bit system won't be able to read this sysctl. > Or do we detect 32bit processes on 64bit systems and convert such types > in the k

Re: svn commit: r214510 - in head: include lib/libc/gen sys/kern

2010-10-29 Thread Pawel Jakub Dawidek
On Fri, Oct 29, 2010 at 01:31:10PM +, David Xu wrote: > Author: davidxu > Date: Fri Oct 29 13:31:10 2010 > New Revision: 214510 > URL: http://svn.freebsd.org/changeset/base/214510 > > Log: > Add sysctl kern.sched.cpusetsize to export the size of kernel cpuset, > also add sysconf() key _SC_

svn commit: r214538 - head/bin/sh

2010-10-29 Thread Jilles Tjoelker
Author: jilles Date: Fri Oct 29 21:44:43 2010 New Revision: 214538 URL: http://svn.freebsd.org/changeset/base/214538 Log: sh: Tweak some string constants to reduce code size. * Reduce some needless differences. * Shorten some error messages that should not happen. Modified: head/bin/sh

svn commit: r214536 - head/sbin/pflogd

2010-10-29 Thread Rui Paulo
Author: rpaulo Date: Fri Oct 29 21:24:56 2010 New Revision: 214536 URL: http://svn.freebsd.org/changeset/base/214536 Log: Add a ${.CURDIR} reference to the previous commit. Submitted by: dim Modified: head/sbin/pflogd/Makefile Modified: head/sbin/pflogd/Makefile

svn commit: r214535 - head/contrib/ipfilter/tools

2010-10-29 Thread Rui Paulo
Author: rpaulo Date: Fri Oct 29 21:23:34 2010 New Revision: 214535 URL: http://svn.freebsd.org/changeset/base/214535 Log: Use pcap's bpf header, not our own copy of it. Modified: head/contrib/ipfilter/tools/ipf_y.y Modified: head/contrib/ipfilter/tools/ipf_y.y ===

svn commit: r214534 - head/bin/sh

2010-10-29 Thread Jilles Tjoelker
Author: jilles Date: Fri Oct 29 21:20:56 2010 New Revision: 214534 URL: http://svn.freebsd.org/changeset/base/214534 Log: sh: Reject function names ending in one of !%*+...@}~ These do something else in ksh: name=(...) is an array or compound variable assignment and the others are extende

svn commit: r214533 - head/sbin/pflogd

2010-10-29 Thread Rui Paulo
Author: rpaulo Date: Fri Oct 29 21:20:14 2010 New Revision: 214533 URL: http://svn.freebsd.org/changeset/base/214533 Log: Force include ../../libpcap/config.h since privsep.c groks pcap's internals. Modified: head/sbin/pflogd/Makefile Modified: head/sbin/pflogd/Makefile ===

svn commit: r214531 - in head: bin/sh tools/regression/bin/sh/errors

2010-10-29 Thread Jilles Tjoelker
Author: jilles Date: Fri Oct 29 21:06:57 2010 New Revision: 214531 URL: http://svn.freebsd.org/changeset/base/214531 Log: sh: Detect various additional errors in the parser. Apart from detecting breakage earlier or at all, this also fixes a segfault in the testsuite. The "handling" of the

svn commit: r214530 - head/usr.sbin/tcpdump/tcpdump

2010-10-29 Thread Rui Paulo
Author: rpaulo Date: Fri Oct 29 21:03:59 2010 New Revision: 214530 URL: http://svn.freebsd.org/changeset/base/214530 Log: Add print-ipnet.c Submitted by: dim Modified: head/usr.sbin/tcpdump/tcpdump/Makefile Modified: head/usr.sbin/tcpdump/tcpdump/Makefile ===

svn commit: r214529 - head/lib/libpcap

2010-10-29 Thread Rui Paulo
Author: rpaulo Date: Fri Oct 29 20:54:04 2010 New Revision: 214529 URL: http://svn.freebsd.org/changeset/base/214529 Log: add pcap-common.c. Submitted by: dim Modified: head/lib/libpcap/Makefile Modified: head/lib/libpcap/Makefile

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

2010-10-29 Thread Marius Strobl
Author: marius Date: Fri Oct 29 20:51:30 2010 New Revision: 214528 URL: http://svn.freebsd.org/changeset/base/214528 Log: - When resetting pm_active and pm_context of a pmap in pmap_pinit() we need locking as otherwise we may race against the other parts of the MD code which expects a co

svn commit: r214526 - head/sys/boot/sparc64/loader

2010-10-29 Thread Marius Strobl
Author: marius Date: Fri Oct 29 20:42:02 2010 New Revision: 214526 URL: http://svn.freebsd.org/changeset/base/214526 Log: Partially revert r203829; as it turns out what the PowerPC OFW loader did was incorrect as further down the road cons_probe() calls malloc() so the former can't be called

svn commit: r214525 - head/bin/sh

2010-10-29 Thread Jilles Tjoelker
Author: jilles Date: Fri Oct 29 20:23:41 2010 New Revision: 214525 URL: http://svn.freebsd.org/changeset/base/214525 Log: sh: Error out on various specials/keywords in the wrong place in backticks. Example: echo `date)` Exp-run done by: pav (with some other sh(1) changes) Ob

svn commit: r214524 - in head: bin/sh tools/regression/bin/sh/expansion

2010-10-29 Thread Jilles Tjoelker
Author: jilles Date: Fri Oct 29 19:34:57 2010 New Revision: 214524 URL: http://svn.freebsd.org/changeset/base/214524 Log: sh: Fix some issues with CTL* bytes and ${var#pat}. subevalvar() incorrectly assumed that CTLESC bytes were present iff the expansion was quoted. However, they are pre

svn commit: r214523 - head/usr.sbin/config

2010-10-29 Thread John Baldwin
Author: jhb Date: Fri Oct 29 19:17:07 2010 New Revision: 214523 URL: http://svn.freebsd.org/changeset/base/214523 Log: Remove support for creating the 'machine' symlink as well as creating the extra MACHINE_ARCH symlink for certain platforms (such as pc98). The support for creating these sy

svn commit: r214522 - head/sys/kern

2010-10-29 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Oct 29 19:07:36 2010 New Revision: 214522 URL: http://svn.freebsd.org/changeset/base/214522 Log: Fix uninitialized variable. Found with: Coverity Prevent(tm) CID: 8632 Modified: head/sys/kern/subr_acl_nfs4.c Modified: head/sys/kern/subr_acl_nfs4.c ==

svn commit: r214521 - head/contrib/libpcap

2010-10-29 Thread Rui Paulo
Author: rpaulo Date: Fri Oct 29 18:56:51 2010 New Revision: 214521 URL: http://svn.freebsd.org/changeset/base/214521 Log: Remove more unused files. Deleted: head/contrib/libpcap/README.dag head/contrib/libpcap/README.hpux head/contrib/libpcap/README.linux head/contrib/libpcap/README.sep

svn commit: r214520 - in head/contrib/libpcap: . ChmodBPF SUNOS4 Win32 msdos

2010-10-29 Thread Rui Paulo
Author: rpaulo Date: Fri Oct 29 18:50:38 2010 New Revision: 214520 URL: http://svn.freebsd.org/changeset/base/214520 Log: Remove unused files. Deleted: head/contrib/libpcap/ChmodBPF/ head/contrib/libpcap/FREEBSD-Xlist head/contrib/libpcap/FREEBSD-upgrade head/contrib/libpcap/README.Win3

svn commit: r214519 - head/lib/libpcap

2010-10-29 Thread Rui Paulo
Author: rpaulo Date: Fri Oct 29 18:45:10 2010 New Revision: 214519 URL: http://svn.freebsd.org/changeset/base/214519 Log: Update for libpcap-1.1.1. Modified: head/lib/libpcap/Makefile Modified: head/lib/libpcap/Makefile

svn commit: r214518 - in head/contrib/libpcap: . ChmodBPF SUNOS4 Win32 bpf/net lbl missing msdos net pcap

2010-10-29 Thread Rui Paulo
Author: rpaulo Date: Fri Oct 29 18:43:23 2010 New Revision: 214518 URL: http://svn.freebsd.org/changeset/base/214518 Log: Merge libpcap-1.1.1. Added: head/contrib/libpcap/ChmodBPF/ - copied from r214514, vendor/libpcap/dist/ChmodBPF/ head/contrib/libpcap/README.Win32 - copied unch

svn commit: r214517 - head/sys/net

2010-10-29 Thread Rui Paulo
Author: rpaulo Date: Fri Oct 29 18:41:09 2010 New Revision: 214517 URL: http://svn.freebsd.org/changeset/base/214517 Log: Sync DLTs with the latest pcap version. Modified: head/sys/net/bpf.h Modified: head/sys/net/bpf.h

svn commit: r214516 - head/sys/conf

2010-10-29 Thread Attilio Rao
Author: attilio Date: Fri Oct 29 18:38:36 2010 New Revision: 214516 URL: http://svn.freebsd.org/changeset/base/214516 Log: Merging mptable under x86 left this option undefined for amd64 case. Fix that. Sponsored by: Sandvine Incorporated Reported by: jkim Modified: head/sys/conf/opt

svn commit: r214515 - head/sys/x86/x86

2010-10-29 Thread Attilio Rao
Author: attilio Date: Fri Oct 29 18:33:43 2010 New Revision: 214515 URL: http://svn.freebsd.org/changeset/base/214515 Log: - Merge ram_attach() implementation for i386 and amd64 - Rename RES_BUS_SPACE_* into BUS_SPACE_* for consistency - Trim out an unnecessary checking condition Sponso

Re: svn commit: r214446 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-29 Thread Attilio Rao
2010/10/29 Jung-uk Kim : > On Thursday 28 October 2010 03:58 am, Attilio Rao wrote: >> Author: attilio >> Date: Thu Oct 28 07:58:06 2010 >> New Revision: 214446 >> URL: http://svn.freebsd.org/changeset/base/214446 >> >> Log: >>   Merge the mptable support from MD bits to x86 subtree. >> >>   Sponso

Re: svn commit: r214446 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-29 Thread Jung-uk Kim
On Thursday 28 October 2010 03:58 am, Attilio Rao wrote: > Author: attilio > Date: Thu Oct 28 07:58:06 2010 > New Revision: 214446 > URL: http://svn.freebsd.org/changeset/base/214446 > > Log: > Merge the mptable support from MD bits to x86 subtree. > > Sponsored by: Sandvine Incorporated

Re: svn commit: r214457 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-29 Thread John Baldwin
On Friday, October 29, 2010 10:33:05 am Attilio Rao wrote: > 2010/10/29 John Baldwin : > > On Friday, October 29, 2010 10:17:23 am Attilio Rao wrote: > >> 2010/10/29 John Baldwin : > >> > On Thursday, October 28, 2010 8:25:38 pm Attilio Rao wrote: > >> >> 2010/10/28 John Baldwin : > >> >> > On Thur

svn commit: r214514 - head/lib/libc/sys

2010-10-29 Thread Jaakko Heinonen
Author: jh Date: Fri Oct 29 15:03:29 2010 New Revision: 214514 URL: http://svn.freebsd.org/changeset/base/214514 Log: - Note that non-superusers are not allowed to set the SF_ARCHIVED flag. [1] - Note that also fchflags(2) will return EPERM for attempts to set or unset the SF_SNAPSHOT

Re: svn commit: r214457 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-29 Thread Attilio Rao
2010/10/29 John Baldwin : > On Friday, October 29, 2010 10:17:23 am Attilio Rao wrote: >> 2010/10/29 John Baldwin : >> > On Thursday, October 28, 2010 8:25:38 pm Attilio Rao wrote: >> >> 2010/10/28 John Baldwin : >> >> > On Thursday, October 28, 2010 4:28:12 pm Attilio Rao wrote: >> >> >> 2010/10/2

Re: svn commit: r214457 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-29 Thread John Baldwin
On Friday, October 29, 2010 10:17:23 am Attilio Rao wrote: > 2010/10/29 John Baldwin : > > On Thursday, October 28, 2010 8:25:38 pm Attilio Rao wrote: > >> 2010/10/28 John Baldwin : > >> > On Thursday, October 28, 2010 4:28:12 pm Attilio Rao wrote: > >> >> 2010/10/28 John Baldwin : > >> >> > On Thu

Re: svn commit: r214457 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-29 Thread Attilio Rao
2010/10/29 John Baldwin : > On Thursday, October 28, 2010 8:25:38 pm Attilio Rao wrote: >> 2010/10/28 John Baldwin : >> > On Thursday, October 28, 2010 4:28:12 pm Attilio Rao wrote: >> >> 2010/10/28 John Baldwin : >> >> > On Thursday, October 28, 2010 1:21:34 pm Attilio Rao wrote: >> >> >> 2010/10/

svn commit: r214513 - head/sys/fs/nfsclient

2010-10-29 Thread Rick Macklem
Author: rmacklem Date: Fri Oct 29 13:46:21 2010 New Revision: 214513 URL: http://svn.freebsd.org/changeset/base/214513 Log: Modify nfs_open() in the experimental NFS client to be compatible with the regular NFS client. Also, fix a couple of mutex lock issues. MFC after:1 week Modifie

Re: svn commit: r214457 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-10-29 Thread John Baldwin
On Thursday, October 28, 2010 8:25:38 pm Attilio Rao wrote: > 2010/10/28 John Baldwin : > > On Thursday, October 28, 2010 4:28:12 pm Attilio Rao wrote: > >> 2010/10/28 John Baldwin : > >> > On Thursday, October 28, 2010 1:21:34 pm Attilio Rao wrote: > >> >> 2010/10/28 John Baldwin : > >> >> > On Th

svn commit: r214512 - in head: bin/sh tools/regression/bin/sh/expansion

2010-10-29 Thread Jilles Tjoelker
Author: jilles Date: Fri Oct 29 13:42:18 2010 New Revision: 214512 URL: http://svn.freebsd.org/changeset/base/214512 Log: sh: Do IFS splitting on word in ${v+word} and ${v-word}. The code is inspired by NetBSD sh somewhat, but different because we preserve the old Almquist/Bourne/Korn abi

svn commit: r214511 - head/sys/fs/nfsclient

2010-10-29 Thread Rick Macklem
Author: rmacklem Date: Fri Oct 29 13:34:57 2010 New Revision: 214511 URL: http://svn.freebsd.org/changeset/base/214511 Log: Add a call for nfsrpc_close() to ncl_reclaim() in the experimental NFSv4 client, since the call in ncl_inactive() might be missed because VOP_INACTIVE() is not guarante

svn commit: r214510 - in head: include lib/libc/gen sys/kern

2010-10-29 Thread David Xu
Author: davidxu Date: Fri Oct 29 13:31:10 2010 New Revision: 214510 URL: http://svn.freebsd.org/changeset/base/214510 Log: Add sysctl kern.sched.cpusetsize to export the size of kernel cpuset, also add sysconf() key _SC_CPUSET_SIZE to get sysctl value. Submitted by: gcooper Modified: h

Re: svn commit: r214431 - head/bin/rm

2010-10-29 Thread Robert Watson
On Fri, 29 Oct 2010, Bruce Cran wrote: On Thu, 28 Oct 2010 14:11:14 -0700 Garrett Cooper wrote: Unfortunately it's implied superficially by the 3 pass tort; but as most people who understand magnetic disks know, unless you completely obliterate a disk, wipe over it with random data enough t

Re: svn commit: r214431 - head/bin/rm

2010-10-29 Thread Bruce Cran
On Thu, 28 Oct 2010 14:11:14 -0700 Garrett Cooper wrote: > Unfortunately it's implied superficially by the 3 pass tort; but as > most people who understand magnetic disks know, unless you completely > obliterate a disk, wipe over it with random data enough times, > whatever, the content is still

Re: svn commit: r214431 - head/bin/rm

2010-10-29 Thread Alexander Leidinger
Quoting Garrett Cooper (from Thu, 28 Oct 2010 14:11:14 -0700): Unfortunately it's implied superficially by the 3 pass tort; but as most people who understand magnetic disks know, unless you completely obliterate a disk, wipe over it with random data enough times, whatever, the content is stil

svn commit: r214509 - head/sys/netinet

2010-10-29 Thread Gleb Smirnoff
Author: glebius Date: Fri Oct 29 11:13:42 2010 New Revision: 214509 URL: http://svn.freebsd.org/changeset/base/214509 Log: Remove meaningless X, that is a remain of comment, removed in r186200. Modified: head/sys/netinet/if_ether.c Modified: head/sys/netinet/if_ether.c ==

svn commit: r214508 - head/sys/netinet

2010-10-29 Thread Gleb Smirnoff
Author: glebius Date: Fri Oct 29 10:57:18 2010 New Revision: 214508 URL: http://svn.freebsd.org/changeset/base/214508 Log: Revert a small part of the r198301, that is entirely unrelated to the r198301 itself. It also broke the logic of not sending more than one ARP request per second, that c

svn commit: r214506 - head/lib/libthr/thread

2010-10-29 Thread David Xu
Author: davidxu Date: Fri Oct 29 09:35:36 2010 New Revision: 214506 URL: http://svn.freebsd.org/changeset/base/214506 Log: Return previous sigaction correctly. Submitted by: avg Modified: head/lib/libthr/thread/thr_sig.c Modified: head/lib/libthr/thread/thr_sig.c ===

svn commit: r214505 - vendor/wpa/0.7.3

2010-10-29 Thread Rui Paulo
Author: rpaulo Date: Fri Oct 29 09:23:26 2010 New Revision: 214505 URL: http://svn.freebsd.org/changeset/base/214505 Log: Re-tag wpa_supplicant / hostapd 0.7.3. Added: vendor/wpa/0.7.3/ - copied from r214504, vendor/wpa/dist/ ___ svn-src-all@fr

svn commit: r214504 - vendor/wpa/0.7.3

2010-10-29 Thread Rui Paulo
Author: rpaulo Date: Fri Oct 29 09:22:07 2010 New Revision: 214504 URL: http://svn.freebsd.org/changeset/base/214504 Log: Remove bogus 0.7.3 tag. Deleted: vendor/wpa/0.7.3/ ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/li

svn commit: r214503 - in vendor/wpa/dist/hostapd: . logwatch

2010-10-29 Thread Rui Paulo
Author: rpaulo Date: Fri Oct 29 09:21:40 2010 New Revision: 214503 URL: http://svn.freebsd.org/changeset/base/214503 Log: Import hostapd 0.7.3. Changes: 2010-09-07 - v0.7.3 * fixed re-association after WPS not initializing WPA state machine in some cases * fix

Re: svn commit: r214489 - head/usr.sbin/bsnmpd/modules/snmp_hostres

2010-10-29 Thread Peter Jeremy
On 2010-Oct-28 20:18:26 +, Ulrich Spoerlein wrote: > Fix CPU load reporting independent of scheduler used. That's good. > I'm unsure if some MIB standard states this must be the load average > for, eg. 300s, it looks like net-snmp isn't even bothering to implement > the CPU load reportin

svn commit: r214502 - vendor/wpa/0.7.3

2010-10-29 Thread Rui Paulo
Author: rpaulo Date: Fri Oct 29 08:02:12 2010 New Revision: 214502 URL: http://svn.freebsd.org/changeset/base/214502 Log: Tag wpa_supplicant / hostapd 0.7.3. Added: vendor/wpa/0.7.3/ - copied from r214501, vendor/wpa/dist/ ___ svn-src-all@freeb

svn commit: r214500 - head/lib/libthr/thread

2010-10-29 Thread David Xu
Author: davidxu Date: Fri Oct 29 07:04:45 2010 New Revision: 214500 URL: http://svn.freebsd.org/changeset/base/214500 Log: Remove local variable 'first', instead check signal number in memory, because the variable can be in register, second checking the variable may still return true, howeve