Home
last modified time | relevance | path

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

/xnu-12377.61.12/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-12377.61.12/bsd/sys/
H A Dfcntl.h186 #define O_EXEC 0x40000000 /* open file for execute only */ macro
187 #define O_SEARCH (O_EXEC | O_DIRECTORY) /* open directory for search only */
191 #define FEXEC O_EXEC
239 #define FFLAGS(oflags) (((oflags) & O_EXEC) ? ((oflags) & ~(O_ACCMODE)) : ((oflags) + 1))
/xnu-12377.61.12/bsd/miscfs/devfs/
H A Ddevfs_fdesc_support.c497 if (!(flags & O_EXEC)) { in fdesc_attr()
/xnu-12377.61.12/bsd/vfs/
H A Dvfs_syscalls.c4908 if ((amode == O_ACCMODE) || (amode && (oflags & O_EXEC))) { in open1()