mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 06:24:53 +08:00
08c8e685c7
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>
16 lines
443 B
Makefile
16 lines
443 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the linux s390-specific parts of the memory manager.
|
|
#
|
|
|
|
obj-y := init.o fault.o extmem.o mmap.o vmem.o maccess.o
|
|
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_CORE) += dump_pagetables.o
|
|
obj-$(CONFIG_PGSTE) += gmap.o
|
|
|
|
KASAN_SANITIZE_kasan_init.o := n
|
|
obj-$(CONFIG_KASAN) += kasan_init.o
|