Files
libmetal/lib/system/linux
Kenta Sato 86fd1ba48e Create an eventfd object with EFD_CLOEXEC flag
The file descriptor `irq_notify_fd` does not have the close-on-exec
(`FD_CLOEXEC`) flag so it possibly leaks to child processes.
This adds an `EFD_CLOEXEC` flag to the second argument of the `exentfd(2)` call,
which tells it to set an `FD_CLOEXEC` flag on the new file descriptor.

Signed-off-by: Kenta Sato <tosainu.maple@gmail.com>
2022-05-06 14:09:12 +02:00
..
2018-04-09 23:51:01 -07:00
2018-04-09 23:51:01 -07:00
2022-01-04 10:05:40 +01:00