Searched refs:O_RDONLY (Results 26 - 50 of 847) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/pjdfstest/tests/open/
H A D11.t31 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 D15.t20 expect 0 open ${n0}/${n1} O_RDONLY,O_CREAT 0644
23 expect EROFS open ${n0}/${n1} O_RDONLY,O_CREAT 0644
H A D14.t23 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 Dflags.c60 m = O_RDONLY;
110 if ((o & O_EXCL) != 0 && m == O_RDONLY) {
/freebsd-11-stable/contrib/netbsd-tests/kernel/kqueue/read/
H A Dt_file2.c59 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 Dtuklib_open_stdxxx.c39 | (i == 0 ? O_WRONLY : O_RDONLY));
/freebsd-11-stable/tools/regression/priv/
H A Dpriv_vfs_read_write.c144 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 Dauditpipe_test.c51 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 Dt_etfs.c68 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 Dsysdep.h91 #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 Dcheckrev.c30 if ((vfd == -1) && ((vfd = open(ipfname, O_RDONLY)) == -1)) {
H A Dkvatoname.c29 fd = open(IPL_NAME, O_RDONLY);
H A Dnametokva.c28 fd = open(IPL_NAME, O_RDONLY);
/freebsd-11-stable/contrib/openbsm/bin/auditdistd/
H A Dfaccessat.h47 cfd = open(".", O_RDONLY | O_DIRECTORY);
H A Dfstatat.h44 cfd = open(".", O_RDONLY | O_DIRECTORY);
H A Drenameat.h46 cfd = open(".", O_RDONLY | O_DIRECTORY);
H A Dunlinkat.h43 cfd = open(".", O_RDONLY | O_DIRECTORY);
/freebsd-11-stable/include/
H A Dndbm.h42 #define DBM_RDONLY O_RDONLY
/freebsd-11-stable/tools/tools/wtap/wtap/
H A Dwtap.c65 dev = open("/dev/wtapctl", O_RDONLY);
/freebsd-11-stable/share/examples/ses/srcs/
H A Dgetnobj.c54 fd = open(name, O_RDONLY);
/freebsd-11-stable/usr.bin/tset/
H A Dmisc.c51 if ((fd = open(file, O_RDONLY, 0)) < 0)
/freebsd-11-stable/etc/pam.d/
H A Dconvert.pl63 if (sysopen(FILE, $service, O_RDONLY)) {
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/ssp/
H A Dh_read.c48 if ((fd = open(_PATH_DEVZERO, O_RDONLY)) == -1)
/freebsd-11-stable/usr.sbin/dumpcis/
H A Dmain.c41 fd = open(name, O_RDONLY);
/freebsd-11-stable/contrib/binutils/binutils/
H A Dsysdep.h106 #ifndef O_RDONLY macro
107 #define O_RDONLY 0

Completed in 151 milliseconds

1234567891011>>