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

2010-02-09 Thread Kostik Belousov
On Tue, Feb 09, 2010 at 05:52:35AM +, Marcel Moolenaar wrote: Author: marcel Date: Tue Feb 9 05:52:35 2010 New Revision: 203696 URL: http://svn.freebsd.org/changeset/base/203696 Log: Add PT_VM_TIMESTAMP and PT_VM_ENTRY so that the tracing process can obtain the memory map of the

svn commit: r203699 - in head/usr.bin/ee: . nls/pt_BR.ISO8859-1

2010-02-09 Thread Gabor Kovesdan
Author: gabor Date: Tue Feb 9 10:47:44 2010 New Revision: 203699 URL: http://svn.freebsd.org/changeset/base/203699 Log: - pt_BR.ISO8859-1 catalog - Add link to pt_PT.ISO8859-1 Submitted by: sylvio Approved by: delphij (mentor) Added: head/usr.bin/ee/nls/pt_BR.ISO8859-1/

svn commit: r203700 - stable/8/sbin/dumpfs

2010-02-09 Thread Ruslan Ermilov
Author: ru Date: Tue Feb 9 12:20:48 2010 New Revision: 203700 URL: http://svn.freebsd.org/changeset/base/203700 Log: MFC: r198231: Properly re-create -s size argument to newfs(8). Modified: stable/8/sbin/dumpfs/dumpfs.c Directory Properties: stable/8/sbin/dumpfs/ (props changed)

svn commit: r203701 - stable/8/lib/libc/stdlib

2010-02-09 Thread Ed Maste
Author: emaste Date: Tue Feb 9 13:07:32 2010 New Revision: 203701 URL: http://svn.freebsd.org/changeset/base/203701 Log: MFC r203077: Add missing return, in a rare case where we can't allocate memory in deallocate. Submitted by: Ryan Stone (rysto32 at gmail dot com) Approved

svn commit: r203703 - head/games/fortune/datfiles

2010-02-09 Thread George V. Neville-Neil
Author: gnn Date: Tue Feb 9 14:51:39 2010 New Revision: 203703 URL: http://svn.freebsd.org/changeset/base/203703 Log: Add the definition of Mistakeholder Modified: head/games/fortune/datfiles/fortunes Modified: head/games/fortune/datfiles/fortunes

svn commit: r203704 - stable/7/sys/kern

2010-02-09 Thread Attilio Rao
Author: attilio Date: Tue Feb 9 14:56:10 2010 New Revision: 203704 URL: http://svn.freebsd.org/changeset/base/203704 Log: MFC r202889, r202940: - Fix a race in sched_switch() of sched_4bsd. Block the td_lock when acquiring explicitly sched_lock in order to prevent races with other

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

2010-02-09 Thread Renato Botelho
On Tue, Feb 9, 2010 at 3:52 AM, Marcel Moolenaar mar...@freebsd.org wrote: Author: marcel Date: Tue Feb  9 05:52:35 2010 New Revision: 203696 URL: http://svn.freebsd.org/changeset/base/203696 Log:  Add PT_VM_TIMESTAMP and PT_VM_ENTRY so that the tracing process can  obtain the memory map

svn commit: r203706 - stable/7/sbin/dumpfs

2010-02-09 Thread Ruslan Ermilov
Author: ru Date: Tue Feb 9 16:18:44 2010 New Revision: 203706 URL: http://svn.freebsd.org/changeset/base/203706 Log: MFC: r198231: Properly re-create -s size argument to newfs(8). Approved by: re (kib) Modified: stable/7/sbin/dumpfs/dumpfs.c Directory Properties:

Re: svn commit: r203547 - head/sbin/sysctl

2010-02-09 Thread Ruslan Ermilov
On Sat, Feb 06, 2010 at 01:39:08PM +, Gavin Atkinson wrote: Author: gavin Date: Sat Feb 6 13:39:08 2010 New Revision: 203547 URL: http://svn.freebsd.org/changeset/base/203547 Log: Add the -i option to the synopsis. Submitted by: dhw MFC after: 1 week (with r203310)

svn commit: r203707 - head/usr.sbin/wake

2010-02-09 Thread Warner Losh
Author: imp Date: Tue Feb 9 17:16:13 2010 New Revision: 203707 URL: http://svn.freebsd.org/changeset/base/203707 Log: Anything that casts struct sockaddr * to struct sockaddr_foo is safe due to careful design. We've not yet figured out how to properly annotate the sockaddr structs to

svn commit: r203708 - head/sys/kern

2010-02-09 Thread Marcel Moolenaar
Author: marcel Date: Tue Feb 9 17:20:00 2010 New Revision: 203708 URL: http://svn.freebsd.org/changeset/base/203708 Log: Unbreak building kernels with COMPAT_32 enabled. The actual support for the PT_VM_ENTRY request from 32-bit processes will follow. Pointy hat: marcel Modified:

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

2010-02-09 Thread Marcel Moolenaar
On Feb 9, 2010, at 1:57 AM, Kostik Belousov wrote: +map = p-p_vmspace-vm_map; I think this place lacks two safety measures: - vmspace should be referenced by vmspace_acquire_ref() - vm_map should be read-locked before iterating the map entries. Vmspace may be shared between stopped

Re: svn commit: r203704 - stable/7/sys/kern

2010-02-09 Thread John Baldwin
On Tuesday 09 February 2010 9:56:10 am Attilio Rao wrote: Author: attilio Date: Tue Feb 9 14:56:10 2010 New Revision: 203704 URL: http://svn.freebsd.org/changeset/base/203704 Log: MFC r202889, r202940: - Fix a race in sched_switch() of sched_4bsd. Block the td_lock when

Re: svn commit: r203704 - stable/7/sys/kern

2010-02-09 Thread Attilio Rao
2010/2/9 John Baldwin j...@freebsd.org: On Tuesday 09 February 2010 9:56:10 am Attilio Rao wrote: Author: attilio Date: Tue Feb  9 14:56:10 2010 New Revision: 203704 URL: http://svn.freebsd.org/changeset/base/203704 Log:   MFC r202889, r202940:   - Fix a race in sched_switch() of

svn commit: r203710 - head/usr.sbin/rpcbind

2010-02-09 Thread Warner Losh
Author: imp Date: Tue Feb 9 18:10:56 2010 New Revision: 203710 URL: http://svn.freebsd.org/changeset/base/203710 Log: When you have multiple addresses on the same network on different interfaces (such as when you are part of a carp pool), and you run rpcbind -h to restrict which interfaces

svn commit: r203711 - in head: tools/build/mk usr.bin

2010-02-09 Thread Xin LI
Author: delphij Date: Tue Feb 9 18:22:26 2010 New Revision: 203711 URL: http://svn.freebsd.org/changeset/base/203711 Log: As it turns out, fmt(1) is being used by the base system as well as the ports tree extensively and it is probably a good idea to keep it regardless of NO_MAIL setting.

svn commit: r203713 - head/gnu/usr.bin/groff/tmac

2010-02-09 Thread Marcel Moolenaar
Author: marcel Date: Tue Feb 9 18:40:40 2010 New Revision: 203713 URL: http://svn.freebsd.org/changeset/base/203713 Log: Add description for libefi. Pointed out by: ru Modified: head/gnu/usr.bin/groff/tmac/mdoc.local Modified: head/gnu/usr.bin/groff/tmac/mdoc.local

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

2010-02-09 Thread Kostik Belousov
On Tue, Feb 09, 2010 at 09:30:51AM -0800, Marcel Moolenaar wrote: On Feb 9, 2010, at 1:57 AM, Kostik Belousov wrote: + map = p-p_vmspace-vm_map; I think this place lacks two safety measures: - vmspace should be referenced by vmspace_acquire_ref() - vm_map should be read-locked before

svn commit: r203714 - head/lib/libefi

2010-02-09 Thread Marcel Moolenaar
Author: marcel Date: Tue Feb 9 18:43:20 2010 New Revision: 203714 URL: http://svn.freebsd.org/changeset/base/203714 Log: Various fixes like spelling, style and syntax. Submitted by: ru (thanks!) Modified: head/lib/libefi/libefi.3 Modified: head/lib/libefi/libefi.3

svn commit: r203715 - stable/8/etc

2010-02-09 Thread Bruce M Simpson
Author: bms Date: Tue Feb 9 18:43:50 2010 New Revision: 203715 URL: http://svn.freebsd.org/changeset/base/203715 Log: MFC Revision: 203574 Add sane-port (Scanner Access Now Easy) as port 6566. Obtained from: http://www.iana.org/assignments/port-numbers Modified:

svn commit: r203716 - head/sys/dev/bge

