Re: svn commit: r211936 - in head: bin/test lib/libc/net lib/libc/stdio lib/libc/stdlib lib/libc/sys lib/libipx libexec/ypxfr sbin/ipfw secure/lib/libcrypto/man share/man/man4 share/man/man9 usr.sbin/

2010-08-29 Thread Bruce Evans
On Sun, 29 Aug 2010, Bruce Cran wrote: On Sun, 29 Aug 2010 12:12:46 +1000 (EST) Bruce Evans wrote: On Sat, 28 Aug 2010, Bruce Cran wrote: Log: Fix incorrect usage of 'assure' and 'insure'. I think some of the `assure's are more correct than their replacement of `ensure'. The difference

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

2010-08-29 Thread Daniel O'Connor
On 30/08/2010, at 9:50, Philip M. Gollucci wrote: >> MFC after: 2 weeks >> Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com > Do you work for them or something ? > > The site's not in english It has an 'english version' link in the top right hand corner.. > > > --

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

2010-08-29 Thread Philip M. Gollucci
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 detected. MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://w

svn commit: r211984 - head/sbin/hastd

2010-08-29 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Aug 30 00:31:30 2010 New Revision: 211984 URL: http://svn.freebsd.org/changeset/base/211984 Log: Execute hook when connection between the nodes is established or lost. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com M

svn commit: r211983 - head/sbin/hastd

2010-08-29 Thread Pawel Jakub Dawidek
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 detected. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified: head/sbin/hastd/h

svn commit: r211982 - head/sbin/hastd

2010-08-29 Thread Pawel Jakub Dawidek
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. Pointed out by: kib Wi

svn commit: r211981 - head/sbin/hastd

2010-08-29 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 29 22:55:21 2010 New Revision: 211981 URL: http://svn.freebsd.org/changeset/base/211981 Log: - Move functionality responsible for checking one connection to separate function to make code more readable. - Be sure not to reconnect too often in case of signal delive

svn commit: r211980 - head/include

2010-08-29 Thread Jilles Tjoelker
Author: jilles Date: Sun Aug 29 22:22:15 2010 New Revision: 211980 URL: http://svn.freebsd.org/changeset/base/211980 Log: Correct value for _POSIX_AIO_LISTIO_MAX in . All the "Minimum Values" (POSIX.1-2008 XBD 13 Headers ) are now correct. These should all be exactly as they are in the sp

svn commit: r211979 - head/sbin/hastd

2010-08-29 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 29 22:17:53 2010 New Revision: 211979 URL: http://svn.freebsd.org/changeset/base/211979 Log: Disconnect after logging errors. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified: head/sbin/hastd/primary.c

svn commit: r211978 - head/sbin/hastd

2010-08-29 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 29 21:42:45 2010 New Revision: 211978 URL: http://svn.freebsd.org/changeset/base/211978 Log: - Call hook on role change. - Document new event. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified: head/sbi

svn commit: r211977 - head/sbin/hastd

2010-08-29 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 29 21:41:53 2010 New Revision: 211977 URL: http://svn.freebsd.org/changeset/base/211977 Log: Allow to run hooks from the main hastd process. MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified: head/sbin/ha

svn commit: r211976 - head/sbin/hastd

2010-08-29 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 29 21:39:49 2010 New Revision: 211976 URL: http://svn.freebsd.org/changeset/base/211976 Log: - Add hook_fini() which should be called after fork() from the main hastd process, once it start to use hooks. - Add hook_check_one() in case the caller expects different

svn commit: r211975 - head/sbin/hastd

2010-08-29 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 29 21:37:21 2010 New Revision: 211975 URL: http://svn.freebsd.org/changeset/base/211975 Log: Implement mtx_destroy() and rw_destroy(). MFC after:2 weeks Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com Modified: head/sbin/hastd/sy

svn commit: r211973 - head/tools/regression/bin/sh/builtins

2010-08-29 Thread Jilles Tjoelker
Author: jilles Date: Sun Aug 29 20:53:24 2010 New Revision: 211973 URL: http://svn.freebsd.org/changeset/base/211973 Log: sh: Weaken builtins/command4 test to only require a nonzero exit status. This matches what is in POSIX; various other shells use different exit statuses. Note tha

svn commit: r211972 - head/cddl/contrib/opensolaris/cmd/zfs

