diff options
author | Ard Biesheuvel <[email protected]> | 2018-09-18 23:51:43 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-09-27 17:56:49 +0200 |
commit | e872267b8bcbb179e21ccc7118f258873d6e7a59 (patch) | |
tree | 144867ffb2c030b4eb70d2b02f3646293ed73d83 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 19483677684b6ca01606f58503cb79cdfbbc7c72 (diff) |
jump_table: Move entries into ro_after_init region
The __jump_table sections emitted into the core kernel and into
each module consist of statically initialized references into
other parts of the code, and with the exception of entries that
point into init code, which are defused at post-init time, these
data structures are never modified.
So let's move them into the ro_after_init section, to prevent them
from being corrupted inadvertently by buggy code, or deliberately
by an attacker.
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Acked-by: Jessica Yu <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Arnd Bergmann <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions