mirror of
https://github.com/Snapchat/KeyDB.git
synced 2026-11-25 23:49:40 -05:00
Sentinel uses execve to run scripts, so it needs to use FD_CLOEXEC on all file descriptors, so that they're not accessible by the script it runs. This commit includes a change to the sentinel tests, which verifies no FDs are left opened when the script is executed.