aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_prog_array_init.c
diff options
context:
space:
mode:
authorBrian Gerst <[email protected]>2023-06-23 18:55:29 -0400
committerPeter Zijlstra <[email protected]>2023-07-10 09:52:25 +0200
commit3aec4ecb3d1f313a8ab985df7cab07c4af81f478 (patch)
treeb7866bb1960211cf8f1b4f2cbd1263fa309fc661 /tools/testing/selftests/bpf/progs/test_prog_array_init.c
parent81f755d561f365f544795fad92f05a085ea4f292 (diff)
x86: Rewrite ret_from_fork() in C
When kCFI is enabled, special handling is needed for the indirect call to the kernel thread function. Rewrite the ret_from_fork() function in C so that the compiler can properly handle the indirect call. Suggested-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Brian Gerst <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Sami Tolvanen <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions