diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2021-04-08 11:28:33 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2021-04-08 16:04:21 -0700 |
commit | 9f5b4009980f369acb80b72235b2d66c3fd6eca6 (patch) | |
tree | b13d52ef509ebb7e7efbb2ecae47763870c83b88 /kernel/smpboot.h | |
parent | 8b8e6b5d3b013b0bd849990af2cc0f1321850e19 (diff) |
bpf: disable CFI in dispatcher functions
BPF dispatcher functions are patched at runtime to perform direct
instead of indirect calls. Disable CFI for the dispatcher functions to
avoid conflicts.
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210408182843.1754385-9-samitolvanen@google.com
Diffstat (limited to 'kernel/smpboot.h')
0 files changed, 0 insertions, 0 deletions