]> git.ipfire.org Git - thirdparty/systemd.git/commit
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)
committerLennart Poettering <lennart@poettering.net>
Tue, 20 Dec 2016 19:00:09 +0000 (20:00 +0100)
commit08cea7dfc0aee044c35f234579a9f4fa8edcace5
tree597c7d7711eefe60fce57904772f898f52f88313
parenteee8b7ab2e701a3e9e4b71b80ddf6f0fb77e029b
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