diff options
author | Vincenzo Frascino <[email protected]> | 2019-04-15 10:49:37 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2019-04-23 18:01:58 +0100 |
commit | af1b3cf2c2a3f42bbb680812ff1bbd715ac8af69 (patch) | |
tree | 67550d4018c6cc1e368214556d744317da53e689 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1255a7341bee6cd96df056ed0c13e44b59023687 (diff) |
arm64: compat: Add KUSER_HELPERS config option
When kuser helpers are enabled the kernel maps the relative code at
a fixed address (0xffff0000). Making configurable the option to disable
them means that the kernel can remove this mapping and any access to
this memory area results in a sigfault.
Add a KUSER_HELPERS config option that can be used to disable the
mapping when it is turned off.
This option can be turned off if and only if the applications are
designed specifically for the platform and they do not make use of the
kuser helpers code.
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Vincenzo Frascino <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
[will: Use IS_ENABLED() instead of #ifdef]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions