Kees Cook | 9a49a52 | 2016-02-22 14:09:29 -0800 | [diff] [blame] | 1 | /* |
| 2 | * This includes functions that are meant to live entirely in .rodata |
| 3 | * (via objcopy tricks), to validate the non-executability of .rodata. |
| 4 | */ |
Kees Cook | 6d2e91a | 2016-07-15 16:04:39 -0700 | [diff] [blame] | 5 | #include "lkdtm.h" |
Kees Cook | 9a49a52 | 2016-02-22 14:09:29 -0800 | [diff] [blame] | 6 | |
Michael Ellerman | c012268 | 2016-08-05 14:25:53 -0700 | [diff] [blame] | 7 | void notrace lkdtm_rodata_do_nothing(void) |
Kees Cook | 9a49a52 | 2016-02-22 14:09:29 -0800 | [diff] [blame] | 8 | { |
| 9 | /* Does nothing. We just want an architecture agnostic "return". */ |
| 10 | } |