Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Pawel Jakub Dawidek
On Mon, Jun 04, 2012 at 09:34:49PM +, Andrey A. Chernov wrote: > Author: ache > Date: Mon Jun 4 21:34:49 2012 > New Revision: 236582 > URL: http://svn.freebsd.org/changeset/base/236582 > > Log: > 1) IEEE Std 1003.1-2008, "errno" section, is explicit that > > "The setting of errno after

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Dimitry Andric
On 2012-06-04 23:34, Andrey A. Chernov wrote:> Author: ache > Date: Mon Jun 4 21:34:49 2012 > New Revision: 236582 > URL: http://svn.freebsd.org/changeset/base/236582 > > Log: > 1) IEEE Std 1003.1-2008, "errno" section, is explicit that > > "The setting of errno after a successful call to

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Konstantin Belousov
On Tue, Jun 05, 2012 at 10:08:09AM +0200, Dimitry Andric wrote: > On 2012-06-04 23:34, Andrey A. Chernov wrote:> Author: ache > > Date: Mon Jun 4 21:34:49 2012 > > New Revision: 236582 > > URL: http://svn.freebsd.org/changeset/base/236582 > > > > Log: > > 1) IEEE Std 1003.1-2008, "errno" sectio

svn commit: r236602 - in head/sys/cam: ata scsi

2012-06-05 Thread Alexander Motin
Author: mav Date: Tue Jun 5 09:45:42 2012 New Revision: 236602 URL: http://svn.freebsd.org/changeset/base/236602 Log: Tune and add some missing CAM_DEBUG() points for better consistency. Modified: head/sys/cam/ata/ata_da.c head/sys/cam/ata/ata_pmp.c head/sys/cam/scsi/scsi_cd.c head/sys

svn commit: r236604 - head/sys/cam/scsi

2012-06-05 Thread Alexander Motin
Author: mav Date: Tue Jun 5 10:08:22 2012 New Revision: 236604 URL: http://svn.freebsd.org/changeset/base/236604 Log: Do not reinvent a wheel and let default error handler do its job. Modified: head/sys/cam/scsi/scsi_da.c Modified: head/sys/cam/scsi/scsi_da.c ===

svn commit: r236605 - head/sys/cam

2012-06-05 Thread Alexander Motin
Author: mav Date: Tue Jun 5 10:23:41 2012 New Revision: 236605 URL: http://svn.freebsd.org/changeset/base/236605 Log: Replace #ifdef CAMDEBUG + if + panic() with single KASSERT(). Modified: head/sys/cam/cam_xpt.c Modified: head/sys/cam/cam_xpt.c =

svn commit: r236606 - stable/9/sys/netinet6

2012-06-05 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jun 5 11:23:56 2012 New Revision: 236606 URL: http://svn.freebsd.org/changeset/base/236606 Log: MFC r236327 (by emax): When we return deprecated addresses, we need to reference them. Modified: stable/9/sys/netinet6/in6.c Directory Properties: stable/9/sys/ (pr

svn commit: r236607 - stable/8/sys/netinet6

2012-06-05 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jun 5 11:24:05 2012 New Revision: 236607 URL: http://svn.freebsd.org/changeset/base/236607 Log: MFC r236327 (by emax): When we return deprecated addresses, we need to reference them. Modified: stable/8/sys/netinet6/in6.c Directory Properties: stable/8/sys/ (pr

svn commit: r236608 - stable/9/sys/netinet6

2012-06-05 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jun 5 11:26:43 2012 New Revision: 236608 URL: http://svn.freebsd.org/changeset/base/236608 Log: MFC r236501 (by emax): Plug reference leak. Interface addresses are refcounted as packets move through the stack, and there's garbage collection tied to it so t

svn commit: r236609 - stable/8/sys/netinet6

2012-06-05 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jun 5 11:27:11 2012 New Revision: 236609 URL: http://svn.freebsd.org/changeset/base/236609 Log: MFC r236501 (by emax): Plug reference leak. Interface addresses are refcounted as packets move through the stack, and there's garbage collection tied to it so t

svn commit: r236610 - stable/9/sys/netinet

2012-06-05 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jun 5 11:28:57 2012 New Revision: 236610 URL: http://svn.freebsd.org/changeset/base/236610 Log: MFC r236575 (by emax): Plug more refcount leaks and possible NULL deref for interface address list. Modified: stable/9/sys/netinet/tcp_input.c Directory Properties:

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

2012-06-05 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jun 5 11:29:00 2012 New Revision: 236611 URL: http://svn.freebsd.org/changeset/base/236611 Log: MFC r236575 (by emax): Plug more refcount leaks and possible NULL deref for interface address list. Modified: stable/8/sys/netinet/tcp_input.c Directory Properties:

svn commit: r236612 - stable/9/lib/msun/src

2012-06-05 Thread David Chisnall
Author: theraven Date: Tue Jun 5 11:42:34 2012 New Revision: 236612 URL: http://svn.freebsd.org/changeset/base/236612 Log: Merge r236148. This allows C++ code to include after explicitly including math.h. Modified: stable/9/lib/msun/src/math.h Directory Properties: stable/9/lib/msun/

svn commit: r236613 - in head/sys/cam: ata scsi

2012-06-05 Thread Alexander Motin
Author: mav Date: Tue Jun 5 11:48:32 2012 New Revision: 236613 URL: http://svn.freebsd.org/changeset/base/236613 Log: Tune and add some more CAM_DEBUG() points for the probe sequences. Modified: head/sys/cam/ata/ata_xpt.c head/sys/cam/scsi/scsi_xpt.c Modified: head/sys/cam/ata/ata_xpt.c =

svn commit: r236614 - head/gnu/lib/libsupc++

2012-06-05 Thread Dag-Erling Smorgrav
Author: des Date: Tue Jun 5 12:34:08 2012 New Revision: 236614 URL: http://svn.freebsd.org/changeset/base/236614 Log: Add mangled symbols for operator new / delete on 64-bit platforms. Reported by: decke@ MFC after:1 week Modified: head/gnu/lib/libsupc++/Version.map Modified: he

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Andrey Chernov
On Tue, Jun 05, 2012 at 10:08:09AM +0200, Dimitry Andric wrote: > On 2012-06-04 23:34, Andrey A. Chernov wrote:> Author: ache > > Date: Mon Jun 4 21:34:49 2012 > > New Revision: 236582 > > URL: http://svn.freebsd.org/changeset/base/236582 > > > > Log: > > 1) IEEE Std 1003.1-2008, "errno" sectio

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Andrey Chernov
On Tue, Jun 05, 2012 at 11:35:53AM +0300, Konstantin Belousov wrote: > Not to mention that the patch was committed to _our_ implementation of > libc, which uses _our_ free, and not some abstract free(3). Our free changing > errno means that process state is so messed that worrying about realpath(3)

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Andrey Chernov
On Tue, Jun 05, 2012 at 04:39:01PM +0400, Andrey Chernov wrote: > > Actually, it says the following: > > > > RETURN VALUE > > > > The free() function shall not return a value. > > > > ERRORS > > > > No errors are defined. > > > > How much clearer do you want it? ;) > > It is p

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Joerg Sonnenberger
On Tue, Jun 05, 2012 at 04:39:01PM +0400, Andrey Chernov wrote: > Moreover, standard metion "unsuccessful call" case for free() where errno > state is totally undefined. ...which would be a programming mistake in first place and is valid as justification. Joerg __

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Dag-Erling Smørgrav
Pawel Jakub Dawidek writes: > Very interesting. However free(3) is always successful. Maybe we need > more context here, but the sentence above might talk about functions > that can either succeed or fail and such functions do set errno on > failure, but we don't know what they do to errno on succ

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Andrey Chernov
On Tue, Jun 05, 2012 at 09:47:42AM +0200, Pawel Jakub Dawidek wrote: > > "The setting of errno after a successful call to a function is > > unspecified unless the description of that function specifies that > > errno shall not be modified." > > Very interesting. However free(3) is always suc

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Andrey Chernov
On Tue, Jun 05, 2012 at 02:55:20PM +0200, Joerg Sonnenberger wrote: > On Tue, Jun 05, 2012 at 04:39:01PM +0400, Andrey Chernov wrote: > > Moreover, standard metion "unsuccessful call" case for free() where errno > > state is totally undefined. > > ...which would be a programming mistake in first

svn commit: r236615 - head/sys/netinet6

2012-06-05 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jun 5 13:27:37 2012 New Revision: 236615 URL: http://svn.freebsd.org/changeset/base/236615 Log: Plug two interface address refcount leaks in early error return cases in the ioctl path. Reported by: rpaulo Reviewed by: emax MFC after:3 days Modified: head

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Andrey Chernov
On Tue, Jun 05, 2012 at 03:10:06PM +0200, Dag-Erling Sm??rgrav wrote: > Pawel Jakub Dawidek writes: > > Very interesting. However free(3) is always successful. Maybe we need > > more context here, but the sentence above might talk about functions > > that can either succeed or fail and such functi

svn commit: r236616 - stable/9/share/man/man9

2012-06-05 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jun 5 13:57:02 2012 New Revision: 236616 URL: http://svn.freebsd.org/changeset/base/236616 Log: MFC r236237: Fix lock interaction table for rmlocks - by default they cannot sleep, just like rwlocks. Modified: stable/9/share/man/man9/locking.9 Directory Properti

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Andrey Chernov
On Mon, Jun 04, 2012 at 09:34:49PM +, Andrey A. Chernov wrote: > 1) IEEE Std 1003.1-2008, "errno" section, is explicit that > > "The setting of errno after a successful call to a function is > unspecified unless the description of that function specifies that > errno shall not be mod

svn commit: r236617 - head/sys/arm/at91

2012-06-05 Thread Warner Losh
Author: imp Date: Tue Jun 5 14:19:59 2012 New Revision: 236617 URL: http://svn.freebsd.org/changeset/base/236617 Log: Remove dead code. Modified: head/sys/arm/at91/at91rm92reg.h Modified: head/sys/arm/at91/at91rm92reg.h ===

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Joerg Sonnenberger
On Tue, Jun 05, 2012 at 05:13:05PM +0400, Andrey Chernov wrote: > On Tue, Jun 05, 2012 at 02:55:20PM +0200, Joerg Sonnenberger wrote: > > On Tue, Jun 05, 2012 at 04:39:01PM +0400, Andrey Chernov wrote: > > > Moreover, standard metion "unsuccessful call" case for free() where errno > > > state is t

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Andrey Chernov
On Tue, Jun 05, 2012 at 04:25:10PM +0200, Joerg Sonnenberger wrote: > > Please see > > http://austingroupbugs.net/view.php?id=385 > > That is about explicitly recognizing how stupid the notion of free(3) > not preserving errno is. Seriously, before you start to randomly bloat > code all over the

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Joerg Sonnenberger
On Tue, Jun 05, 2012 at 06:31:14PM +0400, Andrey Chernov wrote: > BTW, if general consensus will be to track unpublished standard, I will > back out my change (in hope our malloc() maintainer will change free() to > directly save errno). The standard is quite irrelevant here. FreeBSD is free to

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Marcel Moolenaar
On Jun 5, 2012, at 7:31 AM, Andrey Chernov wrote: > On Tue, Jun 05, 2012 at 04:25:10PM +0200, Joerg Sonnenberger wrote: >>> Please see >>> http://austingroupbugs.net/view.php?id=385 >> >> That is about explicitly recognizing how stupid the notion of free(3) >> not preserving errno is. Seriously

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Andrey Chernov
On Tue, Jun 05, 2012 at 08:23:20AM -0700, Marcel Moolenaar wrote: > If we the resolution of the ID 385 indicates that a future version > will have the suggested text, then one can definitely argue that it's > not unreasonable to start changing our functions to match the new text > (like free(3)

svn commit: r236618 - head/lib/libc/stdlib

2012-06-05 Thread Andrey A. Chernov
Author: ache Date: Tue Jun 5 16:16:33 2012 New Revision: 236618 URL: http://svn.freebsd.org/changeset/base/236618 Log: 1) Although unpublished version of standard http://austingroupbugs.net/view.php?id=385#c713 (Resolved state) recommend this way for the current standard (called "earlier"

svn commit: r236619 - head/sys/geom/multipath

