On 2/9/21 5:33 PM, Kees Cook wrote:
On Thu, Jan 28, 2021 at 10:17:21AM -0600, Seth Forshee wrote:
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@xxxxxxxxxxxxx>
Thanks!
Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>
I'll snag this if Shuah doesn't first. :)
I will apply this. I have several queued for 5.12-rc1 anyway.
thanks,
-- Shuah