Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/core/
H A Dclose_range_test.c43 #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()
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()
406 ret = sys_close_range(3, ~0U, CLOSE_RANGE_CLOEXEC); in TEST()
[all …]
/openbmc/linux/include/uapi/linux/
H A Dclose_range.h9 #define CLOSE_RANGE_CLOEXEC (1U << 2) macro
/openbmc/linux/fs/
H A Dfile.c737 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()
/openbmc/qemu/linux-user/
H A Dsyscall.c333 #ifndef CLOSE_RANGE_CLOEXEC
334 #define CLOSE_RANGE_CLOEXEC (1U << 2) macro
9127 if (ret == 0 && !(arg3 & CLOSE_RANGE_CLOEXEC)) { in _syscall2()