2012-06-05 Thread Alexander Motin
Author: mav Date: Tue Jun 5 16:46:34 2012 New Revision: 236619 URL: http://svn.freebsd.org/changeset/base/236619 Log: Add missing newlines into XML output. MFC after:3 days Sponsored by: iXsystems, Inc. Modified: head/sys/geom/multipath/g_multipath.c Modified: head/sys/geom/multi

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Andrey Chernov
On Tue, Jun 05, 2012 at 05:17:33PM +0200, Joerg Sonnenberger wrote: > On Tue, Jun 05, 2012 at 06:31:14PM +0400, Andrey Chernov wrote: > > BTW, if general consensus will be to track unpublished standard, I will > > back out my change (in hope our malloc() maintainer will change free() to > > direc

svn commit: r236620 - in head: share/man/man4 tools/regression/filemon

2012-06-05 Thread David E. O'Brien
Author: obrien Date: Tue Jun 5 17:36:28 2012 New Revision: 236620 URL: http://svn.freebsd.org/changeset/base/236620 Log: Correct examples to the latest version I had. Modified: head/share/man/man4/filemon.4 head/tools/regression/filemon/filemontest.c Modified: head/share/man/man4/filemon.

Re: svn commit: r236593 - head/share/man/man4

2012-06-05 Thread David O'Brien
On Tue, Jun 05, 2012 at 11:07:48AM +1200, Andrew Thompson wrote: > Does the race have to be managed between the parent SET_PID ioctl and > the child doing something? Thank you for catching that. I committed an older version of that. (had copies of this on multiple machines...) -- -- David (obr

svn commit: r236621 - head/sys/modules

2012-06-05 Thread David E. O'Brien
Author: obrien Date: Tue Jun 5 17:44:54 2012 New Revision: 236621 URL: http://svn.freebsd.org/changeset/base/236621 Log: Only build filemon(4) on x86. Modified: head/sys/modules/Makefile Modified: head/sys/modules/Makefile

svn commit: r236622 - head/share/man/man4

2012-06-05 Thread Joel Dahl
Author: joel (doc committer) Date: Tue Jun 5 17:46:50 2012 New Revision: 236622 URL: http://svn.freebsd.org/changeset/base/236622 Log: Various mdoc fixes. Modified: head/share/man/man4/filemon.4 Modified: head/share/man/man4/filemon.4

svn commit: r236623 - head/share/man/man4

2012-06-05 Thread David E. O'Brien
Author: obrien Date: Tue Jun 5 17:49:11 2012 New Revision: 236623 URL: http://svn.freebsd.org/changeset/base/236623 Log: RAID is an acronym. Modified: head/share/man/man4/mpt.4 Modified: head/share/man/man4/mpt.4 ==

svn commit: r236624 - head/share/man/man4

2012-06-05 Thread Joel Dahl
Author: joel (doc committer) Date: Tue Jun 5 17:58:47 2012 New Revision: 236624 URL: http://svn.freebsd.org/changeset/base/236624 Log: Remove end of line whitespace. Modified: head/share/man/man4/bce.4 Modified: head/share/man/man4/bce.4 =

svn commit: r236625 - head/sbin/camcontrol

2012-06-05 Thread Joel Dahl
Author: joel (doc committer) Date: Tue Jun 5 18:07:20 2012 New Revision: 236625 URL: http://svn.freebsd.org/changeset/base/236625 Log: Minor spelling fixes. Modified: head/sbin/camcontrol/camcontrol.8 Modified: head/sbin/camcontrol/camcontrol.8 ==

Re: svn commit: r236621 - head/sys/modules

2012-06-05 Thread Marcel Moolenaar
On Jun 5, 2012, at 10:44 AM, David E. O'Brien wrote: > Author: obrien > Date: Tue Jun 5 17:44:54 2012 > New Revision: 236621 > URL: http://svn.freebsd.org/changeset/base/236621 > > Log: > Only build filemon(4) on x86. Why? -- Marcel Moolenaar mar...@xcllnt.net

svn commit: r236626 - in head: lib/libelf lib/libgssapi sbin/ifconfig

2012-06-05 Thread Joel Dahl
Author: joel (doc committer) Date: Tue Jun 5 18:19:52 2012 New Revision: 236626 URL: http://svn.freebsd.org/changeset/base/236626 Log: Remove repeated words. Modified: head/lib/libelf/elf_begin.3 head/lib/libgssapi/gss_unwrap.3 head/lib/libgssapi/gss_wrap.3 head/sbin/ifconfig/ifconfig.

svn commit: r236627 - head/sys/dev/ixgbe

2012-06-05 Thread Maksim Yevmenkin
Author: emax Date: Tue Jun 5 18:48:02 2012 New Revision: 236627 URL: http://svn.freebsd.org/changeset/base/236627 Log: Before it gets lost in the noise. Put a bandaid to prevent ixgbe(4) from completely locking up the system under high load. Our platform has a few CPU cores and a single

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Bruce Evans
On Tue, 5 Jun 2012, Andrey Chernov wrote: On Tue, Jun 05, 2012 at 09:47:42AM +0200, Pawel Jakub Dawidek wrote: "The setting of errno after a successful call to a function is unspecified unless the description of that function specifies that errno shall not be modified." Very interesting

svn commit: r236628 - head/cddl/lib/libdtrace

2012-06-05 Thread George V. Neville-Neil
Author: gnn Date: Tue Jun 5 18:58:05 2012 New Revision: 236628 URL: http://svn.freebsd.org/changeset/base/236628 Log: Add DTrace's io.d, which handles tranlsations for file, buffer and device info structures as well as the fds[] array. This is a raw version of the file, unmodified, to be u

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Andrey Chernov
On Wed, Jun 06, 2012 at 04:57:29AM +1000, Bruce Evans wrote: > POSIX may require errno to not be clobbered, especially for its functions. > It probably shouldn't do this for Standard C library functions like free(), > since this would be an extension and any use of the extension would give > unnece

svn commit: r236629 - head/include

2012-06-05 Thread Ed Schouten
Author: ed Date: Tue Jun 5 19:42:57 2012 New Revision: 236629 URL: http://svn.freebsd.org/changeset/base/236629 Log: Fix a small typo. Fireware -> firmware. MFC after:2 weeks Modified: head/include/fmtmsg.h Modified: head/include/fmtmsg.h ===

svn commit: r236631 - in stable/9/sys: dev/iwn sys

2012-06-05 Thread Marius Strobl
Author: marius Date: Tue Jun 5 19:58:58 2012 New Revision: 236631 URL: http://svn.freebsd.org/changeset/base/236631 Log: MFC: r236486 Add nitems(), a macro for determining the number of elements in a statically-allocated array. Obtained from:OpenBSD (in principle) MFC:

svn commit: r236632 - in stable/8/sys: dev/iwn sys

2012-06-05 Thread Marius Strobl
Author: marius Date: Tue Jun 5 19:59:02 2012 New Revision: 236632 URL: http://svn.freebsd.org/changeset/base/236632 Log: MFC: r236486 Add nitems(), a macro for determining the number of elements in a statically-allocated array. Obtained from:OpenBSD (in principle) MFC:

svn commit: r236633 - stable/7/sys/sys

2012-06-05 Thread Marius Strobl
Author: marius Date: Tue Jun 5 19:59:09 2012 New Revision: 236633 URL: http://svn.freebsd.org/changeset/base/236633 Log: MFC: r236486 Add nitems(), a macro for determining the number of elements in a statically-allocated array. Obtained from:OpenBSD (in principle) Modified:

svn commit: r236634 - head/usr.sbin/pmcstat

2012-06-05 Thread Gleb Smirnoff
Author: glebius Date: Tue Jun 5 20:08:59 2012 New Revision: 236634 URL: http://svn.freebsd.org/changeset/base/236634 Log: Don't crash trying to load symbols from striped file. PR: bin/167361 Submitted by: Slawa Olhovchenkov Silence from: jkoshy Modified: head/usr.sbin/pmc

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Bruce Evans
On Tue, 5 Jun 2012, Andrey Chernov wrote: On Wed, Jun 06, 2012 at 04:57:29AM +1000, Bruce Evans wrote: POSIX may require errno to not be clobbered, especially for its functions. It probably shouldn't do this for Standard C library functions like free(), since this would be an extension and any

Re: svn commit: r236593 - head/share/man/man4

2012-06-05 Thread Gavin Atkinson
On Mon, 4 Jun 2012, David E. O'Brien wrote: > Author: obrien > Date: Mon Jun 4 22:59:06 2012 > New Revision: 236593 > URL: http://svn.freebsd.org/changeset/base/236593 > > Log: > Add a man page for filemon(4) [r236592]. [...] > Added: head/share/man/man4/filemon.4 > ==

svn commit: r236635 - in vendor/NetBSD/atf: . dist dist/dist dist/dist/atf-c dist/dist/atf-c++ dist/dist/atf-c++/detail dist/dist/atf-c/detail dist/dist/atf-config dist/dist/atf-report dist/dist/at...

2012-06-05 Thread David E. O'Brien
Author: obrien Date: Tue Jun 5 20:22:37 2012 New Revision: 236635 URL: http://svn.freebsd.org/changeset/base/236635 Log: Import NetBSD's ATF as of 2011-04-05 16:3:06 UTC Submitted by: s...@juniper.net Obtained from:Juniper Networks Added: vendor/NetBSD/atf/ vendor/NetBSD/atf

svn commit: r236636 - stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-06-05 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jun 5 20:27:41 2012 New Revision: 236636 URL: http://svn.freebsd.org/changeset/base/236636 Log: MFC r235781: Fix enforcement of file size limit with O_APPEND on ZFS. vn_rlimit_fsize takes uio->uio_offset and uio->uio_resid into account when determining whethe

svn commit: r236637 - head/share/man/man4

2012-06-05 Thread David E. O'Brien
Author: obrien Date: Tue Jun 5 20:32:38 2012 New Revision: 236637 URL: http://svn.freebsd.org/changeset/base/236637 Log: mdoc police. Submitted by: ru Much thanks to: ru Modified: head/share/man/man4/filemon.4 Modified: head/share/man/man4/filemon.4

svn commit: r236638 - in stable/8/sys/dev: bge sym

2012-06-05 Thread Marius Strobl
Author: marius Date: Tue Jun 5 20:34:56 2012 New Revision: 236638 URL: http://svn.freebsd.org/changeset/base/236638 Log: MFC: r236488 Take advantage of nitems(). Modified: stable/8/sys/dev/bge/if_bge.c stable/8/sys/dev/sym/sym_hipd.c Directory Properties: stable/8/sys/ (props chan

svn commit: r236639 - head/sys/cam/ata

2012-06-05 Thread Alexander Motin
Author: mav Date: Tue Jun 5 20:39:12 2012 New Revision: 236639 URL: http://svn.freebsd.org/changeset/base/236639 Log: Use default error handler when flushing disk caches. Modified: head/sys/cam/ata/ata_da.c Modified: head/sys/cam/ata/ata_da.c

svn commit: r236640 - head/share/man/man4

2012-06-05 Thread Michael Tuexen
Author: tuexen Date: Tue Jun 5 20:48:13 2012 New Revision: 236640 URL: http://svn.freebsd.org/changeset/base/236640 Log: The cmsg_len field includes the cmsg header. So use CMSG_LEN(). MFC after: 3 days Modified: head/share/man/man4/ip.4 Modified: head/share/man/man4/ip.4 =

svn commit: r236641 - in stable/9/sys/dev: bge sym

2012-06-05 Thread Marius Strobl
Author: marius Date: Tue Jun 5 20:49:18 2012 New Revision: 236641 URL: http://svn.freebsd.org/changeset/base/236641 Log: MFC: r236488 Take advantage of nitems(). Modified: stable/9/sys/dev/bge/if_bge.c stable/9/sys/dev/sym/sym_hipd.c Directory Properties: stable/9/sys/ (props chan

svn commit: r236642 - stable/9/sys/dev/mmc

2012-06-05 Thread Marius Strobl
Author: marius Date: Tue Jun 5 20:53:46 2012 New Revision: 236642 URL: http://svn.freebsd.org/changeset/base/236642 Log: MFC: r236491 Add missing prototypes. While at it, sort them alphabetically. Modified: stable/9/sys/dev/mmc/mmc.c stable/9/sys/dev/mmc/mmcsd.c Directory Properties:

svn commit: r236643 - stable/8/sys/dev/mmc

2012-06-05 Thread Marius Strobl
Author: marius Date: Tue Jun 5 20:53:53 2012 New Revision: 236643 URL: http://svn.freebsd.org/changeset/base/236643 Log: MFC: r236491 Add missing prototypes. While at it, sort them alphabetically. Modified: stable/8/sys/dev/mmc/mmc.c stable/8/sys/dev/mmc/mmcsd.c Directory Properties:

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Andrey Chernov
On Wed, Jun 06, 2012 at 06:11:01AM +1000, Bruce Evans wrote: > This is essentially unusable (so a bad idea). Instead of unconditionally > saving and restoring errno around calls to free(), portable POSIX code > can soon use a messy ifdef to avoid doing this in some cases, but still > has to do it

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Joerg Sonnenberger
On Wed, Jun 06, 2012 at 01:01:54AM +0400, Andrey Chernov wrote: > On Wed, Jun 06, 2012 at 06:11:01AM +1000, Bruce Evans wrote: > > This is essentially unusable (so a bad idea). Instead of unconditionally > > saving and restoring errno around calls to free(), portable POSIX code > > can soon use a

svn commit: r236644 - head/tools/tools/ifpifa

2012-06-05 Thread Maksim Yevmenkin
Author: emax Date: Tue Jun 5 21:35:47 2012 New Revision: 236644 URL: http://svn.freebsd.org/changeset/base/236644 Log: Add a very simple debug tool that would dump list of interfaces, addresses on each interface, and, associated refcounter. I found it handy to check for address refcounter l

Re: svn commit: r236582 - head/lib/libc/stdlib

2012-06-05 Thread Andrey Chernov
On Tue, Jun 05, 2012 at 11:30:34PM +0200, Joerg Sonnenberger wrote: > On Wed, Jun 06, 2012 at 01:01:54AM +0400, Andrey Chernov wrote: > > On Wed, Jun 06, 2012 at 06:11:01AM +1000, Bruce Evans wrote: > > > This is essentially unusable (so a bad idea). Instead of unconditionally > > > saving and res

svn commit: r236645 - head/tools/tools/ifpifa

2012-06-05 Thread Maksim Yevmenkin
Author: emax Date: Tue Jun 5 22:02:27 2012 New Revision: 236645 URL: http://svn.freebsd.org/changeset/base/236645 Log: Fix license Pointed by: brueffer Modified: head/tools/tools/ifpifa/ifpifa.c Modified: head/tools/tools/ifpifa/ifpifa.c ==

svn commit: r236648 - stable/9/sys/kern

2012-06-05 Thread Konstantin Belousov
Author: kib Date: Wed Jun 6 01:01:12 2012 New Revision: 236648 URL: http://svn.freebsd.org/changeset/base/236648 Log: MFC r236309: Assert that TDP_NOFAULTING and TDP_NOSPEEPING thread flags do not leak when thread returns from a syscall to usermode. Modified: stable/9/sys/kern/subr_sysca

svn commit: r236649 - head/sys/dev/ae

2012-06-05 Thread Kevin Lo
Author: kevlo Date: Wed Jun 6 02:42:30 2012 New Revision: 236649 URL: http://svn.freebsd.org/changeset/base/236649 Log: Check the return value of pci_find_cap() Modified: head/sys/dev/ae/if_ae.c Modified: head/sys/dev/ae/if_ae.c ==

svn commit: r236650 - stable/9/sys/dev/puc

2012-06-05 Thread Eitan Adler
Author: eadler Date: Wed Jun 6 04:17:40 2012 New Revision: 236650 URL: http://svn.freebsd.org/changeset/base/236650 Log: MFC r236282: Add support for Sun 1040 PCI Quad Serial PR: kern/163450 Approved by: cperciva (implicit) Modified: stable/9/sys/dev/puc/pucdata.c D

svn commit: r236651 - stable/8/sys/dev/puc

2012-06-05 Thread Eitan Adler
Author: eadler Date: Wed Jun 6 04:18:04 2012 New Revision: 236651 URL: http://svn.freebsd.org/changeset/base/236651 Log: MFC r236282: Add support for Sun 1040 PCI Quad Serial PR: kern/163450 Approved by: cperciva (implicit) Modified: stable/8/sys/dev/puc/pucdata.c D

svn commit: r236652 - stable/7/sys/dev/puc

2012-06-05 Thread Eitan Adler
Author: eadler Date: Wed Jun 6 04:18:22 2012 New Revision: 236652 URL: http://svn.freebsd.org/changeset/base/236652 Log: MFC r236282: Add support for Sun 1040 PCI Quad Serial PR: kern/163450 Approved by: cperciva (implicit) Modified: stable/7/sys/dev/puc/pucdata.c D

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

2012-06-05 Thread Eitan Adler
Author: eadler Date: Wed Jun 6 04:26:03 2012 New Revision: 236653 URL: http://svn.freebsd.org/changeset/base/236653 Log: MFC r236283: Add support for newer garmin devices PR: kern/163932 Approved by: cperciva (implicit) Modified: stable/9/sys/cam/scsi/scsi_xpt.c Di

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

2012-06-05 Thread Eitan Adler
Author: eadler Date: Wed Jun 6 04:26:27 2012 New Revision: 236654 URL: http://svn.freebsd.org/changeset/base/236654 Log: MFC r236283: Add support for newer garmin devices PR: kern/163932 Approved by: cperciva (implicit) Modified: stable/8/sys/cam/scsi/scsi_xpt.c Di

svn commit: r236655 - in stable/9/sys/dev: hptiop hptmv isp

2012-06-05 Thread Eitan Adler
Author: eadler Date: Wed Jun 6 04:38:25 2012 New Revision: 236655 URL: http://svn.freebsd.org/changeset/base/236655 Log: MFC r236379: Adding missing dependancies for loading hptiop(4), hptmv(4) and isp(4) as modules. PR: kern/166239 Approved by: cperciva (implicit)

svn commit: r236656 - in stable/8/sys/dev: hptiop hptmv isp

2012-06-05 Thread Eitan Adler
Author: eadler Date: Wed Jun 6 04:38:45 2012 New Revision: 236656 URL: http://svn.freebsd.org/changeset/base/236656 Log: MFC r236379: Adding missing dependancies for loading hptiop(4), hptmv(4) and isp(4) as modules. PR: kern/166239 Approved by: cperciva (implicit)

svn commit: r236657 - in stable/7/sys/dev: hptiop hptmv isp

2012-06-05 Thread Eitan Adler
Author: eadler Date: Wed Jun 6 04:39:05 2012 New Revision: 236657 URL: http://svn.freebsd.org/changeset/base/236657 Log: MFC r236379: Adding missing dependancies for loading hptiop(4), hptmv(4) and isp(4) as modules. PR: kern/166239 Approved by: cperciva (implicit)

svn commit: r236658 - head/sys/arm/at91

2012-06-05 Thread Warner Losh
Author: imp Date: Wed Jun 6 06:19:52 2012 New Revision: 236658 URL: http://svn.freebsd.org/changeset/base/236658 Log: Enhance the Atmel SoC chip identification routines to account for more SoC variants. Fold the AT91SAM9XE chips into the AT91SAM9260 handling, where appropriate. The follow

svn commit: r236659 - stable/9/sys/dev/vxge/vxgehal

2012-06-05 Thread Eitan Adler
Author: eadler Date: Wed Jun 6 06:32:50 2012 New Revision: 236659 URL: http://svn.freebsd.org/changeset/base/236659 Log: MFC r236377: Fix bug revealed by warning generated by clang: warning: equality comparison with extraneous parentheses [-Wparentheses-eq

svn commit: r236660 - stable/9/sbin/camcontrol

2012-06-05 Thread Eitan Adler
Author: eadler Date: Wed Jun 6 06:35:09 2012 New Revision: 236660 URL: http://svn.freebsd.org/changeset/base/236660 Log: MFC r236285: Add missing flag enable when certain arguments are parsed PR: bin/163053 Approved by: cperciva (implicit) Modified: stable/9/sbin/ca

svn commit: r236661 - stable/8/sbin/camcontrol

2012-06-05 Thread Eitan Adler
Author: eadler Date: Wed Jun 6 06:35:29 2012 New Revision: 236661 URL: http://svn.freebsd.org/changeset/base/236661 Log: MFC r236285: Add missing flag enable when certain arguments are parsed PR: bin/163053 Approved by: cperciva (implicit) Modified: stable/8/sbin/ca

svn commit: r236662 - stable/7/sbin/camcontrol

2012-06-05 Thread Eitan Adler
Author: eadler Date: Wed Jun 6 06:35:47 2012 New Revision: 236662 URL: http://svn.freebsd.org/changeset/base/236662 Log: MFC r236285: Add missing flag enable when certain arguments are parsed PR: bin/163053 Approved by: cperciva (implicit) Modified: stable/7/sbin/ca

svn commit: r236664 - stable/8/usr.sbin/lpr/lpr

2012-06-05 Thread Eitan Adler
Author: eadler Date: Wed Jun 6 06:39:14 2012 New Revision: 236664 URL: http://svn.freebsd.org/changeset/base/236664 Log: MFC r236289: Relax security permissions on '.seq' file creation - the strict, but odd permissions resulted in a security alert from 110.neggrpperm PR:

svn commit: r236665 - stable/7/usr.sbin/lpr/lpr

2012-06-05 Thread Eitan Adler
Author: eadler Date: Wed Jun 6 06:39:34 2012 New Revision: 236665 URL: http://svn.freebsd.org/changeset/base/236665 Log: MFC r236289: Relax security permissions on '.seq' file creation - the strict, but odd permissions resulted in a security alert from 110.neggrpperm PR:

svn commit: r236663 - stable/9/usr.sbin/lpr/lpr

2012-06-05 Thread Eitan Adler
Author: eadler Date: Wed Jun 6 06:38:56 2012 New Revision: 236663 URL: http://svn.freebsd.org/changeset/base/236663 Log: MFC r236289: Relax security permissions on '.seq' file creation - the strict, but odd permissions resulted in a security alert from 110.neggrpperm PR: