diff options
author | Kees Cook <keescook@chromium.org> | 2019-01-16 16:35:25 -0800 |
---|---|---|
committer | Shuah Khan <shuah@kernel.org> | 2019-01-17 11:00:23 -0700 |
commit | 3d244c192afeee7dd4f5fb1b916ea4e47420d401 (patch) | |
tree | eac7f01bb07996a0c0a8ff42283e8106a138a5d4 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | 508cacd7da6659ae7b7bdd0a335f675422277758 (diff) |
selftests/seccomp: Abort without user notification support
In the face of missing user notification support, the self test needs
to stop executing a test (ASSERT_*) instead of just reporting and
continuing (EXPECT_*). This adjusts the user notification tests to do
that where needed.
Reported-by: Shuah Khan <shuah@kernel.org>
Fixes: 6a21cc50f0c7 ("seccomp: add a return code to trap to userspace")
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Tycho Andersen <tycho@tycho.ws>
Tested-by: Shuah Khan <shuah@kernel.org>
Signed-off-by: Shuah Khan <shuah@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions