Searched refs:CLOSE_RANGE_CLOEXEC (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/tools/testing/selftests/core/ |
D | close_range_test.c | 43 #ifndef CLOSE_RANGE_CLOEXEC 44 #define CLOSE_RANGE_CLOEXEC (1U << 2) macro 262 ret = sys_close_range(1000, 1000, CLOSE_RANGE_CLOEXEC); in TEST() 276 ret = sys_close_range(open_fds[0], open_fds[50], CLOSE_RANGE_CLOEXEC); in TEST() 278 ret = sys_close_range(open_fds[75], open_fds[100], CLOSE_RANGE_CLOEXEC); in TEST() 303 ret = sys_close_range(3, UINT_MAX, CLOSE_RANGE_CLOEXEC); in TEST() 330 ret = sys_close_range(1000, 1000, CLOSE_RANGE_CLOEXEC); in TEST() 345 CLOSE_RANGE_CLOEXEC | CLOSE_RANGE_UNSHARE); in TEST() 348 CLOSE_RANGE_CLOEXEC | CLOSE_RANGE_UNSHARE); in TEST() 374 CLOSE_RANGE_CLOEXEC | CLOSE_RANGE_UNSHARE); in TEST() [all …]
|
/linux-6.6.21/include/uapi/linux/ |
D | close_range.h | 9 #define CLOSE_RANGE_CLOEXEC (1U << 2) macro
|
/linux-6.6.21/fs/ |
D | file.c | 737 if (flags & ~(CLOSE_RANGE_UNSHARE | CLOSE_RANGE_CLOEXEC)) in __close_range() 752 if (!(flags & CLOSE_RANGE_CLOEXEC)) { in __close_range() 776 if (flags & CLOSE_RANGE_CLOEXEC) in __close_range()
|