]> git.ipfire.org Git - thirdparty/systemd.git/commit
mountpoint-util: use the FID stuff for detecting the root of mounts
authorLennart Poettering <lennart@poettering.net>
Tue, 25 Jun 2024 10:44:19 +0000 (12:44 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 1 Jul 2024 13:45:15 +0000 (15:45 +0200)
commit4c39ab9b402bd87ed590c8781e9c30d786178a12
tree31e3ddc5954327bb1e0c912980e7162119a47e08
parent81995fbb9640a20010a8a4648db3e3c4882f2bdf
mountpoint-util: use the FID stuff for detecting the root of mounts

In the unlikely event that sandboxes block statx() but let
name_to_handle_at() through it's a good way to determine the root inode
of the namespace, since its parent inode will have the same FID and
mnt_id.
src/basic/mountpoint-util.c