-
- Downloads
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>
Showing
- arch/s390/Kconfig 1 addition, 0 deletionsarch/s390/Kconfig
- arch/s390/configs/debug_defconfig 1 addition, 0 deletionsarch/s390/configs/debug_defconfig
- arch/s390/configs/defconfig 1 addition, 0 deletionsarch/s390/configs/defconfig
- arch/s390/include/asm/ptdump.h 14 additions, 0 deletionsarch/s390/include/asm/ptdump.h
- arch/s390/mm/Makefile 1 addition, 1 deletionarch/s390/mm/Makefile
- arch/s390/mm/dump_pagetables.c 63 additions, 1 deletionarch/s390/mm/dump_pagetables.c
- arch/s390/mm/init.c 2 additions, 0 deletionsarch/s390/mm/init.c
Loading
Please register or sign in to comment