On Sat, 29 Nov 2025 14:41:19 +0530, Bhavik Sachdev wrote:
We would like to add support for checkpoint/restoring file descriptors open on these "unmounted" mounts to CRIU (Checkpoint/Restore in Userspace) [1].
Currently, we have no way to get mount info for these "unmounted" mounts since they do appear in /proc/<pid>/mountinfo and statmount does not work on them, since they do not belong to any mount namespace.
[...]
This seems good to me now. Maybe Miklos wants to give this a nod as well.
---
Applied to the vfs-6.20.namespace branch of the vfs/vfs.git tree. Patches in the vfs-6.20.namespace branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs-6.20.namespace
[1/3] statmount: permission check should return EPERM https://git.kernel.org/vfs/vfs/c/5d68cefb00d9 [2/3] statmount: accept fd as a parameter https://git.kernel.org/vfs/vfs/c/c5255171323f [3/3] selftests: statmount: tests for STATMOUNT_BY_FD https://git.kernel.org/vfs/vfs/c/15d50368501a