On Tue, Feb 04, 2014 at 07:22:33AM +1000, Peter Hutterer wrote:
> evdev_device_remove() already calls close(device->fd). Move the
> close_restricted call there to avoid one privileged call in the backend and
> one in the device.
Now we have open_restricted in path.c, udev-seat.c, and close_restric
evdev_device_remove() already calls close(device->fd). Move the
close_restricted call there to avoid one privileged call in the backend and
one in the device.
Signed-off-by: Peter Hutterer
---
src/evdev.c | 2 +-
src/path.c | 1 -
src/udev-seat.c | 3 ---
3 files changed, 1 insertion(+)