| /OK3568_Linux_fs/kernel/tools/testing/selftests/openat2/ |
| H A D | openat2_test.c | 167 .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 D | resolve_test.c | 286 .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 D | byacc-open.patch | 6 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 D | fcntl.h | 23 #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 D | fcntl.h | 23 #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 D | fcntl.h | 23 #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 D | fcntl.h | 22 #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 D | dir.c | 326 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 D | 0004-Fix-build-with-latest-glibc.patch | 18 - 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 D | yportenv.h | 109 #ifndef O_CREAT 110 #define O_CREAT 0100 macro
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/patch/patch/ |
| H A D | CVE-2019-13636.patch | 11 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 D | 0005-Don-t-follow-symlinks-unless--follow-symlinks-is-given.patch | 11 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 D | fcntl.h | 41 (((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 D | fcntl.h | 41 (((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 D | fcntl-linux.h | 46 #ifndef O_CREAT 47 # define O_CREAT 0100 /* Not fcntl. */ macro
|
| H A D | mqueue2.h | 45 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 D | fcntl-linux.h | 46 #ifndef O_CREAT 47 # define O_CREAT 0100 /* Not fcntl. */ macro
|
| H A D | mqueue2.h | 45 if ((__oflag & O_CREAT) != 0 && __va_arg_pack_len () == 0) in __NTH()
|
| /OK3568_Linux_fs/kernel/arch/parisc/include/uapi/asm/ |
| H A D | fcntl.h | 6 #define O_CREAT 000000400 /* not fcntl */ macro
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/efivarfs/ |
| H A D | create-read.c | 26 fd = open(path, O_RDWR | O_CREAT, 0600); in main()
|
| /OK3568_Linux_fs/kernel/arch/alpha/include/uapi/asm/ |
| H A D | fcntl.h | 5 #define O_CREAT 01000 /* not fcntl */ macro
|
| /OK3568_Linux_fs/u-boot/test/py/ |
| H A D | make_test_disk.py | 12 fd = os.open("testdisk.raw", os.O_RDWR|os.O_CREAT )
|
| /OK3568_Linux_fs/kernel/arch/sparc/include/uapi/asm/ |
| H A D | fcntl.h | 7 #define O_CREAT 0x0200 /* not fcntl */ macro
|
| /OK3568_Linux_fs/kernel/arch/mips/include/uapi/asm/ |
| H A D | fcntl.h | 17 #define O_CREAT 0x0100 /* not fcntl */ macro
|
| /OK3568_Linux_fs/buildroot/package/bsdiff/ |
| H A D | 0002-bspatch-adaption-to-embedded-system.patch | 80 + 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) ||
|