/freebsd-11-stable/contrib/pjdfstest/tests/open/ |
H A D | 11.t | 31 expect EPERM open ${n0} O_RDONLY,O_TRUNC 33 expect EPERM open ${n0} O_RDONLY,O_APPEND,O_TRUNC 49 expect EPERM open ${n0} O_RDONLY,O_TRUNC 50 expect EPERM open ${n0} O_RDONLY,O_APPEND,O_TRUNC
|
H A D | 15.t | 20 expect 0 open ${n0}/${n1} O_RDONLY,O_CREAT 0644 23 expect EROFS open ${n0}/${n1} O_RDONLY,O_CREAT 0644
|
H A D | 14.t | 23 expect 0 open ${n0}/${n1} O_RDONLY,O_TRUNC 27 expect EROFS open ${n0}/${n1} O_RDONLY,O_TRUNC
|
/freebsd-11-stable/lib/libc/stdio/ |
H A D | flags.c | 60 m = O_RDONLY; 110 if ((o & O_EXCL) != 0 && m == O_RDONLY) {
|
/freebsd-11-stable/contrib/netbsd-tests/kernel/kqueue/read/ |
H A D | t_file2.c | 59 RL(fd1 = open("afile", O_RDONLY|O_CREAT, 0644)); 60 RL(fd2 = open("bfile", O_RDONLY|O_CREAT, 0644));
|
/freebsd-11-stable/contrib/xz/src/common/ |
H A D | tuklib_open_stdxxx.c | 39 | (i == 0 ? O_WRONLY : O_RDONLY));
|
/freebsd-11-stable/tools/regression/priv/ |
H A D | priv_vfs_read_write.c | 144 try_io("priv_vfs_readwrite_fowner(none, O_RDONLY)", fpath_none, 145 asroot, injail, O_RDONLY, asroot ? 0 : -1, EACCES); 151 try_io("priv_vfs_readwrite_fowner(read, O_RDONLY)", fpath_read, 152 asroot, injail, O_RDONLY, 0, 0); 158 try_io("priv_vfs_readwrite_fowner(write, O_RDONLY)", fpath_write, 159 asroot, injail, O_RDONLY, asroot ? 0 : -1, EACCES); 165 try_io("priv_vfs_readwrite_fowner(write, O_RDONLY)", fpath_readwrite, 166 asroot, injail, O_RDONLY, 0, 0); 177 try_io("priv_vfs_readwrite_fgroup(none, O_RDONLY)", fpath_none, 178 asroot, injail, O_RDONLY, asroo [all...] |
/freebsd-11-stable/tests/sys/auditpipe/ |
H A D | auditpipe_test.c | 51 ATF_REQUIRE((filedesc = open("/dev/auditpipe", O_RDONLY)) != -1); 68 ATF_REQUIRE((filedesc = open("/dev/auditpipe", O_RDONLY)) != -1); 86 ATF_REQUIRE((filedesc = open("/dev/auditpipe", O_RDONLY)) != -1); 114 ATF_REQUIRE((fd = open("/dev/auditpipe", O_RDONLY)) != -1); 134 ATF_REQUIRE((filedesc = open("/dev/auditpipe", O_RDONLY)) != -1); 151 ATF_REQUIRE((filedesc = open("/dev/auditpipe", O_RDONLY)) != -1); 168 ATF_REQUIRE((filedesc = open("/dev/auditpipe", O_RDONLY)) != -1);
|
/freebsd-11-stable/contrib/netbsd-tests/rump/rumpvfs/ |
H A D | t_etfs.c | 68 etcfd = open("/etc/passwd", O_RDONLY); 81 tfd = rump_sys_open(TESTPATH1, O_RDONLY); 137 tfd = rump_sys_open(TESTPATH1, O_RDONLY); 147 tfd = rump_sys_open(TESTPATH2, O_RDONLY); 276 RL(rump_sys_open("/key", O_RDONLY)); 277 RL(rump_sys_open("////////key", O_RDONLY)); 282 RL(rump_sys_open("/key//with/slashes", O_RDONLY)); 283 RL(rump_sys_open("key//with/slashes", O_RDONLY)); 285 rump_sys_open("/key/with/slashes", O_RDONLY) == -1); 289 rump_sys_open("/a/key//with/slashes", O_RDONLY) [all...] |
/freebsd-11-stable/contrib/binutils/bfd/ |
H A D | sysdep.h | 91 #ifndef O_RDONLY 92 #define O_RDONLY 0 macro 101 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | checkrev.c | 30 if ((vfd == -1) && ((vfd = open(ipfname, O_RDONLY)) == -1)) {
|
H A D | kvatoname.c | 29 fd = open(IPL_NAME, O_RDONLY);
|
H A D | nametokva.c | 28 fd = open(IPL_NAME, O_RDONLY);
|
/freebsd-11-stable/contrib/openbsm/bin/auditdistd/ |
H A D | faccessat.h | 47 cfd = open(".", O_RDONLY | O_DIRECTORY);
|
H A D | fstatat.h | 44 cfd = open(".", O_RDONLY | O_DIRECTORY);
|
H A D | renameat.h | 46 cfd = open(".", O_RDONLY | O_DIRECTORY);
|
H A D | unlinkat.h | 43 cfd = open(".", O_RDONLY | O_DIRECTORY);
|
/freebsd-11-stable/include/ |
H A D | ndbm.h | 42 #define DBM_RDONLY O_RDONLY
|
/freebsd-11-stable/tools/tools/wtap/wtap/ |
H A D | wtap.c | 65 dev = open("/dev/wtapctl", O_RDONLY);
|
/freebsd-11-stable/share/examples/ses/srcs/ |
H A D | getnobj.c | 54 fd = open(name, O_RDONLY);
|
/freebsd-11-stable/usr.bin/tset/ |
H A D | misc.c | 51 if ((fd = open(file, O_RDONLY, 0)) < 0)
|
/freebsd-11-stable/etc/pam.d/ |
H A D | convert.pl | 63 if (sysopen(FILE, $service, O_RDONLY)) {
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/ssp/ |
H A D | h_read.c | 48 if ((fd = open(_PATH_DEVZERO, O_RDONLY)) == -1)
|
/freebsd-11-stable/usr.sbin/dumpcis/ |
H A D | main.c | 41 fd = open(name, O_RDONLY);
|
/freebsd-11-stable/contrib/binutils/binutils/ |
H A D | sysdep.h | 106 #ifndef O_RDONLY macro 107 #define O_RDONLY 0
|