Home
last modified time | relevance | path

Searched refs:O_EXEC (Results 1 – 3 of 3) sorted by relevance

/xnu-8792.61.2/tests/vfs/
H A Do_search.c15 #ifndef O_EXEC
16 #define O_EXEC 0x40000000 macro
17 #define O_SEARCH (O_EXEC | O_DIRECTORY)
69 tmpdir_fd = open(tmpdir, O_EXEC);
83 fd = openat(tmpdir_fd, TEST_FILE, O_EXEC);
95 T_ASSERT_POSIX_SUCCESS(fd = openat(tmpdir_fd, TEST_FILE, O_EXEC), NULL);
/xnu-8792.61.2/bsd/sys/
H A Dfcntl.h183 #define O_EXEC 0x40000000 /* open file for execute only */ macro
184 #define O_SEARCH (O_EXEC | O_DIRECTORY) /* open directory for search only */
188 #define FEXEC O_EXEC
233 #define FFLAGS(oflags) (((oflags) & O_EXEC) ? ((oflags) & ~(O_ACCMODE)) : ((oflags) + 1))
/xnu-8792.61.2/bsd/vfs/
H A Dvfs_syscalls.c4521 if ((amode == O_ACCMODE) || (amode && (oflags & O_EXEC))) { in open1()