Symbol: O_EXEC
lib/libc/gen/daemon.c
102
chdirfd = _open("/", O_EXEC);
lib/libc/stdio/fdopen.c
70
tmp = fdflags & (O_ACCMODE | O_EXEC);
lib/libc/stdio/freopen.c
93
(dflags & (O_ACCMODE | O_EXEC)) != (oflags & O_ACCMODE)) {
lib/libc/tests/stdio/fdopen_test.c
170
runtest("/bin/sh", O_EXEC, "r", false);
lib/libc/tests/stdio/fdopen_test.c
177
runtest("/bin/sh", O_EXEC, "w", false);
lib/libc/tests/stdio/fdopen_test.c
184
runtest("/bin/sh", O_EXEC, "r+", false);
lib/libc/tests/stdio/fdopen_test.c
191
runtest("/bin/sh", O_EXEC, "w+", false);
lib/libc/tests/stdio/fopen_test.c
38
#define CORRECT_O_ACCMODE (O_ACCMODE | O_EXEC)
lib/libprocstat/libprocstat.c
1630
{ O_EXEC, PS_FST_FFLAG_EXEC },
lib/libsysdecode/flags.c
278
if (flags & O_EXEC) {
lib/libsysdecode/flags.c
279
flags &= ~O_EXEC;
sys/compat/linux/linux_misc.c
2964
if ((flags & O_ACCMODE) == O_ACCMODE || (flags & O_EXEC) != 0)
sys/fs/fuse/fuse_file.h
81
FUFH_EXEC = O_EXEC,
sys/kern/kern_descrip.c
4737
{ O_EXEC, KF_FLAG_EXEC },
sys/kern/uipc_mqueue.c
2125
if ((uap->flags & O_ACCMODE) == O_ACCMODE || uap->flags & O_EXEC)
sys/kern/uipc_mqueue.c
2784
if ((uap->flags & O_ACCMODE) == O_ACCMODE || uap->flags & O_EXEC)
sys/kern/vfs_syscalls.c
1093
if (flags & O_EXEC) {
sys/kern/vfs_syscalls.c
1179
} else if ((flags & O_EXEC) != 0) {
sys/sys/fcntl.h
119
#define O_SEARCH O_EXEC
sys/sys/fcntl.h
122
#define FEXEC O_EXEC
sys/sys/fcntl.h
176
#define FFLAGS(oflags) ((oflags) & O_EXEC ? (oflags) : (oflags) + 1)
sys/sys/fcntl.h
178
(((fflags) & (O_EXEC | O_PATH)) != 0 ? (fflags) : (fflags) - 1)
tests/sys/capsicum/bindat_connectat.c
72
ATF_REQUIRE((rootfd = open("/", O_EXEC | O_CLOEXEC)) >= 0);
tests/sys/file/fcntlflags_test.c
39
#define CORRECT_O_ACCMODE (O_ACCMODE | O_EXEC)
tests/sys/file/fcntlflags_test.c
96
basic_tests("/bin/sh", O_EXEC, "O_EXEC");
tests/sys/file/path_test.c
183
if (open("/usr/bin/true", O_PATH | O_EXEC) >= 0)
tests/sys/file/path_test.c
195
truefd = open("/usr/bin/true", O_PATH | O_EXEC);
tests/sys/file/path_test.c
606
pathfd = open("/usr/bin/true", O_PATH | O_EXEC);
tests/sys/file/path_test.c
626
pathfd = open(path, O_PATH | O_EXEC);
tests/sys/fs/fusefs/lookup.cc
226
int fd = open("mountpoint/foo/bar", O_EXEC| O_DIRECTORY);
tests/sys/fs/fusefs/lookup.cc
269
fd = open("mountpoint/foo/bar", O_EXEC| O_DIRECTORY);
tests/sys/fs/fusefs/lookup.cc
587
int fd = open("mountpoint/foo/bar", O_EXEC| O_DIRECTORY);
tests/sys/fs/fusefs/lookup.cc
654
fd = open("mountpoint/foo/bar", O_EXEC| O_DIRECTORY);
tests/sys/fs/fusefs/open.cc
245
test_ok(O_EXEC, O_EXEC);
tests/sys/fs/fusefs/opendir.cc
147
expect_opendir(ino, O_EXEC,
tests/sys/fs/fusefs/opendir.cc
152
fd = open(FULLPATH, O_EXEC | O_DIRECTORY);
tests/sys/fs/fusefs/releasedir.cc
112
fd = open(FULLPATH, O_EXEC | O_DIRECTORY);