/freebsd-11.0-release/contrib/pjdfstest/tests/open/ |
H A D | 23.t | 4 desc="open may return EINVAL when an attempt was made to open a descriptor with an illegal combination of O_RDONLY, O_WRONLY, and O_RDWR" 14 expect "0|EINVAL" open ${n0} O_RDONLY,O_RDWR 15 expect "0|EINVAL" open ${n0} O_WRONLY,O_RDWR 16 expect "0|EINVAL" open ${n0} O_RDONLY,O_WRONLY,O_RDWR
|
H A D | 11.t | 27 expect 0 open ${n0} O_RDWR,O_APPEND 29 expect EPERM open ${n0} O_RDWR 37 expect EPERM open ${n0} O_RDWR,O_APPEND,O_TRUNC 46 expect 0 open ${n0} O_RDWR,O_APPEND 48 expect EPERM open ${n0} O_RDWR 52 expect EPERM open ${n0} O_RDWR,O_APPEND,O_TRUNC
|
H A D | 24.t | 16 expect "EOPNOTSUPP" open ${n0} O_RDWR
|
H A D | 13.t | 19 expect EISDIR open ${n0} O_RDWR 22 expect EISDIR open ${n0} O_RDWR,O_TRUNC
|
H A D | 06.t | 26 expect 0 -u 65534 -g 65534 open ${n1} O_RDWR, 30 expect 0 -u 65533 -g 65534 open ${n1} O_RDWR, 34 expect 0 -u 65533 -g 65533 open ${n1} O_RDWR, 39 expect EACCES -u 65534 -g 65534 open ${n1} O_RDWR, 43 expect EACCES -u 65533 -g 65534 open ${n1} O_RDWR, 47 expect EACCES -u 65533 -g 65533 open ${n1} O_RDWR, 52 expect EACCES -u 65534 -g 65534 open ${n1} O_RDWR, 56 expect EACCES -u 65533 -g 65534 open ${n1} O_RDWR, 60 expect EACCES -u 65533 -g 65533 open ${n1} O_RDWR, 65 expect EACCES -u 65534 -g 65534 open ${n1} O_RDWR, [all...] |
H A D | 10.t | 27 expect EPERM open ${n0} O_RDWR 35 expect 0 open ${n0} O_RDWR 45 expect EPERM open ${n0} O_RDWR 53 expect 0 open ${n0} O_RDWR
|
H A D | 14.t | 22 expect 0 open ${n0}/${n1} O_RDWR 26 expect EROFS open ${n0}/${n1} O_RDWR
|
/freebsd-11.0-release/lib/libutil/tests/ |
H A D | flopen_test.c | 55 fd = flopen(fn, O_RDWR|O_CREAT, 0640); 75 fd = open(fn, O_RDWR|O_CREAT, 0640); 80 fd = flopen(fn, O_RDWR); 102 fd1 = flopen(fn, O_RDWR|O_CREAT, 0640); 106 fd2 = flopen(fn, O_RDWR|O_NONBLOCK); 128 fd1 = flopen(fn, O_RDWR|O_CREAT, 0640); 134 fd2 = flopen(fn, O_RDWR|O_NONBLOCK); 160 fd1 = flopen(fn, O_RDWR|O_CREAT, 0640); 172 if ((fd2 = flopen(fn, O_RDWR|O_NONBLOCK)) != -1) {
|
/freebsd-11.0-release/tools/regression/nfsmmap/test1/ |
H A D | test1.c | 17 fd = open("test1.data", O_RDWR|O_CREAT, 0666); 25 fd = open("test1.data", O_RDWR); 40 fd2 = open("test1.scratch", O_RDWR|O_CREAT, 0666);
|
/freebsd-11.0-release/tools/regression/nfsmmap/test2/ |
H A D | test2.c | 17 fd = open("test2.data", O_RDWR|O_CREAT, 0666); 25 fd = open("test2.data", O_RDWR); 38 fd2 = open("test2.scratch", O_RDWR|O_CREAT, 0666);
|
/freebsd-11.0-release/contrib/pjdfstest/tests/ftruncate/ |
H A D | 13.t | 14 expect EINVAL -- open ${n0} O_RDWR : ftruncate 0 -1
|
H A D | 00.t | 19 expect 0 open ${n0} O_RDWR : ftruncate 0 1234567 26 expect 0 open ${n0} O_RDWR : ftruncate 0 23456 36 expect 0 open ${n0} O_RDWR : ftruncate 0 123 51 expect 0 open ${n0} O_CREAT,O_RDWR 0 : ftruncate 0 0 54 expect 0 -u 65534 open ${n0} O_CREAT,O_RDWR 0 : ftruncate 0 0
|
/freebsd-11.0-release/crypto/openssh/openbsd-compat/ |
H A D | bsd-openpty.c | 83 if ((slave = _getpty(amaster, O_RDWR, 0622, 0)) == NULL) 87 if ((*aslave = open(slave, O_RDWR | O_NOCTTY)) == -1) { 102 if ((ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1) 119 if ((*aslave = open(pts, O_RDWR | O_NOCTTY)) == -1) { 140 if ((*amaster = open("/dev/ptc", O_RDWR | O_NOCTTY)) == -1) 144 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) { 164 if ((*amaster = open(ptbuf, O_RDWR|O_NOCTTY)) == -1) 167 if ((*aslave = open(ttbuf, O_RDWR|O_NOCTTY)) == -1) { 192 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) { 196 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTT [all...] |
H A D | daemon.c | 71 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
|
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_o_search.c | 71 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 76 ATF_REQUIRE((fd = openat(dfd, BASEFILE, O_RDWR, 0)) != -1); 81 ATF_REQUIRE((fd = openat(dfd, BASEFILE, O_RDWR, 0)) == -1); 101 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 106 ATF_REQUIRE((fd = openat(dfd, BASEFILE, O_RDWR, 0)) != -1); 111 ATF_REQUIRE((fd = openat(dfd, BASEFILE, O_RDWR, 0)) != -1); 116 ATF_REQUIRE((fd = openat(dfd, BASEFILE, O_RDWR, 0)) != -1); 133 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 138 ATF_REQUIRE((fd = openat(dfd, BASEFILE, O_RDWR, 0)) != -1); 143 ATF_REQUIRE((fd = openat(dfd, BASEFILE, O_RDWR, [all...] |
/freebsd-11.0-release/contrib/pjdfstest/tests/chmod/ |
H A D | 12.t | 27 expect 0777 -u 65534 -g 65534 open ${n0} O_RDWR : write 0 x : fstat 0 mode 33 expect 0777 -u 65534 -g 65534 open ${n0} O_RDWR : write 0 x : fstat 0 mode
|
/freebsd-11.0-release/contrib/netbsd-tests/fs/psshfs/ |
H A D | h_have_puffs.c | 39 fd = open("/dev/puffs", O_RDWR);
|
/freebsd-11.0-release/contrib/ipfilter/lib/ |
H A D | poolio.c | 26 poolfd = open(IPLOOKUP_NAME, O_RDWR);
|
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/ |
H A D | tst.fds.c | 83 fds[n++] = open(file, O_RDWR); 85 fds[n++] = open(file, O_RDWR | O_APPEND | O_CREAT | 88 fds[n++] = open(file, O_RDWR);
|
/freebsd-11.0-release/tools/regression/priv/ |
H A D | priv_vfs_read_write.c | 148 try_io("priv_vfs_readwrite_fowner(none, O_RDWR)", fpath_none, 149 asroot, injail, O_RDWR, asroot ? 0 : -1, EACCES); 155 try_io("priv_vfs_readwrite_fowner(read, O_RDWR)", fpath_read, 156 asroot, injail, O_RDWR, asroot ? 0 : -1, EACCES); 162 try_io("priv_vfs_readwrite_fowner(write, O_RDWR)", fpath_write, 163 asroot, injail, O_RDWR, asroot ? 0 : -1, EACCES); 169 try_io("priv_vfs_readwrite_fowner(write, O_RDWR)", fpath_readwrite, 170 asroot, injail, O_RDWR, 0, 0); 181 try_io("priv_vfs_readwrite_fgroup(none, O_RDWR)", fpath_none, 182 asroot, injail, O_RDWR, asroo [all...] |
/freebsd-11.0-release/contrib/netbsd-tests/kernel/tty/ |
H A D | t_pr.c | 111 slave = rump_sys_open("/dev/ttyp1", O_RDWR|O_NONBLOCK); 114 master = rump_sys_open("/dev/ptyp1", O_RDWR); 139 master = rump_sys_open("/dev/ptyp1", O_RDWR); 142 slave = rump_sys_open("/dev/ttyp1", O_RDWR); 166 fd = rump_sys_open("/dev/ptyp1", O_RDWR);
|
/freebsd-11.0-release/contrib/binutils/bfd/ |
H A D | sysdep.h | 97 #ifndef O_RDWR 98 #define O_RDWR 2 macro 101 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
/freebsd-11.0-release/tools/regression/ufs/uprintf/ |
H A D | ufs_uprintf.c | 74 fd = open(BLOCKS_FILENAME, O_CREAT | O_TRUNC | O_RDWR, 0600); 140 fd = open(path, O_CREAT | O_TRUNC | O_RDWR, 0600); 153 fd = open(path, O_CREAT | O_TRUNC | O_RDWR, 0600);
|
/freebsd-11.0-release/crypto/heimdal/lib/roken/ |
H A D | daemon.c | 70 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
|
/freebsd-11.0-release/etc/pam.d/ |
H A D | convert.pl | 69 sysopen(FILE, $service, O_RDWR|O_CREAT|O_TRUNC)
|