svn commit: r271185 - in stable/10: sys/netinet6 usr.bin/netstat

2014-09-05 Thread Mark Johnston
Author: markj Date: Sat Sep 6 04:39:26 2014 New Revision: 271185 URL: http://svnweb.freebsd.org/changeset/base/271185 Log: MFC r270348: Add some missing checks for unsupported interfaces (e.g. pflog(4)) when handling ioctls. While here, remove duplicated checks for a NULL ifp in in6_contr

svn commit: r271184 - in stable/9: sys/netinet6 usr.bin/netstat

2014-09-05 Thread Mark Johnston
Author: markj Date: Sat Sep 6 04:33:37 2014 New Revision: 271184 URL: http://svnweb.freebsd.org/changeset/base/271184 Log: MFC r270348: Add some missing checks for unsupported interfaces (e.g. pflog(4)) when handling ioctls. While here, remove duplicated checks for a NULL ifp in in6_contr

svn commit: r271183 - head/sys/kern

2014-09-05 Thread Mateusz Guzik
Author: mjg Date: Fri Sep 5 23:56:25 2014 New Revision: 271183 URL: http://svnweb.freebsd.org/changeset/base/271183 Log: Plug unnecessary fp assignments in kern_fcntl. No functional changes. Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c =

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

2014-09-05 Thread Mateusz Guzik
On Fri, Sep 05, 2014 at 04:30:24PM -0700, Adrian Chadd wrote: > How's this look? > Malformed. :-P I would prefer: diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c index c6c3152..de72da5 100644 --- a/sys/kern/uipc_socket.c +++ b/sys/kern/uipc_socket.c @@ -3245,6 +3245,7 @@ static int

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

2014-09-05 Thread Adrian Chadd
How's this look? adrian@testbox1:~/work/freebsd/head/src % svnlite diff sys/kern/ Index: sys/kern/uipc_socket.c === --- sys/kern/uipc_socket.c (revision 271182) +++ sys/kern/uipc_socket.c (working copy) @@ -448,10 +448

Re: svn commit: r271023 - stable/10/sys/dev/vt

2014-09-05 Thread Aleksandr Rybalko
Hi Alexey! On Fri, 5 Sep 2014 16:34:34 + Alexey Dokuchaev wrote: > On Thu, Sep 04, 2014 at 11:05:27AM +0200, Jean-SИbastien PИdron wrote: > > One bug in vt(4) was that the mouse cursor position, even if it was > > invisible before moused(8) starts, was always considered "dirty" and > > requi

Re: svn commit: r271141 - in head/sys: kern sys

2014-09-05 Thread Mateusz Guzik
On Thu, Sep 04, 2014 at 09:31:25PM +, Sean Bruno wrote: > Author: sbruno > Date: Thu Sep 4 21:31:25 2014 > New Revision: 271141 > URL: http://svnweb.freebsd.org/changeset/base/271141 > > Log: > Allow multiple image activators to run on the same execution by changing > imgp->interpreted to

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

2014-09-05 Thread Adrian Chadd
I'm building a vimage kernel now to at least compile test a fix. Thanks, -a On 5 September 2014 12:59, Garrett Cooper wrote: > >> On Sep 5, 2014, at 12:54, Mateusz Guzik wrote: >> >>> On Fri, Sep 05, 2014 at 07:50:18PM +, Gleb Smirnoff wrote: >>> Author: glebius >>> Date: Fri Sep 5 19:5

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

2014-09-05 Thread Garrett Cooper
> On Sep 5, 2014, at 12:54, Mateusz Guzik wrote: > >> On Fri, Sep 05, 2014 at 07:50:18PM +, Gleb Smirnoff wrote: >> Author: glebius >> Date: Fri Sep 5 19:50:18 2014 >> New Revision: 271182 >> URL: http://svnweb.freebsd.org/changeset/base/271182 >> >> Log: >> Set vnet context before access

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

2014-09-05 Thread Mateusz Guzik
On Fri, Sep 05, 2014 at 07:50:18PM +, Gleb Smirnoff wrote: > Author: glebius > Date: Fri Sep 5 19:50:18 2014 > New Revision: 271182 > URL: http://svnweb.freebsd.org/changeset/base/271182 > > Log: > Set vnet context before accessing V_socket_hhh[]. > > Submitted by: "Hiroo Ono (小野

