summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorMark Rutland2015-01-08 12:42:59 +0100
committerCatalin Marinas2015-01-27 10:38:08 +0100
commitc623b33b4e9599c6ac5076f7db7369eb9869aa04 (patch)
tree35d6abf925bf8734e455f494acbd88101382515b /arch/arm64/kernel/asm-offsets.c
parentarm64: Remove asm/syscalls.h (diff)
downloadkernel-qcow2-linux-c623b33b4e9599c6ac5076f7db7369eb9869aa04.tar.gz
kernel-qcow2-linux-c623b33b4e9599c6ac5076f7db7369eb9869aa04.tar.xz
kernel-qcow2-linux-c623b33b4e9599c6ac5076f7db7369eb9869aa04.zip
arm64: make sys_call_table const
As with x86, mark the sys_call_table const such that it will be placed in the .rodata section. This will cause attempts to modify the table (accidental or deliberate) to fail when strict page permissions are in place. In the absence of strict page permissions, there should be no functional change. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel/asm-offsets.c')
0 files changed, 0 insertions, 0 deletions