selftests: Make test_harness.h more generally available

The seccomp/test_harness.h file contains useful helpers to build tests.
Moving it to the selftest directory should benefit to other test
components.

Keep seccomp maintainers for this file.

Signed-off-by: Mickaël Salaün <[email protected]>
Acked-by: Kees Cook <[email protected]>
Acked-by: Will Drewry <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Shuah Khan <[email protected]>
Link: https://lkml.kernel.org/r/CAGXu5j+8CVz8vL51DRYXqOY=xc3zuKFf=PTENe88XYHzFYidUQ@mail.gmail.com
Signed-off-by: Shuah Khan <[email protected]>
This commit is contained in:
Mickaël Salaün 2017-05-26 20:43:56 +02:00 • committed by Shuah Khan
commit 0b40808a10
3 changed files with 2 additions and 1 deletions

View file

@ -37,7 +37,7 @@
#include <unistd.h>
#include <sys/syscall.h>
#include "test_harness.h"
#include "../kselftest_harness.h"
#ifndef PR_SET_PTRACER
# define PR_SET_PTRACER 0x59616d61