mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 18:24:14 +08:00
9a49a528dc
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>
7 lines
81 B
C
7 lines
81 B
C
#ifndef __LKDTM_H
|
|
#define __LKDTM_H
|
|
|
|
void lkdtm_rodata_do_nothing(void);
|
|
|
|
#endif
|