Re: [PATCH libinput] evdev: fail before open_restricted if the devnode doesn't exist

2018-02-13 Thread Jeffrey Smith
> + if (!devnode) { > + log_info(libinput, "%s: no device node associated\n", > sysname); > + return NULL; > + } > + > if (udev_device_should_be_ignored(udev_device)) { > log_debug(libinput, "%s: device is ignored\n", sysname); >

Re: [PATCH libinput] evdev: fail before open_restricted if the devnode doesn't exist

2018-02-12 Thread Peter Hutterer
On Tue, Feb 13, 2018 at 01:43:27PM +1000, Peter Hutterer wrote: > Checking these bugs before I was about to push: > > On Fri, Feb 09, 2018 at 07:59:08PM +1000, Peter Hutterer wrote: > > https://bugzilla.redhat.com/show_bug.cgi?id=1536633 > > https://bugzilla.redhat.com/show_bug.cgi?id=1539046 > >

Re: [PATCH libinput] evdev: fail before open_restricted if the devnode doesn't exist

2018-02-12 Thread Peter Hutterer
Checking these bugs before I was about to push: On Fri, Feb 09, 2018 at 07:59:08PM +1000, Peter Hutterer wrote: > https://bugzilla.redhat.com/show_bug.cgi?id=1536633 > https://bugzilla.redhat.com/show_bug.cgi?id=1539046 > https://bugzilla.redhat.com/show_bug.cgi?id=1539783 >

Re: [PATCH libinput] evdev: fail before open_restricted if the devnode doesn't exist

2018-02-12 Thread Peter Hutterer
On Fri, Feb 09, 2018 at 12:00:47PM -0600, Jeffrey Smith wrote: > > + if (!devnode) { > > + log_info(libinput, "%s: no device node associated\n", > > sysname); > > + return NULL; > > + } > > + > > if (udev_device_should_be_ignored(udev_device)) { > >

[PATCH libinput] evdev: fail before open_restricted if the devnode doesn't exist

2018-02-09 Thread Peter Hutterer
https://bugzilla.redhat.com/show_bug.cgi?id=1536633 https://bugzilla.redhat.com/show_bug.cgi?id=1539046 https://bugzilla.redhat.com/show_bug.cgi?id=1539783 https://bugzilla.redhat.com/show_bug.cgi?id=1540662 https://bugs.freedesktop.org/show_bug.cgi?id=104278 Signed-off-by: Peter Hutterer