/freebsd-9.3-release/tools/regression/pjdfstest/tests/open/ |
H A D | 17.t | 4 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 D | 05.t | 4 desc="open returns EACCES when search permission is denied for a component of the path prefix" 21 expect 0 -u 65534 -g 65534 open ${n1}/${n2} O_RDONLY 23 expect EACCES -u 65534 -g 65534 open ${n1}/${n2} O_RDONLY 25 expect 0 -u 65534 -g 65534 open ${n1}/${n2} O_RDONLY
|
H A D | 08.t | 4 desc="open returns EACCES when O_CREAT is specified, the file does not exist, and the directory in which it is to be created does not permit writing" 17 expect EACCES -u 65534 -g 65534 open ${n1} O_RDONLY,O_CREAT 0644
|
H A D | 00.t | 4 desc="open opens (and eventually creates) a file" 24 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 [all...] |
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/ |
H A D | tst.fds.c | 76 * To test the fds[] array, we open /dev/null (a file with reliable 79 fds[n++] = open(file, O_RDONLY); 80 fds[n++] = open(file, O_WRONLY); 81 fds[n++] = open(file, O_RDWR); 83 fds[n++] = open(file, O_RDWR | O_APPEND | O_CREAT | O_DSYNC | 87 fds[n++] = open(file, O_RDWR);
|
/freebsd-9.3-release/contrib/openbsm/bin/auditdistd/ |
H A D | openat.h | 44 cfd = open(".", O_RDONLY | O_DIRECTORY); 63 ffd = open(path, flags, mode); 65 ffd = open(path, flags);
|
/freebsd-9.3-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-9.3-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-9.3-release/tools/regression/pjdfstest/tests/chmod/ |
H A D | 12.t | 21 expect 0777 -u 65534 -g 65534 open ${n0} O_WRONLY : write 0 x : fstat 0 mode 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-9.3-release/contrib/ntp/scripts/build/ |
H A D | genAuthors.in | 46 open(my $FILE, '<', $A_file) or die "Could not open <$A_file>: $!\n"; 65 open(BKU, $bk_u) || die "$0: <$bk_u> failed: $!\n"; 74 open(my $FILE, '>>', "$A_dir/$name.txt") || die "Cannot create '$A_dir/$name.txt': $!\n";
|
/freebsd-9.3-release/contrib/cvs/contrib/ |
H A D | cln_hist.in | 45 open(XX, ">$h"); 51 open(HIST, "$h.bak"); 70 open(SAVE, ">$h.work"); 71 open(HIST, "$h.bak");
|
H A D | mfpipe.in | 91 open(MAIL, $mailcmd) || die "Execing $mail: $!\n"; 96 open(FILE, ">> $logfile") || die "Opening $logfile: $!\n";
|
/freebsd-9.3-release/tools/test/devrandom/ |
H A D | hammer.random | 12 open(BIN, "/dev/random") || die "Cannot open /dev/random - $!\n";
|
/freebsd-9.3-release/crypto/heimdal/lib/roken/ |
H A D | dumpdata.c | 52 fd = open(filename, O_WRONLY|O_TRUNC|O_CREAT, 0640);
|
/freebsd-9.3-release/crypto/openssh/openbsd-compat/ |
H A D | bsd-cygwin_util.h | 58 #define open binary_open macro
|
H A D | bsd-openpty.c | 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_NOCTTY)) == -1) 201 if ((*aslave = open(ttbu [all...] |
/freebsd-9.3-release/lib/libgssapi/ |
H A D | gss_inquire_context.c | 44 int *open) 54 if (open) 55 *open = 0; 75 open); 36 gss_inquire_context(OM_uint32 *minor_status, const gss_ctx_id_t context_handle, gss_name_t *src_name, gss_name_t *targ_name, OM_uint32 *lifetime_rec, gss_OID *mech_type, OM_uint32 *ctx_flags, int *locally_initiated, int *open) argument
|
/freebsd-9.3-release/lib/libstand/ |
H A D | stat.c | 46 fd = open(str, O_RDONLY);
|
/freebsd-9.3-release/usr.sbin/sade/ |
H A D | termcap.c | 48 DebugFD = open("sade.debug", O_WRONLY|O_CREAT|O_TRUNC, 0644); 52 DebugFD = open("/dev/null", O_RDWR, 0); 63 DebugFD = open("/dev/null", O_RDWR, 0); 69 DebugFD = open("/dev/ttyv1", O_WRONLY);
|
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Bin/ |
H A D | pathopens.d | 8 * is calculated, even if the file open referred to a relative pathname. 48 syscall::open*:entry 54 syscall::open*:return 88 syscall::open*:return
|
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Proc/ |
H A D | pathopens.d | 8 * is calculated, even if the file open referred to a relative pathname. 48 syscall::open*:entry 54 syscall::open*:return 88 syscall::open*:return
|
/freebsd-9.3-release/usr.sbin/route6d/misc/ |
H A D | chkrt | 10 open(FD, "< $pidfile") || die "Can not open $pidfile"; 16 open(NS, "/usr/bin/netstat -r -n|") || die "Can not open netstat"; 28 open(FD, "< $dump") || die "Can not open $dump";
|
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Docs/Examples/ |
H A D | oneliners_examples.txt | 24 # dtrace -n 'syscall::open*:entry { printf("%s %s",execname,copyinstr(arg0)); }' 25 dtrace: description 'syscall::open*:entry ' matched 2 probes 27 0 14 open:entry gnome-netstatus- /dev/kstat 28 0 14 open:entry man /var/ld/ld.config 29 0 14 open:entry man /lib/libc.so.1 30 0 14 open:entry man /usr/share/man/man.cf 31 0 14 open:entry man /usr/share/man/windex 32 0 14 open:entry man /usr/share/man/man1/ls.1 33 0 14 open:entry man /usr/share/man/man1/ls.1 34 0 14 open [all...] |
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Examples/ |
H A D | oneliners_examples.txt | 24 # dtrace -n 'syscall::open*:entry { printf("%s %s",execname,copyinstr(arg0)); }' 25 dtrace: description 'syscall::open*:entry ' matched 2 probes 27 0 14 open:entry gnome-netstatus- /dev/kstat 28 0 14 open:entry man /var/ld/ld.config 29 0 14 open:entry man /lib/libc.so.1 30 0 14 open:entry man /usr/share/man/man.cf 31 0 14 open:entry man /usr/share/man/windex 32 0 14 open:entry man /usr/share/man/man1/ls.1 33 0 14 open:entry man /usr/share/man/man1/ls.1 34 0 14 open [all...] |
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestClose.java | 41 consumer.open(); 61 consumer.open();
|