Re: [PATCH] Input: evdev - add EVIOCREVOKE ioctl

2015-02-04 Thread Bruno Prémont
Hi David, Sorry for reviving this old thread (I didn't find more recent patch series at first glance or have not been using the proper keyword while searching). At FOSDEM 2015 last Sunday Hans presented libinput X input driver and mentioned evdev FD revoking. A question I raise was how are

Re: [PATCH] Input: evdev - add EVIOCREVOKE ioctl

2015-02-04 Thread David Herrmann
Hi On Wed, Feb 4, 2015 at 2:12 PM, Bruno Prémont bonb...@linux-vserver.org wrote: Hi David, Sorry for reviving this old thread (I didn't find more recent patch series at first glance or have not been using the proper keyword while searching). At FOSDEM 2015 last Sunday Hans presented

Re: [PATCH] Input: evdev - add EVIOCREVOKE ioctl

2015-02-04 Thread Bruno Prémont
Hi David, On Wed, 04 February 2015 David Herrmann wrote: On Wed, Feb 4, 2015 at 2:12 PM, Bruno Prémont wrote: Hi David, Sorry for reviving this old thread (I didn't find more recent patch series at first glance or have not been using the proper keyword while searching). At FOSDEM

[PATCH] Input: evdev - add EVIOCREVOKE ioctl

2013-08-27 Thread David Herrmann
If we have multiple sessions on a system, we normally don't want background sessions to read input events. Otherwise, it could capture passwords and more entered by the user on the foreground session. This is a real world problem as the recent XMir development showed: