Searched refs:CLOSE_RANGE_CLOEXEC (Results 1 – 4 of 4) sorted by relevance
/linux/tools/testing/selftests/core/ |
H A D | close_range_test.c | 257 ret = sys_close_range(1000, 1000, CLOSE_RANGE_CLOEXEC); in TEST() 271 ret = sys_close_range(open_fds[0], open_fds[50], CLOSE_RANGE_CLOEXEC); in TEST() 273 ret = sys_close_range(open_fds[75], open_fds[100], CLOSE_RANGE_CLOEXEC); in TEST() 298 ret = sys_close_range(3, UINT_MAX, CLOSE_RANGE_CLOEXEC); in TEST() 325 ret = sys_close_range(1000, 1000, CLOSE_RANGE_CLOEXEC); in TEST() 340 CLOSE_RANGE_CLOEXEC | CLOSE_RANGE_UNSHARE); in TEST() 343 CLOSE_RANGE_CLOEXEC | CLOSE_RANGE_UNSHARE); in TEST() 369 CLOSE_RANGE_CLOEXEC | CLOSE_RANGE_UNSHARE); in TEST() 408 ret = sys_close_range(3, ~0U, CLOSE_RANGE_CLOEXEC); in TEST() 531 CLOSE_RANGE_CLOEXEC); in TEST()
|
/linux/include/uapi/linux/ |
H A D | close_range.h | 9 #define CLOSE_RANGE_CLOEXEC (1U << 2) macro
|
/linux/arch/um/os-Linux/skas/ |
H A D | process.c | 184 #ifndef CLOSE_RANGE_CLOEXEC 185 #define CLOSE_RANGE_CLOEXEC (1U << 2) macro 214 syscall(__NR_close_range, 0, ~0U, CLOSE_RANGE_CLOEXEC); in userspace_tramp()
|
/linux/fs/ |
H A D | file.c | 775 if (flags & ~(CLOSE_RANGE_UNSHARE | CLOSE_RANGE_CLOEXEC)) in SYSCALL_DEFINE3() 789 if (flags & CLOSE_RANGE_CLOEXEC) in SYSCALL_DEFINE3() 802 if (flags & CLOSE_RANGE_CLOEXEC) in SYSCALL_DEFINE3()
|