Thread (10 messages) flat view 10 messages, 5 authors, 2021-11-05

Re: [PATCH v4 bpf-next 2/2] selftests/bpf: add tests for bpf_find_vma

From: Yonghong Song <hidden>
Date: 2021-11-04 23:34:47
Also in: bpf


On 11/4/21 2:31 PM, Song Liu wrote:
Add tests for bpf_find_vma in perf_event program and kprobe program. The
perf_event program is triggered from NMI context, so the second call of
bpf_find_vma() will return -EBUSY (irq_work busy). The kprobe program,
on the other hand, does not have this constraint.

Also add tests for illegal writes to task or vma from the callback
function. The verifier should reject both cases.

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