Home
last modified time | relevance | path

Searched refs:O_APPEND (Results 1 – 25 of 100) sorted by relevance

1234

/external/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_rewrite_test.c71 close(open(REWRITE_PATH, O_WRONLY | O_APPEND | O_CREAT, 0600)); in stage_rewrite_test()
82 fd = open(REWRITE_PATH, O_WRONLY | O_APPEND); in stage_rewrite_test()
98 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC | O_APPEND); in stage_rewrite_test()
105 fd = open(REWRITE_PATH, O_WRONLY | O_APPEND); in stage_rewrite_test()
110 show_result(fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) & ~O_APPEND)); in stage_rewrite_test()
127 fd = open(REWRITE_PATH, O_WRONLY | O_APPEND); in stage_rewrite_test()
142 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC | O_APPEND); in stage_rewrite_test()
149 fd = open(REWRITE_PATH, O_WRONLY | O_APPEND); in stage_rewrite_test()
154 show_result(fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) & ~O_APPEND)); in stage_rewrite_test()
Dtomoyo_new_test.c220 result = open("/tmp/testfile4", O_APPEND | O_RDONLY, 0600); in test_file_open_4()
225 result = open("/tmp/testfile5", O_APPEND | O_CREAT | O_RDONLY, 0600); in test_file_open_5()
230 result = open("/tmp/testfile6", O_APPEND | O_TRUNC | O_RDONLY, 0600); in test_file_open_6()
236 O_APPEND | O_TRUNC | O_CREAT | O_RDONLY, 0600); in test_file_open_7()
261 result = open("/tmp/testfile12", O_APPEND | O_WRONLY, 0600); in test_file_open_12()
266 result = open("/tmp/testfile13", O_APPEND | O_CREAT | O_WRONLY, 0600); in test_file_open_13()
271 result = open("/tmp/testfile14", O_APPEND | O_TRUNC | O_WRONLY, 0600); in test_file_open_14()
277 O_APPEND | O_TRUNC | O_CREAT | O_WRONLY, 0600); in test_file_open_15()
302 result = open("/tmp/testfile20", O_APPEND | O_RDWR, 0600); in test_file_open_20()
307 result = open("/tmp/testfile21", O_APPEND | O_CREAT | O_RDWR, 0600); in test_file_open_21()
[all …]
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl01.c111 if (fcntl(fd[2], F_SETFL, O_APPEND) == -1) in main()
115 if ((flags & (O_APPEND | O_WRONLY)) == 0) in main()
117 flags, O_APPEND | O_WRONLY); in main()
120 if (fcntl(fd[2], F_SETFL, O_NDELAY | O_APPEND) < 0) in main()
124 if ((flags & (O_NDELAY | O_APPEND | O_WRONLY)) == 0) in main()
127 O_NDELAY | O_APPEND | O_SYNC | O_WRONLY); in main()
Dfcntl08.c67 TEST(fcntl(fd, F_SETFL, O_NDELAY | O_APPEND | O_NONBLOCK)); in main()
/external/toybox/toys/posix/
Dnohup.c27 if (-1 == open("nohup.out", O_CREAT|O_APPEND|O_WRONLY, in nohup_main()
33 xcreate(temp, O_CREAT|O_APPEND|O_WRONLY, 0600); in nohup_main()
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h34 #ifndef O_APPEND
35 #define O_APPEND 00002000 macro
/external/vboot_reference/futility/
Dfutility.c92 log_fd = open(LOGFILE, O_WRONLY | O_APPEND | O_CREAT, 0666); in log_open()
94 log_fd = open(LOGFILE, O_WRONLY | O_APPEND); in log_open()
103 log_fd = open(LOGFILE, O_WRONLY | O_APPEND | O_CREAT, 0666); in log_open()
/external/strace/xlat/
Dopen_mode_flags.h22 #if defined(O_APPEND) || (defined(HAVE_DECL_O_APPEND) && HAVE_DECL_O_APPEND)
23 XLAT(O_APPEND),
Dopenmodessol.in5 { 8, "O_APPEND" },
Dopen_mode_flags.in5 O_APPEND
/external/ltp/testcases/kernel/syscalls/utimensat/
Dutimensat01.c142 oflag = O_RDWR | O_APPEND; in main()
162 if (oflag & O_APPEND) in main()
/external/syslinux/com32/include/
Dfcntl.h21 #define O_APPEND 02000 macro
/external/ltp/testcases/kernel/syscalls/open/
Dopen12.c124 TEST(open(TEST_FILE, O_RDWR | O_APPEND, 0777)); in test_append()
194 TEST(open(TEST_FILE, O_RDWR | O_APPEND | O_CLOEXEC, 0777)); in test_cloexec()
/external/syslinux/com32/lib/sys/
Dnull_write.c51 .fileflags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND,
Derr_write.c52 .fileflags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND,
Drawcon_write.c60 .fileflags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND,
Dzfopen.c25 flags = O_WRONLY | O_CREAT | O_APPEND; in zfopen()
Dserial_write.c63 .fileflags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND,
Dansiserial_write.c55 .fileflags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND,
Dvesaserial_write.c56 .fileflags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND,
/external/syslinux/com32/lib/
Dfopen.c24 flags = O_WRONLY | O_CREAT | O_APPEND; in fopen()
Dfopendev.c24 flags = O_WRONLY | O_CREAT | O_APPEND; in fopendev()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dfcntl.h13 #define O_APPEND 0x0008 macro
/external/libxml2/win32/wince/
Dwincecompat.h22 #define O_APPEND 0x0008 /* writes done at eof */ macro
/external/syslinux/gpxe/src/util/
Dpadimg.pl33 sysopen ( my $fh, $filename, ( O_WRONLY | O_APPEND ) )

1234