svn commit: r249974 - head/sys/geom/raid

2013-04-26 Thread Alexander Motin
Author: mav Date: Sat Apr 27 06:57:39 2013 New Revision: 249974 URL: http://svnweb.freebsd.org/changeset/base/249974 Log: Return "descr" field alike to "Intel RAID1 volume" for GEOM RAID to make it look better in bsdinstall. Modified: head/sys/geom/raid/g_raid.c Modified: head/sys/geom/rai

svn commit: r249973 - head/sys/powerpc/wii

2013-04-26 Thread Rui Paulo
Author: rpaulo Date: Sat Apr 27 06:54:49 2013 New Revision: 249973 URL: http://svnweb.freebsd.org/changeset/base/249973 Log: Add reset support to the Wii. Modified: head/sys/powerpc/wii/platform_wii.c head/sys/powerpc/wii/wii_bus.c Modified: head/sys/powerpc/wii/platform_wii.c

svn commit: r249971 - in head/secure: . lib/libcrypto

2013-04-26 Thread Ed Schouten
Author: ed Date: Sat Apr 27 05:44:39 2013 New Revision: 249971 URL: http://svnweb.freebsd.org/changeset/base/249971 Log: Remove references to MK_IDEA. As of r249959, we want to build with IDEA support enabled unconditionally. As this change removed the MK_IDEA flag, update these Makefil

svn commit: r249970 - head/sbin/hastd

2013-04-26 Thread Ed Schouten
Author: ed Date: Sat Apr 27 05:06:25 2013 New Revision: 249970 URL: http://svnweb.freebsd.org/changeset/base/249970 Log: Partially revert my last change. I forgot that I still had a locally applied patch to my copy of Clang that needs to be pushed in before we should use C11 atomics. Mod

svn commit: r249969 - head/sbin/hastd

2013-04-26 Thread Ed Schouten
Author: ed Date: Sat Apr 27 05:01:29 2013 New Revision: 249969 URL: http://svnweb.freebsd.org/changeset/base/249969 Log: Use C11 instead of our non-standard . Reviewed by: pjd Modified: head/sbin/hastd/primary.c head/sbin/hastd/refcnt.h Modified: head/sbin/hastd/primary.c ==

svn commit: r249968 - head/lib/libcompiler_rt

2013-04-26 Thread Ed Schouten
Author: ed Date: Sat Apr 27 04:56:02 2013 New Revision: 249968 URL: http://svnweb.freebsd.org/changeset/base/249968 Log: Unbreak on ARM + Clang. Clang only supports atomic operations for ARMv6. For non-ARMv6, we still need to emit these functions. Clang's prototype for these functio

svn commit: r249966 - head/tools/build/options

2013-04-26 Thread Eitan Adler
Author: eadler Date: Sat Apr 27 04:09:09 2013 New Revision: 249966 URL: http://svnweb.freebsd.org/changeset/base/249966 Log: Add a comma to satisfy Igor. Modified: head/tools/build/options/WITHOUT_JAIL head/tools/build/options/WITHOUT_LEGACY_CONSOLE Modified: head/tools/build/options/WITHO

svn commit: r249965 - head/sys/powerpc/wii

2013-04-26 Thread Rui Paulo
Author: rpaulo Date: Sat Apr 27 01:57:45 2013 New Revision: 249965 URL: http://svnweb.freebsd.org/changeset/base/249965 Log: Fix the frambuffer issues by calling pmap_mapdev() in the attach routine. This will make the framebuffer region uncacheable and it will create a proper KVA -> RAM mapp

Re: svn commit: r249930 - head/sys/geom

2013-04-26 Thread Alexey Dokuchaev
On Fri, Apr 26, 2013 at 03:43:24PM +, Steven Hartland wrote: > New Revision: 249930 > URL: http://svnweb.freebsd.org/changeset/base/249930 > > Log: > [...] > In tests on a Intel 520 120GB FW: 400i disk it improved the delete > throughput > from 1.6GB/s to over 2.6GB/s on a full disk de

svn commit: r249960 - in head: . tools/build/mk

2013-04-26 Thread Eitan Adler
"ln -s 'abort:false,junk:false' /etc/malloc.conf".) 20130426: + The WITHOUT_IDEA option has been removed because + the IDEA patent expired. + +20130426: The sysctl which controls TRIM support under ZFS has been renamed from

Re: svn commit: r249959 - in head: share/mk tools/build/options tools/tools/sysbuild

2013-04-26 Thread Eitan Adler
On 26 April 2013 19:27, Glen Barber wrote: > On Fri, Apr 26, 2013 at 11:24:41PM +, Eitan Adler wrote: >> Author: eadler >> Date: Fri Apr 26 23:24:41 2013 >> New Revision: 249959 >> URL: http://svnweb.freebsd.org/changeset/base/249959 >> >> Log: >> Remove the WITH_IDEA option and build it unc

Re: svn commit: r249959 - in head: share/mk tools/build/options tools/tools/sysbuild

2013-04-26 Thread Glen Barber
On Fri, Apr 26, 2013 at 07:27:24PM -0400, Glen Barber wrote: > On Fri, Apr 26, 2013 at 11:24:41PM +, Eitan Adler wrote: > > Author: eadler > > Date: Fri Apr 26 23:24:41 2013 > > New Revision: 249959 > > URL: http://svnweb.freebsd.org/changeset/base/249959 > > > > Log: > > Remove the WITH_IDE

Re: svn commit: r249959 - in head: share/mk tools/build/options tools/tools/sysbuild

2013-04-26 Thread Glen Barber
On Fri, Apr 26, 2013 at 11:24:41PM +, Eitan Adler wrote: > Author: eadler > Date: Fri Apr 26 23:24:41 2013 > New Revision: 249959 > URL: http://svnweb.freebsd.org/changeset/base/249959 > > Log: > Remove the WITH_IDEA option and build it unconditionally. > The European version of the patent

svn commit: r249959 - in head: share/mk tools/build/options tools/tools/sysbuild

2013-04-26 Thread Eitan Adler
Author: eadler Date: Fri Apr 26 23:24:41 2013 New Revision: 249959 URL: http://svnweb.freebsd.org/changeset/base/249959 Log: Remove the WITH_IDEA option and build it unconditionally. The European version of the patent expired in 2011. The US version of the patent expired in 2012 or prior.

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

2013-04-26 Thread Adrian Chadd
Author: adrian Date: Fri Apr 26 22:22:38 2013 New Revision: 249958 URL: http://svnweb.freebsd.org/changeset/base/249958 Log: Conditionally compile this only if ATH_DEBUG is defined. Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c ==

Re: svn commit: r249921 - in head: . sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2013-04-26 Thread Alfred Perlstein
ING Fri Apr 26 07:00:49 2013 (r249920) +++ head/UPDATING Fri Apr 26 11:24:20 2013 (r249921) @@ -31,6 +31,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 10 disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20130426: +

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

2013-04-26 Thread Adrian Chadd
Author: adrian Date: Fri Apr 26 21:51:17 2013 New Revision: 249957 URL: http://svnweb.freebsd.org/changeset/base/249957 Log: Dump the entire TXQ descriptor contents during a reset, rather than only completed descriptors. Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath

Re: svn commit: r249921 - in head: . sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2013-04-26 Thread Steven Hartland
the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20130426: + The sysctl which controls TRIM support under ZFS has been renamed + from vfs.zfs.trim_disable -> vfs.zfs.trim.enabled and has been + enabled by default. + 20130

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

2013-04-26 Thread Jilles Tjoelker
Author: jilles Date: Fri Apr 26 21:43:42 2013 New Revision: 249956 URL: http://svnweb.freebsd.org/changeset/base/249956 Log: sysconf(3): Correct the description of _SC_OPEN_MAX. Reported by: bde MFC after:1 week Modified: head/lib/libc/gen/sysconf.3 Modified: head/lib/libc/gen/sy

svn commit: r249955 - in head/usr.sbin/bsdconfig/share: . media

2013-04-26 Thread Devin Teske
Author: dteske Date: Fri Apr 26 21:28:24 2013 New Revision: 249955 URL: http://svnweb.freebsd.org/changeset/base/249955 Log: Properly sanitize --menu results (guards against Gtk library warnings from X11 side of things from bleeding into Xdialog(1) stderr output). It should be duely noted th

svn commit: r249954 - in head/usr.sbin/bsdconfig: share startup

2013-04-26 Thread Devin Teske
Author: dteske Date: Fri Apr 26 21:19:05 2013 New Revision: 249954 URL: http://svnweb.freebsd.org/changeset/base/249954 Log: Comments. Modified: head/usr.sbin/bsdconfig/share/device.subr head/usr.sbin/bsdconfig/startup/rcdelete Modified: head/usr.sbin/bsdconfig/share/device.subr ==

Re: svn commit: r249921 - in head: . sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2013-04-26 Thread Alfred Perlstein
e,junk:false' /etc/malloc.conf".) +20130426: + The sysctl which controls TRIM support under ZFS has been renamed + from vfs.zfs.trim_disable -> vfs.zfs.trim.enabled and has been + enabled by default. + 20130425: The mergemaster command now uses the default

svn commit: r249952 - in head/share: examples/etc man/man5

2013-04-26 Thread Bryan Drewery
Author: bdrewery (ports committer) Date: Fri Apr 26 19:56:14 2013 New Revision: 249952 URL: http://svnweb.freebsd.org/changeset/base/249952 Log: Fix examples for overriding INSTALL to not suggest hardcoding 'install' since it breaks buildworld after the introduction and use of 'install -l' i

svn commit: r249951 - head/sbin/devd

2013-04-26 Thread Alan Somers
Author: asomers Date: Fri Apr 26 19:49:37 2013 New Revision: 249951 URL: http://svnweb.freebsd.org/changeset/base/249951 Log: According to devctl(4), clients must read events whole; they may not piece them together from multiple reads(). It's as if /dev/devctl is a datagram device instead o

Re: svn commit: r249859 - head/lib/libc/sys

2013-04-26 Thread Bruce Evans
On Fri, 26 Apr 2013, Jilles Tjoelker wrote: On Thu, Apr 25, 2013 at 09:56:01PM +1000, Bruce Evans wrote: On Wed, 24 Apr 2013, Jilles Tjoelker wrote: Log: getdtablesize(2): Describe what this function actually does. ... .Sh NAME .Nm getdtablesize -.Nd get descriptor table size +.Nd get file

svn commit: r249950 - head/bin/rm

2013-04-26 Thread Eitan Adler
Author: eadler Date: Fri Apr 26 17:56:35 2013 New Revision: 249950 URL: http://svnweb.freebsd.org/changeset/base/249950 Log: Add two more 'static' qualifiers Modified: head/bin/rm/rm.c Modified: head/bin/rm/rm.c == -

svn commit: r249949 - head/bin/rm

2013-04-26 Thread Eitan Adler
Author: eadler Date: Fri Apr 26 17:45:40 2013 New Revision: 249949 URL: http://svnweb.freebsd.org/changeset/base/249949 Log: Take some improvements from DragonFlyBSD: - add const where appropriate - add static where appropriate - fix a whitespace issues Reviewed by:

svn commit: r249948 - head/bin/rm

2013-04-26 Thread Eitan Adler
Author: eadler Date: Fri Apr 26 17:45:37 2013 New Revision: 249948 URL: http://svnweb.freebsd.org/changeset/base/249948 Log: Add -x option to avoid crossing mount points when removing a hierarchy. Discussed on: -hackers Inspired by: DragonflyBSD MFC After:1 week Modified: head/b

svn commit: r249947 - head/sys/dev/ciss

2013-04-26 Thread Sean Bruno
Author: sbruno Date: Fri Apr 26 17:28:45 2013 New Revision: 249947 URL: http://svnweb.freebsd.org/changeset/base/249947 Log: Adjust the min comparison to look at the adjust value after subtraction, don't subtract 1 from the chosen value if we are going to use the configued value. Obtained

svn commit: r249946 - head/sys/boot/fdt/dts

2013-04-26 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Apr 26 17:27:53 2013 New Revision: 249946 URL: http://svnweb.freebsd.org/changeset/base/249946 Log: Move pinmux configuration to board-specific config. It will vary from board to board. Modified: head/sys/boot/fdt/dts/am335x.dtsi head/sys/boot/fdt/dts/beaglebon

svn commit: r249943 - head/sys/sys

2013-04-26 Thread Adrian Chadd
Author: adrian Date: Fri Apr 26 17:06:36 2013 New Revision: 249943 URL: http://svnweb.freebsd.org/changeset/base/249943 Log: Bump FreeBSD_version after glebius' changes. Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

