diff options
author | Kees Cook <keescook@chromium.org> | 2019-01-17 01:35:25 +0100 |
---|---|---|
committer | Shuah Khan <shuah@kernel.org> | 2019-01-17 19:00:23 +0100 |
commit | 3d244c192afeee7dd4f5fb1b916ea4e47420d401 (patch) | |
tree | eac7f01bb07996a0c0a8ff42283e8106a138a5d4 /tools/testing/selftests/cpu-hotplug/cpu-on-off-test.sh | |
parent | selftests: gpio-mockup-chardev: Check asprintf() for error (diff) | |
download | linux-3d244c192afeee7dd4f5fb1b916ea4e47420d401.tar.xz linux-3d244c192afeee7dd4f5fb1b916ea4e47420d401.zip |
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/testing/selftests/cpu-hotplug/cpu-on-off-test.sh')
0 files changed, 0 insertions, 0 deletions