Re: svn commit: r211982 - head/sbin/hastd

2010-08-30 Thread Pawel Jakub Dawidek
On Tue, Aug 31, 2010 at 10:23:04AM +, David Xu wrote: > Pawel Jakub Dawidek wrote: > >Author: pjd > >Date: Mon Aug 30 00:06:05 2010 > >New Revision: 211982 > >URL: http://svn.freebsd.org/changeset/base/211982 > > > >Log: > > Use sigtimedwait(2) for signals handling in primary process. > > Thi

svn commit: r212046 - head/sbin/hastd

2010-08-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Aug 31 06:22:03 2010 New Revision: 212046 URL: http://svn.freebsd.org/changeset/base/212046 Log: Mask only those signals that we want to handle. Suggested by: jilles MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com M

svn commit: r212045 - head/sys/mips/rmi

2010-08-30 Thread Jayachandran C.
Author: jchandra Date: Tue Aug 31 04:18:47 2010 New Revision: 212045 URL: http://svn.freebsd.org/changeset/base/212045 Log: Add the workaround for 4xx lite boards after it was lost in the last board.c update. Modified: head/sys/mips/rmi/board.c Modified: head/sys/mips/rmi/board.c =

Re: svn commit: r211982 - head/sbin/hastd

2010-08-30 Thread David Xu
Pawel Jakub Dawidek wrote: Author: pjd Date: Mon Aug 30 00:06:05 2010 New Revision: 211982 URL: http://svn.freebsd.org/changeset/base/211982 Log: Use sigtimedwait(2) for signals handling in primary process. This fixes various races and eliminates use of pthread* API in signal handler. P

svn commit: r212044 - head/sys/powerpc/aim

2010-08-30 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Aug 31 02:07:13 2010 New Revision: 212044 URL: http://svn.freebsd.org/changeset/base/212044 Log: Missed one place the SLB lock should be held in r211967. Modified: head/sys/powerpc/aim/mmu_oea64.c Modified: head/sys/powerpc/aim/mmu_oea64.c ===

svn commit: r212043 - head/sys/fs/nullfs

2010-08-30 Thread Rick Macklem
Author: rmacklem Date: Tue Aug 31 01:16:45 2010 New Revision: 212043 URL: http://svn.freebsd.org/changeset/base/212043 Log: Add a null_remove() function to nullfs, so that the v_usecount of the lower level vnode is incremented to greater than 1 when the upper level vnode's v_usecount is grea

Re: svn commit: r211982 - head/sbin/hastd

2010-08-30 Thread Pawel Jakub Dawidek
On Mon, Aug 30, 2010 at 10:59:45AM +0300, Kostik Belousov wrote: > On Mon, Aug 30, 2010 at 12:06:05AM +, Pawel Jakub Dawidek wrote: > > Author: pjd > > Date: Mon Aug 30 00:06:05 2010 > > New Revision: 211982 > > URL: http://svn.freebsd.org/changeset/base/211982 > > > > Log: > > Use sigtimedw

svn commit: r212038 - head/sbin/hastd

2010-08-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Aug 30 23:26:10 2010 New Revision: 212038 URL: http://svn.freebsd.org/changeset/base/212038 Log: Because it is very hard to make fork(2) from threaded process safe (we are limited to async-signal safe functions in the child process), move all hooks execution to the main

svn commit: r212037 - head/sbin/hastd

2010-08-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Aug 30 23:19:21 2010 New Revision: 212037 URL: http://svn.freebsd.org/changeset/base/212037 Log: We only want to know if descriptors are ready for reading. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified: h

svn commit: r212036 - head/sbin/hastd

2010-08-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Aug 30 23:16:45 2010 New Revision: 212036 URL: http://svn.freebsd.org/changeset/base/212036 Log: When someone gives NULL as data, assume this is because he want to declare connection side only. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. ht

svn commit: r212035 - in head/usr.bin/calendar: . calendars

2010-08-30 Thread Edwin Groothuis
Author: edwin Date: Mon Aug 30 22:45:32 2010 New Revision: 212035 URL: http://svn.freebsd.org/changeset/base/212035 Log: For calendars which don't match the solar-based Gregorian calendar, be able to specify a year string in an entry. Modified: head/usr.bin/calendar/calendar.1 head/usr.bi

svn commit: r212034 - head/sbin/hastd

2010-08-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Aug 30 22:28:04 2010 New Revision: 212034 URL: http://svn.freebsd.org/changeset/base/212034 Log: Use pjdlog_exit() before fork(). MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified: head/sbin/hastd/primary.c

svn commit: r212033 - head/sbin/hastd

2010-08-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Aug 30 22:26:42 2010 New Revision: 212033 URL: http://svn.freebsd.org/changeset/base/212033 Log: Constify arguments we can constify. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified: head/sbin/hastd/hast_pro

svn commit: r212032 - head/usr.bin/ncal

2010-08-30 Thread Edwin Groothuis
Author: edwin Date: Mon Aug 30 22:24:26 2010 New Revision: 212032 URL: http://svn.freebsd.org/changeset/base/212032 Log: Use basename(3) to determine the name of the program. Submitted by: Alexander Best Modified: head/usr.bin/ncal/ncal.c Modified: head/usr.bin/ncal/ncal.c

Re: svn commit: r212029 - head/usr.sbin/pkg_install/add

2010-08-30 Thread Philip M. Gollucci
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/30/10 21:58, Nathan Whitehorn wrote: > Author: nwhitehorn > Date: Mon Aug 30 21:58:52 2010 > New Revision: 212029 > URL: http://svn.freebsd.org/changeset/base/212029 > > Log: > Use MACHINE_ARCH instead of MACHINE as the directory to fetch pack

svn commit: r212029 - head/usr.sbin/pkg_install/add

2010-08-30 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Aug 30 21:58:52 2010 New Revision: 212029 URL: http://svn.freebsd.org/changeset/base/212029 Log: Use MACHINE_ARCH instead of MACHINE as the directory to fetch packages from. Packages are architecture dependent, not machine dependent. Modified: head/usr.sbin/pkg_

svn commit: r212028 - head/sys/dev/twa

2010-08-30 Thread Xin LI
Author: delphij Date: Mon Aug 30 21:33:33 2010 New Revision: 212028 URL: http://svn.freebsd.org/changeset/base/212028 Log: Drain watchdog callouts before detaching. This prevents a panic while unloading the kernel module. Submitted by: Tom Cough Modified: head/sys/dev/twa/tw_osl_freeb

svn commit: r212027 - head/usr.bin/calendar/calendars

2010-08-30 Thread Dimitry Andric
Author: dim Date: Mon Aug 30 21:20:24 2010 New Revision: 212027 URL: http://svn.freebsd.org/changeset/base/212027 Log: Add myself to calendars.freebsd. Approved by: rpaulo (mentor) Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified: head/usr.bin/calendar/calendars/cale

svn commit: r212026 - head/sys/amd64/amd64

2010-08-30 Thread Jung-uk Kim
Author: jkim Date: Mon Aug 30 21:19:42 2010 New Revision: 212026 URL: http://svn.freebsd.org/changeset/base/212026 Log: Save MSR_FSBASE, MSR_GSBASE and MSR_KGSBASE directly to PCB as we do not use these values in the function. Modified: head/sys/amd64/amd64/cpu_switch.S Modified: head/sys/

svn commit: r212025 - head/share/misc

2010-08-30 Thread Dimitry Andric
Author: dim Date: Mon Aug 30 21:18:59 2010 New Revision: 212025 URL: http://svn.freebsd.org/changeset/base/212025 Log: Add myself to committers-src.dot. Approved by: rpaulo (mentor) Modified: head/share/misc/committers-src.dot Modified: head/share/misc/committers-src.dot ==

Re: svn commit: r211722 - head/cddl/lib/libzpool

2010-08-30 Thread M. Warner Losh
In message: <20100830205814.gf1...@garage.freebsd.pl> Pawel Jakub Dawidek writes: : On Mon, Aug 23, 2010 at 05:36:00PM -0600, M. Warner Losh wrote: : > In message: <201008232204.o7nm4upa054...@svn.freebsd.org> : > Marius Strobl writes: : > : Author: marius : > : Date: Mon

Re: svn commit: r211722 - head/cddl/lib/libzpool

2010-08-30 Thread Pawel Jakub Dawidek
On Mon, Aug 23, 2010 at 05:36:00PM -0600, M. Warner Losh wrote: > In message: <201008232204.o7nm4upa054...@svn.freebsd.org> > Marius Strobl writes: > : Author: marius > : Date: Mon Aug 23 22:04:30 2010 > : New Revision: 211722 > : URL: http://svn.freebsd.org/changeset/base/211722 > :

Re: svn commit: r212008 - head/sys/dev/twa

2010-08-30 Thread John Baldwin
On Monday, August 30, 2010 3:15:04 pm Xin LI wrote: > Author: delphij > Date: Mon Aug 30 19:15:04 2010 > New Revision: 212008 > URL: http://svn.freebsd.org/changeset/base/212008 > > Log: > Vendor update to version 3.80.06.003 to fix a panic with ZFS when under > heavy I/O load. > > Many t

svn commit: r212008 - head/sys/dev/twa

2010-08-30 Thread Xin LI
Author: delphij Date: Mon Aug 30 19:15:04 2010 New Revision: 212008 URL: http://svn.freebsd.org/changeset/base/212008 Log: Vendor update to version 3.80.06.003 to fix a panic with ZFS when under heavy I/O load. Many thanks to LSI for continuing to support FreeBSD. PR: kern/

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

2010-08-30 Thread Rui Paulo
Author: rpaulo Date: Mon Aug 30 18:12:21 2010 New Revision: 212004 URL: http://svn.freebsd.org/changeset/base/212004 Log: When DTrace is enabled, make sure we don't overwrite the IDT_DTRACE_RET entry with an IRQ for some hardware component. Reviewed by: jhb Sponsored by: The FreeBSD Fo

svn commit: r212002 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs kern

2010-08-30 Thread Jaakko Heinonen
Author: jh Date: Mon Aug 30 16:30:18 2010 New Revision: 212002 URL: http://svn.freebsd.org/changeset/base/212002 Log: execve(2) has a special check for file permissions: a file must have at least one execute bit set, otherwise execve(2) will return EACCES even for an user with PRIV_VFS_EXEC

svn commit: r211999 - in head/sys: kern sys

2010-08-30 Thread Konstantin Belousov
Author: kib Date: Mon Aug 30 14:26:02 2010 New Revision: 211999 URL: http://svn.freebsd.org/changeset/base/211999 Log: Regen Modified: head/sys/kern/init_sysent.c head/sys/kern/syscalls.c head/sys/kern/systrace_args.c head/sys/sys/syscall.h head/sys/sys/syscall.mk head/sys/sys/syspr

svn commit: r211998 - head/sys/kern

2010-08-30 Thread Konstantin Belousov
Author: kib Date: Mon Aug 30 14:24:44 2010 New Revision: 211998 URL: http://svn.freebsd.org/changeset/base/211998 Log: Make the syscalls reserved for AFS usable by OpenAFS port. Submitted by: Benjamin Kaduk MFC after:2 weeks Modified: head/sys/kern/syscalls.master Modified: head/

svn commit: r211996 - in head/sys/mips/rmi: . dev/nlge dev/xlr

2010-08-30 Thread Jayachandran C.
Author: jchandra Date: Mon Aug 30 13:26:07 2010 New Revision: 211996 URL: http://svn.freebsd.org/changeset/base/211996 Log: Move debug.h to the the rge driver directory. rge.c is the only user of debug.h. Remove debug.h references from other files. Added: head/sys/mips/rmi/dev/xlr/debug.h

svn commit: r211994 - in head/sys/mips/rmi: . dev/nlge dev/xlr

2010-08-30 Thread Jayachandran C.
Author: jchandra Date: Mon Aug 30 13:05:21 2010 New Revision: 211994 URL: http://svn.freebsd.org/changeset/base/211994 Log: Clean up header files in RMI platform code (sys/mips/rmi), and remove unused files. - remove clock.c and clock.h, these are not used after the new timer code was

svn commit: r211992 - head/sys/netinet/ipfw

2010-08-30 Thread Maxim Konovalov
Author: maxim Date: Mon Aug 30 09:29:51 2010 New Revision: 211992 URL: http://svn.freebsd.org/changeset/base/211992 Log: o Some programs could send broadcast/multicast traffic to ipfw pseudo-interface. This leads to a panic due to uninitialized if_broadcastaddr address. Initialize it and i

svn commit: r211991 - head/sys/mips/include

2010-08-30 Thread Jayachandran C.
Author: jchandra Date: Mon Aug 30 08:23:22 2010 New Revision: 211991 URL: http://svn.freebsd.org/changeset/base/211991 Log: Remove misleading comment in pte.h. MIPS PTE entries are software managed and does not need atomics. Submitted by: alc Modified: head/sys/mips/include/pte.h Modi

Re: svn commit: r211982 - head/sbin/hastd

2010-08-30 Thread Kostik Belousov
On Mon, Aug 30, 2010 at 12:06:05AM +, Pawel Jakub Dawidek wrote: > Author: pjd > Date: Mon Aug 30 00:06:05 2010 > New Revision: 211982 > URL: http://svn.freebsd.org/changeset/base/211982 > > Log: > Use sigtimedwait(2) for signals handling in primary process. > This fixes various races and

svn commit: r211990 - head/sbin/kldload

2010-08-30 Thread Maxim Konovalov
Author: maxim Date: Mon Aug 30 07:29:27 2010 New Revision: 211990 URL: http://svn.freebsd.org/changeset/base/211990 Log: Make flags in usage() and SYNOPSYS more style(9)-ish. Suggested by: brian MFC after:3 days Modified: head/sbin/kldload/kldload.8 head/sbin/kldload/kldload.c M

Re: svn commit: r211983 - head/sbin/hastd

2010-08-30 Thread Pawel Jakub Dawidek
On Sun, Aug 29, 2010 at 08:20:47PM -0400, Philip M. Gollucci wrote: > On 8/29/2010 8:12 PM, Pawel Jakub Dawidek wrote: > >Author: pjd > >Date: Mon Aug 30 00:12:10 2010 > >New Revision: 211983 > >URL: http://svn.freebsd.org/changeset/base/211983 > > > >Log: > > Execute hook when split-brain is det