Searched refs:O_CLOEXEC (Results 1 – 9 of 9) sorted by relevance
| /xnu-12377.61.12/tests/ |
| H A D | fd.c | 104 fd1 = open("/dev/null", O_RDONLY | O_CLOEXEC); 107 fd2 = open("/dev/null", O_RDONLY | O_CLOEXEC);
|
| H A D | posix_spawn_file_actions.c | 100 test_fd = open(TEST_PATH, O_RDONLY | O_CLOEXEC);
|
| H A D | monotonic_uncore.c | 72 GUARD_CLOSE | GUARD_DUP | GUARD_WRITE, O_CLOEXEC | O_EXCL); in open_uncore_error()
|
| H A D | arm_mte.c | 378 int fd = open("/tmp/file1", O_CREAT | O_WRONLY | O_TRUNC | O_CLOEXEC, 0644); 409 int fd = open("/tmp/file1", O_CREAT | O_WRONLY | O_TRUNC | O_CLOEXEC, 0644);
|
| /xnu-12377.61.12/libsyscall/wrappers/spawn/ |
| H A D | posix_spawn_filtering.c | 128 fd = __open_nocancel(rules_file_path, O_RDONLY | O_CLOEXEC, 0); in evaluate_rules()
|
| /xnu-12377.61.12/bsd/sys/ |
| H A D | fcntl.h | 171 #define O_CLOEXEC 0x01000000 /* implicitly set FD_CLOEXEC */ macro
|
| /xnu-12377.61.12/tests/cpu_counters/ |
| H A D | cpc_security_tests.c | 240 GUARD_CLOSE | GUARD_DUP | GUARD_WRITE, O_CLOEXEC | O_EXCL); in check_secure_upmu()
|
| /xnu-12377.61.12/bsd/kern/ |
| H A D | kern_guarded.c | 279 if ((uap->flags & O_CLOEXEC) == 0) { in guarded_open_np() 332 if ((uap->flags & O_CLOEXEC) == 0) { in guarded_open_dprotected_np()
|
| /xnu-12377.61.12/bsd/vfs/ |
| H A D | vfs_syscalls.c | 4922 if (flags & O_CLOEXEC) { in open1()
|