[PATCH v3 bpf-next 2/5] landlock: Use path_walk_parent()

Tingmao Wang m at maowtm.org
Sun Jun 8 18:45:12 UTC 2025


On 6/6/25 22:30, Song Liu wrote:
> Use path_walk_parent() to walk a path up to its parent.
> 
> No functional changes intended.
> 
> Signed-off-by: Song Liu <song at kernel.org>

There is also path walk code in collect_domain_accesses even though that
one doesn't walk pass mount points.  Not sure if that one should be
updated to use this helper as well, or maybe fine to keep using
dget_parent.



More information about the Linux-security-module-archive mailing list