lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150423183827.GA10937@mail.corp.redhat.com>
Date:	Thu, 23 Apr 2015 14:38:27 -0400
From:	Benjamin Tissoires <benjamin.tissoires@...hat.com>
To:	Dmitry Torokhov <dmitry.torokhov@...il.com>,
	Peter Hutterer <peter.hutterer@...-t.net>
Cc:	Henrik Rydberg <rydberg@...math.org>,
	Jiri Kosina <jkosina@...e.cz>,
	"linux-input@...r.kernel.org" <linux-input@...r.kernel.org>,
	lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] Input - mt: Fix input_mt_get_slot_by_key

On Apr 23 2015 or thereabouts, Dmitry Torokhov wrote:
> On Thu, Apr 23, 2015 at 07:10:55PM +0200, Henrik Rydberg wrote:
> > > "Creation, replacement and destruction of contacts is achieved by
> > > modifying the ABS_MT_TRACKING_ID of the associated slot.  A
> > > non-negative tracking id is interpreted as a contact, and the value -1
> > > denotes an unused slot.  A tracking id not previously present is
> > > considered new, and a tracking id no longer present is considered
> > > removed."
> > > 
> > > If some userspace is confused with missing -1 tracking ID for that
> > > slot, that userspace should be fixed.
> > 
> > I agree. Some userland applications work with add/remove out of convenience, and
> > cannot handle the more compressed notation the kernel slot handling allows.
> > Fixing those applications will be a good thing.
> > 
> > Unfortunately the patch already appeared in Linus' tree...
> 
> It's in 4.1-rc0 so we can just revert it.
> 

Before we call for a revert, I'd like to hear Peter thoughts about it,
as he is the main user of the slotted protocol.

Also, Dmitry, can you check if the ChromeOS driver and (or) the android
one would need to be adapted? My guess is that none of these drivers are
able to handle a silent closing of a slot and the easiest solution might
be to simply change the documentation if in fact nobody uses the
compressed notation (which removes just one ABS_SLOT event within the
frame, so not sure we can call it compressed BTW).

Cheers,
Benjamin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