diff options
author | 2023-06-23 18:55:29 -0400 | |
---|---|---|
committer | 2023-07-10 09:52:25 +0200 | |
commit | 3aec4ecb3d1f313a8ab985df7cab07c4af81f478 (patch) | |
tree | b7866bb1960211cf8f1b4f2cbd1263fa309fc661 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86/32: Remove schedule_tail_wrapper() (diff) | |
download | wireguard-linux-3aec4ecb3d1f313a8ab985df7cab07c4af81f478.tar.xz wireguard-linux-3aec4ecb3d1f313a8ab985df7cab07c4af81f478.zip |
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) <peterz@infradead.org>
Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Link: https://lkml.kernel.org/r/20230623225529.34590-3-brgerst@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions