Searched refs:O_EXEC (Results 1 - 14 of 14) sorted by relevance
/freebsd-11-stable/tests/sys/file/ |
H A D | fcntlflags_test.c | 39 #define CORRECT_O_ACCMODE (O_ACCMODE | O_EXEC) 108 subtests("/bin/sh", O_EXEC, "O_EXEC");
|
/freebsd-11-stable/sys/sys/ |
H A D | fcntl.h | 119 #define O_EXEC 0x00040000 /* Open for execute only */ macro 120 #define O_SEARCH O_EXEC 123 #define FEXEC O_EXEC 151 #define FFLAGS(oflags) ((oflags) & O_EXEC ? (oflags) : (oflags) + 1) 152 #define OFLAGS(fflags) ((fflags) & O_EXEC ? (fflags) : (fflags) - 1)
|
/freebsd-11-stable/lib/libc/tests/stdio/ |
H A D | fdopen_test.c | 173 runtest("/bin/sh", O_EXEC, "r", false); 180 runtest("/bin/sh", O_EXEC, "w", false); 187 runtest("/bin/sh", O_EXEC, "r+", false); 194 runtest("/bin/sh", O_EXEC, "w+", false);
|
H A D | fopen_test.c | 41 #define CORRECT_O_ACCMODE (O_ACCMODE | O_EXEC)
|
/freebsd-11-stable/lib/libc/stdio/ |
H A D | fdopen.c | 74 tmp = fdflags & (O_ACCMODE | O_EXEC);
|
H A D | freopen.c | 97 (dflags & (O_ACCMODE | O_EXEC)) != (oflags & O_ACCMODE)) {
|
/freebsd-11-stable/lib/libsysdecode/ |
H A D | flags.c | 428 if (flags & O_EXEC) { 429 flags &= ~O_EXEC; 430 fputs("O_EXEC", fp);
|
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_disk_posix.c | 2183 #elif defined(__FreeBSD__) && defined(O_EXEC) 2185 const int o_flag = O_EXEC; 2210 (defined(__FreeBSD__) && defined(O_EXEC))
|
H A D | archive_write_disk_posix.c | 449 #elif defined(__FreeBSD__) && defined(O_EXEC) 450 | O_EXEC
|
/freebsd-11-stable/sys/kern/ |
H A D | uipc_mqueue.c | 2107 if ((uap->flags & O_ACCMODE) == O_ACCMODE || uap->flags & O_EXEC) 2738 if ((uap->flags & O_ACCMODE) == O_ACCMODE || uap->flags & O_EXEC)
|
H A D | vfs_syscalls.c | 837 if (flags & O_EXEC) { 923 * Only one of the O_EXEC, O_RDONLY, O_WRONLY and O_RDWR flags 926 if (flags & O_EXEC) {
|
H A D | kern_descrip.c | 3360 { O_EXEC, KF_FLAG_EXEC },
|
/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | test_read_disk_directory_traversals.c | 1770 * This test is expected to fail on platforms with no O_EXEC or 1774 * check that condition here, because if O_EXEC _does_ exist, we don't 1786 (defined(__FreeBSD__) && defined(O_EXEC))
|
/freebsd-11-stable/lib/libprocstat/ |
H A D | libprocstat.c | 1602 { O_EXEC, PS_FST_FFLAG_EXEC },
|
Completed in 226 milliseconds