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

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: 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

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 d...@aueb.gr. Thanks so much reproduced and re-tested locally This seems to give a buffer

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. The updated

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

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: 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:

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

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

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:3

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 in r231505.

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 r...@freebsd.org 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

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 r...@freebsd.org 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

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 r...@freebsd.org 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

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

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:

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

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

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

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

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

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

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

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)

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

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

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.

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

2012-02-11 Thread Ed Schouten
Hi Doug, * Doug Barton do...@freebsd.org, 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

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 do...@freebsd.org, 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 occurrences of BEFORE

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:

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

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