On Wed, Mar 31, 2021 at 10:01 PM Jisheng Zhang
wrote:
>
> From: Jisheng Zhang
>
> Constify the sys_call_table so that it will be placed in the .rodata
> section. This will cause attempts to modify the table to fail when
> strict page permissions are in place.
>
> Signed-off-by: Jisheng Zhang
Lo
From: Jisheng Zhang
Constify the sys_call_table so that it will be placed in the .rodata
section. This will cause attempts to modify the table to fail when
strict page permissions are in place.
Signed-off-by: Jisheng Zhang
---
arch/riscv/include/asm/syscall.h | 2 +-
arch/riscv/kernel/syscall