Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/core/
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()
282 ret = sys_close_range(open_fds[75], open_fds[100], 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()
[all …]
/Linux-v5.15/include/uapi/linux/
Dclose_range.h9 #define CLOSE_RANGE_CLOEXEC (1U << 2) macro
/Linux-v5.15/fs/
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()