diff options
author | 2014-04-03 17:28:11 -0700 | |
---|---|---|
committer | 2014-10-16 14:38:54 -0700 | |
commit | 1e6b48116a95046ec51f3d40f83aff8b006674d7 (patch) | |
tree | 1c18e08416613ef84513cb2cd52679e7af6d4d7c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | arm: kgdb: Handle read-only text / modules (diff) | |
download | linux-dev-1e6b48116a95046ec51f3d40f83aff8b006674d7.tar.xz linux-dev-1e6b48116a95046ec51f3d40f83aff8b006674d7.zip |
ARM: mm: allow non-text sections to be non-executable
Adds CONFIG_ARM_KERNMEM_PERMS to separate the kernel memory regions
into section-sized areas that can have different permisions. Performs
the NX permission changes during free_initmem, so that init memory can be
reclaimed.
This uses section size instead of PMD size to reduce memory lost to
padding on non-LPAE systems.
Based on work by Brad Spengler, Larry Bassel, and Laura Abbott.
Signed-off-by: Kees Cook <keescook@chromium.org>
Tested-by: Laura Abbott <lauraa@codeaurora.org>
Acked-by: Nicolas Pitre <nico@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions