Thread (4 messages) 4 messages, 3 authors, 2021-02-10

Re: [PATCH] selftests/seccomp: Accept any valid fd in user_notification_addfd

From: Shuah Khan <skhan@linuxfoundation.org>
Date: 2021-02-10 00:38:51
Also in: linux-kselftest

On 2/9/21 5:33 PM, Kees Cook wrote:
On Thu, Jan 28, 2021 at 10:17:21AM -0600, Seth Forshee wrote:
quoted
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 <redacted>
Thanks!

Acked-by: Kees Cook <redacted>

I'll snag this if Shuah doesn't first. :)
I will apply this. I have several queued for 5.12-rc1 anyway.

thanks,
-- Shuah
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help