diff options
author | 2022-02-09 03:17:41 +0100 | |
---|---|---|
committer | 2022-02-08 21:16:14 -0800 | |
commit | cf0b5b2769233b026cfa41206109dea77b0d17e3 (patch) | |
tree | 4c3c7c2bc38e6b654c7dfb4efe2cb58701add523 /include/net/net_namespace.h | |
parent | libbpf: Fix riscv register names (diff) | |
download | wireguard-linux-cf0b5b2769233b026cfa41206109dea77b0d17e3.tar.xz wireguard-linux-cf0b5b2769233b026cfa41206109dea77b0d17e3.zip |
libbpf: Fix accessing syscall arguments on riscv
riscv does not select ARCH_HAS_SYSCALL_WRAPPER, so its syscall
handlers take "unpacked" syscall arguments. Indicate this to libbpf
using PT_REGS_SYSCALL_REGS macro.
Reported-by: Heiko Carstens <hca@linux.ibm.com>
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-7-iii@linux.ibm.com
Diffstat (limited to 'include/net/net_namespace.h')
0 files changed, 0 insertions, 0 deletions