blob: 3564477b8c2dad4cde23eda8fc8bb3b938d6bc86 [file] [log] [blame]
Kees Cook9a49a522016-02-22 14:09:29 -08001/*
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 Cook6d2e91a2016-07-15 16:04:39 -07005#include "lkdtm.h"
Kees Cook9a49a522016-02-22 14:09:29 -08006
Michael Ellermanc0122682016-08-05 14:25:53 -07007void notrace lkdtm_rodata_do_nothing(void)
Kees Cook9a49a522016-02-22 14:09:29 -08008{
9 /* Does nothing. We just want an architecture agnostic "return". */
10}