Home
last modified time | relevance | path

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

12

/external/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()
Ddup205.c41 fildes[0] = SAFE_CREAT(pfilname, 0666); in run()
/external/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()
/external/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()
/external/ltp/testcases/kernel/syscalls/open/
Dopen08.c64 SAFE_CREAT(user2_fname, 0600); in setup()
71 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()
/external/ltp/testcases/kernel/syscalls/execve/
Dexecve03.c94 fd = SAFE_CREAT(test_name5, 0444); in setup()
102 fd = SAFE_CREAT(test_name6, 0755); in setup()
/external/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()
/external/ltp/testcases/kernel/syscalls/umask/
Dumask01.c40 fd = SAFE_CREAT("testfile", 0777); in verify_umask()
/external/ltp/testcases/kernel/syscalls/read/
Dread04.c51 fd = SAFE_CREAT(fname, 0777); in setup()
/external/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()
/external/ltp/testcases/kernel/syscalls/write/
Dwrite03.c30 fd = SAFE_CREAT("testfile", 0644); in verify_write()
/external/ltp/testcases/kernel/syscalls/exit/
Dexit02.c23 fd = SAFE_CREAT(FNAME, 0666); in child_write()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl29.c93 test_fd = SAFE_CREAT(cleanup, "testfile", 0644); in setup()
/external/ltp/testcases/kernel/syscalls/fork/
Dfork01.c61 fd = SAFE_CREAT(FILENAME, 0700); in setup()
/external/ltp/testcases/kernel/syscalls/getxattr/
Dgetxattr03.c92 fd = SAFE_CREAT(cleanup, TESTFILE, 0644); in setup()
/external/ltp/testcases/kernel/syscalls/umount/
Dumount02.c69 fd = SAFE_CREAT(MNTPOINT "/file", 0777); in setup()

12