blob: 58d180af72cf0e3afd3f1a9459aef892cbc85eb3 [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
Michael Ellermanc0122682016-08-05 14:25:53 -07008void notrace lkdtm_rodata_do_nothing(void)
Kees Cook9a49a522016-02-22 14:09:29 -08009{
10 /* Does nothing. We just want an architecture agnostic "return". */
11}