Skip to contentSkip to conversation

Add regression test for CVE-2017-17053

PATCH Superseded Michael Moese 1 participant 1 message Feb 12, 2018

v4 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

v4 cover Add regression test for CVE-2017-17053

Add a regression test for CVE-2017-17053. This testcase is depending on some new library functions included in this series.

This patch series consists of reworked patches according to previous review comments, as well as a small new library wrapper function SAFE_SIGACTION() to install a signal handler.

I made this entire series a v4, as the the library support for /proc/sys/kernel/tainted was previously a v3.

Michael Moese (3):
Add library support for /proc/sys/kernel/tainted Add a library wrapper for sigaction() Add regression test for CVE-2017-17053

 doc/test-writing-guidelines.txt |  42 +++++++++++++
 include/tst_safe_macros.h       |  20 ++++++
 include/tst_taint.h             | 104 +++++++++++++++++++++++++++++++
 lib/tst_taint.c                 | 106 ++++++++++++++++++++++++++++++++
 runtest/cve                     |   1 +
 testcases/cve/.gitignore        |   1 +
 testcases/cve/Makefile          |   1 +
 testcases/cve/cve-2017-17053.c  | 132 ++++++++++++++++++++++++++++++++++++++++
 8 files changed, 407 insertions(+)
 create mode 100644 include/tst_taint.h
 create mode 100644 lib/tst_taint.c
 create mode 100644 testcases/cve/cve-2017-17053.c
Signature · 1 line
2.13.6