[LTP] [PATCH 0/4] CVE-2016-10044 and SAFE_PERSONALITY
Richard Palethorpe
rpalethorpe@suse.com
Tue Jul 18 09:33:15 CEST 2017
This patch requires the previous CVE patch set!
It adds a test for CVE-2016-10044 and introduces the SAFE_PERSONALITY macro
since this is the second test I have written which uses the personality
syscall.
Richard Palethorpe (4):
configure.ac: Add check for aio_abi.h
lib: Add personality fallback and SAFE macro
CVE-2012-0957: Use SAFE_PERSONALITY
Test for CVE-2016-10044 mark AIO pseudo-fs noexec
configure.ac | 4 ++
include/lapi/personality.h | 48 ++++++++++++++++++++++
include/tst_personality.h | 28 +++++++++++++
lib/tst_personality.c | 33 +++++++++++++++
m4/ltp-personality.m4 | 24 +++++++++++
runtest/cve | 1 +
testcases/cve/.gitignore | 1 +
testcases/cve/cve-2012-0957.c | 8 +---
testcases/cve/cve-2016-10044.c | 92 ++++++++++++++++++++++++++++++++++++++++++
9 files changed, 233 insertions(+), 6 deletions(-)
create mode 100644 include/lapi/personality.h
create mode 100644 include/tst_personality.h
create mode 100644 lib/tst_personality.c
create mode 100644 m4/ltp-personality.m4
create mode 100644 testcases/cve/cve-2016-10044.c
--
2.13.2
More information about the ltp
mailing list