]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Add a test to confirm PT_REGS_PARM4_SYSCALL
authorKenta Tada <Kenta.Tada@sony.com>
Mon, 24 Jan 2022 14:16:22 +0000 (23:16 +0900)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 25 Jan 2022 05:04:10 +0000 (21:04 -0800)
commit5f8747829cbbc24dfceb6f6c5e033f8e58b255a9
treecf3c2cd0d9ca08edbf4893bacca420a3418554b5
parentcd958086d0730744e389ebe3f6ebc182f14a447b
selftests/bpf: Add a test to confirm PT_REGS_PARM4_SYSCALL

Add a selftest to verify the behavior of PT_REGS_xxx
and the CORE variant.

Signed-off-by: Kenta Tada <Kenta.Tada@sony.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220124141622.4378-4-Kenta.Tada@sony.com
tools/testing/selftests/bpf/prog_tests/test_bpf_syscall_macro.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/bpf_syscall_macro.c [new file with mode: 0644]