]> git.ipfire.org Git - thirdparty/systemd.git/commit
fs-util: check for /proc mounted in access_fd() 17146/head
authorLennart Poettering <lennart@poettering.net>
Wed, 23 Sep 2020 16:19:21 +0000 (18:19 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 23 Sep 2020 16:20:38 +0000 (18:20 +0200)
commit4265a66a5e84137d1f874c413b2961f363c8f358
tree3a7c5d6410fe7ce1a39f28302cf7c2e6e03675cb
parent48d837cd92c4b3452adace8db59383273bc5a65d
fs-util: check for /proc mounted in access_fd()

It's a very basic function very similar to other cases where we go via
/proc/self/fd/, hence do the explicit proc_mounted() check here too.
src/basic/fs-util.c