Re: svn commit: r249925 - in head/sys: dev/iicbus dev/lmc dev/ppbus dev/usb/net net net80211 netatalk netgraph netinet netinet6 netpfil/ipfw netpfil/pf

2013-04-26 Thread Adrian Chadd
Hi, This breaks the ability to compile this stuff on -9. Like, you know, a bunch of vendors tend to do. It would have been nice for a quick review cycle when you change network APIs like this. Also, since you've changed an API, have you bumped FREEBSD_VERSION ? This is why I suggested you do i

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

2013-04-26 Thread Steven Hartland
Author: smh Date: Fri Apr 26 16:31:03 2013 New Revision: 249941 URL: http://svnweb.freebsd.org/changeset/base/249941 Log: Added automatic detection of non-rotating media which disables the use of BIO queue sorting, hence optimising performance for devices such as SSD's Reviewed by: sco

svn commit: r249940 - in head/sys: cam/ata cam/scsi geom

2013-04-26 Thread Steven Hartland
Author: smh Date: Fri Apr 26 16:22:54 2013 New Revision: 249940 URL: http://svnweb.freebsd.org/changeset/base/249940 Log: Teach GEOM and CAM about the difference between the max "size" of r/w and delete requests. sys/geom/geom_disk.h: - Added d_delmaxsize which represents the m

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

2013-04-26 Thread Steven Hartland
Author: smh Date: Fri Apr 26 16:17:04 2013 New Revision: 249939 URL: http://svnweb.freebsd.org/changeset/base/249939 Log: Added available delete methods discovery during device probe, including the maximum sizes for said methods, which are used when processing BIO_DELETE requests. This inclu

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

2013-04-26 Thread Steven Hartland
Author: smh Date: Fri Apr 26 16:11:03 2013 New Revision: 249937 URL: http://svnweb.freebsd.org/changeset/base/249937 Log: Refactored scsi_xpt use of device_has_vpd to generic scsi_vpd_supported_page so its available for use in generic scsi code. This is a pre-requirement for using VPD que

Re: svn commit: r249859 - head/lib/libc/sys

2013-04-26 Thread Jilles Tjoelker
On Thu, Apr 25, 2013 at 09:56:01PM +1000, Bruce Evans wrote: > On Wed, 24 Apr 2013, Jilles Tjoelker wrote: > > Log: > > getdtablesize(2): Describe what this function actually does. > > getdtablesize() returns the limit on new file descriptors; this > > says nothing about existing descriptors.

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

2013-04-26 Thread Steven Hartland
Author: smh Date: Fri Apr 26 15:59:19 2013 New Revision: 249934 URL: http://svnweb.freebsd.org/changeset/base/249934 Log: Updated TRIM calculations in cam/ata to be based off ATA_DSM_* defines Reviewed by: mav Approved by: pjd (mentor) MFC after:2 weeks Modified: head/sys/cam/a

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

2013-04-26 Thread Steven Hartland
Author: smh Date: Fri Apr 26 15:53:22 2013 New Revision: 249933 URL: http://svnweb.freebsd.org/changeset/base/249933 Log: Added the ability to send ATA identify and Data Set Management (DSM) TRIM commands to an ATA device attached via a SCSI control. sys/cam/scsi/scsi_all.c: - A

svn commit: r249931 - head/sys/sys

2013-04-26 Thread Steven Hartland
Author: smh Date: Fri Apr 26 15:46:09 2013 New Revision: 249931 URL: http://svnweb.freebsd.org/changeset/base/249931 Log: Added Dataset Management defines to be used by TRIM in cam ata and scsi to calculate the size of blocks. Reviewed by: mav Approved by: pjd (mentor) MFC after:

svn commit: r249930 - head/sys/geom

2013-04-26 Thread Steven Hartland
Author: smh Date: Fri Apr 26 15:43:24 2013 New Revision: 249930 URL: http://svnweb.freebsd.org/changeset/base/249930 Log: Added a sysctl (kern.geom.dev.delete_max_sectors) to control the maximum size of a delete request sent to the providing device performed by g_dev_ioctl. This allows t

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

2013-04-26 Thread Steven Hartland
Author: smh Date: Fri Apr 26 15:31:52 2013 New Revision: 249929 URL: http://svnweb.freebsd.org/changeset/base/249929 Log: Removed unneeded tests in dadeletemethodset changing it to return void Reviewed by: mav Approved by: pjd (mentor) MFC after:2 weeks Modified: head/sys/cam/s

