chase-symlink: when converting directory O_PATH fd to real fd, don't bother with /proc/

Replaces: #25581
This commit is contained in:
Lennart Poettering
2022-12-02 23:55:44 +01:00
parent 03c16b9784
commit 2075b6dd39
+1 -1
View File
@@ -557,7 +557,7 @@ int chase_symlinks_and_opendir(
return r;
assert(path_fd >= 0);
d = opendir(FORMAT_PROC_FD_PATH(path_fd));
d = xopendirat(path_fd, ".", O_NOFOLLOW);
if (!d)
return -errno;