Added default feature `default-cloexec`: If this feature is set, file-descriptors will be created with the close-on-exec flag (`MFD_CLOEXEC` for memfds, `FD_CLOEXEC` for other pseudofiles and `O_CLOEXEC` for `open()` calls.)
This is a temporary means of adding cloexec configuration to the crate, the interface is not modified and unless the default feature is not selected ABI-compat will remain the same. NOTE: This is intended to be removed on the next interface-changing update. Fortune for mapped-file's current commit: Future curse − 末凶master
parent
5d4c9b57f7
commit
8fcd1929a4
Loading…
Reference in new issue