Lines Matching refs:O_CREAT
167 /* O_TMPFILE is incompatible with O_PATH and O_CREAT. */
170 { .name = "incompatible flags (O_TMPFILE | O_CREAT)",
171 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL },
183 { .name = "incompatible flags (O_PATH | O_CREAT)",
184 .how.flags = O_PATH | O_CREAT, .err = -EINVAL },
199 { .name = "valid how.mode and O_CREAT",
200 .how.flags = O_CREAT, .how.mode = 0600 },
204 { .name = "invalid how.mode and O_CREAT",
205 .how.flags = O_CREAT,
207 { .name = "invalid (very large) how.mode and O_CREAT",
208 .how.flags = O_CREAT,
227 { .name = "invalid how.resolve and O_CREAT",
228 .how.flags = O_CREAT,
258 path = (test->how.flags & O_CREAT) ? "/tmp/ksft.openat2_tmpfile" : ".";
290 /* O_CREAT is hidden from F_GETFL. */
291 if (test->how.flags & O_CREAT)
292 fdflags |= O_CREAT;