Re: svn commit: r231543 - head/sys/netgraph

2012-02-12 Thread Julian Elischer
On 2/11/12 9:14 PM, Max Khon wrote: 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. nice.. pitty it was written in 96 :-) good work This fixes

svn commit: r231558 - head/sys/conf

2012-02-12 Thread Andriy Gapon
Author: avg Date: Sun Feb 12 14:54:19 2012 New Revision: 231558 URL: http://svn.freebsd.org/changeset/base/231558 Log: newvers.sh: unbreak git/git-svn support MFC after:2 weeks Modified: head/sys/conf/newvers.sh Modified: head/sys/conf/newvers.sh

svn commit: r231559 - in head/sys: amd64/conf conf i386/conf

2012-02-12 Thread Robert Millan
Author: rmh Date: Sun Feb 12 14:55:27 2012 New Revision: 231559 URL: http://svn.freebsd.org/changeset/base/231559 Log: Move WITHOUT_SOURCELESS_* files to sys/conf/ in order to avoid universe target processing them as if they were standalone kernel config files. Approved by: kib (mentor)

svn commit: r231562 - stable/7/usr.bin/rpcgen

2012-02-12 Thread Dimitry Andric
Author: dim Date: Sun Feb 12 14:56:50 2012 New Revision: 231562 URL: http://svn.freebsd.org/changeset/base/231562 Log: MFC r231054: In usr.bin/rpcgen/rpc_main.c, properly check the return value of strlcpy(), in addition to checking that of strlcat(). Modified:

svn commit: r231560 - stable/9/usr.bin/rpcgen

2012-02-12 Thread Dimitry Andric
Author: dim Date: Sun Feb 12 14:56:31 2012 New Revision: 231560 URL: http://svn.freebsd.org/changeset/base/231560 Log: MFC r231054: In usr.bin/rpcgen/rpc_main.c, properly check the return value of strlcpy(), in addition to checking that of strlcat(). Modified:

svn commit: r231561 - stable/8/usr.bin/rpcgen

2012-02-12 Thread Dimitry Andric
Author: dim Date: Sun Feb 12 14:56:40 2012 New Revision: 231561 URL: http://svn.freebsd.org/changeset/base/231561 Log: MFC r231054: In usr.bin/rpcgen/rpc_main.c, properly check the return value of strlcpy(), in addition to checking that of strlcat(). Modified:

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

2012-02-12 Thread Andriy Gapon
Author: avg Date: Sun Feb 12 14:58:50 2012 New Revision: 231563 URL: http://svn.freebsd.org/changeset/base/231563 Log: start watchdogd before most of other daemons/servers The main benefit is that watchdogd would shutdown after most of other daemons/servers and thus, for example, 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-12 Thread Robert Millan
El 4 de febrer de 2012 9:48, Niclas Zeising zeis...@daemonic.se ha escrit: +++ head/sys/amd64/conf/WITHOUT_SOURCELESS_HOST       Sat Feb  4 00:54:43 2012        (r230972) @@ -0,0 +1,10 @@ +# +# WITHOUT_SOURCELESS_UCODE -- Disable drivers that include sourceless                        ^

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-12 Thread Robert Millan
El 6 de febrer de 2012 17:48, Jung-uk Kim j...@freebsd.org ha escrit: On Friday 03 February 2012 07:54 pm, Robert Millan wrote: +nodevice       ti Tigon 1 and 2 had open-sourced firmware.  In fact, I believe wpaul developed custom firmware for FreeBSD and the (early?) sources are still

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-12 Thread Niclas Zeising
On 2012-02-12 17:43, Robert Millan wrote: El 4 de febrer de 2012 9:48, Niclas Zeising zeis...@daemonic.se ha escrit: +++ head/sys/amd64/conf/WITHOUT_SOURCELESS_HOST Sat Feb 4 00:54:43 2012(r230972) @@ -0,0 +1,10 @@ +# +# WITHOUT_SOURCELESS_UCODE -- Disable drivers that

svn commit: r231564 - in head: lib/libc/db/man lib/libc/gen lib/libc/net lib/libc/rpc lib/libc/sys lib/libcam lib/libdevstat lib/libradius sbin/bsdlabel sbin/newfs_msdos share/man/man4 share/man/ma...

2012-02-12 Thread Ed Schouten
Author: ed Date: Sun Feb 12 18:29:56 2012 New Revision: 231564 URL: http://svn.freebsd.org/changeset/base/231564 Log: Globally replace u_int*_t from (non-contributed) man pages. The reasoning behind this, is that if we are consistent in our documentation about the uint*_t stuff, people

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

2012-02-12 Thread Mikolaj Golub
On Sat, 11 Feb 2012 16:16:16 +0400 Andrey Zonov wrote: AZ 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

svn commit: r231565 - head/sys/conf

2012-02-12 Thread Robert Millan
Author: rmh Date: Sun Feb 12 19:29:34 2012 New Revision: 231565 URL: http://svn.freebsd.org/changeset/base/231565 Log: Fix a typo. Approved by: kib (mentor) Reported by: lwhsu, Niclas Zeising zeis...@daemonic.se MFC after:5 days Modified: head/sys/conf/WITHOUT_SOURCELESS_HOST

Re: svn commit: r231559 - in head/sys: amd64/conf conf i386/conf

2012-02-12 Thread Scott Long
On Feb 12, 2012, at 7:55 AM, Robert Millan wrote: Author: rmh Date: Sun Feb 12 14:55:27 2012 New Revision: 231559 URL: http://svn.freebsd.org/changeset/base/231559 Log: Move WITHOUT_SOURCELESS_* files to sys/conf/ in order to avoid universe target processing them as if they were

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

2012-02-12 Thread Pawel Jakub Dawidek
On Sun, Feb 12, 2012 at 09:06:55PM +0200, Mikolaj Golub wrote: AZ Check return code from pidfile_write() function. I saw many times AZ when pid could not be written because of there is not enough free AZ space (but file was created). Unfortunately, I have no suggestions AZ how to handle

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

2012-02-12 Thread Pawel Jakub Dawidek
On Sat, Feb 11, 2012 at 12:35:27PM +0200, 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 The patch looks good to me. I'd just fix style nit: please

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

2012-02-12 Thread Andrey Zonov
On 13.02.2012 0:02, Pawel Jakub Dawidek wrote: On Sun, Feb 12, 2012 at 09:06:55PM +0200, Mikolaj Golub wrote: AZ Check return code from pidfile_write() function. I saw many times AZ when pid could not be written because of there is not enough free AZ space (but file was created).

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

2012-02-12 Thread Jos Backus
On Sun, Feb 12, 2012 at 12:41 PM, Andrey Zonov and...@zonov.org wrote: On 13.02.2012 0:02, Pawel Jakub Dawidek wrote: On Sun, Feb 12, 2012 at 09:06:55PM +0200, Mikolaj Golub wrote:  AZ  Check return code from pidfile_write() function.  I saw many times  AZ  when pid could not be written

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

2012-02-12 Thread Dmitry Morozovsky
On Mon, 13 Feb 2012, Andrey Zonov wrote: [snip] Please don't. Even if you can't write the pidfile, you should run the service. The same as for pidfile_open() failure as documented in example. Feel free to warn about problem with writing to pidfile, but don't treat it as critial error.

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

2012-02-12 Thread Mikolaj Golub
On Sun, 12 Feb 2012 12:56:58 -0800 Jos Backus wrote: JB Right. So why not add a Unix socket listener to daemon(8) so the rc.d JB script can send commands over the socket instead of using the pidfile? JB This is what supervise/svc let you do today. JB I don't understand why this solution

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

2012-02-12 Thread Jos Backus
On Feb 12, 2012 1:32 PM, Mikolaj Golub troc...@freebsd.org wrote: On Sun, 12 Feb 2012 12:56:58 -0800 Jos Backus wrote: JB Right. So why not add a Unix socket listener to daemon(8) so the rc.d JB script can send commands over the socket instead of using the pidfile? JB This is what

svn commit: r231566 - stable/9/lib/libc/net

2012-02-12 Thread Brooks Davis
Author: brooks Date: Sun Feb 12 23:07:45 2012 New Revision: 231566 URL: http://svn.freebsd.org/changeset/base/231566 Log: MFC 231196: eui64_aton and eui64_ntoa are actually the equivalent of ether_aton_r and ether_nota_r and do not use static variables so remove the note copied from

svn commit: r231567 - stable/8/lib/libc/net

2012-02-12 Thread Brooks Davis
Author: brooks Date: Sun Feb 12 23:12:47 2012 New Revision: 231567 URL: http://svn.freebsd.org/changeset/base/231567 Log: MFC 231196: eui64_aton and eui64_ntoa are actually the equivalent of ether_aton_r and ether_nota_r and do not use static variables so remove the note copied from

svn commit: r231568 - head/usr.sbin/periodic

2012-02-12 Thread Brooks Davis
Author: brooks Date: Sun Feb 12 23:18:05 2012 New Revision: 231568 URL: http://svn.freebsd.org/changeset/base/231568 Log: Prevent periodic scripts that run longer than the expected period from starting up before the previous script finishes. This prevents an infinite number of them from

svn commit: r231571 - head/sys/dev/ath

2012-02-12 Thread Adrian Chadd
Author: adrian Date: Mon Feb 13 00:28:41 2012 New Revision: 231571 URL: http://svn.freebsd.org/changeset/base/231571 Log: Attempt to address some potential vap-iv_bss race conditions. There are unfortunately a number of situations where vap-iv_bss is changed or freed by some code in

svn commit: r231572 - head/sys/ufs/ffs

2012-02-12 Thread Kirk McKusick
Author: mckusick Date: Mon Feb 13 01:33:39 2012 New Revision: 231572 URL: http://svn.freebsd.org/changeset/base/231572 Log: Missing conditions in checking whether an inode has been written. Found and tested by: Peter Holm MFC after: 2 weeks (to 9 only) Modified:

svn commit: r231573 - head/sys/dev/ata

2012-02-12 Thread Ed Maste
Author: emaste Date: Mon Feb 13 01:44:12 2012 New Revision: 231573 URL: http://svn.freebsd.org/changeset/base/231573 Log: Fix panic after WARNING - ATA_IDENTIFY taskqueue timeout When performing a firmware upgrade via atacontrol[1] the subsequent command may time out producing the error