Christian Brauner <christ...@brauner.io> writes:
> This adds basic tests for the new close_range() syscall.
> - test that no invalid flags can be passed
> - test that a range of file descriptors is correctly closed
> - test that a range of file descriptors is correctly closed if there there
>   are already closed file descriptors in the range
> - test that max_fd is correctly capped to the current fdtable maximum
>
> Signed-off-by: Christian Brauner <christ...@brauner.io>
> Cc: Arnd Bergmann <a...@arndb.de>
> Cc: Jann Horn <ja...@google.com>
> Cc: David Howells <dhowe...@redhat.com>
> Cc: Dmitry V. Levin <l...@altlinux.org>
> Cc: Oleg Nesterov <o...@redhat.com>
> Cc: Linus Torvalds <torva...@linux-foundation.org>
> Cc: Florian Weimer <fwei...@redhat.com>
> Cc: Shuah Khan <sh...@kernel.org>
> Cc: linux-...@vger.kernel.org
> Cc: linux-kselft...@vger.kernel.org
> ---
> v1: unchanged
> v2:
> - Christian Brauner <christ...@brauner.io>:
>   - verify that close_range() correctly closes a single file descriptor
> v3:
> - Christian Brauner <christ...@brauner.io>:
>   - add missing Cc for Shuah
>   - add missing Cc for linux-kselftest

Sorry I replied to v2, but I think my comments still apply:

https://lore.kernel.org/lkml/8736kzqpdm....@concordia.ellerman.id.au/

cheers

Reply via email to