summaryrefslogtreecommitdiff
path: root/lib/mkstemp-safer.c
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-12-05 06:36:33 -0700
committerEric Blake <ebb9@byu.net>2009-12-05 14:36:40 -0700
commit14449a1dacca44c4f933d5fc207c7fa56e6c0fb7 (patch)
tree5f6cc0aebae6f1df589d9ae5d64f7608d7a24eb2 /lib/mkstemp-safer.c
parent173359dbe40ac4381088060b0f26e66529fa0f29 (diff)
downloadgnulib-14449a1dacca44c4f933d5fc207c7fa56e6c0fb7.tar.gz
unistd-safer: allow preservation of cloexec status via flag
If cloexec is in use, allow the ability to preserve cloexec flag across *_safer functions. * lib/unistd-safer.h (dup_safer_flag, fd_safer_flag): New prototypes. * lib/dup-safer.c (dup_safer_flag): New function. * lib/fd-safer.c (fd_safer_flag): Likewise. * modules/cloexec (configure.ac): Set witness. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'lib/mkstemp-safer.c')
0 files changed, 0 insertions, 0 deletions