On Fri, 15 Nov 2024 10:35:51 -0500, Jeff Layton wrote: > We had some recent queries internally asking how to use the new > statmount() and listmount() interfaces. I was doing some other work in > this area, so I whipped up this tool. > > My hope is that this will represent something of a "rosetta stone" for > how to translate between mountinfo and statmount(), and an example for > other people looking to use the new interfaces. > > [...] Applied to the vfs-6.14.misc branch of the vfs/vfs.git tree. Patches in the vfs-6.14.misc 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.14.misc [1/2] samples: add a mountinfo program to demonstrate statmount()/listmount() https://git.kernel.org/vfs/vfs/c/ec07dced06b6 [2/2] fs: prepend statmount.mnt_opts string with security_sb_mnt_opts() https://git.kernel.org/vfs/vfs/c/d2269a2bfe4a