Searched hist:fb66223a244f252273995557b23e0fa53092e92c (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | kfunc_call_fail.c | fb66223a244f252273995557b23e0fa53092e92c Tue Sep 06 10:13:00 CDT 2022 Benjamin Tissoires <benjamin.tissoires@redhat.com> selftests/bpf: add test for accessing ctx from syscall program type
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@redhat.com> Link: https://lore.kernel.org/r/20220906151303.2780789-5-benjamin.tissoires@redhat.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
H A D | kfunc_call_test.c | diff fb66223a244f252273995557b23e0fa53092e92c Tue Sep 06 10:13:00 CDT 2022 Benjamin Tissoires <benjamin.tissoires@redhat.com> selftests/bpf: add test for accessing ctx from syscall program type
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@redhat.com> Link: https://lore.kernel.org/r/20220906151303.2780789-5-benjamin.tissoires@redhat.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | kfunc_call.c | diff fb66223a244f252273995557b23e0fa53092e92c Tue Sep 06 10:13:00 CDT 2022 Benjamin Tissoires <benjamin.tissoires@redhat.com> selftests/bpf: add test for accessing ctx from syscall program type
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@redhat.com> Link: https://lore.kernel.org/r/20220906151303.2780789-5-benjamin.tissoires@redhat.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
/openbmc/linux/net/bpf/ |
H A D | test_run.c | diff fb66223a244f252273995557b23e0fa53092e92c Tue Sep 06 10:13:00 CDT 2022 Benjamin Tissoires <benjamin.tissoires@redhat.com> selftests/bpf: add test for accessing ctx from syscall program type
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@redhat.com> Link: https://lore.kernel.org/r/20220906151303.2780789-5-benjamin.tissoires@redhat.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|