Re: [PATCH bpf-next v6 04/23] selftests/bpf: add test for accessing ctx from syscall program type
From: Yonghong Song
Date: Fri Jul 15 2022 - 20:17:39 EST
On 7/12/22 7:58 AM, Benjamin Tissoires wrote:
We need to also export the kfunc set to the syscall program type,
and then add a couple of eBPF programs that are testing those calls.
The first one checks for valid access, and the second one is OK
from a static analysis point of view but fails at run time because
we are trying to access outside of the allocated memory.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>
Acked-by: Yonghong Song <yhs@xxxxxx>