[PATCH bpf-next 3/4] bpf: Introduce path iterator
Al Viro
viro at zeniv.linux.org.uk
Wed May 28 22:37:24 UTC 2025
On Wed, May 28, 2025 at 03:26:22PM -0700, Song Liu wrote:
> Introduce a path iterator, which reliably walk a struct path.
No, it does not. If you have no external warranty that mount
*and* dentry trees are stable, it's not reliable at all.
And I'm extremely suspicious regarding the validity of anything
that pokes around in mount trees. There is a very good reason
struct mount is *not* visible in include/linux/*.h
More information about the Linux-security-module-archive
mailing list