svn commit: r278145 - head/sys/kern

2015-02-03 Thread Konstantin Belousov
Author: kib Date: Tue Feb 3 10:29:40 2015 New Revision: 278145 URL: https://svnweb.freebsd.org/changeset/base/278145 Log: Fix use after free in pipe_dtor(). PIPE_NAMED flag must be tested before pipeclose() is called, since for !PIPE_NAMED case, when peer is already closed, the pipe pair m

svn commit: r278146 - head/sys/dev/drm2/i915

2015-02-03 Thread Konstantin Belousov
Author: kib Date: Tue Feb 3 10:30:41 2015 New Revision: 278146 URL: https://svnweb.freebsd.org/changeset/base/278146 Log: Do not attach to the unsupported chipsets, unless magic tunable is frobbed. Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/drm2/i915/i915_drv.c head

svn commit: r278147 - head/sys/dev/drm2/i915

2015-02-03 Thread Konstantin Belousov
Author: kib Date: Tue Feb 3 10:46:07 2015 New Revision: 278147 URL: https://svnweb.freebsd.org/changeset/base/278147 Log: Fix sign for the error code returned from the driver-specific code. Noted by: hps Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/drm2/i915/intel_d

Re: svn commit: r278081 - head/sbin/ifconfig

2015-02-03 Thread Bruce Evans
On Mon, 2 Feb 2015, Vsevolod Stakhov wrote: Log: Style(9) fixes. This is still a fair way from style(9) even on the changed lines. Modified: head/sbin/ifconfig/af_inet6.c == --- head/sbin/ifconfig/af_inet6.c M

svn commit: r278148 - head/sys/dev/drm2/i915

2015-02-03 Thread Konstantin Belousov
Author: kib Date: Tue Feb 3 11:34:18 2015 New Revision: 278148 URL: https://svnweb.freebsd.org/changeset/base/278148 Log: Followup to r278147. Two more sign errors. Noted by: hps Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/drm2/i915/intel_dp.c Modified: head/sys/

svn commit: r278151 - head/sys/fs/tmpfs

2015-02-03 Thread Konstantin Belousov
Author: kib Date: Tue Feb 3 12:09:48 2015 New Revision: 278151 URL: https://svnweb.freebsd.org/changeset/base/278151 Log: Remove duplicated assignment. CID: 1267988 Sponsored by: The FreeBSD Foundation MFC after:2 weeks Modified: head/sys/fs/tmpfs/tmpfs_subr.c Modified: head/s

svn commit: r278152 - head/sys/dev/drm2/i915

2015-02-03 Thread Konstantin Belousov
Author: kib Date: Tue Feb 3 13:43:03 2015 New Revision: 278152 URL: https://svnweb.freebsd.org/changeset/base/278152 Log: Do not access gmbus_ports array past its end. Reported and tested by: hselasky Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/drm2/i915/intel_ii

svn commit: r278153 - head/sys/dev/drm2/ttm

2015-02-03 Thread Konstantin Belousov
Author: kib Date: Tue Feb 3 13:45:06 2015 New Revision: 278153 URL: https://svnweb.freebsd.org/changeset/base/278153 Log: If the vm_page_alloc_contig() failed in the ttm page allocators, do what other callers of vm_page_alloc_contig() do, retry after vm_pageout_grow_cache(). Sponsored

svn commit: r278154 - head/lib/msun/src

2015-02-03 Thread Pedro F. Giffuni
Author: pfg Date: Tue Feb 3 14:17:29 2015 New Revision: 278154 URL: https://svnweb.freebsd.org/changeset/base/278154 Log: Reduce confusion in scalbnl() family of functions. The changes unrelated to the bug in r277948 made the code very difficult to understand to both coverity and regul

Re: svn commit: r278154 - head/lib/msun/src

2015-02-03 Thread Bruce Evans
On Tue, 3 Feb 2015, Pedro F. Giffuni wrote: Log: Reduce confusion in scalbnl() family of functions. The changes unrelated to the bug in r277948 made the code very difficult to understand to both coverity and regular humans so take a step back to something that is much easier to understand

svn commit: r278159 - head/sys/dev/drm2/i915

2015-02-03 Thread Ed Maste
Author: emaste Date: Tue Feb 3 15:41:09 2015 New Revision: 278159 URL: https://svnweb.freebsd.org/changeset/base/278159 Log: Remove duplicate intel_fbc_enabled prototype Fixed upstream in Linux commit 7ff0ebcc1e30e3216c8c62ee71f59ac830b10364 Differential Revision:https://revie

Re: svn commit: r278154 - head/lib/msun/src

2015-02-03 Thread Pedro Giffuni
On 03/02/2015 10:38 a.m., Bruce Evans wrote: On Tue, 3 Feb 2015, Pedro F. Giffuni wrote: Log: Reduce confusion in scalbnl() family of functions. The changes unrelated to the bug in r277948 made the code very difficult to understand to both coverity and regular humans so take a step back

svn commit: r278160 - head/lib/msun/src

2015-02-03 Thread Pedro F. Giffuni
Author: pfg Date: Tue Feb 3 16:16:52 2015 New Revision: 278160 URL: https://svnweb.freebsd.org/changeset/base/278160 Log: scanblnl: drop extra braces. Pointed out by: bde Modified: head/lib/msun/src/s_scalbln.c Modified: head/lib/msun/src/s_scalbln.c =

svn commit: r278161 - in head: sys/cam/ctl usr.sbin/ctladm usr.sbin/ctld

2015-02-03 Thread Alexander Motin
Author: mav Date: Tue Feb 3 16:17:54 2015 New Revision: 278161 URL: https://svnweb.freebsd.org/changeset/base/278161 Log: Bring some more order into iSCSI portal group tags support. While ctld(8) still does not allow multiple portal groups per target to be configured, kernel should now b

Re: svn commit: r278154 - head/lib/msun/src

2015-02-03 Thread Steve Kargl
On Wed, Feb 04, 2015 at 02:38:40AM +1100, Bruce Evans wrote: > On Tue, 3 Feb 2015, Pedro F. Giffuni wrote: > > > Log: > > Reduce confusion in scalbnl() family of functions. > > > > The changes unrelated to the bug in r277948 made > > the code very difficult to understand to both > > coverity a

Re: svn commit: r278154 - head/lib/msun/src

2015-02-03 Thread Bruce Evans
On Tue, 3 Feb 2015, Pedro Giffuni wrote: On 03/02/2015 10:38 a.m., Bruce Evans wrote: Please trim quotes. [... quotes truncated] You mean, take a step backwards to something that is harder to understand. Modified: head/lib/msun/src/s_scalbln.c

Re: svn commit: r278154 - head/lib/msun/src

2015-02-03 Thread Bruce Evans
On Tue, 3 Feb 2015, Steve Kargl wrote: On Wed, Feb 04, 2015 at 02:38:40AM +1100, Bruce Evans wrote: On Tue, 3 Feb 2015, Pedro F. Giffuni wrote: Log: Reduce confusion in scalbnl() family of functions. The changes unrelated to the bug in r277948 made the code very difficult to understand to

svn commit: r278165 - head/sys/dev/fe

2015-02-03 Thread Warner Losh
Author: imp Date: Tue Feb 3 18:59:52 2015 New Revision: 278165 URL: https://svnweb.freebsd.org/changeset/base/278165 Log: Silence a coverity warning about ignoring a return value. We do, but we also know that it "can't fail" given the single-threaded nature of device enumeration. Go ahead a

Re: svn commit: r278154 - head/lib/msun/src

2015-02-03 Thread Steve Kargl
On Wed, Feb 04, 2015 at 04:37:14AM +1100, Bruce Evans wrote: > On Tue, 3 Feb 2015, Steve Kargl wrote: > > > -#include > > +#include > > #include > > > > +#defineFLT_LARGE FLT_MAX_EXP - FLT_MIN_EXP + FLT_MANT_DIG > > +#defineFLT_SMALL FLT_MIN_EXP - FLT_MAX_EXP > > +#define

svn commit: r278166 - in head/sys/cddl: contrib/opensolaris/uts/common/dtrace dev/dtrace

2015-02-03 Thread Pedro F. Giffuni
Author: pfg Date: Tue Feb 3 19:39:53 2015 New Revision: 278166 URL: https://svnweb.freebsd.org/changeset/base/278166 Log: MFV r266993: 4469 DTrace helper tracing should be dynamic Reference: https://illumos.org/issues/4469 Obtained from:Illumos Phabric: D1551

svn commit: r278167 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2015-02-03 Thread Pedro F. Giffuni
Author: pfg Date: Tue Feb 3 20:06:30 2015 New Revision: 278167 URL: https://svnweb.freebsd.org/changeset/base/278167 Log: MFV r266995: 4767 dtrace_probe() always has the timestamp Reference: https://illumos.org/issues/4767 Obtained from:Illumos MFC after:2 weeks

svn commit: r278172 - head/usr.sbin/pkg

2015-02-03 Thread Baptiste Daroussin
Author: bapt Date: Wed Feb 4 00:10:57 2015 New Revision: 278172 URL: https://svnweb.freebsd.org/changeset/base/278172 Log: Plug resources leak CID: 1125813 CID: 1125807 CID: 1125808 MFC after:1 week Modified: head/usr.sbin/pkg/pkg.c Modified: head/u

svn commit: r278173 - head/usr.sbin/pkg

2015-02-03 Thread Baptiste Daroussin
Author: bapt Date: Wed Feb 4 00:18:06 2015 New Revision: 278173 URL: https://svnweb.freebsd.org/changeset/base/278173 Log: Test the return of fetchParseURL(3) CID: 1125811 MFC after:1 week Modified: head/usr.sbin/pkg/pkg.c Modified: head/usr.sbin/pkg/pkg.c ==

Re: svn commit: r278108 - head/sys/dev/gpio

2015-02-03 Thread Warner Losh
> On Feb 2, 2015, at 1:18 PM, Nathan Whitehorn wrote: > > On 02/02/15 12:08, Ian Lepore wrote: >> On Mon, 2015-02-02 at 11:24 -0800, Nathan Whitehorn wrote: >>> Please don't condition things like this on FDT. They are useful on Open >>> Firmware systems too. >>> -Nathan >>> >> >> Is there some

svn commit: r278182 - in head: . lib lib/libpam/modules share/mk tools/build/options usr.sbin/ppp

2015-02-03 Thread Garrett Cooper
Author: ngie Date: Wed Feb 4 06:53:45 2015 New Revision: 278182 URL: https://svnweb.freebsd.org/changeset/base/278182 Log: Conditionalize building radius support into libpam, ppp, etc via MK_RADIUS_SUPPORT MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Added: head/too