]> git.ipfire.org Git - thirdparty/systemd.git/commit
chase-symlinks: Always open a dirfd to the root directory 26341/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 8 Jan 2023 17:19:11 +0000 (18:19 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 7 Feb 2023 15:36:55 +0000 (16:36 +0100)
commitaccc26a0e543c9f9e2e5adc1ad6c5a2b9d64670d
tree7fc09944b4cf7a58f573277184f6e3d619f50c3a
parentc677e13c35ff2d475199bcc9432892396485b6b8
chase-symlinks: Always open a dirfd to the root directory

Instead of special casing "/", let's just always open a dirfd to the
root directory.
src/basic/chase-symlinks.c