diff options
author | 2021-01-28 10:17:21 -0600 | |
---|---|---|
committer | 2021-02-09 17:39:01 -0700 | |
commit | e0c0840a46db9d50ba7391082d665d74f320c39f (patch) | |
tree | eb19e7d09f8c5da51a00f7e32303a6cc097068bc /net/unix/af_unix.c | |
parent | selftests/timens: add futex binary to .gitignore (diff) | |
download | wireguard-linux-e0c0840a46db9d50ba7391082d665d74f320c39f.tar.xz wireguard-linux-e0c0840a46db9d50ba7391082d665d74f320c39f.zip |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions