aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorDaniel Borkmann <[email protected]>2015-03-01 10:14:39 +0000
committerWill Deacon <[email protected]>2015-03-19 10:43:56 +0000
commite6a2e1b6c24a3993ffbb69a05dda202d2830ad90 (patch)
treee966e4a334395baec1fa3b9e98c4a5f8e6925803 /drivers/mtd/lpddr/lpddr_cmds.c
parenta8fcd8b192bb15debe1db276e073c6ba9a3fc953 (diff)
arm64: mm: unexport set_memory_ro and set_memory_rw
This effectively unexports set_memory_ro and set_memory_rw functions from commit 11d91a770f1f ("arm64: Add CONFIG_DEBUG_SET_MODULE_RONX support"). No module user of those is in mainline kernel and we explicitly do not want modules to use these functions, as they i.e. RO-protect eBPF (interpreted and JIT'ed) images from malicious modifications/bugs. Outside of eBPF scope, I believe also other set_memory_* functions should be unexported on arm64 due to non-existant mainline module user. Laura mentioned that they have some uses for modules doing set_memory_*, but none that are in mainline and it's unclear if they would ever get there. Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Acked-by: Laura Abbott <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions