diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-02-21 19:08:45 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-02-23 21:04:32 +1100 |
commit | 28ea38b9cba68eec55cf550acd6b36b6f507cd17 (patch) | |
tree | 186162e391d432a3533eef89d52bde400593236f /security | |
parent | 02d5d13b4544dff5fc0c0aa0179085ed52b72ecd (diff) | |
download | linux-28ea38b9cba68eec55cf550acd6b36b6f507cd17.tar.gz linux-28ea38b9cba68eec55cf550acd6b36b6f507cd17.tar.bz2 linux-28ea38b9cba68eec55cf550acd6b36b6f507cd17.zip |
powerpc/mmu: add is_strict_kernel_rwx() helper
Add a helper to know whether STRICT_KERNEL_RWX is enabled.
This is based on rodata_enabled flag which is defined only
when CONFIG_STRICT_KERNEL_RWX is selected.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions