diff options
author | Andy Lutomirski <[email protected]> | 2019-06-26 21:45:08 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2019-06-28 00:04:40 +0200 |
commit | 441cedab2dfca18fe4983cbc795de04536ed421e (patch) | |
tree | edc94bb896bc62f7504668f09a720a947e20ce57 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 625b7b7f79c66626fb2b7687fc1a58309a57edd5 (diff) |
x86/vsyscall: Add __ro_after_init to global variables
The vDSO is only configurable by command-line options, so make its
global variables __ro_after_init. This seems highly unlikely to
ever stop an exploit, but it's nicer anyway.
Signed-off-by: Andy Lutomirski <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Cc: Florian Weimer <[email protected]>
Cc: Jann Horn <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Kernel Hardening <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lkml.kernel.org/r/a386925835e49d319e70c4d7404b1f6c3c2e3702.1561610354.git.luto@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions