O_CLOEXEC forces file descriptors closing on invocation of functions from the exec-family. There are a few reasons why it's a good idea ranging from resources leakage to improved security.
It's a good idea to use this flag when opening file sinks and sources.
Inspired by whyoleg/cryptography-kotlin#138
O_CLOEXECforces file descriptors closing on invocation of functions from theexec-family. There are a few reasons why it's a good idea ranging from resources leakage to improved security.It's a good idea to use this flag when opening file sinks and sources.
Inspired by whyoleg/cryptography-kotlin#138