Home
last modified time | relevance | path

Searched refs:O_CREAT (Results 1 – 25 of 255) sorted by relevance

1234567891011

/OK3568_Linux_fs/kernel/tools/testing/selftests/openat2/
H A Dopenat2_test.c167 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
180 .how.flags = O_PATH | O_CREAT, .err = -EINVAL }, in test_openat2_flags()
196 .how.flags = O_CREAT, .how.mode = 0600 }, in test_openat2_flags()
201 .how.flags = O_CREAT, in test_openat2_flags()
204 .how.flags = O_CREAT, in test_openat2_flags()
218 .how.flags = O_CREAT, in test_openat2_flags()
243 path = (test->how.flags & O_CREAT) ? "/tmp/ksft.openat2_tmpfile" : "."; in test_openat2_flags()
276 if (test->how.flags & O_CREAT) in test_openat2_flags()
277 fdflags |= O_CREAT; in test_openat2_flags()
H A Dresolve_test.c286 .path = "newfile1", .how.flags = O_CREAT, in test_openat2_opath_tests()
291 .path = "/newfile2", .how.flags = O_CREAT, in test_openat2_opath_tests()
296 .path = "/creatlink", .how.flags = O_CREAT, in test_openat2_opath_tests()
455 if (!(test->how.flags & O_CREAT)) in test_openat2_opath_tests()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/byacc/byacc/
H A Dbyacc-open.patch6 open with O_CREAT in second argument needs 3 arguments
21 - fd = open(name, O_CREAT | O_EXCL | O_RDWR);
22 + fd = open(name, O_CREAT | O_EXCL | O_RDWR, 0666);
/OK3568_Linux_fs/kernel/include/uapi/asm-generic/
H A Dfcntl.h23 #ifndef O_CREAT
24 #define O_CREAT 00000100 /* not fcntl */ macro
94 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/asm-generic/
H A Dfcntl.h23 #ifndef O_CREAT
24 #define O_CREAT 00000100 /* not fcntl */ macro
94 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/asm-generic/
H A Dfcntl.h23 #ifndef O_CREAT
24 #define O_CREAT 00000100 /* not fcntl */ macro
94 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
/OK3568_Linux_fs/kernel/tools/include/uapi/asm-generic/
H A Dfcntl.h22 #ifndef O_CREAT
23 #define O_CREAT 00000100 /* not fcntl */ macro
93 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
/OK3568_Linux_fs/kernel/fs/cifs/
H A Ddir.c326 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_do_create()
328 else if ((oflags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC)) in cifs_do_create()
330 else if ((oflags & O_CREAT) == O_CREAT) in cifs_do_create()
486 if (!(oflags & O_CREAT)) { in cifs_atomic_open()
535 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_atomic_open()
581 unsigned oflags = O_EXCL | O_CREAT | O_RDWR; in cifs_create()
/OK3568_Linux_fs/buildroot/package/duma/
H A D0004-Fix-build-with-latest-glibc.patch18 - fd = open(DUMA_OUTPUT_FILE, O_APPEND|O_CREAT|O_WRONLY);
19 + fd = open(DUMA_OUTPUT_FILE, O_APPEND|O_CREAT|O_WRONLY, 0600);
/OK3568_Linux_fs/u-boot/fs/yaffs2/
H A Dyportenv.h109 #ifndef O_CREAT
110 #define O_CREAT 0100 macro
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/patch/patch/
H A DCVE-2019-13636.patch11 with O_CREAT | O_EXCL to avoid following symlinks in that case as well.
68 - while ((fd = safe_open (bakname, O_CREAT | O_WRONLY | O_TRUNC, 0666)) < 0)
69 + while ((fd = safe_open (bakname, O_CREAT | O_EXCL | O_WRONLY | O_TRUNC, 0666)) < 0)
/OK3568_Linux_fs/buildroot/package/patch/
H A D0005-Don-t-follow-symlinks-unless--follow-symlinks-is-given.patch11 with O_CREAT | O_EXCL to avoid following symlinks in that case as well.
66 - while ((fd = safe_open (bakname, O_CREAT | O_WRONLY | O_TRUNC, 0666)) < 0)
67 + while ((fd = safe_open (bakname, O_CREAT | O_EXCL | O_WRONLY | O_TRUNC, 0666)) < 0)
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/
H A Dfcntl.h41 (((oflag) & O_CREAT) != 0 || ((oflag) & __O_TMPFILE) == __O_TMPFILE)
43 # define __OPEN_NEEDS_MODE(oflag) (((oflag) & O_CREAT) != 0)
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/
H A Dfcntl.h41 (((oflag) & O_CREAT) != 0 || ((oflag) & __O_TMPFILE) == __O_TMPFILE)
43 # define __OPEN_NEEDS_MODE(oflag) (((oflag) & O_CREAT) != 0)
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/bits/
H A Dfcntl-linux.h46 #ifndef O_CREAT
47 # define O_CREAT 0100 /* Not fcntl. */ macro
H A Dmqueue2.h45 if ((__oflag & O_CREAT) != 0 && __va_arg_pack_len () == 0) in __NTH()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/
H A Dfcntl-linux.h46 #ifndef O_CREAT
47 # define O_CREAT 0100 /* Not fcntl. */ macro
H A Dmqueue2.h45 if ((__oflag & O_CREAT) != 0 && __va_arg_pack_len () == 0) in __NTH()
/OK3568_Linux_fs/kernel/arch/parisc/include/uapi/asm/
H A Dfcntl.h6 #define O_CREAT 000000400 /* not fcntl */ macro
/OK3568_Linux_fs/kernel/tools/testing/selftests/efivarfs/
H A Dcreate-read.c26 fd = open(path, O_RDWR | O_CREAT, 0600); in main()
/OK3568_Linux_fs/kernel/arch/alpha/include/uapi/asm/
H A Dfcntl.h5 #define O_CREAT 01000 /* not fcntl */ macro
/OK3568_Linux_fs/u-boot/test/py/
H A Dmake_test_disk.py12 fd = os.open("testdisk.raw", os.O_RDWR|os.O_CREAT )
/OK3568_Linux_fs/kernel/arch/sparc/include/uapi/asm/
H A Dfcntl.h7 #define O_CREAT 0x0200 /* not fcntl */ macro
/OK3568_Linux_fs/kernel/arch/mips/include/uapi/asm/
H A Dfcntl.h17 #define O_CREAT 0x0100 /* not fcntl */ macro
/OK3568_Linux_fs/buildroot/package/bsdiff/
H A D0002-bspatch-adaption-to-embedded-system.patch80 + if(((fd=open(argv[2],O_CREAT|O_TRUNC|O_RDWR,0666))<0) ||
95 - if(((fd=open(argv[2],O_CREAT|O_TRUNC|O_WRONLY,0666))<0) ||

1234567891011