libbpf: Fix accessing the first syscall argument on s390
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | s390/bpf: Add orig_gpr2 to user_pt_regsarch/ arch/ | +2 | 9 replies | |
| 2/3 | selftests/bpf: Fix an endianness issue in bpf_syscall_macro testtools/ | +4 | 0 replies | |
| 3/3 | libbpf: Fix accessing the first syscall argument on s390tools/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH bpf-next 0/3] libbpf: Fix accessing the first syscall argument on s390
libbpf CI reported a bpf_syscall_macro test failure on s390 [1], which happens because the code uses gprs[2] instead of orig_gpr2 to access the first syscall argument. Patches 1-2 are preparations, patch 3 fixes the issue.
@Heiko, @Vasily, @Christian, @Alexander - could you please review patch 1, which touches arch/s390? Would it be ok to put it into bpf-next tree?
[1] https://github.com/libbpf/libbpf/runs/5025905587
Ilya Leoshkevich (3):
s390/bpf: Add orig_gpr2 to user_pt_regs selftests/bpf: Fix an endianness issue in bpf_syscall_macro test
libbpf: Fix accessing the first syscall argument on s390
arch/s390/include/asm/ptrace.h | 2 +- arch/s390/include/uapi/asm/ptrace.h | 1 + tools/lib/bpf/bpf_tracing.h | 9 +++++++++ tools/testing/selftests/bpf/progs/bpf_syscall_macro.c | 5 ++++- 4 files changed, 15 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1