UPSTREAM: 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> Bug: 31660652 Signed-off-by:
Jeff Vander Stoep <jeffv@google.com> (cherry picked from commit c623b33b) Change-Id: Ica907e21c7aad9b4d30e9cfc82da13c4c1ac2a80
Loading
Please sign in to comment