mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

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>
6 lines
81 B
C
6 lines
81 B
C
#ifndef __LKDTM_H
|
|
#define __LKDTM_H
|
|
|
|
void lkdtm_rodata_do_nothing(void);
|
|
|
|
#endif
|