chiark / gitweb /
util-lib: make sure fd_check_fstype() opens files with O_CLOEXEC
authorLennart Poettering <lennart@poettering.net>
Thu, 8 Dec 2016 18:35:05 +0000 (19:35 +0100)
committerSven Eden <yamakuzure@gmx.net>
Mon, 17 Jul 2017 15:58:35 +0000 (17:58 +0200)
commit2ab3c9b133f3a79f940593cc40b4555f6bfd7f4a
treeb6a4dbd7d3df454cecc9106a4dc5b4efeaeef34e
parentb9a2add4c257e40e60e49eb4edaf7925ba569c78
util-lib: make sure fd_check_fstype() opens files with O_CLOEXEC

Also, O_NOCTTY is a safer bet, let's add that too.
src/basic/stat-util.c