svn commit: r261541 - in head/sys: conf dev/usb dev/usb/net modules/usb modules/usb/urndis

2014-02-06 Thread Hans Petter Selasky
Author: hselasky Date: Thu Feb 6 08:47:14 2014 New Revision: 261541 URL: http://svnweb.freebsd.org/changeset/base/261541 Log: Import USB RNDIS driver to FreeBSD from OpenBSD. Useful for so-called USB tethering. - Imported code from OpenBSD - Adapted code to FreeBSD - Removed some unused

svn commit: r261542 - head/usr.sbin/pwd_mkdb

2014-02-06 Thread Dag-Erling Smørgrav
Author: des Date: Thu Feb 6 09:57:27 2014 New Revision: 261542 URL: http://svnweb.freebsd.org/changeset/base/261542 Log: Add -p to the example (why isn't this the default?) MFC after:1 week Modified: head/usr.sbin/pwd_mkdb/pwd_mkdb.8 Modified: head/usr.sbin/pwd_mkdb/pwd_mkdb.8

svn commit: r261543 - head/sys/dev/usb/net

2014-02-06 Thread Hans Petter Selasky
Author: hselasky Date: Thu Feb 6 10:38:40 2014 New Revision: 261543 URL: http://svnweb.freebsd.org/changeset/base/261543 Log: Fix kernelbuild when full debugging features are enabled. Pointyhat:hselasky @ MFC after:2 weeks Modified: head/sys/dev/usb/net/if_urndis.c head/sys/

svn commit: r261544 - head/sys/dev/usb/net

2014-02-06 Thread Hans Petter Selasky
Author: hselasky Date: Thu Feb 6 10:47:47 2014 New Revision: 261544 URL: http://svnweb.freebsd.org/changeset/base/261544 Log: Resolve probe conflict for now. MFC after:2 weeks Modified: head/sys/dev/usb/net/if_urndis.c Modified: head/sys/dev/usb/net/if_urndis.c

svn commit: r261545 - stable/10/sys/netinet

2014-02-06 Thread Andrey V. Elsukov
Author: ae Date: Thu Feb 6 10:48:55 2014 New Revision: 261545 URL: http://svnweb.freebsd.org/changeset/base/261545 Log: MFC r260702 (by melifaro): Fix ipfw fwd for IPv4 traffic broken by r249894. Problem case: Original lookup returns route with GW set, so gw points to rte->rt

svn commit: r261546 - head/etc/devd

2014-02-06 Thread Hans Petter Selasky
Author: hselasky Date: Thu Feb 6 10:52:51 2014 New Revision: 261546 URL: http://svnweb.freebsd.org/changeset/base/261546 Log: Regenerate usb.conf MFC after:2 weeks Modified: head/etc/devd/usb.conf Modified: head/etc/devd/usb.conf

svn commit: r261547 - head/sys/teken

2014-02-06 Thread Aleksandr Rybalko
Author: ray Date: Thu Feb 6 11:38:39 2014 New Revision: 261547 URL: http://svnweb.freebsd.org/changeset/base/261547 Log: Fix crash on load of bigger font. It reduce width and height of terminal, but current cursor position stay bigger that terminal window size, so next input triggers assert

Re: svn commit: r261547 - head/sys/teken

2014-02-06 Thread Ronald Klop
On Thu, 06 Feb 2014 12:38:40 +0100, Aleksandr Rybalko wrote: Author: ray Date: Thu Feb 6 11:38:39 2014 New Revision: 261547 URL: http://svnweb.freebsd.org/changeset/base/261547 Log: Fix crash on load of bigger font. It reduce width and height of terminal, but current cursor position s

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

2014-02-06 Thread Christian Brueffer
Author: brueffer Date: Thu Feb 6 12:43:06 2014 New Revision: 261549 URL: http://svnweb.freebsd.org/changeset/base/261549 Log: Add a manpage for the urndis driver. Obtained from:OpenBSD Added: head/share/man/man4/urndis.4 (contents, props changed) Modified: head/share/man/man

svn commit: r261550 - head/tools/regression/sockets/unix_passfd

2014-02-06 Thread Gleb Smirnoff
Author: glebius Date: Thu Feb 6 13:18:10 2014 New Revision: 261550 URL: http://svnweb.freebsd.org/changeset/base/261550 Log: Add test case for kern/181741. Right now test fails. PR: 181741 Sponsored by: Nginx, Inc. Modified: head/tools/regression/sockets/unix_passfd/unix_pas

svn commit: r261551 - head/sys/teken

2014-02-06 Thread Aleksandr Rybalko
Author: ray Date: Thu Feb 6 13:28:06 2014 New Revision: 261551 URL: http://svnweb.freebsd.org/changeset/base/261551 Log: Fix typo. Pointed by: Ronald Klop Pointy hat: ray Sponsored by: The FreeBSD Foundation Modified: head/sys/teken/teken.c Modified: head/sys/teken/teken.c =

Re: svn commit: r261547 - head/sys/teken

2014-02-06 Thread Aleksandr Rybalko
On Thu, 06 Feb 2014 13:24:53 +0100 "Ronald Klop" wrote: > On Thu, 06 Feb 2014 12:38:40 +0100, Aleksandr Rybalko > wrote: > > > Author: ray > > Date: Thu Feb 6 11:38:39 2014 > > New Revision: 261547 > > URL: http://svnweb.freebsd.org/changeset/base/261547 > > > > Log: > > Fix crash on load

svn commit: r261552 - in head/sys/dev/vt: . hw/fb

2014-02-06 Thread Aleksandr Rybalko
Author: ray Date: Thu Feb 6 15:12:44 2014 New Revision: 261552 URL: http://svnweb.freebsd.org/changeset/base/261552 Log: Add two new vt(9) driver methods: vd_drawrect and vd_setpixel. Implement vd_drawrect and vd_setpixel for vt_fb driver. Sponsored by: The FreeBSD Foundation Modified:

svn commit: r261553 - head/sys/dev/vt

2014-02-06 Thread Aleksandr Rybalko
Author: ray Date: Thu Feb 6 15:16:38 2014 New Revision: 261553 URL: http://svnweb.freebsd.org/changeset/base/261553 Log: Add vt_set_border function to help to change border color. Use vt_set_border to reset color after font changed (different font size may change border sizes) Sponsore

svn commit: r261555 - head/usr.bin/units

2014-02-06 Thread David Malone
Author: dwmalone Date: Thu Feb 6 15:55:29 2014 New Revision: 261555 URL: http://svnweb.freebsd.org/changeset/base/261555 Log: Let units deal with Gas Mark and Stufe. Modified: head/usr.bin/units/units.lib Modified: head/usr.bin/units/units.lib ===

svn commit: r261558 - head/sys/dev/cxgbe

2014-02-06 Thread Scott Long
Author: scottl Date: Thu Feb 6 18:40:38 2014 New Revision: 261558 URL: http://svnweb.freebsd.org/changeset/base/261558 Log: Add a new sysctl, dev.cxgbe.N.rsrv_noflow, and a companion tunable, hw.cxgbe.rsrv_noflow. When set, queue 0 of the port is reserved for TX packets without a flowid.

Re: svn commit: r261216 - head/sys/dev/pccbb

2014-02-06 Thread John Baldwin
On Wednesday, February 05, 2014 7:26:33 pm Gavin Atkinson wrote: > On Tue, 4 Feb 2014, John Baldwin wrote: > > On Sunday, February 02, 2014 5:34:58 pm Gavin Atkinson wrote: > > > On Mon, 27 Jan 2014, John Baldwin wrote: > > > > Author: jhb > > > > Date: Mon Jan 27 19:49:52 2014 > > > > New Revision

svn commit: r261560 - in stable/10: lib/libc/gen lib/libc/sys sys/compat/freebsd32 sys/kern

2014-02-06 Thread Konstantin Belousov
Author: kib Date: Thu Feb 6 19:47:17 2014 New Revision: 261560 URL: http://svnweb.freebsd.org/changeset/base/261560 Log: MFC r261080: The posix_fallocate(2) syscall should return error number on error, without modifying errno. MFC r261290: The posix_madvise(3) and posix_fadvise(2) sh

svn commit: r261561 - in stable/9: lib/libc/gen lib/libc/sys sys/compat/freebsd32 sys/kern

2014-02-06 Thread Konstantin Belousov
Author: kib Date: Thu Feb 6 19:47:50 2014 New Revision: 261561 URL: http://svnweb.freebsd.org/changeset/base/261561 Log: MFC r261080: The posix_fallocate(2) syscall should return error number on error, without modifying errno. MFC r261290: The posix_madvise(3) and posix_fadvise(2) sh

