diff options
author | Kees Cook <keescook@chromium.org> | 2019-01-17 03:35:25 +0300 |
---|---|---|
committer | Shuah Khan <shuah@kernel.org> | 2019-01-17 21:00:23 +0300 |
commit | 3d244c192afeee7dd4f5fb1b916ea4e47420d401 (patch) | |
tree | eac7f01bb07996a0c0a8ff42283e8106a138a5d4 /lib/idr.c | |
parent | 508cacd7da6659ae7b7bdd0a335f675422277758 (diff) | |
download | linux-3d244c192afeee7dd4f5fb1b916ea4e47420d401.tar.xz |
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 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions