diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2020-09-09 17:10:29 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2020-09-14 11:38:35 +0200 |
commit | 08c8e685c7c9223f9c4ad6365e02bebd3f106480 (patch) | |
tree | 0125da74f6c62816182837dfcae925c640fbc4a0 /arch/s390/mm/Makefile | |
parent | s390/mm,ptdump: make page table dumping seq_file optional (diff) | |
download | linux-08c8e685c7c9223f9c4ad6365e02bebd3f106480.tar.xz linux-08c8e685c7c9223f9c4ad6365e02bebd3f106480.zip |
s390: add ARCH_HAS_DEBUG_WX support
Checks the whole kernel address space for W+X mappings. Note that
currently the first lowcore page unfortunately has to be mapped
W+X. Therefore this not reported as an insecure mapping.
For the very same reason the wording is also different to other
architectures if the test passes:
On s390 it is "no unexpected W+X pages found" instead of
"no W+X pages found".
Tested-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/mm/Makefile')
-rw-r--r-- | arch/s390/mm/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/mm/Makefile b/arch/s390/mm/Makefile index 8ab9daeeace3..cd67e94c16aa 100644 --- a/arch/s390/mm/Makefile +++ b/arch/s390/mm/Makefile @@ -8,7 +8,7 @@ obj-y += page-states.o pageattr.o pgtable.o pgalloc.o obj-$(CONFIG_CMM) += cmm.o obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o -obj-$(CONFIG_PTDUMP_DEBUGFS) += dump_pagetables.o +obj-$(CONFIG_PTDUMP_CORE) += dump_pagetables.o obj-$(CONFIG_PGSTE) += gmap.o KASAN_SANITIZE_kasan_init.o := n |