aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/exec/recursion-depth.c
diff options
context:
space:
mode:
authorPuranjay Mohan <[email protected]>2024-03-24 18:32:26 +0000
committerAlexei Starovoitov <[email protected]>2024-03-25 16:10:51 +0000
commit770546ae9f4c1ae1ebcaf0874f0dd9631d77ec97 (patch)
tree3a7bbdf305e2c5ab7154fdd2c40216f17f3e4e69 /tools/testing/selftests/exec/recursion-depth.c
parentbpf: Avoid get_kernel_nofault() to fetch kprobe entry IP (diff)
downloadkernel-770546ae9f4c1ae1ebcaf0874f0dd9631d77ec97.tar.gz
kernel-770546ae9f4c1ae1ebcaf0874f0dd9631d77ec97.zip
bpf: implement insn_is_cast_user() helper for JITs
Implement a helper function to check if an instruction is addr_space_cast from as(0) to as(1). Use this helper in the x86 JIT. Other JITs can use this helper when they add support for this instruction. Signed-off-by: Puranjay Mohan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/exec/recursion-depth.c')
0 files changed, 0 insertions, 0 deletions