svn commit: r231557 - stable/8/sbin/hastd

2012-02-11 Thread Mikolaj Golub
Author: trociny Date: Sun Feb 12 07:59:25 2012 New Revision: 231557 URL: http://svn.freebsd.org/changeset/base/231557 Log: MFC r231015, r231016: r231015: Fix the regression introduced in r226859: if the local component is out of date BIO_READ requests got lost instead of being sent t

svn commit: r231556 - stable/9/sbin/hastd

2012-02-11 Thread Mikolaj Golub
Author: trociny Date: Sun Feb 12 07:57:58 2012 New Revision: 231556 URL: http://svn.freebsd.org/changeset/base/231556 Log: MFC r231015, r231016: r231015: Fix the regression introduced in r226859: if the local component is out of date BIO_READ requests got lost instead of being sent t

svn commit: r231555 - stable/7/usr.bin/sockstat

2012-02-11 Thread Mikolaj Golub
Author: trociny Date: Sun Feb 12 07:56:46 2012 New Revision: 231555 URL: http://svn.freebsd.org/changeset/base/231555 Log: MFC r230874: Try to avoid ambiguity when sysctl returns ENOMEM additionally checking the returned oldlen: when ENOMEM is due to the supplied buffer being too short

svn commit: r231554 - stable/8/usr.bin/sockstat

2012-02-11 Thread Mikolaj Golub
Author: trociny Date: Sun Feb 12 07:56:07 2012 New Revision: 231554 URL: http://svn.freebsd.org/changeset/base/231554 Log: MFC r230874: Try to avoid ambiguity when sysctl returns ENOMEM additionally checking the returned oldlen: when ENOMEM is due to the supplied buffer being too short

svn commit: r231553 - stable/9/usr.bin/sockstat

2012-02-11 Thread Mikolaj Golub
Author: trociny Date: Sun Feb 12 07:55:33 2012 New Revision: 231553 URL: http://svn.freebsd.org/changeset/base/231553 Log: MFC r230874: Try to avoid ambiguity when sysctl returns ENOMEM additionally checking the returned oldlen: when ENOMEM is due to the supplied buffer being too short

svn commit: r231552 - stable/7/lib/libkvm

2012-02-11 Thread Mikolaj Golub
Author: trociny Date: Sun Feb 12 07:53:37 2012 New Revision: 231552 URL: http://svn.freebsd.org/changeset/base/231552 Log: MFC r230873: Try to avoid ambiguity when sysctl returns ENOMEM additionally checking the returned oldlen: when ENOMEM is due to the supplied buffer being too short

svn commit: r231551 - stable/8/lib/libkvm

2012-02-11 Thread Mikolaj Golub
Author: trociny Date: Sun Feb 12 07:53:02 2012 New Revision: 231551 URL: http://svn.freebsd.org/changeset/base/231551 Log: MFC r230873: Try to avoid ambiguity when sysctl returns ENOMEM additionally checking the returned oldlen: when ENOMEM is due to the supplied buffer being too short

svn commit: r231550 - stable/9/lib/libkvm

2012-02-11 Thread Mikolaj Golub
Author: trociny Date: Sun Feb 12 07:52:14 2012 New Revision: 231550 URL: http://svn.freebsd.org/changeset/base/231550 Log: MFC r230873: Try to avoid ambiguity when sysctl returns ENOMEM additionally checking the returned oldlen: when ENOMEM is due to the supplied buffer being too short

svn commit: r231549 - head/etc/rc.d

2012-02-11 Thread Ed Schouten
Author: ed Date: Sun Feb 12 07:45:48 2012 New Revision: 231549 URL: http://svn.freebsd.org/changeset/base/231549 Log: Avoid using BEFORE in the utx rc script. Requested by: dougb Modified: head/etc/rc.d/LOGIN head/etc/rc.d/utx Modified: head/etc/rc.d/LOGIN

svn commit: r231547 - stable/8/sys/fs/nfsclient

2012-02-11 Thread Rick Macklem
Author: rmacklem Date: Sun Feb 12 06:41:29 2012 New Revision: 231547 URL: http://svn.freebsd.org/changeset/base/231547 Log: MFC: r231133 r228827 fixed a problem where copying of NFSv4 open credentials into a credential structure would corrupt it. This happened when the p argument was != NU

svn commit: r231545 - stable/9/sys/fs/nfsclient

2012-02-11 Thread Rick Macklem
Author: rmacklem Date: Sun Feb 12 06:01:49 2012 New Revision: 231545 URL: http://svn.freebsd.org/changeset/base/231545 Log: MFC: r231133 r228827 fixed a problem where copying of NFSv4 open credentials into a credential structure would corrupt it. This happened when the p argument was != NU

svn commit: r231544 - in head: tools/regression/usr.bin/make/execution/joberr usr.bin/make

2012-02-11 Thread Max Khon
Author: fjoe Date: Sun Feb 12 05:34:01 2012 New Revision: 231544 URL: http://svn.freebsd.org/changeset/base/231544 Log: Include target names in diagnostic output. Submitted by: Garrett Cooper Modified: head/tools/regression/usr.bin/make/execution/joberr/expected.stdout.1 head/usr.bin/m

svn commit: r231543 - head/sys/netgraph

2012-02-11 Thread Max Khon
Author: fjoe Date: Sun Feb 12 05:14:12 2012 New Revision: 231543 URL: http://svn.freebsd.org/changeset/base/231543 Log: - Use fixed-width integer types. - Prefer to use C99 stdint types. This fixes ng_cisco on 64-bit architectures. MFC after:1 week Modified: head/sys/netgraph/

svn commit: r231542 - stable/8/usr.bin/xargs

2012-02-11 Thread Stephen McKay
Author: mckay Date: Sun Feb 12 05:01:49 2012 New Revision: 231542 URL: http://svn.freebsd.org/changeset/base/231542 Log: MFC r215615, r215642: Fix several misbehaviours by making xargs keep track of its child processes. Modified: stable/8/usr.bin/xargs/xargs.c Directory Properties: sta

svn commit: r231541 - stable/7/libexec/tftpd

2012-02-11 Thread Craig Rodrigues
Author: rodrigc Date: Sun Feb 12 01:07:15 2012 New Revision: 231541 URL: http://svn.freebsd.org/changeset/base/231541 Log: MFC 183243-231540. This records mergeinfo for already merged changesets, but brings in the following changes: MFC 222326 - Fix tftp_log() usage MFC 223137

svn commit: r231540 - stable/7/usr.bin/tftp

2012-02-11 Thread Craig Rodrigues
Author: rodrigc Date: Sat Feb 11 23:58:07 2012 New Revision: 231540 URL: http://svn.freebsd.org/changeset/base/231540 Log: MFC 170382 through 231539 - this records svn:mergeinfo for previously merged changesets This pulls in changes such as: MFC 216370 - Remove adertising clau

Re: svn commit: r231534 - in head: etc/rc.d sbin/init

2012-02-11 Thread Doug Barton
On 02/11/2012 15:21, Ed Schouten wrote: > Hi Doug, > > * Doug Barton , 20120211 23:58: >> New scripts in the base should not use BEFORE. Rather, LOGIN should >> REQUIRE this script. > > You mean like this? Yes, thanks. > I noticed there are still over 60 occur

svn commit: r231539 - stable/8/libexec/tftpd

2012-02-11 Thread Craig Rodrigues
Author: rodrigc Date: Sat Feb 11 23:39:53 2012 New Revision: 231539 URL: http://svn.freebsd.org/changeset/base/231539 Log: MFC 203377-231538. This records mergeinfo for already merged changesets, but brings in the following changes: MFC 222326 - Fix tftp_log() usage MFC 223137

Re: svn commit: r231534 - in head: etc/rc.d sbin/init

2012-02-11 Thread Ed Schouten
Hi Doug, * Doug Barton , 20120211 23:58: > New scripts in the base should not use BEFORE. Rather, LOGIN should > REQUIRE this script. You mean like this? I noticed there are still over 60 occurrences of BEFORE in the tree. Looks like there's still quite a lot of work to do to get rid

svn commit: r231538 - stable/8/usr.bin/tftp

2012-02-11 Thread Craig Rodrigues
Author: rodrigc Date: Sat Feb 11 23:15:14 2012 New Revision: 231538 URL: http://svn.freebsd.org/changeset/base/231538 Log: MFC 196045 through 231537 - this records svn:mergeinfo for previously merged changesets This pulls in changes such as: MFC 216370 - Remove adertising clau

Re: svn commit: r231534 - in head: etc/rc.d sbin/init

2012-02-11 Thread Doug Barton
On 02/11/2012 12:47, Ed Schouten wrote: > +# BEFORE: LOGIN New scripts in the base should not use BEFORE. Rather, LOGIN should REQUIRE this script. Doug -- It's always a long day; 86400 doesn't fit into a short. Breadth of IT experience, and depth of knowledge in the DNS.

svn commit: r231537 - head/usr.bin/who

2012-02-11 Thread Ed Schouten
Author: ed Date: Sat Feb 11 21:50:44 2012 New Revision: 231537 URL: http://svn.freebsd.org/changeset/base/231537 Log: And of course, I forgot to add -a to the usage. Modified: head/usr.bin/who/who.c Modified: head/usr.bin/who/who.c

svn commit: r231536 - head/usr.bin/who

2012-02-11 Thread Ed Schouten
Author: ed Date: Sat Feb 11 21:49:23 2012 New Revision: 231536 URL: http://svn.freebsd.org/changeset/base/231536 Log: Attempt to implement who -a. According to POSIX, -a is equal to -bdlprtTu. It seems this is not true in practice, as -b normally restricts the output to BOOT_TIME entries

svn commit: r231535 - in head: bin/sh tools/regression/bin/sh/builtins

2012-02-11 Thread Jilles Tjoelker
Author: jilles Date: Sat Feb 11 21:06:45 2012 New Revision: 231535 URL: http://svn.freebsd.org/changeset/base/231535 Log: sh: Make 'hash' return 1 if at least one utility is not found. Reported by: lme Added: head/tools/regression/bin/sh/builtins/hash4.0 (contents, props changed) Modi

svn commit: r231534 - in head: etc/rc.d sbin/init

2012-02-11 Thread Ed Schouten
Author: ed Date: Sat Feb 11 20:47:16 2012 New Revision: 231534 URL: http://svn.freebsd.org/changeset/base/231534 Log: Move utmpx handling out of init(8). This has the following advantages: - During boot, the BOOT_TIME record is now written right after the file systems become writab

svn commit: r231533 - stable/9/bin/sh/funcs

2012-02-11 Thread Jilles Tjoelker
Author: jilles Date: Sat Feb 11 20:44:16 2012 New Revision: 231533 URL: http://svn.freebsd.org/changeset/base/231533 Log: MFC r230437: sh: Remove "kill" example function, which is superseded by the kill builtin. Deleted: stable/9/bin/sh/funcs/kill Modified: Directory Properties: stable/9/

svn commit: r231532 - head/lib/libipsec

2012-02-11 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 11 20:43:01 2012 New Revision: 231532 URL: http://svn.freebsd.org/changeset/base/231532 Log: MFp4 204292: Ignore the NAT_T extension types so we can at least dump the SADB from the in-base libipsec/setkey without error when NAT_T support is present in the kernel

svn commit: r231531 - stable/8/bin/sh

2012-02-11 Thread Jilles Tjoelker
Author: jilles Date: Sat Feb 11 20:37:08 2012 New Revision: 231531 URL: http://svn.freebsd.org/changeset/base/231531 Log: MFC r231001: sh: Fix swapped INTON/INTOFF. A possible consequence of this bug was a memory leak if SIGINT arrived during a 'set' command (listing variables). Modified

svn commit: r231530 - in head: lib/libc/gen tools/build/mk tools/build/options usr.sbin usr.sbin/utx usr.sbin/utxrm

2012-02-11 Thread Ed Schouten
Author: ed Date: Sat Feb 11 20:28:42 2012 New Revision: 231530 URL: http://svn.freebsd.org/changeset/base/231530 Log: Replace utxrm(8) by utx(8). At first, I added a utility called utxrm(8) to remove stale entries from the user accounting database. It seems there are cases in which we nee

svn commit: r231529 - stable/9/bin/sh

2012-02-11 Thread Jilles Tjoelker
Author: jilles Date: Sat Feb 11 20:08:46 2012 New Revision: 231529 URL: http://svn.freebsd.org/changeset/base/231529 Log: MFC r231001: sh: Fix swapped INTON/INTOFF. A possible consequence of this bug was a memory leak if SIGINT arrived during a 'set' command (listing variables). Modified

svn commit: r231528 - stable/9/sys/fs/ext2fs

2012-02-11 Thread Pedro F. Giffuni
Author: pfg Date: Sat Feb 11 20:01:03 2012 New Revision: 231528 URL: http://svn.freebsd.org/changeset/base/231528 Log: MFC: r231168 Update the data structures with some fields reserved for ext4 but that can be used in ext3 mode. Also adjust the internal inode to carry the birthtime,

svn commit: r231527 - stable/9/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid

2012-02-11 Thread Pedro F. Giffuni
Author: pfg Date: Sat Feb 11 19:41:56 2012 New Revision: 231527 URL: http://svn.freebsd.org/changeset/base/231527 Log: MFC: r230635 Set SVN text/plain property for some shell scripts that happen to have a .exe extension. While here fix the shebang of a shell script that was lookin

Re: svn commit: r231449 - head/usr.bin/tee

2012-02-11 Thread Bruce Evans
On Sat, 11 Feb 2012, Martin Cracauer wrote: I (kinda) knew I shouldn't have tried to do this real quick before leaving for a trip. I reverted the change and I'll fix the concerns including the commit message when I'm back in a week. Now I also want to know what exactly is going on in bash ther

svn commit: r231526 - head/sys/vm

2012-02-11 Thread Konstantin Belousov
Author: kib Date: Sat Feb 11 17:29:07 2012 New Revision: 231526 URL: http://svn.freebsd.org/changeset/base/231526 Log: Close a race due to dropping of the map lock between creating map entry for a shared mapping and marking the entry for inheritance. Other thread might execute vmspace_fork()

svn commit: r231525 - head/sbin/hastd

2012-02-11 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Feb 11 16:41:52 2012 New Revision: 231525 URL: http://svn.freebsd.org/changeset/base/231525 Log: Nice range comparison. MFC after:3 days Modified: head/sbin/hastd/rangelock.c Modified: head/sbin/hastd/rangelock.c

Re: svn commit: r231449 - head/usr.bin/tee

2012-02-11 Thread Martin Cracauer
I (kinda) knew I shouldn't have tried to do this real quick before leaving for a trip. I reverted the change and I'll fix the concerns including the commit message when I'm back in a week. Now I also want to know what exactly is going on in bash there, the difference between the explicit named pi

svn commit: r231524 - head/usr.bin/tee

2012-02-11 Thread Martin Cracauer
Author: cracauer Date: Sat Feb 11 16:34:03 2012 New Revision: 231524 URL: http://svn.freebsd.org/changeset/base/231524 Log: Reverting last change r231449 (fix bin/164947) due to concerns voiced on src-committers and the fact that I can only take care of this in a week. Modified: head/usr.

svn commit: r231523 - stable/8/sys/cam/scsi

2012-02-11 Thread Andriy Gapon
Author: avg Date: Sat Feb 11 14:58:46 2012 New Revision: 231523 URL: http://svn.freebsd.org/changeset/base/231523 Log: MFC r230157: dadump: don't leak the periph lock on i/o error Modified: stable/8/sys/cam/scsi/scsi_da.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/

svn commit: r231522 - stable/9/sys/cam/scsi

2012-02-11 Thread Andriy Gapon
Author: avg Date: Sat Feb 11 14:55:05 2012 New Revision: 231522 URL: http://svn.freebsd.org/changeset/base/231522 Log: MFC r230157: dadump: don't leak the periph lock on i/o error Modified: stable/9/sys/cam/scsi/scsi_da.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/

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

2012-02-11 Thread Konstantin Belousov
Author: kib Date: Sat Feb 11 14:49:25 2012 New Revision: 231521 URL: http://svn.freebsd.org/changeset/base/231521 Log: The PTRACESTOP() macro is used only once. Inline the only use and remove the macro. MFC after:1 week Modified: head/sys/kern/subr_syscall.c head/sys/sys/ptrace.h

Re: svn commit: r230972 - in head: share/mk sys/amd64/conf sys/i386/conf sys/modules sys/modules/drm sys/modules/sound/driver sys/modules/usb tools/build/options

2012-02-11 Thread Robert Millan
El 11 de febrer de 2012 13:57, Robert Millan ha escrit: > Another possibility (perhaps a better one) would be to move those > files off sys/${MACHINE}/conf directories, then they won't be picked > up by "universe".  Since they're not ${MACHINE}-specific, would > sys/conf/ be a good location? > > P

Re: svn commit: r230972 - in head: share/mk sys/amd64/conf sys/i386/conf sys/modules sys/modules/drm sys/modules/sound/driver sys/modules/usb tools/build/options

2012-02-11 Thread Konstantin Belousov
On Sat, Feb 11, 2012 at 01:57:31PM +, Robert Millan wrote: > El 10 de febrer de 2012 19:42, Robert Millan ha escrit: > > Here's a possible solution to this patch (untested).  In case it looks > > fine to everyone (and my mentors approve it), I'll definitely test > > with "make universe" before

Re: svn commit: r230972 - in head: share/mk sys/amd64/conf sys/i386/conf sys/modules sys/modules/drm sys/modules/sound/driver sys/modules/usb tools/build/options

2012-02-11 Thread Robert Millan
El 10 de febrer de 2012 19:42, Robert Millan ha escrit: > Here's a possible solution to this patch (untested).  In case it looks > fine to everyone (and my mentors approve it), I'll definitely test > with "make universe" before commit. Another possibility (perhaps a better one) would be to move t

Re: svn commit: r231520 - head/sys/sys

2012-02-11 Thread Bjoern A. Zeeb
On 11. Feb 2012, at 13:41 , Bjoern A. Zeeb wrote: > Author: bz > Date: Sat Feb 11 13:41:38 2012 > New Revision: 231520 > URL: http://svn.freebsd.org/changeset/base/231520 > > Log: > Properly name the sysctl to "iflistl" rather than "iflist2", which had been > the prototype name and slipped in

svn commit: r231520 - head/sys/sys

2012-02-11 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 11 13:41:38 2012 New Revision: 231520 URL: http://svn.freebsd.org/changeset/base/231520 Log: Properly name the sysctl to "iflistl" rather than "iflist2", which had been the prototype name and slipped in in r231505. Spotted in a reply from: bde MFC after:

Re: svn commit: r230869 - head/usr.sbin/daemon

2012-02-11 Thread Andrey Zonov
On 11.02.2012 14:35, Mikolaj Golub wrote: Thank you. Here are the patches I would like to commit if there are no objections or other suggestions: http://people.freebsd.org/~trociny/daemon/daemon.spawn.1.patch http://people.freebsd.org/~trociny/daemon/daemon.SIGTERM.1.patch http://people.freebsd

svn commit: r231518 - head/sys/dev/mpt

