/openbmc/qemu/tests/unit/ |
H A D | test-io-channel-file.c | 78 test_io_channel_file_helper(O_WRONLY | O_CREAT | O_TRUNC | O_BINARY); in test_io_channel_file() 83 test_io_channel_file_helper(O_RDWR | O_CREAT | O_TRUNC | O_BINARY); in test_io_channel_file_rdwr() 91 fd = open(TEST_FILE, O_CREAT | O_TRUNC | O_WRONLY, 0600); in test_io_channel_fd()
|
/openbmc/linux/tools/include/uapi/asm-generic/ |
H A D | fcntl.h | 32 #ifndef O_TRUNC 33 #define O_TRUNC 00001000 /* not fcntl */ macro
|
/openbmc/linux/include/uapi/asm-generic/ |
H A D | fcntl.h | 32 #ifndef O_TRUNC 33 #define O_TRUNC 00001000 /* not fcntl */ macro
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | yportenv.h | 117 #ifndef O_TRUNC 118 #define O_TRUNC 01000 macro
|
H A D | yaffs_uboot_glue.c | 287 O_CREAT | O_RDWR | O_TRUNC, in make_a_file() 387 outh = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in cmd_yaffs_mwrite_file()
|
/openbmc/linux/arch/mips/include/uapi/asm/ |
H A D | fcntl.h | 18 #define O_TRUNC 0x0200 /* not fcntl */ macro
|
/openbmc/linux/arch/alpha/include/uapi/asm/ |
H A D | fcntl.h | 6 #define O_TRUNC 02000 /* not fcntl */ macro
|
/openbmc/linux/arch/sparc/include/uapi/asm/ |
H A D | fcntl.h | 8 #define O_TRUNC 0x0400 /* not fcntl */ macro
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/ |
H A D | 0017-img2simg-Add-support-for-converting-holes-to-don-t-c.patch | 95 - out = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664); 96 + out = open(arg_out, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
|
/openbmc/linux/include/linux/ |
H A D | fcntl.h | 10 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
|
/openbmc/u-boot/board/samsung/smdkv310/tools/ |
H A D | mksmdkv310spl.c | 51 ofd = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC, FILE_PERM); in main()
|
/openbmc/linux/include/trace/misc/ |
H A D | fs.h | 31 { O_TRUNC, "O_TRUNC" }, \
|
/openbmc/openbmc/poky/meta/recipes-devtools/patch/patch/ |
H A D | CVE-2019-13636.patch | 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)
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | file_io_type_lid.hpp | 127 flags = O_WRONLY | O_CREAT | O_TRUNC | O_SYNC; in writeFromMemory() 219 flags = O_WRONLY | O_CREAT | O_TRUNC | O_SYNC; in write()
|
H A D | file_io_type_cert.cpp | 217 int flags = O_WRONLY | O_CREAT | O_TRUNC; in newFileAvailable() 257 int flags = O_WRONLY | O_CREAT | O_TRUNC; in newFileAvailableWithMetaData()
|
/openbmc/u-boot/board/samsung/origen/tools/ |
H A D | mkorigenspl.c | 53 ofd = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC, FILE_PERM); in main()
|
/openbmc/linux/tools/testing/selftests/fchmodat2/ |
H A D | fchmodat2_test.c | 32 ret = openat(dfd, "regfile", O_CREAT | O_WRONLY | O_TRUNC, 0644); in setup_testdir()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | raw_tp_test_run.c | 35 comm_fd = open("/proc/self/comm", O_WRONLY|O_TRUNC); in test_raw_tp_test_run()
|
/openbmc/linux/arch/powerpc/boot/ |
H A D | mktree.c | 87 if ((out_fd = open(argv[2], (O_RDWR | O_CREAT | O_TRUNC), 0666)) < 0) { in main()
|
/openbmc/qemu/chardev/ |
H A D | char-file.c | 78 flags |= O_TRUNC; in qmp_chardev_open_file()
|
/openbmc/linux/tools/objtool/ |
H A D | objtool.c | 38 d = open(name, O_CREAT|O_WRONLY|O_TRUNC, 0644); in objtool_create_backup()
|
/openbmc/linux/fs/vboxsf/ |
H A D | file.c | 72 if (file->f_flags & O_TRUNC) in vboxsf_file_open() 78 if (file->f_flags & O_TRUNC) in vboxsf_file_open()
|
/openbmc/linux/tools/testing/selftests/kcmp/ |
H A D | kcmp_test.c | 42 fd1 = open(kpath, O_RDWR | O_CREAT | O_TRUNC, 0644); in main()
|
/openbmc/linux/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 1824 dst_fd = open(dst_path, O_WRONLY | O_TRUNC | O_CLOEXEC); in copy_binary() 3347 EXPECT_EQ(0, test_open(file_r, O_RDONLY | O_TRUNC)); in TEST_F_FORK() 3348 EXPECT_EQ(EACCES, test_open(file_r, O_WRONLY | O_TRUNC)); in TEST_F_FORK() 3356 EXPECT_EQ(EACCES, test_open(file_w, O_RDONLY | O_TRUNC)); in TEST_F_FORK() 3357 EXPECT_EQ(0, test_open(file_w, O_WRONLY | O_TRUNC)); in TEST_F_FORK() 3427 EXPECT_EQ(0, test_open(file_rwt, O_RDONLY | O_TRUNC)); in TEST_F_FORK() 3428 EXPECT_EQ(0, test_open(file_rwt, O_WRONLY | O_TRUNC)); in TEST_F_FORK() 3432 EXPECT_EQ(EACCES, test_open(file_rw, O_RDONLY | O_TRUNC)); in TEST_F_FORK() 3441 EXPECT_EQ(0, test_open(file_rt, O_RDONLY | O_TRUNC)); in TEST_F_FORK() 3446 EXPECT_EQ(EACCES, test_open(file_t, O_RDONLY | O_TRUNC)); in TEST_F_FORK() [all …]
|
/openbmc/u-boot/tools/ |
H A D | imagetool.c | 107 dfd = open(file_name, O_RDWR | O_CREAT | O_TRUNC | O_BINARY, in imagetool_save_subimage()
|