root/drivers/misc/lkdtm/rodata.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. lkdtm_rodata_do_nothing

   1 // SPDX-License-Identifier: GPL-2.0
   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  */
   6 #include "lkdtm.h"
   7 
   8 void notrace lkdtm_rodata_do_nothing(void)
   9 {
  10         /* Does nothing. We just want an architecture agnostic "return". */
  11 }

/* [<][>][^][v][top][bottom][index][help] */