Home
last modified time | relevance | path

Searched refs:SAFE_TOUCH (Results 1 – 25 of 87) sorted by relevance

1234

/external/ltp/testcases/kernel/syscalls/access/
Daccess01.c305 SAFE_TOUCH(FNAME_RWX, 0777, NULL); in setup()
306 SAFE_TOUCH(FNAME_R, 0444, NULL); in setup()
307 SAFE_TOUCH(FNAME_W, 0222, NULL); in setup()
308 SAFE_TOUCH(FNAME_X, 0111, NULL); in setup()
317 SAFE_TOUCH(DNAME_R"/"FNAME_R, 0444, NULL); in setup()
318 SAFE_TOUCH(DNAME_R"/"FNAME_W, 0222, NULL); in setup()
319 SAFE_TOUCH(DNAME_R"/"FNAME_X, 0111, NULL); in setup()
321 SAFE_TOUCH(DNAME_W"/"FNAME_R, 0444, NULL); in setup()
322 SAFE_TOUCH(DNAME_W"/"FNAME_W, 0222, NULL); in setup()
323 SAFE_TOUCH(DNAME_W"/"FNAME_X, 0111, NULL); in setup()
[all …]
Daccess02.c173 SAFE_TOUCH(FNAME_F, 0000, NULL); in setup()
174 SAFE_TOUCH(FNAME_R, 0444, NULL); in setup()
175 SAFE_TOUCH(FNAME_W, 0222, NULL); in setup()
176 SAFE_TOUCH(FNAME_X, 0555, NULL); in setup()
Daccess04.c104 SAFE_TOUCH(FNAME1, 0333, NULL); in setup()
105 SAFE_TOUCH(DNAME, 0644, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/readlink/
Dreadlink03.c99 SAFE_TOUCH(TEST_FILE1, 0666, NULL); in setup()
103 SAFE_TOUCH(TEST_FILE2, 0666, NULL); in setup()
108 SAFE_TOUCH(TEST_FILE3, 0666, NULL); in setup()
116 SAFE_TOUCH(TESTFILE, 0666, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/renameat/
Drenameat01.c157 SAFE_TOUCH(cleanup, TESTFILE, FILEMODE, NULL); in setup()
159 SAFE_TOUCH(cleanup, TESTFILE2, FILEMODE, NULL); in setup()
166 SAFE_TOUCH(cleanup, TESTFILE3, FILEMODE, NULL); in setup()
189 SAFE_TOUCH(cleanup, TESTFILE5, FILEMODE, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/chmod/
Dchmod06.c119 SAFE_TOUCH(TEST_FILE1, 0666, NULL); in setup()
121 SAFE_TOUCH(TEST_FILE2, 0666, NULL); in setup()
123 SAFE_TOUCH("t_file", MODE_RWX, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/renameat2/
Drenameat201.c115 SAFE_TOUCH(cleanup, TEST_DIR TEST_FILE, 0600, NULL); in setup()
116 SAFE_TOUCH(cleanup, TEST_DIR2 TEST_FILE2, 0600, NULL); in setup()
117 SAFE_TOUCH(cleanup, TEST_DIR TEST_FILE3, 0600, NULL); in setup()
Drenameat202.c93 SAFE_TOUCH(cleanup, TEST_DIR TEST_FILE, 0600, NULL); in setup()
94 SAFE_TOUCH(cleanup, TEST_DIR2 TEST_FILE2, 0600, NULL); in setup()
/external/ltp/testcases/kernel/containers/mountns/
Dmountns_helper.h59 SAFE_TOUCH(cleanup, DIRA"/A", 0, NULL); in setup()
60 SAFE_TOUCH(cleanup, DIRB"/B", 0, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/truncate/
Dtruncate03.c132 SAFE_TOUCH(cleanup, TEST_FILE1, NEW_MODE, NULL); in setup()
134 SAFE_TOUCH(cleanup, "t_file", FILE_MODE, NULL); in setup()
140 SAFE_TOUCH(cleanup, TEST_FILE3, FILE_MODE, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/chown/
Dchown04.c169 SAFE_TOUCH(cleanup, "t_file", MODE_RWX, NULL); in setup()
170 SAFE_TOUCH(cleanup, TEST_FILE1, 0666, NULL); in setup()
172 SAFE_TOUCH(cleanup, TEST_FILE2, 0666, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/llistxattr/
Dllistxattr03.c62 SAFE_TOUCH(filename[0], 0644, NULL); in setup()
64 SAFE_TOUCH(filename[1], 0644, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/listxattr/
Dlistxattr03.c61 SAFE_TOUCH(filename[0], 0644, NULL); in setup()
63 SAFE_TOUCH(filename[1], 0644, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/inotify/
Dinotify08.c84 SAFE_TOUCH(OVL_LOWER"/"FILE_NAME, 0644, NULL); in verify_inotify()
85 SAFE_TOUCH(OVL_UPPER"/"FILE_NAME, 0644, NULL); in verify_inotify()
137 SAFE_TOUCH(OVL_LOWER"/"FILE_NAME, 0644, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/rename/
Drename02.c158 SAFE_TOUCH(cleanup, fname, 0700, NULL); in main()
181 SAFE_TOUCH(cleanup, fname, 0700, NULL); in setup()
Drename03.c198 SAFE_TOUCH(cleanup, fname, 0700, NULL); in setup2()
206 SAFE_TOUCH(cleanup, mname, 0700, NULL); in setup2()
Drename09.c144 SAFE_TOUCH(cleanup, fname, 0700, NULL); in main()
175 SAFE_TOUCH(cleanup, mname, 0700, NULL); in main()
/external/ltp/testcases/kernel/syscalls/unlink/
Dunlink08.c78 SAFE_TOUCH("unwrite_dir/file", 0777, NULL); in setup()
82 SAFE_TOUCH("unsearch_dir/file", 0777, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/linkat/
Dlinkat02.c161 SAFE_TOUCH(cleanup, TEST_FILE, 0644, NULL); in setup()
165 SAFE_TOUCH(cleanup, TEST_EXIST, 0644, NULL); in setup()
171 SAFE_TOUCH(cleanup, TEST_EACCES, 0666, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/stat/
Dstat03.c71 SAFE_TOUCH(TST_EACCES_FILE, DIR_MODE, NULL); in setup()
79 SAFE_TOUCH(TST_ENOTDIR_FILE, DIR_MODE, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/lstat/
Dlstat02.c95 SAFE_TOUCH(TEST_EACCES, MODE_RWX, NULL); in setup()
96 SAFE_TOUCH(TEST_FILE, MODE_RWX, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir03.c74 SAFE_TOUCH(TST_EEXIST, MODE, NULL); in setup()
75 SAFE_TOUCH(TST_ENOTDIR_FILE, MODE, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/rmdir/
Drmdir02.c57 SAFE_TOUCH(TESTFILE, FILE_MODE, NULL); in setup()
61 SAFE_TOUCH(TESTFILE2, FILE_MODE, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/utimes/
Dutimes01.c61 SAFE_TOUCH(TESTFILE2, FILE_MODE, NULL); in setup()
63 SAFE_TOUCH(TESTFILE1, FILE_MODE, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/link/
Dlink04.c152 SAFE_TOUCH(cleanup, "regfile", 0777, NULL); in setup()
153 SAFE_TOUCH(cleanup, "regfile2", 0777, NULL); in setup()

1234