chiark / gitweb /
fs-util: add shortcut for chase_symlinks() when it is called like open(O_PATH)
authorLennart Poettering <lennart@poettering.net>
Mon, 26 Mar 2018 14:34:54 +0000 (16:34 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commit25c7db66f9272d4ffce2ee5909f54e8522fa1198
tree05d988ae8ad8ac1f3056ce209cc3ee8e03f175f2
parent087bd1d8dd8f3a8b54dfd523873ba85009217d7e
fs-util: add shortcut for chase_symlinks() when it is called like open(O_PATH)

Let's optimize things, and let the kernel chase the paths if none of the
features chase_symlinks() offers are actually used.
src/basic/fs-util.c