svn commit: r261562 - in head/sys/arm: arm include

2014-02-06 Thread Andrew Turner
Author: andrew Date: Thu Feb 6 20:17:58 2014 New Revision: 261562 URL: http://svnweb.freebsd.org/changeset/base/261562 Log: Pass the kernel physical address to initarm through the boot param struct. Modified: head/sys/arm/arm/locore.S head/sys/arm/include/cpu.h Modified: head/sys/arm/arm/

svn commit: r261563 - head/sys/arm/arm

2014-02-06 Thread Andrew Turner
Author: andrew Date: Thu Feb 6 20:23:35 2014 New Revision: 261563 URL: http://svnweb.freebsd.org/changeset/base/261563 Log: Make functions only used in this file static, and remove vfp_enable as it is unused. Modified: head/sys/arm/arm/vfp.c Modified: head/sys/arm/arm/vfp.c ==

svn commit: r261564 - head/sys/arm/arm

2014-02-06 Thread Andrew Turner
Author: andrew Date: Thu Feb 6 20:26:36 2014 New Revision: 261564 URL: http://svnweb.freebsd.org/changeset/base/261564 Log: Fix __syscall on armeb EABI. As it returns a 64-bit value it needs to place 32-bit data in r1, not r0. 64-bit data is already packed correctly. Modified: head/sys/arm

svn commit: r261565 - in head/sys/arm: arm at91 econa include s3c2xx0 xscale/ixp425

2014-02-06 Thread Andrew Turner
Author: andrew Date: Thu Feb 6 20:35:33 2014 New Revision: 261565 URL: http://svnweb.freebsd.org/changeset/base/261565 Log: Use abp_physaddr for the physical address over KERNPHYSADDR. This helps us remove the need to load the kernel at a fixed address. Modified: head/sys/arm/arm/machdep.c

Re: svn commit: r261266 - in head: sys/dev/drm sys/kern sys/sys usr.sbin/jail

2014-02-06 Thread Alexander Leidinger
On Wed, 05 Feb 2014 14:05:29 -0500 John Baldwin wrote: > I think having a "kmem" flag for jails is a hack and not the right > approach. It does make a jail useless security-wise, but by > masquerading as a flag, it implies that it is only partially > violating security which gives a false sense o

svn commit: r261566 - in head: sbin/dhclient tools/regression/security/cap_test

2014-02-06 Thread Christian Brueffer
Author: brueffer Date: Thu Feb 6 21:36:14 2014 New Revision: 261566 URL: http://svnweb.freebsd.org/changeset/base/261566 Log: Use CAP_EVENT instead of the deprecated CAP_POLL_EVENT. PR: 185382 (based on) Submitted by: Loganaden Velvindron Reviewed by: pjd MFC after:1 w

svn commit: r261567 - in head/sys/boot: . i386/efi i386/gptboot i386/gptzfsboot i386/loader i386/zfsboot libstand32

2014-02-06 Thread Ed Maste
Author: emaste Date: Thu Feb 6 21:54:21 2014 New Revision: 261567 URL: http://svnweb.freebsd.org/changeset/base/261567 Log: Build a 32-bit libstand under sys/boot/ A 32-bit libstand is needed on 64-bit platforms for use by various bootloaders. Previously only the 32-bit version was buil

svn commit: r261568 - head/lib/libstand

2014-02-06 Thread Ed Maste
Author: emaste Date: Thu Feb 6 21:57:27 2014 New Revision: 261568 URL: http://svnweb.freebsd.org/changeset/base/261568 Log: Build libstand as a 64-bit library on amd64 The 32-bit bootloaders now link against libstand.a in sys/boot/libstand32, so there is no need to force /usr/lib/libstan

Re: svn commit: r261266 - in head: sys/dev/drm sys/kern sys/sys usr.sbin/jail

2014-02-06 Thread John Baldwin
On Thursday, February 06, 2014 3:53:00 pm Alexander Leidinger wrote: > On Wed, 05 Feb 2014 14:05:29 -0500 > John Baldwin wrote: > > > I think having a "kmem" flag for jails is a hack and not the right > > approach. It does make a jail useless security-wise, but by > > masquerading as a flag, it i

Re: svn commit: r261283 - in head: contrib/libc++ contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src etc/mtree lib/libc++ sys/sys tools/build/mk

2014-02-06 Thread Alan Somers
On Thu, Jan 30, 2014 at 12:44 AM, Dimitry Andric wrote: > Author: dim > Date: Thu Jan 30 07:44:22 2014 > New Revision: 261283 > URL: http://svnweb.freebsd.org/changeset/base/261283 > > Log: > Import libc++ 3.4 release. This contains a lot of bugfixes, and some > preliminary support for C++1y.

Re: svn commit: r261567 - in head/sys/boot: . i386/efi i386/gptboot i386/gptzfsboot i386/loader i386/zfsboot libstand32

2014-02-06 Thread Nathan Whitehorn
On 02/06/14 15:54, Ed Maste wrote: Author: emaste Date: Thu Feb 6 21:54:21 2014 New Revision: 261567 URL: http://svnweb.freebsd.org/changeset/base/261567 Log: Build a 32-bit libstand under sys/boot/ A 32-bit libstand is needed on 64-bit platforms for use by various bootloaders. P

Re: svn commit: r261564 - head/sys/arm/arm

2014-02-06 Thread John-Mark Gurney
Nathan Whitehorn wrote this message on Thu, Feb 06, 2014 at 21:03 -0600: > On 02/06/14 14:26, Andrew Turner wrote: > >Author: andrew > >Date: Thu Feb 6 20:26:36 2014 > >New Revision: 261564 > >URL: http://svnweb.freebsd.org/changeset/base/261564 > > > >Log: > > Fix __syscall on armeb EABI. As it

Re: svn commit: r261071 - in head: contrib/jemalloc contrib/jemalloc/doc contrib/jemalloc/include/jemalloc contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src include lib/libc/gen lib/libc

2014-02-06 Thread Lawrence Stewart
Hi Jason, On 01/23/14 13:47, Jason Evans wrote: > Author: jasone > Date: Thu Jan 23 02:47:36 2014 > New Revision: 261071 > URL: http://svnweb.freebsd.org/changeset/base/261071 > > Log: > Update jemalloc to version 3.5.0. I suspect that this commit is related to the assertion failures I've been

svn commit: r261571 - stable/10/sys/rpc

2014-02-06 Thread Alexander Motin
Author: mav Date: Fri Feb 7 04:02:14 2014 New Revision: 261571 URL: http://svnweb.freebsd.org/changeset/base/261571 Log: MFC r261449: Fix lock acquisition in case no request space available, missed in r260097. Modified: stable/10/sys/rpc/svc.c Directory Properties: stable/10/ (props ch

svn commit: r261572 - head/sys/arm/conf

2014-02-06 Thread Ian Lepore
Author: ian Date: Fri Feb 7 04:05:08 2014 New Revision: 261572 URL: http://svnweb.freebsd.org/changeset/base/261572 Log: Add option USB_HOST_ALIGN=64 for all SoCs that have 64 byte cache lines. Modified: head/sys/arm/conf/ARNDALE head/sys/arm/conf/CUBIEBOARD head/sys/arm/conf/CUBIEBOARD2

svn commit: r261573 - in stable/10/sys/boot: i386/libi386 pc98/libpc98

2014-02-06 Thread Alexander Motin
Author: mav Date: Fri Feb 7 04:09:15 2014 New Revision: 261573 URL: http://svnweb.freebsd.org/changeset/base/261573 Log: MFC r260949: Make comconsole options set before its activation to be remembered. Modified: stable/10/sys/boot/i386/libi386/comconsole.c stable/10/sys/boot/pc98/libpc98

svn commit: r261574 - in stable/9/sys/boot: i386/libi386 pc98/libpc98

2014-02-06 Thread Alexander Motin
Author: mav Date: Fri Feb 7 04:10:30 2014 New Revision: 261574 URL: http://svnweb.freebsd.org/changeset/base/261574 Log: MFC r260949: Make comconsole options set before its activation to be remembered. Modified: stable/9/sys/boot/i386/libi386/comconsole.c stable/9/sys/boot/pc98/libpc98/c

svn commit: r261575 - stable/10/sys/dev/e1000

2014-02-06 Thread George V. Neville-Neil
Author: gnn Date: Fri Feb 7 04:34:04 2014 New Revision: 261575 URL: http://svnweb.freebsd.org/changeset/base/261575 Log: MFC: 261291 The timestamp bit is number 17, and not number 9, in the stat error field of the receive descriptor. Modified: stable/10/sys/dev/e1000/e1000_defines.h D

