Thread (23 messages) 23 messages, 8 authors, 2025-06-06

Re: [PATCH v2 bpf-next 1/4] namei: Introduce new helper function path_walk_parent()

From: Al Viro <viro@zeniv.linux.org.uk>
Date: 2025-06-06 14:41:01
Also in: bpf, linux-fsdevel, lkml

On Mon, Jun 02, 2025 at 11:59:17PM -0700, Song Liu wrote:
This helper walks an input path to its parent. Logic are added to handle
walking across mount tree.

This will be used by landlock, and BPF LSM.
Unless I'm misreading that, it does *NOT* walk to parent - it treats
step into mountpoint as a separate step.  NAK in that form - it's
simply a wrong primitive.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help