2010-02-09 Thread Pyun YongHyeon
Author: yongari Date: Tue Feb 9 19:12:06 2010 New Revision: 203716 URL: http://svn.freebsd.org/changeset/base/203716 Log: Move device specific flag configuration to attach routine. The softc obtained in device probe wouldn't be the same one used in device attach. Drivers should not assume

svn commit: r203717 - head/sbin/sysctl

2010-02-09 Thread Gavin Atkinson
Author: gavin Date: Tue Feb 9 19:13:45 2010 New Revision: 203717 URL: http://svn.freebsd.org/changeset/base/203717 Log: Add -i to usage() Noticed by: ru MFC after:5 days Modified: head/sbin/sysctl/sysctl.c Modified: head/sbin/sysctl/sysctl.c

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

2010-02-09 Thread Marcel Moolenaar
On Feb 9, 2010, at 10:40 AM, Kostik Belousov wrote: *snip* Action items: - vmspace should be referenced by vmspace_acquire_ref() - vm_map should be read-locked before iterating the map entries. *snip* We can always put the timestamp in the structure. *snip* (2) the tracing process can

svn commit: r203718 - stable/8/sys/netinet

2010-02-09 Thread Qing Li
Author: qingli Date: Tue Feb 9 19:27:54 2010 New Revision: 203718 URL: http://svn.freebsd.org/changeset/base/203718 Log: MFC r203401 Some of the existing ppp and vpn related scripts create and set the IP addresses of the tunnel end points to the same value. In these cases the

svn commit: r203719 - head/lib/libc/nls

2010-02-09 Thread Gabor Kovesdan
Author: gabor Date: Tue Feb 9 19:37:12 2010 New Revision: 203719 URL: http://svn.freebsd.org/changeset/base/203719 Log: - Deal with some special cases [1] - style(9) nits Pointed out by: jilles [1] Approved by: delphij (mentor) Modified: head/lib/libc/nls/msgcat.c Modified:

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

2010-02-09 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 9 20:58:39 2010 New Revision: 203721 URL: http://svn.freebsd.org/changeset/base/203721 Log: Add references to VOP_* man pages to vnode(9). Modified: head/share/man/man9/vnode.9 Modified: head/share/man/man9/vnode.9

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

2010-02-09 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 9 21:01:18 2010 New Revision: 203722 URL: http://svn.freebsd.org/changeset/base/203722 Log: Remove VOP_VPTOFH(9) from references in VFS(9), as it's a VOP, not VFS operation. Modified: head/share/man/man9/VFS.9 Modified: head/share/man/man9/VFS.9

svn commit: r203723 - head/usr.bin/find

2010-02-09 Thread Ed Schouten
Author: ed Date: Tue Feb 9 21:24:41 2010 New Revision: 203723 URL: http://svn.freebsd.org/changeset/base/203723 Log: Don't let find(1) depend on struct timeb. This structure is deprecated and only used by ftime(2), which is part of libcompat. The second argument of get_date() is unused,

svn commit: r203724 - head/sys/netinet

2010-02-09 Thread Bjoern A. Zeeb
Author: bz Date: Tue Feb 9 21:31:53 2010 New Revision: 203724 URL: http://svn.freebsd.org/changeset/base/203724 Log: Properly free resources when destroying the TCP hostcache while tearing down a network stack (in the VIMAGE jail+vnet case). For that break out the logic from

svn commit: r203726 - stable/8/sys/dev/aac

2010-02-09 Thread Ed Maste
Author: emaste Date: Tue Feb 9 22:05:30 2010 New Revision: 203726 URL: http://svn.freebsd.org/changeset/base/203726 Log: MFC r198593: Rename aac_fast_intr to aac_filter to reflect its current use. Eliminate the fallback of using the filter as an interrupt handler, as it is no

svn commit: r203727 - head/sys/net

2010-02-09 Thread Bjoern A. Zeeb
Author: bz Date: Tue Feb 9 22:15:59 2010 New Revision: 203727 URL: http://svn.freebsd.org/changeset/base/203727 Log: Add an SDT provider for vnets along with probes for vnet_alloc and vnet_destroy. Use the line number rather than NULL as dummy argument. Note: the fbt provider does not

Re: svn commit: r203721 - head/share/man/man9

2010-02-09 Thread John Baldwin
On Tuesday 09 February 2010 3:58:39 pm Edward Tomasz Napierala wrote: Author: trasz Date: Tue Feb 9 20:58:39 2010 New Revision: 203721 URL: http://svn.freebsd.org/changeset/base/203721 Log: Add references to VOP_* man pages to vnode(9). Hmm, it seems VOP_MARKATIME.9 is missing,

svn commit: r203728 - head/sys/compat/linux

2010-02-09 Thread Xin LI
Author: delphij Date: Tue Feb 9 22:30:51 2010 New Revision: 203728 URL: http://svn.freebsd.org/changeset/base/203728 Log: - Return EAFNOSUPPORT instead of EINVAL for unsupported address family, this matches the Linux behavior. - Check if we have sufficient space allocated for socket

svn commit: r203729 - head/sys/net

2010-02-09 Thread Bjoern A. Zeeb
Author: bz Date: Tue Feb 9 22:39:34 2010 New Revision: 203729 URL: http://svn.freebsd.org/changeset/base/203729 Log: Add DDB support for printing vnet_sysinit and vnet_sysuninit ordered call lists. Try to lookup function/symbol names and print those in addition to the pointers, along with

svn commit: r203731 - in head/sys: nfs nfsclient

2010-02-09 Thread Marius Strobl
Author: marius Date: Tue Feb 9 23:40:07 2010 New Revision: 203731 URL: http://svn.freebsd.org/changeset/base/203731 Log: Some style(9) fixes Modified: head/sys/nfs/nfs_common.c head/sys/nfs/nfs_common.h head/sys/nfsclient/nfs_krpc.c Modified: head/sys/nfs/nfs_common.c

Re: svn commit: r203584 - head/tools/build/mk

2010-02-09 Thread Rob Farmer
On Sat, Feb 6, 2010 at 4:38 PM, Xin LI delp...@freebsd.org wrote: Author: delphij Date: Sun Feb  7 00:38:31 2010 New Revision: 203584 URL: http://svn.freebsd.org/changeset/base/203584 Log:  Add files for NO_MAIL, NO_SENDMAIL and NO_MAILWRAPPER.  MFC after:    2 weeks Modified:  

svn commit: r203732 - in head/sys: nfs nfsclient nfsserver

2010-02-09 Thread Marius Strobl
Author: marius Date: Tue Feb 9 23:45:14 2010 New Revision: 203732 URL: http://svn.freebsd.org/changeset/base/203732 Log: - Move nfs_realign() from the NFS client to the shared NFS code and remove the NFS server version in order to reduce code duplication. The shared version now uses a

svn commit: r203733 - head/tools/build/mk

2010-02-09 Thread Xin LI
Author: delphij Date: Wed Feb 10 00:01:35 2010 New Revision: 203733 URL: http://svn.freebsd.org/changeset/base/203733 Log: Symbolic link to mailwrapper should only be removed if both MK_MAILWRAPPER and MK_SENDMAIL is no. Reported by: Rob Farmer rfarmer at predatorlabs.net Modified:

Re: svn commit: r203584 - head/tools/build/mk

2010-02-09 Thread Xin LI
Hi, Rob, On Tue, Feb 9, 2010 at 3:40 PM, Rob Farmer rfar...@predatorlabs.net wrote: Hi, Thanks for fixing this. Do you think that usr/sbin/sendmail should be added here in the mailwrapper section, since it is a symlink to /usr/sbin/mailwrapper? I think I have overlooked this case

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

2010-02-09 Thread Marcel Moolenaar
On Feb 9, 2010, at 11:17 AM, Marcel Moolenaar wrote: Action items: - vmspace should be referenced by vmspace_acquire_ref() - vm_map should be read-locked before iterating the map entries. I'll implement it and send a patch for review to avoid unnecessary repository churn... Please

svn commit: r203735 - head/usr.bin/uname

2010-02-09 Thread Ed Maste
Author: emaste Date: Wed Feb 10 00:18:15 2010 New Revision: 203735 URL: http://svn.freebsd.org/changeset/base/203735 Log: Add new -o option (r203042) to manpage synopsis and usage(). Submitted by: ru Modified: head/usr.bin/uname/uname.1 head/usr.bin/uname/uname.c Modified:

svn commit: r203736 - releng/7.3

2010-02-09 Thread Ken Smith
Author: kensmith Date: Wed Feb 10 00:26:20 2010 New Revision: 203736 URL: http://svn.freebsd.org/changeset/base/203736 Log: Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process. Approved by: re (implicit) Added: releng/7.3/ - copied from r203735, stable/7/

svn commit: r203737 - stable/8/usr.bin/netstat

2010-02-09 Thread Xin LI
Author: delphij Date: Wed Feb 10 00:34:13 2010 New Revision: 203737 URL: http://svn.freebsd.org/changeset/base/203737 Log: MFC r202060: Add a new option, -q howmany, which when used in conjuction with -w, exits netstat after _howmany_ outputs. Requested by: thomasa Reviewed by:

svn commit: r203738 - releng/7.3

2010-02-09 Thread Ken Smith
Author: kensmith Date: Wed Feb 10 04:01:45 2010 New Revision: 203738 URL: http://svn.freebsd.org/changeset/base/203738 Log: Update branch tag for 'make update'. Approved by: re (implicit) Modified: releng/7.3/Makefile.inc1 Modified: releng/7.3/Makefile.inc1

svn commit: r203739 - releng/7.3/share/examples/cvsup

2010-02-09 Thread Ken Smith
Author: kensmith Date: Wed Feb 10 04:06:29 2010 New Revision: 203739 URL: http://svn.freebsd.org/changeset/base/203739 Log: Update branch tag. Approved by: re (implicit) Modified: releng/7.3/share/examples/cvsup/standard-supfile Modified:

svn commit: r203740 - releng/7.3/sys/sys

2010-02-09 Thread Ken Smith
Author: kensmith Date: Wed Feb 10 04:09:33 2010 New Revision: 203740 URL: http://svn.freebsd.org/changeset/base/203740 Log: Adjust __FreeBSD_version for this being the 7.3-RELEASE release branch. Approved by: re (implicit) Modified: releng/7.3/sys/sys/param.h Modified:

svn commit: r203741 - releng/7.3/sys/conf

2010-02-09 Thread Ken Smith
Author: kensmith Date: Wed Feb 10 04:10:36 2010 New Revision: 203741 URL: http://svn.freebsd.org/changeset/base/203741 Log: Ready for 7.3-RC1. Approved by: re (implicit) Modified: releng/7.3/sys/conf/newvers.sh Modified: releng/7.3/sys/conf/newvers.sh

svn commit: r203742 - stable/7/sys/sys

2010-02-09 Thread Ken Smith
Author: kensmith Date: Wed Feb 10 04:12:55 2010 New Revision: 203742 URL: http://svn.freebsd.org/changeset/base/203742 Log: Bump __FreeBSD_version to reflect that releng/7.3 has been branched. Approved by: re (implicit) Modified: stable/7/sys/sys/param.h Modified:

svn commit: r203743 - head/sys/mips/mips

2010-02-09 Thread Neel Natu
Author: neel Date: Wed Feb 10 05:43:31 2010 New Revision: 203743 URL: http://svn.freebsd.org/changeset/base/203743 Log: Enable interrupts before doing AST processing to avoid a deadlock. Specifically on an SMP kernel it was observed that if both the processors are doing an exit1() via

svn commit: r203744 - head/sys/kern

2010-02-09 Thread David Xu
Author: davidxu Date: Wed Feb 10 05:47:34 2010 New Revision: 203744 URL: http://svn.freebsd.org/changeset/base/203744 Log: In function umtxq_insert_queue, use parameter q (shared/exclusive queue) instead of hard coded constant. This does not affect RELENG_8 and previous, because the code

svn commit: r203745 - head/sys/mips/mips

2010-02-09 Thread Neel Natu
Author: neel Date: Wed Feb 10 06:29:43 2010 New Revision: 203745 URL: http://svn.freebsd.org/changeset/base/203745 Log: Call profclock() and statclock() explicitly on all cpus. Prior to this change these functions were called only on the BSP indirectly via hardclock(). top -P now shows

svn commit: r203746 - head/sys/mips/mips

2010-02-09 Thread Neel Natu
Author: neel Date: Wed Feb 10 06:57:05 2010 New Revision: 203746 URL: http://svn.freebsd.org/changeset/base/203746 Log: Code cleanup: - make some variables static - remove unused variables. Modified: head/sys/mips/mips/tick.c Modified: head/sys/mips/mips/tick.c

svn commit: r203747 - head/usr.bin/find

2010-02-09 Thread Ed Schouten
Author: ed Date: Wed Feb 10 07:15:21 2010 New Revision: 203747 URL: http://svn.freebsd.org/changeset/base/203747 Log: Remove unneeded CFLAGS. Modified: head/usr.bin/find/Makefile Modified: head/usr.bin/find/Makefile