diff options
author | наб <[email protected]> | 2021-03-10 00:00:43 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-04-14 13:23:07 -0700 |
commit | ab88e9e264c0500c2e758a16abf2f5d598f41a7c (patch) | |
tree | e99cb0e98446d9963e8ce0e92483e9728e9d8cd1 /lib/libzfs/libzfs_iter.c | |
parent | 54aaed5c45ddf599f527606352201dd6b0d6be0b (diff) |
libzfs{,_core}: set O_CLOEXEC on persistent (ZFS_DEV and MNTTAB) fds
These were fd 3, 4, and 5 by the time zfs change-key hit
execute_key_fob()
glibc appends "e" to setmntent() mode, but musl's just returns fopen()
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #11866
Diffstat (limited to 'lib/libzfs/libzfs_iter.c')
0 files changed, 0 insertions, 0 deletions