mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-07-19 21:43:36 -04:00
ad985aeaf4
The open systcall is allowed to return 0 as a valid file descriptor, and considering it an error breaks environments where unnecessary fds are closed before executing untrusted processes. Fixes: #199 Signed-off-by: Marc Zyngier <maz@kernel.org>