Thread (2 messages) 2 messages, 2 authors, 2019-05-28

Re: [PATCH v3 3/3] tests: add close_range() tests

flat view

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2019-05-28 03:22:26
Also in: linux-fsdevel, linux-kselftest, lkml

Christian Brauner [off-list ref] 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 <christian@brauner.io>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Jann Horn <jannh@google.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Dmitry V. Levin <redacted>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Florian Weimer <redacted>
Cc: Shuah Khan <shuah@kernel.org>
Cc: linux-api@vger.kernel.org
Cc: linux-kselftest@vger.kernel.org
---
v1: unchanged
v2:
- Christian Brauner [off-list ref]:
  - verify that close_range() correctly closes a single file descriptor
v3:
- Christian Brauner [off-list ref]:
  - 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.fsf@concordia.ellerman.id.au/ (local)

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