]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/core: add test for CLOSE_RANGE_UNSHARE | CLOSE_RANGE_CLOEXEC
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 18 Dec 2020 14:54:14 +0000 (15:54 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sat, 19 Dec 2020 15:23:18 +0000 (16:23 +0100)
commite729d4cbbf688a78a6f1bfc77be9aa199a6e4eef
tree214bd0f7db16c00b745c4f6036f4c802e07a8e64
parent918b39deebbe5a4c9cc6499b5fa403ca50a61fc9
selftests/core: add test for CLOSE_RANGE_UNSHARE | CLOSE_RANGE_CLOEXEC

Add a test to verify that CLOSE_RANGE_UNSHARE works correctly when combined
with CLOSE_RANGE_CLOEXEC for the single-threaded case.

Cc: Giuseppe Scrivano <gscrivan@redhat.com>
Cc: linux-fsdevel@vger.kernel.org
Link: https://lore.kernel.org/r/20201218145415.801063-3-christian.brauner@ubuntu.com
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
tools/testing/selftests/core/close_range_test.c