Searched refs:O_CLOEXEC (Results 1 – 8 of 8) sorted by relevance
| /xnu-8020.121.3/tests/ |
| H A D | data_protection.c | 126 g_fd = open(g_filepath, O_CREAT | O_EXCL | O_RDWR | O_CLOEXEC), 156 g_fd = open(g_filepath, O_RDWR | O_CLOEXEC), 235 g_fd = open(g_filepath, O_RDWR | O_TRUNC | O_CLOEXEC), 243 g_fd = open(g_filepath, O_RDWR | O_CLOEXEC), 252 g_fd = open(g_filepath, O_RDWR | O_CLOEXEC), 330 g_fd = open(g_filepath, O_RDWR | O_CLOEXEC), 347 g_dir_fd = open(g_dirpath, O_RDONLY | O_CLOEXEC), 423 g_fd = open(g_filepath, O_CREAT | O_EXCL | O_CLOEXEC, 0777), 470 g_fd = open(g_filepath, O_CREAT | O_EXCL | O_CLOEXEC, 0777), 489 g_fd = open(g_filepath, O_CREAT | O_EXCL | O_RDWR | O_CLOEXEC, 0777), [all …]
|
| 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 | 75 GUARD_CLOSE | GUARD_DUP | GUARD_WRITE, O_CLOEXEC | O_EXCL); in open_uncore_error()
|
| /xnu-8020.121.3/libsyscall/wrappers/spawn/ |
| H A D | posix_spawn_filtering.c | 110 fd = __open_nocancel(rules_file_path, O_RDONLY | O_CLOEXEC, 0); in evaluate_rules()
|
| /xnu-8020.121.3/bsd/sys/ |
| H A D | fcntl.h | 168 #define O_CLOEXEC 0x01000000 /* implicitly set FD_CLOEXEC */ macro
|
| /xnu-8020.121.3/bsd/kern/ |
| H A D | kern_guarded.c | 253 if ((uap->flags & O_CLOEXEC) == 0) { in guarded_open_np() 306 if ((uap->flags & O_CLOEXEC) == 0) { in guarded_open_dprotected_np()
|
| /xnu-8020.121.3/bsd/vfs/ |
| H A D | vfs_syscalls.c | 4200 if (flags & O_CLOEXEC) { in open1()
|