svn commit: r271182 - head/sys/kern

2014-09-05 Thread Gleb Smirnoff
Author: glebius Date: Fri Sep 5 19:50:18 2014 New Revision: 271182 URL: http://svnweb.freebsd.org/changeset/base/271182 Log: Set vnet context before accessing V_socket_hhh[]. Submitted by: "Hiroo Ono (小野寛生)" Modified: head/sys/kern/uipc_socket.c Modified: head/sys/kern/uipc_socket.c =

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

2014-09-05 Thread Andrew Turner
Author: andrew Date: Fri Sep 5 19:00:30 2014 New Revision: 271181 URL: http://svnweb.freebsd.org/changeset/base/271181 Log: Add the virtual timer irq to the list of interrupts we enable on secondary cores. Modified: head/sys/arm/arm/gic.c Modified: head/sys/arm/arm/gic.c =

svn commit: r271180 - head/sys/dev/vt/hw/vga

2014-09-05 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Sep 5 18:11:39 2014 New Revision: 271180 URL: http://svnweb.freebsd.org/changeset/base/271180 Log: vt_vga: vd_setpixel_t and vd_drawrect_t are noop in text mode MFC after:3 days Modified: head/sys/dev/vt/hw/vga/vt_vga.c Modified: head/sys/dev/vt/hw/vga/vt

svn commit: r271179 - head/lib/libc/arm

2014-09-05 Thread Andrew Turner
Author: andrew Date: Fri Sep 5 18:11:36 2014 New Revision: 271179 URL: http://svnweb.freebsd.org/changeset/base/271179 Log: Add the fp{get,set}{mask,round} functions to the public symbols in the map. These are only exported for armv6hf as the soft-float ABIs have these in the softfloat Symb

Re: svn commit: r270850 - in head/sys: i386/i386 i386/include i386/isa x86/acpica

2014-09-05 Thread Bruce Evans
On Fri, 5 Sep 2014, John Baldwin wrote: We might also consider removing support for 486sx CPUs and requiring an on-CPU FPU for i386. If we do that we might able to use a common fpu.c which would be even nicer. You mean a common npx.c. The 'x' part of npx.c is much more descriptive now than i

svn commit: r271178 - head/contrib/llvm/patches

2014-09-05 Thread Ed Maste
Author: emaste Date: Fri Sep 5 18:07:15 2014 New Revision: 271178 URL: http://svnweb.freebsd.org/changeset/base/271178 Log: Correct patch paths (remove contrib/llvm/) The example in contrib/llvm/patches/README.TXT fails otherwise. Sponsored by: DARPA, AFRL Modified: head/contrib/ll

svn commit: r271177 - in stable: 10/sbin/gbde 8/sbin/gbde 9/sbin/gbde

2014-09-05 Thread John Baldwin
Author: jhb Date: Fri Sep 5 17:44:10 2014 New Revision: 271177 URL: http://svnweb.freebsd.org/changeset/base/271177 Log: MFC 270722: Correct the destroy example. The -n argument is not needed (and is not valid). Approved by: re (gjb for 10) Modified: stable/8/sbin/gbde/gbde.8 Dire

svn commit: r271177 - in stable: 10/sbin/gbde 8/sbin/gbde 9/sbin/gbde

2014-09-05 Thread John Baldwin
Author: jhb Date: Fri Sep 5 17:44:10 2014 New Revision: 271177 URL: http://svnweb.freebsd.org/changeset/base/271177 Log: MFC 270722: Correct the destroy example. The -n argument is not needed (and is not valid). Approved by: re (gjb for 10) Modified: stable/10/sbin/gbde/gbde.8 Dir

svn commit: r271177 - in stable: 10/sbin/gbde 8/sbin/gbde 9/sbin/gbde

2014-09-05 Thread John Baldwin
Author: jhb Date: Fri Sep 5 17:44:10 2014 New Revision: 271177 URL: http://svnweb.freebsd.org/changeset/base/271177 Log: MFC 270722: Correct the destroy example. The -n argument is not needed (and is not valid). Approved by: re (gjb for 10) Modified: stable/9/sbin/gbde/gbde.8 Dire

svn commit: r271176 - in stable: 10/usr.bin/ktrace 8/usr.bin/ktrace 9/usr.bin/ktrace

2014-09-05 Thread John Baldwin
Author: jhb Date: Fri Sep 5 17:22:20 2014 New Revision: 271176 URL: http://svnweb.freebsd.org/changeset/base/271176 Log: MFC 270674: Clarify that the -c argument clears the list of tracepoints specified by -t (it does not clear all tracepoints). Approved by: re (gjb for 10) Modified:

svn commit: r271176 - in stable: 10/usr.bin/ktrace 8/usr.bin/ktrace 9/usr.bin/ktrace

2014-09-05 Thread John Baldwin
Author: jhb Date: Fri Sep 5 17:22:20 2014 New Revision: 271176 URL: http://svnweb.freebsd.org/changeset/base/271176 Log: MFC 270674: Clarify that the -c argument clears the list of tracepoints specified by -t (it does not clear all tracepoints). Approved by: re (gjb for 10) Modified:

svn commit: r271176 - in stable: 10/usr.bin/ktrace 8/usr.bin/ktrace 9/usr.bin/ktrace

2014-09-05 Thread John Baldwin
Author: jhb Date: Fri Sep 5 17:22:20 2014 New Revision: 271176 URL: http://svnweb.freebsd.org/changeset/base/271176 Log: MFC 270674: Clarify that the -c argument clears the list of tracepoints specified by -t (it does not clear all tracepoints). Approved by: re (gjb for 10) Modified:

svn commit: r271175 - head/sys/fs/nfs

2014-09-05 Thread Robert Watson
Author: rwatson Date: Fri Sep 5 17:05:51 2014 New Revision: 271175 URL: http://svnweb.freebsd.org/changeset/base/271175 Log: Garbage collect NFSMINOFF() from the NFS stack; this unused macro replicates mbuf-initialisation logic that is best left to centralised mbuf utility code rather than

svn commit: r271174 - head/sys/sys

2014-09-05 Thread Robert Watson
Author: rwatson Date: Fri Sep 5 16:46:28 2014 New Revision: 271174 URL: http://svnweb.freebsd.org/changeset/base/271174 Log: Clarify a diagnostic printf() in the mbuf code: M_EXT doesn't necessarily imply a cluster is attached; it could also refer to some other sort of external storage (e.g

svn commit: r271173 - in head/sys: conf gdb libkern sys

2014-09-05 Thread Benno Rice
Author: benno Date: Fri Sep 5 16:40:47 2014 New Revision: 271173 URL: http://svnweb.freebsd.org/changeset/base/271173 Log: Add support for gdb's memory searching capabilities to our in-kernel gdb server. Submitted by: Daniel O'Connor Reviewed by: jhb Sponsored by: EMC Isilon Storag

Re: svn commit: r271023 - stable/10/sys/dev/vt

2014-09-05 Thread Alexey Dokuchaev
On Thu, Sep 04, 2014 at 11:05:27AM +0200, Jean-SИbastien PИdron wrote: > One bug in vt(4) was that the mouse cursor position, even if it was > invisible before moused(8) starts, was always considered "dirty" and > required a redraw. The default position being [0;0], each new character > written wou

Re: svn commit: r270850 - in head/sys: i386/i386 i386/include i386/isa x86/acpica

2014-09-05 Thread John Baldwin
On Friday, September 05, 2014 4:43:05 am Konstantin Belousov wrote: > On Thu, Sep 04, 2014 at 10:50:25PM -0400, John Baldwin wrote: > > On Tuesday, September 02, 2014 06:41:27 PM Konstantin Belousov wrote: > > > On Tue, Sep 02, 2014 at 11:00:57AM -0400, John Baldwin wrote: > > > > I thought about t

svn commit: r271172 - stable/10/sys/sys

2014-09-05 Thread John Baldwin
Author: jhb Date: Fri Sep 5 15:45:20 2014 New Revision: 271172 URL: http://svnweb.freebsd.org/changeset/base/271172 Log: MFC 270222: Bump the default size of cpuset_t masks in userland from 128 bits to 256. This should not be an ABI change since the various public APIs that use cpusets

svn commit: r271171 - in stable/10/sys/powerpc: include powerpc

2014-09-05 Thread Justin Hibbits
Author: jhibbits Date: Fri Sep 5 15:13:41 2014 New Revision: 271171 URL: http://svnweb.freebsd.org/changeset/base/271171 Log: MFC r261095,r263464,r263752,r264189 r263464,r263752,r275189: Mask out SRR1 bits that aren't exported to the MSR. This appears to fix a strange condition w

Re: svn commit: r271159 - in head: . share/man/man4 sys/conf sys/dev/usb sys/dev/usb/misc sys/dev/usb/quirk sys/modules/usb sys/modules/usb/uled

2014-09-05 Thread Kevin Lo
On Fri, Sep 05, 2014 at 04:41:36PM +0200, Hans Petter Selasky wrote: > > On 09/05/14 15:08, Konstantin Belousov wrote: > > On Fri, Sep 05, 2014 at 11:25:58AM +, Kevin Lo wrote: > >> Author: kevlo > >> Date: Fri Sep 5 11:25:58 2014 > >> New Revision: 271159 > >> URL: http://svnweb.freebsd.org/

svn commit: r271170 - head/usr.sbin/ctld

2014-09-05 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Sep 5 14:58:24 2014 New Revision: 271170 URL: http://svnweb.freebsd.org/changeset/base/271170 Log: Document initiator-portal netmask support. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/ctld/ctl.conf.5 Modified: head/usr.

svn commit: r271169 - head/usr.sbin/ctld

2014-09-05 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Sep 5 14:48:06 2014 New Revision: 271169 URL: http://svnweb.freebsd.org/changeset/base/271169 Log: Turn two errors, which are possible to trigger only by bugs, into assertions. Discussed with: mav@ MFC after:2 weeks Sponsored by: The FreeBSD Foundati

Re: svn commit: r271159 - in head: . share/man/man4 sys/conf sys/dev/usb sys/dev/usb/misc sys/dev/usb/quirk sys/modules/usb sys/modules/usb/uled

2014-09-05 Thread Kevin Lo
On Fri, Sep 05, 2014 at 04:08:28PM +0300, Konstantin Belousov wrote: > On Fri, Sep 05, 2014 at 11:25:58AM +, Kevin Lo wrote: > > Author: kevlo > > Date: Fri Sep 5 11:25:58 2014 > > New Revision: 271159 > > URL: http://svnweb.freebsd.org/changeset/base/271159 > > > > Log: > > The USB LED dri

Re: svn commit: r271159 - in head: . share/man/man4 sys/conf sys/dev/usb sys/dev/usb/misc sys/dev/usb/quirk sys/modules/usb sys/modules/usb/uled

2014-09-05 Thread Hans Petter Selasky
On 09/05/14 15:08, Konstantin Belousov wrote: On Fri, Sep 05, 2014 at 11:25:58AM +, Kevin Lo wrote: Author: kevlo Date: Fri Sep 5 11:25:58 2014 New Revision: 271159 URL: http://svnweb.freebsd.org/changeset/base/271159 Log: The USB LED driver for the Dream Cheeky WebMail Notifier. Re

svn commit: r271168 - head

2014-09-05 Thread Kevin Lo
Author: kevlo Date: Fri Sep 5 14:35:34 2014 New Revision: 271168 URL: http://svnweb.freebsd.org/changeset/base/271168 Log: Revert r271159, Mis-patched the tree. Pointed out by: kib Modified: head/Makefile Modified: head/Makefile ===

svn commit: r271167 - head/usr.sbin/autofs

2014-09-05 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Sep 5 14:32:09 2014 New Revision: 271167 URL: http://svnweb.freebsd.org/changeset/base/271167 Log: Make it possible to quote names in autofs maps using double quotes. Note that this is a workaround, not a proper solution. If you know lex well, and want to help -

svn commit: r271163 - head/sys/dev/ahci

2014-09-05 Thread Alexander Motin
Author: mav Date: Fri Sep 5 13:45:14 2014 New Revision: 271163 URL: http://svnweb.freebsd.org/changeset/base/271163 Log: Invert AHCI_Q_NOBSYRES quirk meaning, waiting for readiness by default. I gave up to update list of Marvell chips that require this quirk. The final nail was growing n

Re: svn commit: r271161 - in stable/10/sys: kern sys

2014-09-05 Thread Konstantin Belousov
On Fri, Sep 05, 2014 at 01:22:28PM +, Konstantin Belousov wrote: > Author: kib > Date: Fri Sep 5 13:22:28 2014 > New Revision: 271161 > URL: http://svnweb.freebsd.org/changeset/base/271161 > > Log: > Add function and wrapper to switch lockmgr and vnode lock back to > auto-promotion of sha

svn commit: r271162 - stable/10/sys/ufs/ufs

2014-09-05 Thread Konstantin Belousov
Author: kib Date: Fri Sep 5 13:25:27 2014 New Revision: 271162 URL: http://svnweb.freebsd.org/changeset/base/271162 Log: MFC r270797: Direct access to the quota files, in particular, lookup, causes lock conflict with the quota metadata access. Mark quota vnode lock as recursive and always

svn commit: r271161 - in stable/10/sys: kern sys

2014-09-05 Thread Konstantin Belousov
Author: kib Date: Fri Sep 5 13:22:28 2014 New Revision: 271161 URL: http://svnweb.freebsd.org/changeset/base/271161 Log: Add function and wrapper to switch lockmgr and vnode lock back to auto-promotion of shared to exclusive. Approved by: re (gjb) Modified: stable/10/sys/kern/kern_lo

Re: svn commit: r271159 - in head: . share/man/man4 sys/conf sys/dev/usb sys/dev/usb/misc sys/dev/usb/quirk sys/modules/usb sys/modules/usb/uled

2014-09-05 Thread Konstantin Belousov
On Fri, Sep 05, 2014 at 11:25:58AM +, Kevin Lo wrote: > Author: kevlo > Date: Fri Sep 5 11:25:58 2014 > New Revision: 271159 > URL: http://svnweb.freebsd.org/changeset/base/271159 > > Log: > The USB LED driver for the Dream Cheeky WebMail Notifier. > > Reviewed by:hselasky > >

Re: svn commit: r270759 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs vm

2014-09-05 Thread Andriy Gapon
on 04/09/2014 04:18 Steven Hartland said the following: > Indeed that would be interesting, but we might find that its quite memory size > dependent given the scaling so confirming HW details would be nice too. > > I'd also be interested to know who wins the free race between the VM and ARC > when

svn commit: r271159 - in head: . share/man/man4 sys/conf sys/dev/usb sys/dev/usb/misc sys/dev/usb/quirk sys/modules/usb sys/modules/usb/uled

2014-09-05 Thread Kevin Lo
Author: kevlo Date: Fri Sep 5 11:25:58 2014 New Revision: 271159 URL: http://svnweb.freebsd.org/changeset/base/271159 Log: The USB LED driver for the Dream Cheeky WebMail Notifier. Reviewed by: hselasky Added: head/share/man/man4/uled.4 (contents, props changed) head/sys/dev/usb/mi

svn commit: r271157 - head/usr.sbin/ctld

2014-09-05 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Sep 5 11:10:44 2014 New Revision: 271157 URL: http://svnweb.freebsd.org/changeset/base/271157 Log: Fix typo. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/ctld/login.c Modified: head/usr.sbin/ctld/login.c ==

Re: svn commit: r270850 - in head/sys: i386/i386 i386/include i386/isa x86/acpica

2014-09-05 Thread Konstantin Belousov
On Thu, Sep 04, 2014 at 10:50:25PM -0400, John Baldwin wrote: > On Tuesday, September 02, 2014 06:41:27 PM Konstantin Belousov wrote: > > On Tue, Sep 02, 2014 at 11:00:57AM -0400, John Baldwin wrote: > > > I thought about that. I could easily make a parallel array, or perhaps > > > use a separate

svn commit: r271156 - head/sys/dev/usb/controller

2014-09-05 Thread Alexander Motin
Author: mav Date: Fri Sep 5 07:42:34 2014 New Revision: 271156 URL: http://svnweb.freebsd.org/changeset/base/271156 Log: Add IDs for Intel Patsburg USB 2.0 controller. Modified: head/sys/dev/usb/controller/ehci_pci.c Modified: head/sys/dev/usb/controller/ehci_pci.c =