svn commit: r249928 - head/share/man/man9

2013-04-26 Thread Gleb Smirnoff
Author: glebius Date: Fri Apr 26 13:18:07 2013 New Revision: 249928 URL: http://svnweb.freebsd.org/changeset/base/249928 Log: Document constantness of dst argument to if_output. Submitted by: pluknet Modified: head/share/man/man9/ifnet.9 Modified: head/share/man/man9/ifnet.9 ===

svn commit: r249927 - head/sys/conf

2013-04-26 Thread Gleb Smirnoff
Author: glebius Date: Fri Apr 26 13:03:22 2013 New Revision: 249927 URL: http://svnweb.freebsd.org/changeset/base/249927 Log: Add usie to LINT. Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES == --- head/

svn commit: r249926 - head/share/man/man9

2013-04-26 Thread Gleb Smirnoff
Author: glebius Date: Fri Apr 26 13:02:11 2013 New Revision: 249926 URL: http://svnweb.freebsd.org/changeset/base/249926 Log: On those machines that use critical(9) for counter(9) we need to include systm.h. Modified: head/share/man/man9/counter.9 Modified: head/share/man/man9/counter.9 ==

svn commit: r249925 - in head/sys: dev/iicbus dev/lmc dev/ppbus dev/usb/net net net80211 netatalk netgraph netinet netinet6 netpfil/ipfw netpfil/pf

2013-04-26 Thread Gleb Smirnoff
Author: glebius Date: Fri Apr 26 12:50:32 2013 New Revision: 249925 URL: http://svnweb.freebsd.org/changeset/base/249925 Log: Add const qualifier to the dst parameter of the ifnet if_output method. Modified: head/sys/dev/iicbus/if_ic.c head/sys/dev/lmc/if_lmc.c head/sys/dev/lmc/if_lmc.h

svn commit: r249924 - head/bin/df

2013-04-26 Thread Ulrich Spoerlein
Author: uqs Date: Fri Apr 26 12:27:30 2013 New Revision: 249924 URL: http://svnweb.freebsd.org/changeset/base/249924 Log: Don't appease clang static analyzer after all and roll back the free(3) of mntbuf ... again. There's no point in doing useless extra work when we're about to exit. S

Re: svn commit: r249894 - head/sys/netinet

2013-04-26 Thread Glen Barber
On Thu, Apr 25, 2013 at 12:42:09PM +, Gleb Smirnoff wrote: > Modified: head/sys/netinet/ip_output.c > == > --- head/sys/netinet/ip_output.c Thu Apr 25 12:05:17 2013 > (r249893) > +++ head/sys/netinet/ip_out

svn commit: r249921 - in head: . sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2013-04-26 Thread Steven Hartland
10 disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20130426: + The sysctl which controls TRIM support under ZFS has been renamed + from vfs.zfs.trim_disable -> vfs.zfs.trim.enabled and h

Re: svn commit: r249903 - head/sys/netinet

2013-04-26 Thread Gleb Smirnoff
On Fri, Apr 26, 2013 at 01:24:12AM -0700, Adrian Chadd wrote: A> On 26 April 2013 01:17, Gleb Smirnoff wrote: A> > On Thu, Apr 25, 2013 at 11:33:33AM -0700, Adrian Chadd wrote: A> > A> .. is it possible to trigger a remote DoS through mbuf exhaustion A> > A> somehow by exploiting this? A> > A> > Y

Re: svn commit: r249903 - head/sys/netinet

2013-04-26 Thread Adrian Chadd
On 26 April 2013 01:17, Gleb Smirnoff wrote: > On Thu, Apr 25, 2013 at 11:33:33AM -0700, Adrian Chadd wrote: > A> .. is it possible to trigger a remote DoS through mbuf exhaustion > A> somehow by exploiting this? > > Yes, from a connected network. Think its worth a full security announcement?

Re: svn commit: r249903 - head/sys/netinet

2013-04-26 Thread Gleb Smirnoff
On Thu, Apr 25, 2013 at 11:33:33AM -0700, Adrian Chadd wrote: A> .. is it possible to trigger a remote DoS through mbuf exhaustion A> somehow by exploiting this? Yes, from a connected network. -- Totus tuus, Glebius. ___ svn-src-head@freebsd.org mailin