Searched refs:O_WRONLY (Results 1 - 25 of 329) sorted by relevance

1234567891011>>

/freebsd-10-stable/contrib/pjdfstest/tests/open/
H A D23.t4 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"
15 expect "0|EINVAL" open ${n0} O_WRONLY,O_RDWR
16 expect "0|EINVAL" open ${n0} O_RDONLY,O_WRONLY,O_RDWR
H A D17.t4 desc="open returns ENXIO when O_NONBLOCK is set, the named file is a fifo, O_WRONLY is set, and no process has the file open for reading"
14 expect ENXIO open ${n0} O_WRONLY,O_NONBLOCK
H A D11.t26 expect 0 open ${n0} O_WRONLY,O_APPEND
28 expect EPERM open ${n0} O_WRONLY
35 expect EPERM open ${n0} O_WRONLY,O_APPEND,O_TRUNC
45 expect 0 open ${n0} O_WRONLY,O_APPEND
47 expect EPERM open ${n0} O_WRONLY
51 expect EPERM open ${n0} O_WRONLY,O_APPEND,O_TRUNC
H A D24.t15 expect "EOPNOTSUPP" open ${n0} O_WRONLY
H A D13.t18 expect EISDIR open ${n0} O_WRONLY
21 expect EISDIR open ${n0} O_WRONLY,O_TRUNC
H A D00.t24 expect 0 open ${n0} O_CREAT,O_WRONLY 0755
27 expect 0 open ${n0} O_CREAT,O_WRONLY 0151
30 expect 0 -U 077 open ${n0} O_CREAT,O_WRONLY 0151
33 expect 0 -U 070 open ${n0} O_CREAT,O_WRONLY 0345
36 expect 0 -U 0501 open ${n0} O_CREAT,O_WRONLY 0345
45 expect 0 -u 65535 -g 65535 open ${n0} O_CREAT,O_WRONLY 0644
48 expect 0 -u 65535 -g 65534 open ${n0} O_CREAT,O_WRONLY 0644
52 expect 0 -u 65534 -g 65533 open ${n0} O_CREAT,O_WRONLY 0644
60 expect 0 open ${n0} O_CREAT,O_WRONLY 0644
90 expect 0 open ${n0} O_WRONLY,O_TRUN
[all...]
H A D10.t26 expect EPERM open ${n0} O_WRONLY
34 expect 0 open ${n0} O_WRONLY
44 expect EPERM open ${n0} O_WRONLY
52 expect 0 open ${n0} O_WRONLY
H A D20.t19 expect ETXTBSY open ${n0} O_WRONLY
H A D06.t25 expect 0 -u 65534 -g 65534 open ${n1} O_WRONLY,
29 expect 0 -u 65533 -g 65534 open ${n1} O_WRONLY,
33 expect 0 -u 65533 -g 65533 open ${n1} O_WRONLY,
38 expect EACCES -u 65534 -g 65534 open ${n1} O_WRONLY,
42 expect EACCES -u 65533 -g 65534 open ${n1} O_WRONLY,
46 expect EACCES -u 65533 -g 65533 open ${n1} O_WRONLY,
51 expect 0 -u 65534 -g 65534 open ${n1} O_WRONLY,
55 expect 0 -u 65533 -g 65534 open ${n1} O_WRONLY,
59 expect 0 -u 65533 -g 65533 open ${n1} O_WRONLY,
64 expect EACCES -u 65534 -g 65534 open ${n1} O_WRONLY,
[all...]
H A D14.t21 expect 0 open ${n0}/${n1} O_WRONLY
25 expect EROFS open ${n0}/${n1} O_WRONLY
/freebsd-10-stable/tools/regression/pjdfstest/tests/open/
H A D23.t4 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"
15 expect "0|EINVAL" open ${n0} O_WRONLY,O_RDWR
16 expect "0|EINVAL" open ${n0} O_RDONLY,O_WRONLY,O_RDWR
H A D17.t4 desc="open returns ENXIO when O_NONBLOCK is set, the named file is a fifo, O_WRONLY is set, and no process has the file open for reading"
14 expect ENXIO open ${n0} O_WRONLY,O_NONBLOCK
H A D11.t26 expect 0 open ${n0} O_WRONLY,O_APPEND
28 expect EPERM open ${n0} O_WRONLY
35 expect EPERM open ${n0} O_WRONLY,O_APPEND,O_TRUNC
45 expect 0 open ${n0} O_WRONLY,O_APPEND
47 expect EPERM open ${n0} O_WRONLY
51 expect EPERM open ${n0} O_WRONLY,O_APPEND,O_TRUNC
H A D24.t15 expect "EOPNOTSUPP" open ${n0} O_WRONLY
H A D13.t18 expect EISDIR open ${n0} O_WRONLY
21 expect EISDIR open ${n0} O_WRONLY,O_TRUNC
H A D00.t24 expect 0 open ${n0} O_CREAT,O_WRONLY 0755
27 expect 0 open ${n0} O_CREAT,O_WRONLY 0151
30 expect 0 -U 077 open ${n0} O_CREAT,O_WRONLY 0151
33 expect 0 -U 070 open ${n0} O_CREAT,O_WRONLY 0345
36 expect 0 -U 0501 open ${n0} O_CREAT,O_WRONLY 0345
45 expect 0 -u 65535 -g 65535 open ${n0} O_CREAT,O_WRONLY 0644
48 expect 0 -u 65535 -g 65534 open ${n0} O_CREAT,O_WRONLY 0644
52 expect 0 -u 65534 -g 65533 open ${n0} O_CREAT,O_WRONLY 0644
60 expect 0 open ${n0} O_CREAT,O_WRONLY 0644
90 expect 0 open ${n0} O_WRONLY,O_TRUN
[all...]
H A D10.t26 expect EPERM open ${n0} O_WRONLY
34 expect 0 open ${n0} O_WRONLY
44 expect EPERM open ${n0} O_WRONLY
52 expect 0 open ${n0} O_WRONLY
H A D20.t17 expect ETXTBSY open ${n0} O_WRONLY
H A D06.t25 expect 0 -u 65534 -g 65534 open ${n1} O_WRONLY,
29 expect 0 -u 65533 -g 65534 open ${n1} O_WRONLY,
33 expect 0 -u 65533 -g 65533 open ${n1} O_WRONLY,
38 expect EACCES -u 65534 -g 65534 open ${n1} O_WRONLY,
42 expect EACCES -u 65533 -g 65534 open ${n1} O_WRONLY,
46 expect EACCES -u 65533 -g 65533 open ${n1} O_WRONLY,
51 expect 0 -u 65534 -g 65534 open ${n1} O_WRONLY,
55 expect 0 -u 65533 -g 65534 open ${n1} O_WRONLY,
59 expect 0 -u 65533 -g 65533 open ${n1} O_WRONLY,
64 expect EACCES -u 65534 -g 65534 open ${n1} O_WRONLY,
[all...]
/freebsd-10-stable/contrib/pjdfstest/tests/ftruncate/
H A D13.t15 expect EINVAL -- open ${n0} O_WRONLY : ftruncate 0 -999999
/freebsd-10-stable/lib/libc/compat-43/
H A Dcreat.c50 __libc_interposing[INTERPOS_openat])(AT_FDCWD, path, O_WRONLY |
/freebsd-10-stable/lib/libc/stdio/
H A Dflags.c66 m = O_WRONLY;
72 m = O_WRONLY;
/freebsd-10-stable/contrib/xz/src/common/
H A Dtuklib_open_stdxxx.c39 | (i == 0 ? O_WRONLY : O_RDONLY));
/freebsd-10-stable/tools/regression/priv/
H A Dpriv_vfs_read_write.c146 try_io("priv_vfs_readwrite_fowner(none, O_WRONLY)", fpath_none,
147 asroot, injail, O_WRONLY, asroot ? 0 : -1, EACCES);
153 try_io("priv_vfs_readwrite_fowner(read, O_WRONLY)", fpath_read,
154 asroot, injail, O_WRONLY, asroot ? 0 : -1, EACCES);
160 try_io("priv_vfs_readwrite_fowner(write, O_WRONLY)", fpath_write,
161 asroot, injail, O_WRONLY, 0, 0);
167 try_io("priv_vfs_readwrite_fowner(write, O_WRONLY)", fpath_readwrite,
168 asroot, injail, O_WRONLY, 0, 0);
179 try_io("priv_vfs_readwrite_fgroup(none, O_WRONLY)", fpath_none,
180 asroot, injail, O_WRONLY, asroo
[all...]
/freebsd-10-stable/contrib/binutils/bfd/
H A Dsysdep.h94 #ifndef O_WRONLY
95 #define O_WRONLY 1 macro
101 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)

Completed in 84 milliseconds

1234567891011>>