diff options
author | 2022-02-08 21:42:42 -0800 | |
---|---|---|
committer | 2022-02-08 21:45:06 -0800 | |
commit | 3caa7d2e2e9b69bf294b55c4a5a0b6673fdf5b00 (patch) | |
tree | 67f2081ee7aa77a5add2eb541a8e87293b504f18 /include/net/net_namespace.h | |
parent | Merge branch 'Fix accessing syscall arguments' (diff) | |
parent | selftests/bpf: Test BPF_KPROBE_SYSCALL macro (diff) | |
download | wireguard-linux-3caa7d2e2e9b69bf294b55c4a5a0b6673fdf5b00.tar.xz wireguard-linux-3caa7d2e2e9b69bf294b55c4a5a0b6673fdf5b00.zip |
Merge branch 'libbpf: Add syscall-specific variant of BPF_KPROBE'
Hengqi Chen says:
====================
Add new macro BPF_KPROBE_SYSCALL, which provides easy access to syscall
input arguments. See [0] and [1] for background.
[0]: https://github.com/libbpf/libbpf-bootstrap/issues/57
[1]: https://github.com/libbpf/libbpf/issues/425
v2->v3:
- Use PT_REGS_SYSCALL_REGS
- Move selftest to progs/bpf_syscall_macro.c
v1->v2:
- Use PT_REGS_PARM2_CORE_SYSCALL instead
====================
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'include/net/net_namespace.h')
0 files changed, 0 insertions, 0 deletions