path: root/src/sleep
diff options
authorLennart Poettering <>2017-09-13 10:35:28 +0200
committerSven Eden <>2017-09-13 10:35:28 +0200
commit0b0f1f6bc9447ad0d8abad941e384868b2932828 (patch)
tree98019f38723dd06effba05ac6f4d3d54795b4bfe /src/sleep
parent351eb5dc200ace8bc0b06fafb99a2934c35058d8 (diff)
pager: let's create pager fds with O_CLOEXEC first
We make copies (without O_CLOEXEC) of the fds anyway before using them, hence let's be safe and create them with O_CLOEXEC first, so that we don't run into issues should pager_open() be called in a threaded environment where another thread fork()s at the wrong time and ends up with fds not marked O_CLOEXEC.
Diffstat (limited to 'src/sleep')
0 files changed, 0 insertions, 0 deletions