Home
last modified time | relevance | path

Searched refs:SAFE_CREAT (Results 1 – 25 of 48) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/dup2/
Ddup202.c56 nextfd = SAFE_CREAT(testfile, 0777); in setup()
81 ofd = SAFE_CREAT(testfile, 0777); in run()
83 ofd = SAFE_CREAT(testfile, tc->mode); in run()
Ddup203.c42 fd0 = SAFE_CREAT(filename0, 0666); in run()
46 fd1 = SAFE_CREAT(filename1, 0666); in run()
/third_party/ltp/testcases/kernel/syscalls/setxattr/
Dsetxattr03.c130 fd = SAFE_CREAT("testfile", 0644); in setup()
139 immu_fd = SAFE_CREAT(IMMU_FILE, 0644); in setup()
144 append_fd = SAFE_CREAT(APPEND_FILE, 0644); in setup()
/third_party/ltp/testcases/kernel/syscalls/sendfile/
Dsendfile06.c32 fd = SAFE_CREAT(IN_FILE, 00700); in setup()
38 fd = SAFE_CREAT(OUT_FILE, 00700); in setup()
Dsendfile02.c45 fd = SAFE_CREAT(IN_FILE, 00700); in setup()
50 fd = SAFE_CREAT(OUT_FILE, 00700); in setup()
Dsendfile09.c51 fd = SAFE_CREAT(IN_FILE, 00700); in setup()
58 fd = SAFE_CREAT(OUT_FILE, 00700); in setup()
Dsendfile05.c28 out_fd = SAFE_CREAT("out_file", 0600); in setup()
Dsendfile03.c42 out_fd = SAFE_CREAT("out_file", 0600); in setup()
Dsendfile04.c42 out_fd = SAFE_CREAT("out_file", 0600); in setup()
Dsendfile08.c54 in_fd = SAFE_CREAT(IN_FILE, 0700); in setup()
/third_party/ltp/testcases/kernel/syscalls/open/
Dopen08.c100 SAFE_CREAT(user2_fname, 0600); in setup()
107 fildes = SAFE_CREAT(existing_fname, 0600); in setup()
Dopen07.c166 fd1 = SAFE_CREAT(cleanup, file1, 00700); in setupfunc_test1()
193 fd2 = SAFE_CREAT(cleanup, file1, 00700); in setupfunc_test3()
/third_party/ltp/testcases/kernel/syscalls/execve/
Dexecve03.c94 fd = SAFE_CREAT(test_name5, 0444); in setup()
102 fd = SAFE_CREAT(test_name6, 0755); in setup()
/third_party/ltp/testcases/kernel/syscalls/statx/
Dstatx07.c127 SAFE_CREAT(SERV_FORCE_SYNC, DEFAULT_MODE); in setup()
128 SAFE_CREAT(SERV_DONT_SYNC, DEFAULT_MODE); in setup()
/third_party/ltp/testcases/kernel/syscalls/umask/
Dumask01.c40 fd = SAFE_CREAT("testfile", 0777); in verify_umask()
/third_party/ltp/testcases/kernel/syscalls/read/
Dread04.c51 fd = SAFE_CREAT(fname, 0777); in setup()
/third_party/ltp/testcases/kernel/syscalls/exit/
Dexit02.c23 fd = SAFE_CREAT(FNAME, 0666); in child_write()
/third_party/ltp/testcases/kernel/syscalls/creat/
Dcreat01.c43 fd = SAFE_CREAT(filename, tcases[i].mode); in verify_creat()
Dcreat05.c55 fd = SAFE_CREAT(fname, 0666); in setup()
/third_party/ltp/testcases/kernel/syscalls/write/
Dwrite03.c30 fd = SAFE_CREAT("testfile", 0644); in verify_write()
/third_party/ltp/testcases/kernel/syscalls/getxattr/
Dgetxattr03.c92 fd = SAFE_CREAT(cleanup, TESTFILE, 0644); in setup()
/third_party/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl29.c97 test_fd = SAFE_CREAT(cleanup, "testfile", 0644); in setup()
/third_party/ltp/testcases/kernel/syscalls/umount/
Dumount02.c69 fd = SAFE_CREAT(MNTPOINT "/file", 0777); in setup()
/third_party/ltp/testcases/kernel/syscalls/utime/
Dutime04.c168 fildes = SAFE_CREAT(cleanup, TEMP_FILE, FILE_MODE); in setup()
Dutime05.c178 fildes = SAFE_CREAT(cleanup, TEMP_FILE, FILE_MODE); in setup()

12