Home
last modified time | relevance | path

Searched refs:creat (Results 1 – 25 of 223) sorted by relevance

123456789

/external/ltp/testcases/kernel/syscalls/dup2/
Ddup203.c83 if ((fd0 = creat(filename0, 0666)) == -1) in main()
88 if ((fd1 = creat(filename1, 0666)) == -1) in main()
136 if ((fd0 = creat(filename0, 0666)) == -1) { in main()
144 if ((fd2 = creat(filename1, 0666)) == -1) { in main()
/external/ltp/testcases/kernel/syscalls/unlink/
Dunlink08.c287 if ((fd = creat("unwrite_dir/file", 0777)) == -1) { in unwrite_dir_setup()
306 if ((fd = creat("unwrite_dir/file", 0777)) == -1) { in unwrite_dir_setup()
336 if ((fd = creat("unsearch_dir/file", 0777)) == -1) { in unsearch_dir_setup()
355 if ((fd = creat("unsearch_dir/file", 0777)) == -1) { in unsearch_dir_setup()
/external/ltp/testcases/kernel/syscalls/dup/
Ddup07.c62 if ((rdoret = creat(testfile, 0444)) == -1) { in main()
84 if ((wroret = creat(testfile, 0222)) == -1) { in main()
107 if ((rdwret = creat(testfile, 0666)) == -1) { in main()
/external/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_file_test.c199 close(creat(link_source_path, 0600)); in create_files()
200 close(creat(rename_source_path, 0600)); in create_files()
201 close(creat(truncate_path, 0600)); in create_files()
202 close(creat(unlink_path, 0600)); in create_files()
/external/ltp/testcases/kernel/syscalls/setxattr/
Dsetxattr03.c170 fd = creat("testfile", 0644); in setup()
181 immu_fd = creat(IMMU_FILE, 0644); in setup()
189 append_fd = creat(APPEND_FILE, 0644); in setup()
Dsetxattr01.c187 fd = creat("testfile", 0644); in setup()
198 fd = creat(filename, 0644); in setup()
Dsetxattr02.c188 fd = creat("testfile", 0644); in setup()
199 fd = creat(FILENAME, 0644); in setup()
/external/ltp/testcases/kernel/syscalls/fmtmsg/
Dfmtmsg01.c98 fd = creat("fmtfile", 0644); in main()
164 fd = creat("fmtfile", 0644); in main()
/external/ltp/testcases/kernel/syscalls/creat/
Dcreat08.c314 fd = creat(nosetgid_B, MODE_RWX); in main()
343 fd = creat(setgid_B, MODE_SGID); in main()
392 fd = creat(root_setgid_B, MODE_SGID); in main()
Dcreat03.c40 fd = creat(pfilname, 444); in verify_creat()
Dcreat07.c49 TEST(creat(TEST_APP, O_WRONLY)); in verify_creat()
Dcreat01.c56 fd = creat(filename, tcases[i].mode); in verify_creat()
Dcreat05.c40 TEST(creat("filename", 0666)); in verify_creat()
/external/compiler-rt/lib/esan/
Desan_interceptors.cpp281 INTERCEPTOR(int, creat, const char *name, int mode) { in INTERCEPTOR() argument
283 COMMON_INTERCEPTOR_ENTER(ctx, creat, name, mode); in INTERCEPTOR()
285 return REAL(creat)(name, mode); in INTERCEPTOR()
520 INTERCEPT_FUNCTION(creat); in initializeInterceptors()
/external/syslinux/com32/lib/
Dcreat.c9 int creat(const char *pathname, mode_t mode) in creat() function
/external/ltp/testcases/kernel/syscalls/open/
Dopen07.c165 fd1 = creat(file1, 00700); in setupfunc_test1()
197 fd2 = creat(file1, 00700); in setupfunc_test3()
/external/valgrind/none/tests/
Dfdleak_creat.c13 (void) DO( creat(filename, 0) ); in main()
/external/syslinux/dos/
Dsyslinux.c73 int creat(const char *filename, int mode) in creat() function
681 fd = creat(ldlinux_name, 0); /* SYSTEM HIDDEN READONLY */ in main()
688 fd = creat(ldlinuxc32_name, 0); /* SYSTEM HIDDEN READONLY */ in main()
758 fd = creat(opt.bootsecfile, 0x20); /* ARCHIVE */ in main()
/external/ltp/testcases/kernel/syscalls/
D.gitignore76 /creat/creat01
77 /creat/creat03
78 /creat/creat04
79 /creat/creat05
80 /creat/creat06
81 /creat/creat07
82 /creat/creat08
83 /creat/creat07_child
/external/ltp/testcases/network/nfs/nfs_stress/
Dnfs04_create_file.c59 if ((fd = creat(argv[2], 0755)) == -1) in main()
/external/ltp/testcases/kernel/fs/fs_di/
Dcreate_datafile.c59 if ((fd = creat(argv[2], 0755)) == -1) in main()
/external/ltp/testcases/network/tcp_cmds/echo/
Dcreatefile.c36 if ((fd = creat(argv[2], 0644)) == -1) in main()
/external/strace/tests-mx32/
Dreaddir.c77 assert(!creat(fname, 0600)); in main()
/external/strace/tests/
Dreaddir.c77 assert(!creat(fname, 0600)); in main()
/external/strace/tests-m32/
Dreaddir.c77 assert(!creat(fname, 0600)); in main()

123456789