2012-02-11 Thread Marius Strobl
Author: marius Date: Sat Feb 11 12:03:44 2012 New Revision: 231518 URL: http://svn.freebsd.org/changeset/base/231518 Log: Flesh out support for SAS1078 and SAS1078DE (which are said to actually be the same chip): - The I/O port resource may not be available with these. However, given tha

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

2012-02-11 Thread Damjan Marion
Author: dmarion Date: Sat Feb 11 11:24:30 2012 New Revision: 231516 URL: http://svn.freebsd.org/changeset/base/231516 Log: Add myself to calendar. Approved by: cognet (mentor) Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified: head/usr.bin/calendar/calendars/calend

svn commit: r231515 - head/lib/libipsec

2012-02-11 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 11 11:11:43 2012 New Revision: 231515 URL: http://svn.freebsd.org/changeset/base/231515 Log: Use the correct constant (with same value) for comparying the SA type. PR: kern/142741 Submitted by: Matthijs Kooiman (matthijs stdin.nl) MFC after:3 days

svn commit: r231514 - head/lib/libc/gen

2012-02-11 Thread Ed Schouten
Author: ed Date: Sat Feb 11 11:11:13 2012 New Revision: 231514 URL: http://svn.freebsd.org/changeset/base/231514 Log: Set read buffer size to multiple of sizeof(struct futx). If the utmpx database gets updated while an application is reading it, there is a chance the reading application p

Re: svn commit: r230869 - head/usr.sbin/daemon

2012-02-11 Thread Mikolaj Golub
On Wed, 8 Feb 2012 10:06:01 +0100 Pawel Jakub Dawidek wrote: PJD> On Wed, Feb 08, 2012 at 10:32:41AM +0200, Mikolaj Golub wrote: >> >> On Mon, 6 Feb 2012 23:17:43 +0100 Pawel Jakub Dawidek wrote: >> >> PJD> On Mon, Feb 06, 2012 at 11:46:24PM +0200, Mikolaj Golub wrote: >> >> >> Thanks

Re: svn commit: r231449 - head/usr.bin/tee

2012-02-11 Thread Bruce Evans
On Fri, 10 Feb 2012, Martin Cracauer wrote: Log: Fix bin/164947: tee looses data when writing to non-blocking file descriptors tee was not handling EAGAIN patch submitted by Diomidis Spinellis . Thanks so much reproduced and re-tested locally This seems to give a buffer overrun (apart f

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

2012-02-11 Thread Michael Tuexen
Author: tuexen Date: Sat Feb 11 08:58:12 2012 New Revision: 231513 URL: http://svn.freebsd.org/changeset/base/231513 Log: MFC r218264: Fix typo (Tuneable -> Tunable). From brucec@. Modified: stable/8/sys/netinet/sctp_sysctl.h Directory Properties: stable/8/sys/ (props changed) stabl

svn commit: r231512 - head/sys/modules/oce

2012-02-11 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 11 08:34:33 2012 New Revision: 231512 URL: http://svn.freebsd.org/changeset/base/231512 Log: Depend on the relevant header files. Modified: head/sys/modules/oce/Makefile Modified: head/sys/modules/oce/Makefile =

svn commit: r231511 - head/sys/dev/oce

2012-02-11 Thread Bjoern A. Zeeb
Author: bz Date: Sat Feb 11 08:33:52 2012 New Revision: 231511 URL: http://svn.freebsd.org/changeset/base/231511 Log: Start to try to hide LRO (and some TSO) bits behind #ifdefs as especially the symbols are not there when compiling a kernel without IP support and we do have users doing so.

svn commit: r231510 - head/sys/dev/vge

2012-02-11 Thread Kevin Lo
Author: kevlo Date: Sat Feb 11 08:12:52 2012 New Revision: 231510 URL: http://svn.freebsd.org/changeset/base/231510 Log: Remove unused variable mii Modified: head/sys/dev/vge/if_vge.c Modified: head/sys/dev/vge/if_vge.c