Home
last modified time | relevance | path

Searched full:open (Results 1 – 25 of 2914) sorted by relevance

12345678910>>...117

/freebsd/contrib/pjdfstest/tests/open/
H A D06.t3 # $FreeBSD: head/tools/regression/pjdfstest/tests/open/06.t 211352 2010-08-15 21:24:17Z pjd $
5 desc="open returns EACCES when the required permissions (for reading and/or writing) are denied for…
25 expect 0 -u 65534 -g 65534 open ${n1} O_RDONLY,
26 expect 0 -u 65534 -g 65534 open ${n1} O_WRONLY,
27 expect 0 -u 65534 -g 65534 open ${n1} O_RDWR,
29 expect 0 -u 65533 -g 65534 open ${n1} O_RDONLY,
30 expect 0 -u 65533 -g 65534 open ${n1} O_WRONLY,
31 expect 0 -u 65533 -g 65534 open ${n1} O_RDWR,
33 expect 0 -u 65533 -g 65533 open ${n1} O_RDONLY,
34 expect 0 -u 65533 -g 65533 open ${n1} O_WRONLY,
[all …]
H A D11.t3 # $FreeBSD: head/tools/regression/pjdfstest/tests/open/11.t 211352 2010-08-15 21:24:17Z pjd $
5 desc="open returns EPERM when the named file has its append-only flag set, the file is to be modifi…
27 expect 0 open ${n0} O_WRONLY,O_APPEND
28 expect 0 open ${n0} O_RDWR,O_APPEND
29 expect EPERM open ${n0} O_WRONLY
30 expect EPERM open ${n0} O_RDWR
31 todo FreeBSD:ZFS "When fle is protected by SF_APPEND, open(O_TRUNC) should return EPERM."
32 expect EPERM open ${n0} O_RDONLY,O_TRUNC
33 todo FreeBSD:ZFS "When fle is protected by SF_APPEND, open(O_TRUNC) should return EPERM."
34 expect EPERM open ${n0} O_RDONLY,O_APPEND,O_TRUNC
[all …]
H A D10.t3 # $FreeBSD: head/tools/regression/pjdfstest/tests/open/10.t 211352 2010-08-15 21:24:17Z pjd $
5 desc="open returns EPERM when the named file has its immutable flag set and the file is to be modif…
27 expect EPERM open ${n0} O_WRONLY
28 expect EPERM open ${n0} O_RDWR
29 expect EPERM open ${n0} O_RDONLY,O_TRUNC
35 expect 0 open ${n0} O_WRONLY
36 expect 0 open ${n0} O_RDWR
37 expect 0 open ${n0} O_RDONLY,O_TRUNC
45 expect EPERM open ${n0} O_WRONLY
46 expect EPERM open ${n0} O_RDWR
[all …]
H A D18.t3 # $FreeBSD: head/tools/regression/pjdfstest/tests/open/18.t 211352 2010-08-15 21:24:17Z pjd $
5 desc="open returns EWOULDBLOCK when O_NONBLOCK and one of O_SHLOCK or O_EXLOCK is specified and the…
17 expect 0 open ${n0} O_RDONLY,O_SHLOCK : open ${n0} O_RDONLY,O_SHLOCK,O_NONBLOCK
18 expect "EWOULDBLOCK|EAGAIN" open ${n0} O_RDONLY,O_EXLOCK : open ${n0} O_RDONLY,O_EXLOCK,O_NONBLOCK
19 expect "EWOULDBLOCK|EAGAIN" open ${n0} O_RDONLY,O_SHLOCK : open ${n0} O_RDONLY,O_EXLOCK,O_NONBLOCK
20 expect "EWOULDBLOCK|EAGAIN" open ${n0} O_RDONLY,O_EXLOCK : open ${n0} O_RDONLY,O_SHLOCK,O_NONBLOCK
H A D07.t3 # $FreeBSD: head/tools/regression/pjdfstest/tests/open/07.t 211352 2010-08-15 21:24:17Z pjd $
5 desc="open returns EACCES when O_TRUNC is specified and write permission is denied"
23 expect EACCES -u 65534 -g 65534 open ${n1} O_RDONLY,O_TRUNC
25 expect EACCES -u 65533 -g 65534 open ${n1} O_RDONLY,O_TRUNC
27 expect EACCES -u 65533 -g 65533 open ${n1} O_RDONLY,O_TRUNC
30 expect EACCES -u 65534 -g 65534 open ${n1} O_RDONLY,O_TRUNC
32 expect EACCES -u 65533 -g 65534 open ${n1} O_RDONLY,O_TRUNC
34 expect EACCES -u 65533 -g 65533 open ${n1} O_RDONLY,O_TRUNC
37 expect EACCES -u 65534 -g 65534 open ${n1} O_RDONLY,O_TRUNC
39 expect EACCES -u 65533 -g 65534 open ${n1} O_RDONLY,O_TRUNC
[all …]
H A D13.t3 # $FreeBSD: head/tools/regression/pjdfstest/tests/open/13.t 211352 2010-08-15 21:24:17Z pjd $
5 desc="open returns EISDIR when trying to open a directory for writing"
18 expect 0 open ${n0} O_RDONLY
19 expect EISDIR open ${n0} O_WRONLY
20 expect EISDIR open ${n0} O_RDWR
21 expect EISDIR open ${n0} O_RDONLY,O_TRUNC
22 expect EISDIR open ${n0} O_WRONLY,O_TRUNC
23 expect EISDIR open ${n0} O_RDWR,O_TRUNC
/freebsd/sys/contrib/device-tree/src/arm64/nvidia/
H A Dtegra210-p2571.dts21 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
30 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
39 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
48 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
57 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
65 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
73 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
81 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
89 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
97 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
[all …]
H A Dtegra210-p2595.dtsi20 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
29 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
38 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
47 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
56 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
64 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
72 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
80 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
88 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
96 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
[all …]
H A Dtegra210-p2597.dtsi54 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
63 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
72 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
81 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
90 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
98 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
106 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
113 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
120 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
127 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
[all …]
H A Dtegra210-p2894.dtsi36 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
45 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
54 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
63 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
72 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
80 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
88 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
96 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
104 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
112 nvidia,open
[all...]
H A Dtegra210-smaug.dts82 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
91 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
100 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
109 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
118 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
127 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
135 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
143 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
151 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
159 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/
H A Dtst.StateMachine.ksh.out1 before open
2 open: false
5 java.lang.IllegalStateException: consumer not open
6 java.lang.IllegalStateException: consumer not open
7 java.lang.IllegalStateException: consumer not open
8 java.lang.IllegalStateException: consumer not open
9 java.lang.IllegalStateException: consumer not open
10 java.lang.IllegalStateException: consumer not open
11 java.lang.IllegalStateException: consumer not open
12 java.lang.IllegalStateException: consumer not open
[all …]
/freebsd/lib/libsys/
H A Dopen.232 .Nm open , openat
33 .Nd open or create a file for reading, writing or executing
39 .Fn open "const char *path" "int flags" "..."
57 .Fn open
72 .Fn open
88 .Fn open .
97 .Fn open .
110 .Fn open
149 open for reading only
151 open for writing only
[all …]
/freebsd/tests/sys/fs/fusefs/
H A Dopen.cc43 class Open: public FuseTest { class
47 /* Test an OK open of a file with the given flags */
58 in.body.open.flags == (uint32_t)fuse_flags && in test_ok()
64 SET_OUT_HEADER_LEN(out, open); in test_ok()
67 fd = open(FULLPATH, os_flags); in test_ok()
77 TEST_F(Open, chr) in TEST_F() argument
93 ASSERT_EQ(-1, open(FULLPATH, O_RDONLY)); in TEST_F()
100 * kernel checked for it with lookup and tried to open it
102 TEST_F(Open, enoent) in TEST_F() argument
123 ASSERT_EQ(-1, open(FULLPATH, O_RDONLY)); in TEST_F()
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dos40024 >&213 byte 0x44 \b, at least V5R4 to open
25 >&213 byte 0x43 \b, at least V5R3 to open
26 >&213 byte 0x42 \b, at least V5R2 to open
27 >&213 byte 0x41 \b, at least V5R1 to open
28 >&213 byte 0x40 \b, at least V4R5 to open
29 >&213 byte 0x3F \b, at least V4R4 to open
30 >&213 byte 0x3E \b, at least V4R3 to open
31 >&213 byte 0x3C \b, at least V4R2 to open
32 >&213 byte 0x3D \b, at least V4R1M4 to open
33 >&213 byte 0x3B \b, at least V4R1 to open
[all …]
/freebsd/sys/contrib/device-tree/Bindings/i2c/
H A Di2c-gpio.yaml23 active high using open drain with (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)
25 open drain.
31 active high using open drain with (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)
33 open drain.
56 i2c-gpio,sda-open-drain:
60 the GPIO line used for SDA into open drain mode, and that something is
63 i2c-gpio,scl-open-drain:
67 GPIO line used for SCL into open drain mode, and that something is not
73 Therefore disable open-drain. This property is mutually-exclusive
74 with i2c-gpio,sda-open-drain.
[all …]
/freebsd/tools/regression/security/open_to_operation/
H A Dopen_to_operation.c28 * This regression test attempts to confirm that the flags used at open-time
74 * operation or that open is properly impacted by permissions, just that once
75 * a file descriptor is held, open-time limitations are implemented.
153 * Before we get started, confirm that we can't open directories writable.
161 dfd = open(directory, mode); in try_directory_open()
185 * Directories should only open with O_RDONLY. Notice that we use in check_directory_open_modes()
206 * dup() should work regardless of open mode. in check_dup()
210 fd = open(path, mode); in check_dup()
212 notok_mode(testname, "open", mode); in check_dup()
232 * dup2() should work regardless of open mode. in check_dup2()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/
H A DTestStateMachine.java33 * methods before and after open(), compile(), enable(), go(), stop(),
60 System.out.println("open: " + consumer.isOpen()); in printState()
68 System.out.println("before open"); in beforeOpen()
74 exit(1, "compile before open"); in beforeOpen()
79 exit(1, "compile before open"); in beforeOpen()
85 exit(1, "enable before open"); in beforeOpen()
90 exit(1, "enable before open"); in beforeOpen()
96 exit(1, "getOption before open"); in beforeOpen()
101 exit(1, "getOption before open"); in beforeOpen()
105 exit(1, "setOption before open"); in beforeOpen()
[all …]
/freebsd/contrib/bearssl/src/x509/
H A Dx509_decoder.t0135 read-sequence-open
154 \ Open the outer SEQUENCE.
155 read-sequence-open
158 read-sequence-open
163 drop check-constructed read-length-open-elt
176 read-sequence-open skip-close-elt
179 read-sequence-open skip-close-elt
182 read-sequence-open
189 read-sequence-open skip-close-elt
193 read-sequence-open
[all …]
/freebsd/contrib/libxo/doc/
H A Dxo.rst70 The `--open $path` and `--close $path` can be used to emit
71 hierarchical information without the matching close and open
72 tag. This allows a shell script to emit open tags, data, and
79 xo --open top/data
113 xo --top-wrap --open top/data
154 open and close the list, while a distinct call is needed to open and
157 Use the `--open-list` and `--open-instances` to open lists and
166 xo $opts --open-list machine
169 xo $opts --depth 1 $NF --open-instance machine
197 --close-instance <name> Close an open instance name
[all …]
/freebsd/contrib/libxo/libxo/
H A Dxo_open_marker.315 .Nd prevent and allow closing of open constructs
34 A marker can be used to affect how open constructs are closed, either
37 While a marker is open, no other open constructs can be closed.
38 When a marker is closed, all constructs open since the marker was opened
40 A marker is used to "freeze" any open constructs.
47 is called, any containers, lists, or leaf-lists open since the
55 To open a marker, call
68 Each open call must have a matching close call.
72 call on line [1] will be ignored, since the open marker "outer"
73 will prevent close of any open constructs that precede it.
/freebsd/tools/test/stress2/misc/
H A Dopen.sh30 # Bug 202892 open with O_CREAT | O_DIRECTORY when path references a symlink.
38 sed '1,/^EOF/d' < $odir/$0 > $dir/open.c
39 mycc -o open -Wall -Wextra -O0 -g open.c || exit 1
40 rm -f open.c
42 wdir=/tmp/open.$$
47 /tmp/open || { echo FAIL; status=$?; }
51 rm -rf /tmp/open $wdir
75 fd = open("broken", O_CREAT | O_DIRECTORY, 0600);
77 errx(1, "open(broken, O_CREAT | O_DIRECTORY) - no error");
79 fd = open("broken2", O_CREAT | O_DIRECTORY | O_EXCL, 0600);
[all …]
/freebsd/lib/libc/gen/
H A Dposix_spawn_file_actions_addopen.327 .\" Portable Operating System Interface (POSIX), The Open Group Base
29 .\" Electrical and Electronics Engineers, Inc and The Open Group. In the
31 .\" The Open Group Standard, the original IEEE and The Open Group Standard is
45 .Nd "add open, dup2, close, closefrom, or chdir/fchdir actions to spawn file actions object"
85 These functions add an open, dup2 or close action to a spawn
96 operation in order to arrive at the set of open file descriptors for the
97 child process given the set of open file descriptors of the parent.
103 specify how the set of open file descriptors in the calling
104 process is transformed into a set of potentially open file descriptors
117 function adds an open action to the object referenced by
[all …]
H A Dposix_spawn.327 .\" Portable Operating System Interface (POSIX), The Open Group Base
29 .\" Electrical and Electronics Engineers, Inc and The Open Group. In the
31 .\" The Open Group Standard, the original IEEE and The Open Group Standard is
145 is a null pointer, then file descriptors open in the
146 calling process remain open in the child process, except for those
152 file descriptors that remain open, all attributes of the corresponding
153 open file descriptions, including file locks (see
159 is not NULL, then the file descriptors open in the child process are
160 those open in the calling process as modified by the spawn file
165 flag of each remaining open file descriptor after the spawn file actions
[all …]
/freebsd/sys/contrib/device-tree/src/arm/nuvoton/
H A Dnuvoton-npcm730-gsj-gpio.dtsi84 drive-open-drain;
114 drive-open-drain;
129 drive-open-drain;
134 drive-open-drain;
139 drive-open-drain;
144 drive-open-drain;
149 drive-open-drain;
154 drive-open-drain;
159 drive-open-drain;
164 drive-open-drain;
[all …]

12345678910>>...117