2010-08-29 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 29 20:25:25 2010 New Revision: 211972 URL: http://svn.freebsd.org/changeset/base/211972 Log: Give user a hint what to do when /usr/lib/zfs/pyzfs.py is missing. MFC after:2 weeks Modified: head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c Modified: head/cddl/

svn commit: r211971 - head/cddl/contrib/opensolaris/cmd/zfs

2010-08-29 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 29 20:21:10 2010 New Revision: 211971 URL: http://svn.freebsd.org/changeset/base/211971 Log: Print errors on stderr. MFC after:2 weeks Modified: head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c Modified: head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c

svn commit: r211970 - head/cddl/contrib/opensolaris/lib/pyzfs/common

2010-08-29 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Aug 29 20:18:06 2010 New Revision: 211970 URL: http://svn.freebsd.org/changeset/base/211970 Log: Fix 'zfs allow' (maybe not only) returning: cannot access dataset system/usr/home: Operation not supported by including libzfs_impl.h. What libzfs_impl.h does is

svn commit: r211969 - in head/sys: netinet netinet6

2010-08-29 Thread Michael Tuexen
Author: tuexen Date: Sun Aug 29 18:50:30 2010 New Revision: 211969 URL: http://svn.freebsd.org/changeset/base/211969 Log: Fix the the SCTP_WITH_NO_CSUM option when used in combination with interface supporting CRC offload. While at it, make use of the feature that the loopback interface prov

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

2010-08-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Aug 29 18:17:38 2010 New Revision: 211967 URL: http://svn.freebsd.org/changeset/base/211967 Log: Avoid a race in the allocation of new segment IDs that could result in memory corruption on heavily loaded SMP systems. MFC after:2 weeks Modified: head/sys

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

2010-08-29 Thread Konstantin Belousov
Author: kib Date: Sun Aug 29 16:38:08 2010 New Revision: 211966 URL: http://svn.freebsd.org/changeset/base/211966 Log: Use NULL instead of 0 for pointer in example. MFC after:3 days Modified: head/lib/libc/sys/sigaltstack.2 Modified: head/lib/libc/sys/sigaltstack.2 =

svn commit: r211965 - head/bin/pax

2010-08-29 Thread Brian Somers
Author: brian Date: Sun Aug 29 12:17:16 2010 New Revision: 211965 URL: http://svn.freebsd.org/changeset/base/211965 Log: Touch the man page date after updating the ustar limitations. MFC after:3 weeks Modified: head/bin/pax/pax.1 Modified: head/bin/pax/pax.1

svn commit: r211964 - in head/tools/regression/bin: . pax

2010-08-29 Thread Brian Somers
Author: brian Date: Sun Aug 29 12:14:53 2010 New Revision: 211964 URL: http://svn.freebsd.org/changeset/base/211964 Log: Add a Makefile for tools/regression/bin and support 'all' in pax/Makefile. MFC after:3 weeks Added: head/tools/regression/bin/Makefile (contents, props changed

svn commit: r211963 - in head: bin/pax tools/regression/bin/pax

2010-08-29 Thread Brian Somers
Author: brian Date: Sun Aug 29 11:56:56 2010 New Revision: 211963 URL: http://svn.freebsd.org/changeset/base/211963 Log: Correct an out-by-one error when earlying out ustar filenames that are too long. Filenames escaping this test are caught later on, so the bug doesn't cause any breakage.

svn commit: r211962 - head/sbin/geom/class/sched

2010-08-29 Thread Ulrich Spoerlein
Author: uqs Date: Sun Aug 29 11:32:41 2010 New Revision: 211962 URL: http://svn.freebsd.org/changeset/base/211962 Log: gsched(8): fix example usage, mdoc nits - ad0 was referred to as da0 - wrong parameter -s instead of -a in example - use double quotes consistently PR:

Re: svn commit: r211936 - in head: bin/test lib/libc/net lib/libc/stdio lib/libc/stdlib lib/libc/sys lib/libipx libexec/ypxfr sbin/ipfw secure/lib/libcrypto/man share/man/man4 share/man/man9 usr.sbin/

2010-08-29 Thread Bruce Cran
On Sun, 29 Aug 2010 12:12:46 +1000 (EST) Bruce Evans wrote: > On Sat, 28 Aug 2010, Bruce Cran wrote: > > > Log: > > Fix incorrect usage of 'assure' and 'insure'. > > I think some of the `assure's are more correct than their replacement > of `ensure'. The difference is subtle -- my small 1960'