Home
last modified time | relevance | path

Searched refs:CLOSE_RANGE_CLOEXEC (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/core/
A Dclose_range_test.c43 #ifndef CLOSE_RANGE_CLOEXEC
44 #define CLOSE_RANGE_CLOEXEC (1U << 2) macro
266 ret = sys_close_range(1000, 1000, CLOSE_RANGE_CLOEXEC); in TEST()
280 ret = sys_close_range(open_fds[0], open_fds[50], CLOSE_RANGE_CLOEXEC); in TEST()
307 ret = sys_close_range(3, UINT_MAX, CLOSE_RANGE_CLOEXEC); in TEST()
334 ret = sys_close_range(1000, 1000, CLOSE_RANGE_CLOEXEC); in TEST()
349 CLOSE_RANGE_CLOEXEC | CLOSE_RANGE_UNSHARE); in TEST()
352 CLOSE_RANGE_CLOEXEC | CLOSE_RANGE_UNSHARE); in TEST()
378 CLOSE_RANGE_CLOEXEC | CLOSE_RANGE_UNSHARE); in TEST()
410 ret = sys_close_range(3, ~0U, CLOSE_RANGE_CLOEXEC); in TEST()
[all …]
/linux/include/uapi/linux/
A Dclose_range.h9 #define CLOSE_RANGE_CLOEXEC (1U << 2) macro
/linux/fs/
A Dfile.c707 if (flags & ~(CLOSE_RANGE_UNSHARE | CLOSE_RANGE_CLOEXEC)) in __close_range()
722 if (!(flags & CLOSE_RANGE_CLOEXEC)) { in __close_range()
746 if (flags & CLOSE_RANGE_CLOEXEC) in __close_range()

Completed in 8 milliseconds