public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 0/4] CVE-2016-10044 and SAFE_PERSONALITY
@ 2017-07-18  7:33 Richard Palethorpe
  2017-07-18  7:33 ` [LTP] [PATCH 1/4] configure.ac: Add check for aio_abi.h Richard Palethorpe
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Richard Palethorpe @ 2017-07-18  7:33 UTC (permalink / raw)
  To: ltp

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-07-18 13:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-18  7:33 [LTP] [PATCH 0/4] CVE-2016-10044 and SAFE_PERSONALITY Richard Palethorpe
2017-07-18  7:33 ` [LTP] [PATCH 1/4] configure.ac: Add check for aio_abi.h Richard Palethorpe
2017-07-18  7:33 ` [LTP] [PATCH 2/4] lib: Add personality fallback and SAFE macro Richard Palethorpe
2017-07-18  7:33 ` [LTP] [PATCH 3/4] CVE-2012-0957: Use SAFE_PERSONALITY Richard Palethorpe
2017-07-18  7:33 ` [LTP] [PATCH 4/4] Test for CVE-2016-10044 mark AIO pseudo-fs noexec Richard Palethorpe
2017-07-18  7:58   ` Jan Stancek
2017-07-18  9:09     ` Richard Palethorpe
2017-07-18 13:40       ` Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox