Commit | Line | Data |
---|---|---|
b2441318 | 1 | // SPDX-License-Identifier: GPL-2.0 |
9a49a528 KC |
2 | /* |
3 | * This includes functions that are meant to live entirely in .rodata | |
4 | * (via objcopy tricks), to validate the non-executability of .rodata. | |
5 | */ | |
6d2e91a6 | 6 | #include "lkdtm.h" |
9a49a528 | 7 | |
3f618ab3 | 8 | void noinstr lkdtm_rodata_do_nothing(void) |
9a49a528 KC |
9 | { |
10 | /* Does nothing. We just want an architecture agnostic "return". */ | |
11 | } |