Home
last modified time | relevance | path

Searched refs:O_CLOEXEC (Results 1 – 7 of 7) sorted by relevance

/xnu-8792.61.2/tests/
H A Dfd.c104 fd1 = open("/dev/null", O_RDONLY | O_CLOEXEC);
107 fd2 = open("/dev/null", O_RDONLY | O_CLOEXEC);
H A Dposix_spawn_file_actions.c100 test_fd = open(TEST_PATH, O_RDONLY | O_CLOEXEC);
H A Dmonotonic_uncore.c71 GUARD_CLOSE | GUARD_DUP | GUARD_WRITE, O_CLOEXEC | O_EXCL); in open_uncore_error()
/xnu-8792.61.2/libsyscall/wrappers/spawn/
H A Dposix_spawn_filtering.c110 fd = __open_nocancel(rules_file_path, O_RDONLY | O_CLOEXEC, 0); in evaluate_rules()
/xnu-8792.61.2/bsd/sys/
H A Dfcntl.h168 #define O_CLOEXEC 0x01000000 /* implicitly set FD_CLOEXEC */ macro
/xnu-8792.61.2/bsd/kern/
H A Dkern_guarded.c272 if ((uap->flags & O_CLOEXEC) == 0) { in guarded_open_np()
325 if ((uap->flags & O_CLOEXEC) == 0) { in guarded_open_dprotected_np()
/xnu-8792.61.2/bsd/vfs/
H A Dvfs_syscalls.c4535 if (flags & O_CLOEXEC) { in open1()