svn commit: r261576 - stable/9/sys/dev/e1000

2014-02-06 Thread George V. Neville-Neil
Author: gnn Date: Fri Feb 7 04:35:20 2014 New Revision: 261576 URL: http://svnweb.freebsd.org/changeset/base/261576 Log: MFC: 261291 The timestamp bit is number 17, and not number 9, in the stat error field of the receive descriptor. Modified: stable/9/sys/dev/e1000/e1000_defines.h Di

svn commit: r261570 - head/sys/arm/conf

2014-02-06 Thread Ian Lepore
Author: ian Date: Fri Feb 7 03:30:16 2014 New Revision: 261570 URL: http://svnweb.freebsd.org/changeset/base/261570 Log: Revert r260440. I didn't realize that most of this change was already in effect due to r250753. That is sufficient for all SoCs with a 32 byte cache line size. Systems

Re: svn commit: r261564 - head/sys/arm/arm

2014-02-06 Thread Nathan Whitehorn
On 02/06/14 14:26, Andrew Turner wrote: Author: andrew Date: Thu Feb 6 20:26:36 2014 New Revision: 261564 URL: http://svnweb.freebsd.org/changeset/base/261564 Log: Fix __syscall on armeb EABI. As it returns a 64-bit value it needs to place 32-bit data in r1, not r0. 64-bit data is already

Re: svn commit: r261071 - in head: contrib/jemalloc contrib/jemalloc/doc contrib/jemalloc/include/jemalloc contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src include lib/libc/gen lib/libc

2014-02-06 Thread Jason Evans
On Feb 6, 2014, at 8:01 PM, Lawrence Stewart wrote: > On 01/23/14 13:47, Jason Evans wrote: >> Author: jasone >> Date: Thu Jan 23 02:47:36 2014 >> New Revision: 261071 >> URL: http://svnweb.freebsd.org/changeset/base/261071 >> >> Log: >> Update jemalloc to version 3.5.0. > > I suspect that this

svn commit: r261577 - head/sys/dev/msk

2014-02-06 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 7 05:08:59 2014 New Revision: 261577 URL: http://svnweb.freebsd.org/changeset/base/261577 Log: Revert r234666. Clearing TWSI IRQ seems to cause watchdog timeout on old Yukon II controllers. Tested by:bsam MFC after:2 weeks Modified: head/sys/de

svn commit: r261578 - stable/9/sys/rpc

2014-02-06 Thread Alexander Motin
Author: mav Date: Fri Feb 7 05:23:04 2014 New Revision: 261578 URL: http://svnweb.freebsd.org/changeset/base/261578 Log: MFC r261449: Fix lock acquisition in case no request space available, missed in r260097. Modified: stable/9/sys/rpc/svc.c Directory Properties: stable/9/ (props chan

svn commit: r261579 - stable/10/sys/dev/usb

2014-02-06 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 7 07:18:52 2014 New Revision: 261579 URL: http://svnweb.freebsd.org/changeset/base/261579 Log: MFC r261505: Fix a regression issue. Contiguous single segment allocations above PAGE_SIZE bytes should only use one USB page structure. Fixes a problem with some

svn commit: r261580 - stable/9/sys/dev/usb

2014-02-06 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 7 07:31:54 2014 New Revision: 261580 URL: http://svnweb.freebsd.org/changeset/base/261580 Log: MFC r244535, r245995, r261505 and r258961: - Use a boundary of zero, hence a PAGE_SIZE boundary is implied by all memory allocations. - Fix an external compiler wa

svn commit: r261581 - stable/8/sys/dev/usb

2014-02-06 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 7 07:34:47 2014 New Revision: 261581 URL: http://svnweb.freebsd.org/changeset/base/261581 Log: MFC r244535, r245995, r261505 and r258961: - Use a boundary of zero, hence a PAGE_SIZE boundary is implied by all memory allocations. - Fix an external compiler wa

Re: svn commit: r261564 - head/sys/arm/arm

2014-02-06 Thread Adrian Chadd
On 6 February 2014 19:41, John-Mark Gurney wrote: > Nathan Whitehorn wrote this message on Thu, Feb 06, 2014 at 21:03 -0600: >> On 02/06/14 14:26, Andrew Turner wrote: >> >Author: andrew >> >Date: Thu Feb 6 20:26:36 2014 >> >New Revision: 261564 >> >URL: http://svnweb.freebsd.org/changeset/base/2