Re: [PATCH] selftests/seccomp: More closely track fds being assigned

From: Christian Brauner
Date: Thu May 27 2021 - 09:07:16 EST


On Wed, May 26, 2021 at 08:29:48PM -0700, Kees Cook wrote:
> Since the open fds might not always start at "4" (especially when
> running under kselftest, etc), start counting from the first assigned
> fd, rather than using the more permissive EXPECT_GE(fd, 0).
>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
> ---

Looks good,
Acked-by: Christian Brauner <christian.brauner@xxxxxxxxxx>