Thread (1 message) 1 message, 1 author, 2021-01-08

Re: [PATCH v3 bpf-next 2/4] bpf: allow bpf_d_path in sleepable bpf_iter program

From: KP Singh <kpsingh@kernel.org>
Date: 2021-01-08 21:55:13
Also in: linux-mm, netdev

On Thu, Jan 7, 2021 at 5:23 AM Song Liu [off-list ref] wrote:
task_file and task_vma iter programs have access to file->f_path. Enable
bpf_d_path to print paths of these file.

bpf_iter programs are generally called in sleepable context. However, it
is still necessary to diffientiate sleepable and non-sleepable bpf_iter
programs: sleepable programs have access to bpf_d_path; non-sleepable
programs have access to bpf_spin_lock.

Acked-by: Yonghong Song <redacted>
Signed-off-by: Song Liu <redacted>
Acked-by: KP Singh <kpsingh@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help