]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Use PT_REGS_SYSCALL_REGS in bpf_syscall_macro
authorIlya Leoshkevich <iii@linux.ibm.com>
Wed, 9 Feb 2022 02:17:38 +0000 (03:17 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 9 Feb 2022 05:16:14 +0000 (21:16 -0800)
commit9613f2a6c3561c4bbfafe9ace0d95a0bdfeefe6f
tree9626f883140cea250241e43b5e7bee82013ed996
parent357c5370828408c8e445502b909bb3c3aa4b68c3
selftests/bpf: Use PT_REGS_SYSCALL_REGS in bpf_syscall_macro

Ensure that PT_REGS_SYSCALL_REGS works correctly.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220209021745.2215452-4-iii@linux.ibm.com
tools/testing/selftests/bpf/progs/bpf_syscall_macro.c