blob: baacb876d1d94a6de80767b58df4848173a570e1 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001// SPDX-License-Identifier: GPL-2.0
Kees Cook9a49a522016-02-22 14:09:29 -08002/*
3 * This includes functions that are meant to live entirely in .rodata
4 * (via objcopy tricks), to validate the non-executability of .rodata.
5 */
Kees Cook6d2e91a2016-07-15 16:04:39 -07006#include "lkdtm.h"
Kees Cook9a49a522016-02-22 14:09:29 -08007
Mark Rutland3f618ab2020-12-07 17:05:33 +00008void noinstr lkdtm_rodata_do_nothing(void)
Kees Cook9a49a522016-02-22 14:09:29 -08009{
10 /* Does nothing. We just want an architecture agnostic "return". */
11}