svn commit: r270320 - head/sys/kern

2014-08-22 Thread Konstantin Belousov
Author: kib Date: Fri Aug 22 07:52:47 2014 New Revision: 270320 URL: http://svnweb.freebsd.org/changeset/base/270320 Log: Check the validity of struct sigaction sa_flags value, reject unknown flags. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/kern/ker

svn commit: r270321 - head/sys/kern

2014-08-22 Thread Konstantin Belousov
Author: kib Date: Fri Aug 22 08:19:08 2014 New Revision: 270321 URL: http://svnweb.freebsd.org/changeset/base/270321 Log: Ensure that sigaction flags for signal, which disposition is reset to ignored or default, are not leaking. Apparently, there exists code which relies on SA_SIGINFO not r

svn commit: r270322 - in head/sys/dev/vt: . hw/vga

2014-08-22 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Aug 22 08:22:40 2014 New Revision: 270322 URL: http://svnweb.freebsd.org/changeset/base/270322 Log: vt(4): Add new vd_bitblt_text_t callback, and implement it for vt_vga Compared to the deprecated vd_bitbltchr_t callback, vd_bitblt_text_t receives: o the

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

2014-08-22 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Aug 22 10:49:51 2014 New Revision: 270324 URL: http://svnweb.freebsd.org/changeset/base/270324 Log: vt_vga: Clip the draw area to never draw offscreen This fixes a bug when two windows use different fonts, but a longer-term solution is required. The dirty area s

svn commit: r270326 - head/usr.sbin/bhyve

2014-08-22 Thread Tycho Nightingale
Author: tychon Date: Fri Aug 22 13:01:22 2014 New Revision: 270326 URL: http://svnweb.freebsd.org/changeset/base/270326 Log: Fix a recursive lock acquisition in vi_reset_dev(). Reviewed by: grehan Modified: head/usr.sbin/bhyve/virtio.c Modified: head/usr.sbin/bhyve/virtio.c ===

Re: svn commit: r270249 - head/sys/cam/ata

2014-08-22 Thread Warner Losh
On Aug 21, 2014, at 11:58 PM, Neel Natu wrote: > Hi Warner, > > On Thu, Aug 21, 2014 at 10:34 PM, Warner Losh wrote: >> >> On Aug 21, 2014, at 10:31 PM, Neel Natu wrote: >> >>> Hi Warner, >>> >>> On Wed, Aug 20, 2014 at 3:58 PM, Warner Losh wrote: Author: imp Date: Wed Aug 20 22

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

2014-08-22 Thread Warner Losh
Author: imp Date: Fri Aug 22 13:15:59 2014 New Revision: 270327 URL: http://svnweb.freebsd.org/changeset/base/270327 Log: We should never enter the PROBE_SETAN phase if we're not ATAPI, since that's ATAPI specific. Instead, skip to PROBE_SET_MULTI instead for non ATAPI protocols. The prior c

Re: svn commit: r265003 - head/secure/usr.sbin/sshd

2014-08-22 Thread Jilles Tjoelker
On Thu, Aug 21, 2014 at 03:32:46PM +0300, Konstantin Belousov wrote: > > > I think you mis-interpret the man page statement, it only says that > > > SA_SIGINFO should not be set in new->sa_flags IMO. But I do not see > > > much sense in the requirement. Note that we do not test flags for > > > corr

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

2014-08-22 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Aug 22 13:48:33 2014 New Revision: 270329 URL: http://svnweb.freebsd.org/changeset/base/270329 Log: vt(4): Mark new mouse position as dirty only when it's actually displayed MFC after:1 week Modified: head/sys/dev/vt/vt_core.c Modified: head/sys/dev/vt/vt_

svn commit: r270331 - in head/sys/dev/vt: . hw/vga

2014-08-22 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Aug 22 14:31:53 2014 New Revision: 270331 URL: http://svnweb.freebsd.org/changeset/base/270331 Log: vt(4): Store cursor bitmap & colors in struct vt_device This removes the need to specify them to each call to vd_bitblt_text_t and, therefore, simplifies the API.

svn commit: r270332 - head/sys/dev/pci

2014-08-22 Thread Roger Pau Monné
Author: royger Date: Fri Aug 22 15:05:51 2014 New Revision: 270332 URL: http://svnweb.freebsd.org/changeset/base/270332 Log: pci: add a new pci_child_added newbus method. This is needed so when running under Xen the calls to pci_child_added can be intercepted and a custom Xen method can b

svn commit: r270333 - head/sys/dev/xen/netback

2014-08-22 Thread Roger Pau Monné
Author: royger Date: Fri Aug 22 15:10:26 2014 New Revision: 270333 URL: http://svnweb.freebsd.org/changeset/base/270333 Log: netback: fixes for netback This patch contains the following fixes for netback: - Only unbind the evtchn if it has been bound. - Set xnb->bridge to NULL after f

svn commit: r270336 - in head/sys/dev/vt: . hw/vga

2014-08-22 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Aug 22 15:16:41 2014 New Revision: 270336 URL: http://svnweb.freebsd.org/changeset/base/270336 Log: vt(4): Give the window to vd_bitblt_text_t callback ... instead of both the buffer and the font. Again, this simplifies the API. MFC after:1 week Modifi

Re: svn commit: r265003 - head/secure/usr.sbin/sshd

2014-08-22 Thread Konstantin Belousov
On Fri, Aug 22, 2014 at 03:43:53PM +0200, Jilles Tjoelker wrote: > This is good and necessary for SA_SIGINFO (because of the type of the > SIG_DFL and SIG_IGN constants, and because POSIX says so in the > description of SA_RESETHAND in the sigaction() page). However, there > seems no reason to clea

svn commit: r270337 - head/sys/dev/xen/netback

2014-08-22 Thread Roger Pau Monné
Author: royger Date: Fri Aug 22 15:34:56 2014 New Revision: 270337 URL: http://svnweb.freebsd.org/changeset/base/270337 Log: netback: remove dead code Remove the xen_net_read_mac function since it's not used anymore. Sponsored by: Citrix Systems R&D Modified: head/sys/dev/xen/netbac

svn commit: r270338 - in head/sys/dev/vt: . hw/vga

2014-08-22 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Aug 22 15:36:57 2014 New Revision: 270338 URL: http://svnweb.freebsd.org/changeset/base/270338 Log: vt(4): The offset to center the text area is per-window now The previous global offset, based on the last loaded font, had no meaning for other windows. This caus

svn commit: r270339 - head/sys/dev/xen/blkback

2014-08-22 Thread Roger Pau Monné
Author: royger Date: Fri Aug 22 15:38:21 2014 New Revision: 270339 URL: http://svnweb.freebsd.org/changeset/base/270339 Log: xen: fix incorrectly accounted free Fix some frees incorrectly assigned to M_XENBUS when the memory is allocated with M_XENSTORE. Sponsored by: Citrix Systems

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

2014-08-22 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Aug 22 16:30:26 2014 New Revision: 270340 URL: http://svnweb.freebsd.org/changeset/base/270340 Log: vt(4): Don't run vt_set_border() and vt_flush() concurrently In the case of vt_vga, the two concurrent calls were writing to the same VGA registers, causing incor

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

2014-08-22 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Aug 22 17:05:41 2014 New Revision: 270341 URL: http://svnweb.freebsd.org/changeset/base/270341 Log: vt_vga: Remove a "FIXME" comment; the issue was solved in r270338 MFC after:1 week Modified: head/sys/dev/vt/hw/vga/vt_vga.c Modified: head/sys/dev/vt/hw/vg

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

2014-08-22 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Aug 22 17:09:31 2014 New Revision: 270342 URL: http://svnweb.freebsd.org/changeset/base/270342 Log: vt(4): Use the actual size of the mouse when marking its position as dirty This fixes a bug where part of the cursor was not erased. MFC after:1 week Modi

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

2014-08-22 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Aug 22 17:49:24 2014 New Revision: 270343 URL: http://svnweb.freebsd.org/changeset/base/270343 Log: vt(4): Remove "FIXME" about multiple locking of vt_buf in vt_flush() After some testing, it appears that acquiring the lock once and keeping it longer is slower t

Re: svn commit: r270249 - head/sys/cam/ata

2014-08-22 Thread Neel Natu
Hi Warner, On Fri, Aug 22, 2014 at 6:13 AM, Warner Losh wrote: > > On Aug 21, 2014, at 11:58 PM, Neel Natu wrote: > >> Hi Warner, >> >> On Thu, Aug 21, 2014 at 10:34 PM, Warner Losh wrote: >>> >>> On Aug 21, 2014, at 10:31 PM, Neel Natu wrote: >>> Hi Warner, On Wed, Aug 20, 2014

svn commit: r270345 - head/sys/kern

2014-08-22 Thread Konstantin Belousov
Author: kib Date: Fri Aug 22 18:42:14 2014 New Revision: 270345 URL: http://svnweb.freebsd.org/changeset/base/270345 Log: In do_lock_pi(), do not override error from umtxq_sleep_pi() when doing suspend check. This restores the pre-r251684 behaviour, to retry once after the signal is detecte

Re: svn commit: r270249 - head/sys/cam/ata

2014-08-22 Thread Warner Losh
On Aug 22, 2014, at 12:07 PM, Neel Natu wrote: > Hi Warner, > > On Fri, Aug 22, 2014 at 6:13 AM, Warner Losh wrote: >> >> On Aug 21, 2014, at 11:58 PM, Neel Natu wrote: >> >>> Hi Warner, >>> >>> On Thu, Aug 21, 2014 at 10:34 PM, Warner Losh wrote: On Aug 21, 2014, at 10:31 PM,

svn commit: r270346 - in head/sys: conf dev/i40e dev/ixl modules/i40e modules/ixl modules/ixlv

2014-08-22 Thread Jack F Vogel
Author: jfv Date: Fri Aug 22 18:59:19 2014 New Revision: 270346 URL: http://svnweb.freebsd.org/changeset/base/270346 Log: Update to the Intel Base driver for the Intel XL710 Ethernet Controller Family - It was decided to change the driver name to if_ixl for FreeBSD - This release

svn commit: r270347 - head/sys/netinet

2014-08-22 Thread Xin LI
Author: delphij Date: Fri Aug 22 19:08:12 2014 New Revision: 270347 URL: http://svnweb.freebsd.org/changeset/base/270347 Log: Restore historical behavior of in_control, which, when no matching address is found, the first usable address is returned for legacy ioctls like SIOCGIFBRDADDR, SIOCG

svn commit: r270349 - head/usr.bin/netstat

2014-08-22 Thread Mark Johnston
Author: markj Date: Fri Aug 22 19:23:38 2014 New Revision: 270349 URL: http://svnweb.freebsd.org/changeset/base/270349 Log: Suppress warnings when retrieving protocol stats from interfaces that don't support IPv6 (e.g. pflog(4)). Reviewed by: hrs MFC after:2 weeks Modified: head

svn commit: r270348 - head/sys/netinet6

2014-08-22 Thread Mark Johnston
Author: markj Date: Fri Aug 22 19:21:08 2014 New Revision: 270348 URL: http://svnweb.freebsd.org/changeset/base/270348 Log: 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_control(): this chec

svn commit: r270358 - in head/cddl: . contrib/opensolaris/lib/libdtrace/common contrib/opensolaris/lib/libgen/common lib/libdtrace usr.sbin/lockstat

2014-08-22 Thread Xin LI
Author: delphij Date: Fri Aug 22 20:04:51 2014 New Revision: 270358 URL: http://svnweb.freebsd.org/changeset/base/270358 Log: Make DTrace stuff compile with C99 standard. Modified: head/cddl/Makefile.inc head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_impl.h head/cddl/contrib/openso

Re: svn commit: r270342 - head/sys/dev/vt

2014-08-22 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 08/22/14 10:09, Jean-Sebastien Pedron wrote: > Author: dumbbell Date: Fri Aug 22 17:09:31 2014 New Revision: > 270342 URL: http://svnweb.freebsd.org/changeset/base/270342 > > Log: vt(4): Use the actual size of the mouse when marking its > positio

Re: svn commit: r270346 - in head/sys: conf dev/i40e dev/ixl modules/i40e modules/ixl modules/ixlv

2014-08-22 Thread Rui Paulo
On Aug 22, 2014, at 11:59, Jack F Vogel wrote: > > Author: jfv > Date: Fri Aug 22 18:59:19 2014 > New Revision: 270346 > URL: http://svnweb.freebsd.org/changeset/base/270346 > > Log: > Update to the Intel Base driver for the Intel XL710 Ethernet Controller > Family > - It was decided to

svn commit: r270382 - in head: cddl/contrib/opensolaris/head sys/cddl/contrib/opensolaris/uts/common/sys

2014-08-22 Thread Xin LI
Author: delphij Date: Fri Aug 22 22:13:36 2014 New Revision: 270382 URL: http://svnweb.freebsd.org/changeset/base/270382 Log: MFV r270197: Illumos issue: 5066 remove support for non-ANSI compilation 5068 Remove SCCSID() macro from MFC after:2 weeks Modified: head/cd

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

2014-08-22 Thread Xin LI
Author: delphij Date: Fri Aug 22 23:13:53 2014 New Revision: 270383 URL: http://svnweb.freebsd.org/changeset/base/270383 Log: Instead of using timestamp in the AVL, use the memory address when comparing. Illumos issue: 5095 panic when adding a duplicate dbuf to dn_dbufs MFC aft

svn commit: r270384 - head/sys/dev/hptnr

2014-08-22 Thread Xin LI
Author: delphij Date: Sat Aug 23 01:52:43 2014 New Revision: 270384 URL: http://svnweb.freebsd.org/changeset/base/270384 Log: Update hptnr(4) driver to version 1.0.1 supplied by the vendor. v1.0.1 2014-8-19 * Do not retry the command and reset the disk when failed to enable or dis

Re: svn commit: r270118 - head/sbin/dhclient/tests

2014-08-22 Thread yaneurabeya
On Aug 17, 2014, at 6:21 PM, Garrett Cooper wrote: > Author: ngie > Date: Mon Aug 18 01:21:41 2014 > New Revision: 270118 > URL: http://svnweb.freebsd.org/changeset/base/270118 > > Log: > Add LIBUTIL to DPADD > > This will fix "make checkdpadd" > > MFC after: 5 days > PR: 192759 > Approve

svn commit: r270387 - head/sys/vm

2014-08-22 Thread Alan Cox
Author: alc Date: Sat Aug 23 05:24:31 2014 New Revision: 270387 URL: http://svnweb.freebsd.org/changeset/base/270387 Log: Relax one of the conditions for mapping a page on the fast path. Reviewed by: kib X-MFC with: r270011 Sponsored by: EMC / Isilon Storage Division Modified: hea