diff options
| author | 2024-07-03 02:48:48 +0200 | |
|---|---|---|
| committer | 2024-07-08 16:39:35 +0200 | |
| commit | fa7bd4b000a7ae32eb6fc049125943561e5b46f3 (patch) | |
| tree | d734c917321b136d7066807f5dee84e7ea56e7ad /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | s390/bpf: Change seen_reg to a mask (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 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
