diff options
author | Seth Forshee <[email protected]> | 2021-01-28 10:17:21 -0600 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2021-02-09 17:39:01 -0700 |
commit | e0c0840a46db9d50ba7391082d665d74f320c39f (patch) | |
tree | eb19e7d09f8c5da51a00f7e32303a6cc097068bc /tools/perf/tests/code-reading.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 <[email protected]>
Acked-by: Shuah Khan <[email protected]>
Acked-by: Kees Cook <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/tests/code-reading.c')
0 files changed, 0 insertions, 0 deletions