diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2023-07-10 18:35:47 +0000 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-08-23 14:16:37 -0700 |
commit | 5f59c6855bad1809a4f85ce4db412f9ede45a4a0 (patch) | |
tree | fb81fb82b5df55b1b964d71deb014ca8b5f71e2a /scripts/generate_rust_analyzer.py | |
parent | 08d0ce30e0e4fcb5f06c90fe40387b1ce9324833 (diff) |
riscv: Add types to indirectly called assembly functions
With CONFIG_CFI_CLANG, assembly functions indirectly called
from C code must be annotated with type identifiers to pass CFI
checking. Use the SYM_TYPED_START macro to add types to the
relevant functions.
Reviewed-by: Kees Cook <keescook@chromium.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Link: https://lore.kernel.org/r/20230710183544.999540-10-samitolvanen@google.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions