diff options
author | Seth Forshee <seth.forshee@canonical.com> | 2021-01-28 10:17:21 -0600 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2021-02-09 17:39:01 -0700 |
commit | e0c0840a46db9d50ba7391082d665d74f320c39f (patch) | |
tree | eb19e7d09f8c5da51a00f7e32303a6cc097068bc /kernel/gcov/gcc_base.c | |
parent | 1602a31d71d3607f3f1dc08692aad7105ca80e5b (diff) |
selftests/seccomp: Accept any valid fd in user_notification_addfd
This test expects fds to have specific values, which works fine
when the test is run standalone. However, the kselftest runner
consumes a couple of extra fds for redirection when running
tests, so the test fails when run via kselftest.
Change the test to pass on any valid fd number.
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'kernel/gcov/gcc_base.c')
0 files changed, 0 insertions, 0 deletions