* [kernel-hardening][PATCH 0/3] arm: Makes ptdump resuable and add WX page checking
@ 2017-12-01 10:38 ` jinb.park
0 siblings, 0 replies; 2+ messages in thread
From: jinb.park @ 2017-12-01 10:38 UTC (permalink / raw)
To: linux-arm-kernel, linux-kernel, kernel-hardening
Cc: afzal.mohd.ma, mark.rutland, labbott, linux, gregkh, keescook,
vladimir.murzin, arnd
Hi,
Page table dumping code for arm64-x86 is reusable,
and they have function for WX page checking.
But arm doesn't have that.
This path series are to makes ptdump reusable,
and add WX page checking for arm.
This is heavily based on arm64 version.
Jinbum Park (3):
arm: mm: dump: make page table dumping reusable
arm: mm: dump: make the page table dumping seq_file optional
arm: mm: dump: add checking for writable and executable pages
arch/arm/Kconfig.debug | 33 +++++++-
arch/arm/include/asm/ptdump.h | 56 ++++++++++++++
arch/arm/mm/Makefile | 3 +-
arch/arm/mm/dump.c | 171 +++++++++++++++++++++++++++++++-----------
arch/arm/mm/init.c | 2 +
arch/arm/mm/ptdump_debugfs.c | 34 +++++++++
6 files changed, 253 insertions(+), 46 deletions(-)
create mode 100644 arch/arm/include/asm/ptdump.h
create mode 100644 arch/arm/mm/ptdump_debugfs.c
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [kernel-hardening][PATCH 0/3] arm: Makes ptdump resuable and add WX page checking
@ 2017-12-01 10:38 ` jinb.park
0 siblings, 0 replies; 2+ messages in thread
From: jinb.park @ 2017-12-01 10:38 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
Page table dumping code for arm64-x86 is reusable,
and they have function for WX page checking.
But arm doesn't have that.
This path series are to makes ptdump reusable,
and add WX page checking for arm.
This is heavily based on arm64 version.
Jinbum Park (3):
arm: mm: dump: make page table dumping reusable
arm: mm: dump: make the page table dumping seq_file optional
arm: mm: dump: add checking for writable and executable pages
arch/arm/Kconfig.debug | 33 +++++++-
arch/arm/include/asm/ptdump.h | 56 ++++++++++++++
arch/arm/mm/Makefile | 3 +-
arch/arm/mm/dump.c | 171 +++++++++++++++++++++++++++++++-----------
arch/arm/mm/init.c | 2 +
arch/arm/mm/ptdump_debugfs.c | 34 +++++++++
6 files changed, 253 insertions(+), 46 deletions(-)
create mode 100644 arch/arm/include/asm/ptdump.h
create mode 100644 arch/arm/mm/ptdump_debugfs.c
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-01 10:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-01 10:38 [kernel-hardening][PATCH 0/3] arm: Makes ptdump resuable and add WX page checking jinb.park
2017-12-01 10:38 ` jinb.park
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.