summaryrefslogtreecommitdiff
path: root/splash
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2019-01-03 21:11:49 +0100
committerChristian Persch <chpe@src.gnome.org>2019-01-03 21:11:49 +0100
commitd5625de8ce3fc31608248fe14b12c4c7d1a43593 (patch)
tree0360c9f11b9f9e4655d3de321decc5feb56a4642 /splash
parent4a3eef323d72b06780c318f58917f884eecc812e (diff)
gfile: Open files with CLOEXEC flag set
First try to atomically open the file using O_CLOEXEC for open() and the "e" mode for fopen(), and if that doesn't work or O_CLOEXEC isn't defined, fall back to opening the file first and applying the FD_CLOEXEC flag afterwards.
Diffstat (limited to 'splash')
0 files changed, 0 insertions, 0 deletions