Luigi Semenzato

Results 2 issues of Luigi Semenzato

As mentioned in DeviceBase.cpp in setConnectType(), _FDInputStream (stdio_filebuf) is responsible for closing the file descriptor returned by sysfs_device.openAttribute()._. This patch closes the fd.

Hi, we're seeing the usbguard daemon running out of fds, and `/proc/pid/fd` shows that an extra fd is added every time I unplug and replug a keyboard: ``` lr-x------. 1...