Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d354d0d0 authored by Kees Cook's avatar Kees Cook Committed by Sami Tolvanen
Browse files

UPSTREAM: console: Expand dummy functions for CFI



This expands the no-op dummy functions into full prototypes to avoid
indirect call mismatches when running under Control Flow Integrity
checking, like with Clang's -fsanitize=cfi.

Co-Developed-by: default avatarSami Tolvanen <samitolvanen@google.com>
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Change-Id: If63cf04ad86b55afb1442ef4037b5f575457ea06
(cherry picked from commit c396a5bf457fb60159dcedbd4f48d53a62be030a)
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
parent 25ed8eed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment