[LTP] [PATCH v2 0/3] Test for Memory Protection Key
Li Wang
liwang@redhat.com
Fri Jun 21 12:26:25 CEST 2019
Change log:
v1 --> v2
* correct syscall numbers in aarch64.in
* handle ENOSPC error in check_pkey_support
* avoid getting cores from pkey01 children
* add pkey02 to test with more different memory
Li Wang (3):
pkey: add syscall numbers for pkey
pkey: add test for memory protection keys
pkey: add pkey02 test
configure.ac | 1 +
include/lapi/syscalls/aarch64.in | 3 +
include/lapi/syscalls/arm.in | 3 +
include/lapi/syscalls/i386.in | 3 +
include/lapi/syscalls/ia64.in | 3 +
include/lapi/syscalls/powerpc.in | 3 +
include/lapi/syscalls/powerpc64.in | 3 +
include/lapi/syscalls/s390.in | 3 +
include/lapi/syscalls/s390x.in | 3 +
include/lapi/syscalls/sparc.in | 3 +
include/lapi/syscalls/sparc64.in | 3 +
include/lapi/syscalls/x86_64.in | 3 +
runtest/syscalls | 3 +
testcases/kernel/syscalls/pkeys/.gitignore | 2 +
testcases/kernel/syscalls/pkeys/Makefile | 8 ++
testcases/kernel/syscalls/pkeys/pkey.h | 50 ++++++++
testcases/kernel/syscalls/pkeys/pkey01.c | 126 +++++++++++++++++++
testcases/kernel/syscalls/pkeys/pkey02.c | 134 +++++++++++++++++++++
18 files changed, 357 insertions(+)
create mode 100644 testcases/kernel/syscalls/pkeys/.gitignore
create mode 100644 testcases/kernel/syscalls/pkeys/Makefile
create mode 100644 testcases/kernel/syscalls/pkeys/pkey.h
create mode 100644 testcases/kernel/syscalls/pkeys/pkey01.c
create mode 100644 testcases/kernel/syscalls/pkeys/pkey02.c
--
2.20.1
More information about the ltp
mailing list