+8
−0
drivers/misc/lkdtm.h
0 → 100644
+6
−0
+17
−7
drivers/misc/lkdtm_rodata.c
0 → 100644
+10
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This adds a function that lives in the .rodata section. The section
flags are corrected using objcopy since there is no way with gcc to
declare section flags in an architecture-agnostic way.
Signed-off-by:
Kees Cook <keescook@chromium.org>