aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2024-07-03 02:48:48 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2024-07-08 16:39:35 +0200
commitfa7bd4b000a7ae32eb6fc049125943561e5b46f3 (patch)
treed734c917321b136d7066807f5dee84e7ea56e7ad /tools/lib/bpf/libbpf.c
parent7ba4f43e16de351fe9821de80e15d88c884b2967 (diff)
s390/bpf: Implement exceptions
Implement the following three pieces required from the JIT: - A "top-level" BPF prog (exception_boundary) must save all non-volatile registers, and not only the ones that it clobbers. - A "handler" BPF prog (exception_cb) must switch stack to that of exception_boundary, and restore the registers that exception_boundary saved. - arch_bpf_stack_walk() must unwind the stack and provide the results in a way that satisfies both bpf_throw() and exception_cb. Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20240703005047.40915-3-iii@linux.ibm.com
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions