aboutsummaryrefslogtreecommitdiff
path: root/lib/test_vmalloc.c
diff options
context:
space:
mode:
authorChristian Brauner <[email protected]>2019-05-20 16:13:28 +0200
committerChristian Brauner <[email protected]>2020-06-17 00:07:38 +0200
commit2c5db60e46ad7f03789fe7e2beedb15496930468 (patch)
tree4a4beed4d50fa635c5756d6a13e33a31d927f38f /lib/test_vmalloc.c
parent9b4feb630e8e9801603f3cab3a36369e3c1cf88d (diff)
tests: add close_range() tests
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 <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Jann Horn <[email protected]> Cc: David Howells <[email protected]> Cc: Dmitry V. Levin <[email protected]> Cc: Oleg Nesterov <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Florian Weimer <[email protected]> Cc: Shuah Khan <[email protected]> Cc: [email protected] Cc: [email protected]
Diffstat (limited to 'lib/test_vmalloc.c')
0 files changed, 0 insertions, 0 deletions