util-lib: rework path_check_fstype() and path_is_temporary_fs() to use O_PATH
authorLennart Poettering <lennart@poettering.net>
Tue, 20 Dec 2016 18:09:27 +0000 (19:09 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 21 Dec 2016 18:09:32 +0000 (19:09 +0100)
commit436e916eae03c97837425e157fbf6bb8ce5d5a53
tree0815cc30f7d18ad9ff73facba37998b2c7ddffef
parentfc2288f0be9384789c18259b66082c5fb395407f
util-lib: rework path_check_fstype() and path_is_temporary_fs() to use O_PATH

Also, add tests to make sure this actually works as intended.
src/basic/stat-util.c
src/test/test-stat-util.c