Re: svn commit: r255187 - in head/sys: conf crypto/aesni modules/aesni

2013-09-10 Thread David O'Brien
On Tue, Sep 03, 2013 at 06:31:23PM +, John-Mark Gurney wrote: Log: Use the fact that the AES-NI instructions can be pipelined to improve performance... Use SSE2 instructions for calculating the XTS tweek factor... Let the compiler do more work and handle register allocation by

Re: svn commit: r255187 - in head/sys: conf crypto/aesni modules/aesni

2013-09-10 Thread John-Mark Gurney
David O'Brien wrote this message on Mon, Sep 09, 2013 at 23:01 -0700: On Tue, Sep 03, 2013 at 06:31:23PM +, John-Mark Gurney wrote: Log: Use the fact that the AES-NI instructions can be pipelined to improve performance... Use SSE2 instructions for calculating the XTS tweek

Re: svn commit: r255426 - in head: lib/libc/sys sys/compat/freebsd32 sys/compat/linux sys/compat/svr4 sys/dev/drm2/i915 sys/i386/ibcs2 sys/i386/linux sys/ia64/ia32 sys/kern sys/sparc64/sparc64 sys/sys

2013-09-10 Thread Alexey Dokuchaev
On Mon, Sep 09, 2013 at 06:12:00PM +, John Baldwin wrote: New Revision: 255426 URL: http://svnweb.freebsd.org/changeset/base/255426 Log: [...] To facilitate this, add a new parameter to vm_map_find() that specifies an optional maximum virtual address. While here, fix several

Re: svn commit: r255426 - in head: lib/libc/sys sys/compat/freebsd32 sys/compat/linux sys/compat/svr4 sys/dev/drm2/i915 sys/i386/ibcs2 sys/i386/linux sys/ia64/ia32 sys/kern sys/sparc64/sparc64 sys/sys

2013-09-10 Thread Ivan Klymenko
В Tue, 10 Sep 2013 09:23:23 + Alexey Dokuchaev da...@freebsd.org пишет: This commit breaks NVidia driver port and emulators/virtualbox-ose-kmod* too ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To

svn commit: r255442 - in head/sys: fs/nullfs kern net netinet6 netnatm

2013-09-10 Thread Dag-Erling Smørgrav
Author: des Date: Tue Sep 10 10:05:59 2013 New Revision: 255442 URL: http://svnweb.freebsd.org/changeset/base/255442 Log: Fix the length calculation for the final block of a sendfile(2) transmission which could be tricked into rounding up to the nearest page size, leaking up to a page of

svn commit: r255443 - in stable/9/sys: fs/nullfs kern net netinet6 netnatm

2013-09-10 Thread Dag-Erling Smørgrav
Author: des Date: Tue Sep 10 10:07:21 2013 New Revision: 255443 URL: http://svnweb.freebsd.org/changeset/base/255443 Log: Fix the length calculation for the final block of a sendfile(2) transmission which could be tricked into rounding up to the nearest page size, leaking up to a page of

svn commit: r255444 - in releng/9.2/sys: conf fs/nullfs net netinet6 netnatm

2013-09-10 Thread Dag-Erling Smørgrav
Author: des Date: Tue Sep 10 10:08:20 2013 New Revision: 255444 URL: http://svnweb.freebsd.org/changeset/base/255444 Log: In IPv6 and NetATM, stop SIOCSIFADDR, SIOCSIFBRDADDR, SIOCSIFDSTADDR and SIOCSIFNETMASK at the socket layer rather than pass them on to the link layer without validation

svn commit: r255445 - in stable/8/sys: fs/nullfs net netinet6 netnatm

2013-09-10 Thread Dag-Erling Smørgrav
Author: des Date: Tue Sep 10 10:12:09 2013 New Revision: 255445 URL: http://svnweb.freebsd.org/changeset/base/255445 Log: In IPv6 and NetATM, stop SIOCSIFADDR, SIOCSIFBRDADDR, SIOCSIFDSTADDR and SIOCSIFNETMASK at the socket layer rather than pass them on to the link layer without validation

svn commit: r255446 - in releng/8.3: . sys/conf sys/fs/nullfs sys/net sys/netinet6 sys/netnatm

2013-09-10 Thread Dag-Erling Smørgrav
still needs work to become production ready. +20130910: p11 FreeBSD-SA-13:12.ifioctl + FreeBSD-SA-13:13.nullfs + + In IPv6 and NetATM, stop SIOCSIFADDR, SIOCSIFBRDADDR, + SIOCSIFDSTADDR and SIOCSIFNETMASK at the socket layer rather + than pass them

svn commit: r255447 - in releng/8.4: . sys/conf sys/fs/nullfs sys/net sys/netinet6 sys/netnatm

2013-09-10 Thread Dag-Erling Smørgrav
still needs work to become production ready. +20130910: p4 FreeBSD-SA-13:12.ifioctl + FreeBSD-SA-13:13.nullfs + + In IPv6 and NetATM, stop SIOCSIFADDR, SIOCSIFBRDADDR, + SIOCSIFDSTADDR and SIOCSIFNETMASK at the socket layer rather + than pass them

svn commit: r255448 - in releng/9.1: . sys/conf sys/fs/nullfs sys/net sys/netinet6 sys/netnatm

2013-09-10 Thread Dag-Erling Smørgrav
running portupgrade. +20130910: p7 FreeBSD-SA-13:12.ifioctl + FreeBSD-SA-13:13.nullfs + + In IPv6 and NetATM, stop SIOCSIFADDR, SIOCSIFBRDADDR, + SIOCSIFDSTADDR and SIOCSIFNETMASK at the socket layer rather + than pass them on to the link layer without

svn commit: r255449 - head/sys/sys

2013-09-10 Thread Gleb Smirnoff
Author: glebius Date: Tue Sep 10 10:38:15 2013 New Revision: 255449 URL: http://svnweb.freebsd.org/changeset/base/255449 Log: Make a bump for r255426. Approved by: re (gjb) Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

Re: svn commit: r255426 - in head: lib/libc/sys sys/compat/freebsd32 sys/compat/linux sys/compat/svr4 sys/dev/drm2/i915 sys/i386/ibcs2 sys/i386/linux sys/ia64/ia32 sys/kern sys/sparc64/sparc64 sys/sys

2013-09-10 Thread Gleb Smirnoff
On Tue, Sep 10, 2013 at 12:33:44PM +0300, Ivan Klymenko wrote: I В Tue, 10 Sep 2013 09:23:23 + I Alexey Dokuchaev da...@freebsd.org пишет: I I This commit breaks NVidia driver port I and emulators/virtualbox-ose-kmod* too I've bumped to 155 in r255449. Please fix the precious ports :)

Re: svn commit: r255187 - in head/sys: conf crypto/aesni modules/aesni

2013-09-10 Thread Konstantin Belousov
On Mon, Sep 09, 2013 at 11:41:49PM -0700, John-Mark Gurney wrote: David O'Brien wrote this message on Mon, Sep 09, 2013 at 23:01 -0700: On Tue, Sep 03, 2013 at 06:31:23PM +, John-Mark Gurney wrote: Log: Use the fact that the AES-NI instructions can be pipelined to improve

Re: svn commit: r255437 - in head: cddl/contrib/opensolaris/lib/libzpool/common cddl/contrib/opensolaris/lib/libzpool/common/sys sys/cddl/compat/opensolaris/sys sys/cddl/contrib/opensolaris/uts/common

2013-09-10 Thread Davide Italiano
On Tue, Sep 10, 2013 at 3:46 AM, Xin LI delp...@freebsd.org wrote: [snip] +static clock_t +cv_timedwait_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, hrtime_t res, +int flag) +{ + sbintime_t sbt; + sbintime_t pr; + + sbt = tim * SBT_1NS; + pr = res *

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

2013-09-10 Thread Cy Schubert
Author: cy Date: Tue Sep 10 13:48:33 2013 New Revision: 255450 URL: http://svnweb.freebsd.org/changeset/base/255450 Log: ipfilter 5.1.2 no longer supports sysctl. Use ipf -V to determine if available (the kernel module is loaded or compiled into the kernel). Approved by: glebius

svn commit: r255451 - head/tools/regression/sockets/sendfile

2013-09-10 Thread Ed Maste
Author: emaste Date: Tue Sep 10 13:51:19 2013 New Revision: 255451 URL: http://svnweb.freebsd.org/changeset/base/255451 Log: Add a sendfile regression test for transmit length file size. This test identified the issue fixed in FreeBSD-SA-13:11.sendfile. Sponsored by: The FreeBSD

Re: svn commit: r255439 - head/sys/dev/cpuctl

2013-09-10 Thread Matthew Fleming
On Mon, Sep 9, 2013 at 10:17 PM, Konstantin Belousov k...@freebsd.orgwrote: Author: kib Date: Tue Sep 10 05:17:53 2013 New Revision: 255439 URL: http://svnweb.freebsd.org/changeset/base/255439 Log: Call free() on the pointer returned from malloc(). Reported and tested by:

Re: svn commit: r255439 - head/sys/dev/cpuctl

2013-09-10 Thread Konstantin Belousov
On Tue, Sep 10, 2013 at 06:09:54PM +0300, Konstantin Belousov wrote: On Tue, Sep 10, 2013 at 07:29:51AM -0700, Matthew Fleming wrote: I don't know exactly what the stock malloc(9) will return, but memguard(9), under its default mode with vm.memguard.options having MG_GUARD_AROUND set will

Re: svn commit: r255439 - head/sys/dev/cpuctl

2013-09-10 Thread Konstantin Belousov
On Tue, Sep 10, 2013 at 07:29:51AM -0700, Matthew Fleming wrote: I don't know exactly what the stock malloc(9) will return, but memguard(9), under its default mode with vm.memguard.options having MG_GUARD_AROUND set will align the returned pointer to only 16 bytes. When I added that feature I

Re: svn commit: r255439 - head/sys/dev/cpuctl

2013-09-10 Thread John-Mark Gurney
Konstantin Belousov wrote this message on Tue, Sep 10, 2013 at 05:17 +: Author: kib Date: Tue Sep 10 05:17:53 2013 New Revision: 255439 URL: http://svnweb.freebsd.org/changeset/base/255439 Log: Call free() on the pointer returned from malloc(). We really should add a KASSERT for

Re: svn commit: r255187 - in head/sys: conf crypto/aesni modules/aesni

2013-09-10 Thread David O'Brien
On Mon, Sep 09, 2013 at 11:41:49PM -0700, John-Mark Gurney wrote: David O'Brien wrote this message on Mon, Sep 09, 2013 at 23:01 -0700: Please back that out until you have an understand of what the real problem is... Folks use FreeBSD for real work -- I have a window of opportunity to install

svn commit: r255452 - in head/sys: conf modules/aesni

2013-09-10 Thread David E. O'Brien
Author: obrien Date: Tue Sep 10 16:50:13 2013 New Revision: 255452 URL: http://svnweb.freebsd.org/changeset/base/255452 Log: Back out r255440. /usr/bin/gcc @r255185 (2013-09-03) can build this. Approved by: re (kib) Modified: head/sys/conf/files.amd64 head/sys/conf/files.i386

Re: svn commit: r254882 - head/sys/dev/pci

2013-09-10 Thread Jean-Sébastien Pédron
Le 09/09/2013 17:51, John Baldwin a écrit : Ok, let's punt on changing the API perhaps, but use the vgapci softc to find the resource: This patch builds for me, but I can't tell if it works, as my computer only uses the pmap_mapbios() case. That's also why I never noticed the bogus behavior

Re: svn commit: r255426 - in head: lib/libc/sys sys/compat/freebsd32 sys/compat/linux sys/compat/svr4 sys/dev/drm2/i915 sys/i386/ibcs2 sys/i386/linux sys/ia64/ia32 sys/kern sys/sparc64/sparc64 sys/sys

2013-09-10 Thread John Baldwin
On Tuesday, September 10, 2013 5:23:23 am Alexey Dokuchaev wrote: On Mon, Sep 09, 2013 at 06:12:00PM +, John Baldwin wrote: New Revision: 255426 URL: http://svnweb.freebsd.org/changeset/base/255426 Log: [...] To facilitate this, add a new parameter to vm_map_find() that

Re: svn commit: r254882 - head/sys/dev/pci

2013-09-10 Thread John Baldwin
On Tuesday, September 10, 2013 1:45:40 pm Jean-Sébastien Pédron wrote: Le 09/09/2013 17:51, John Baldwin a écrit : Ok, let's punt on changing the API perhaps, but use the vgapci softc to find the resource: This patch builds for me, but I can't tell if it works, as my computer only uses

Re: svn commit: r255187 - in head/sys: conf crypto/aesni modules/aesni

2013-09-10 Thread John Baldwin
On Tuesday, September 10, 2013 12:51:27 pm David O'Brien wrote: On Mon, Sep 09, 2013 at 11:41:49PM -0700, John-Mark Gurney wrote: David O'Brien wrote this message on Mon, Sep 09, 2013 at 23:01 -0700: Please back that out until you have an understand of what the real problem is... Folks

svn commit: r255454 - head/tools

2013-09-10 Thread Dag-Erling Smørgrav
Author: des Date: Tue Sep 10 18:34:38 2013 New Revision: 255454 URL: http://svnweb.freebsd.org/changeset/base/255454 Log: Make this more deterministic by sorting the libraries before processing them and ensuring that we always use the samme collation rules. Approved by: re (gjb)

svn commit: r255456 - releng/9.2/sys/kern

2013-09-10 Thread Glen Barber
Author: gjb Date: Tue Sep 10 19:00:32 2013 New Revision: 255456 URL: http://svnweb.freebsd.org/changeset/base/255456 Log: Reintegrate r250907 (previously reverted as r254754) plus MFS r254947, r255443: r250907 (scottl): MFC r248830, r250027, r250409: Several fixes and improvements

svn commit: r255455 - in head: kerberos5 kerberos5/lib/libheimipcc kerberos5/lib/libheimipcs kerberos5/lib/libkrb5 kerberos5/libexec/digest-service kerberos5/libexec/kcm share/mk tools/build/mk

2013-09-10 Thread Dag-Erling Smørgrav
Author: des Date: Tue Sep 10 18:40:43 2013 New Revision: 255455 URL: http://svnweb.freebsd.org/changeset/base/255455 Log: Clean up the Kerberos build by turning libheimipcc and libheimipcs into private shared libraries, instead of hacked-together archives of PIC objects. This makes it

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

2013-09-10 Thread Baptiste Daroussin
Author: bapt Date: Tue Sep 10 20:56:01 2013 New Revision: 255457 URL: http://svnweb.freebsd.org/changeset/base/255457 Log: Add support to detect arm vs armv6 There are two different versions of the ARM ABI depending on the TARGET_ARCH. As these are sligntly different a package built for

Re: svn commit: r255067 - head/sys/kern

2013-09-10 Thread Davide Italiano
== --- head/sys/kern/kern_synch.c Fri Aug 30 10:10:22 2013(r255066) +++ head/sys/kern/kern_synch.c Fri Aug 30 10:39:56 2013(r255067) @@ -356,10 +356,7 @@ msleep_spin_sbt(void *ident, struct mtx int

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

2013-09-10 Thread Colin Percival
Author: cperciva Date: Tue Sep 10 21:16:18 2013 New Revision: 255459 URL: http://svnweb.freebsd.org/changeset/base/255459 Log: Remove documentation describing functionality which geom(4) does not, in fact, provide. Reviewed by: phk MFC after:3 days Approved by: re (gjb)

Re: svn commit: r255067 - head/sys/kern

2013-09-10 Thread Davide Italiano
On Tue, Sep 10, 2013 at 11:16 PM, Davide Italiano dav...@freebsd.org wrote: == --- head/sys/kern/kern_synch.c Fri Aug 30 10:10:22 2013(r255066) +++ head/sys/kern/kern_synch.c Fri Aug 30 10:39:56 2013

svn commit: r255453 - head

2013-09-10 Thread John-Mark Gurney
Author: jmg Date: Tue Sep 10 17:26:09 2013 New Revision: 255453 URL: http://svnweb.freebsd.org/changeset/base/255453 Log: add note about gcc and aesni... Approved by: re (gjb, kib) Modified: head/UPDATING Modified: head/UPDATING

svn commit: r255460 - in head: . secure/lib/libssh secure/libexec/sftp-server secure/libexec/ssh-keysign secure/libexec/ssh-pkcs11-helper secure/usr.bin/scp secure/usr.bin/sftp secure/usr.bin/ssh s...

2013-09-10 Thread Dag-Erling Smørgrav
Author: des Date: Tue Sep 10 22:26:11 2013 New Revision: 255460 URL: http://svnweb.freebsd.org/changeset/base/255460 Log: Clean up the OpenSSH build. It is now possible to build most components as static binaries, if desired. The one exception is sshd, which runs into trouble due to

svn commit: r255461 - head/crypto/openssh

2013-09-10 Thread Dag-Erling Smørgrav
Author: des Date: Tue Sep 10 22:30:22 2013 New Revision: 255461 URL: http://svnweb.freebsd.org/changeset/base/255461 Log: Change the default value of VerifyHostKeyDNS to yes if compiled with LDNS. With that setting, OpenSSH will silently accept host keys that match verified SSHFP records.

svn commit: r255462 - head

2013-09-10 Thread Dag-Erling Smørgrav
Author: des Date: Tue Sep 10 22:40:38 2013 New Revision: 255462 URL: http://svnweb.freebsd.org/changeset/base/255462 Log: Missed in r255386: libssh is more than just the .so file itself. Approved by: re (blanket) Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc

svn commit: r255463 - head/usr.bin/bmake

2013-09-10 Thread Simon J. Gerraty
Author: sjg Date: Tue Sep 10 23:31:38 2013 New Revision: 255463 URL: http://svnweb.freebsd.org/changeset/base/255463 Log: Stick to traditional DEFAULT_SYS_PATH (/usr/share/mk) Reviewed by: obrien Approved by: re Modified: head/usr.bin/bmake/Makefile Modified:

svn commit: r255465 - in releng/9.2: release sys/conf

2013-09-10 Thread Glen Barber
Author: gjb Date: Wed Sep 11 00:42:50 2013 New Revision: 255465 URL: http://svnweb.freebsd.org/changeset/base/255465 Log: Update releng/9.2 to -RC4. Approved by: re (implicit) Modified: releng/9.2/release/Makefile.sysinstall releng/9.2/sys/conf/newvers.sh Modified:

Re: svn commit: r255457 - head/usr.sbin/pkg

2013-09-10 Thread Nathan Whitehorn
On 09/10/13 15:56, Baptiste Daroussin wrote: Author: bapt Date: Tue Sep 10 20:56:01 2013 New Revision: 255457 URL: http://svnweb.freebsd.org/changeset/base/255457 Log: Add support to detect arm vs armv6 There are two different versions of the ARM ABI depending on the TARGET_ARCH.

Re: svn commit: r255457 - head/usr.sbin/pkg

2013-09-10 Thread Baptiste Daroussin
On Tue, Sep 10, 2013 at 10:29:38PM -0500, Nathan Whitehorn wrote: On 09/10/13 15:56, Baptiste Daroussin wrote: Author: bapt Date: Tue Sep 10 20:56:01 2013 New Revision: 255457 URL: http://svnweb.freebsd.org/changeset/base/255457 Log: Add support to detect arm vs armv6