Home
last modified time | relevance | path

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

123

/external/ltp/testcases/kernel/syscalls/access/
Daccess01.c322 SAFE_TOUCH(FNAME_RWX, 0777, NULL); in setup()
323 SAFE_TOUCH(FNAME_R, 0444, NULL); in setup()
324 SAFE_TOUCH(FNAME_W, 0222, NULL); in setup()
325 SAFE_TOUCH(FNAME_X, 0111, NULL); in setup()
334 SAFE_TOUCH(DNAME_R"/"FNAME_R, 0444, NULL); in setup()
335 SAFE_TOUCH(DNAME_R"/"FNAME_W, 0222, NULL); in setup()
336 SAFE_TOUCH(DNAME_R"/"FNAME_X, 0111, NULL); in setup()
338 SAFE_TOUCH(DNAME_W"/"FNAME_R, 0444, NULL); in setup()
339 SAFE_TOUCH(DNAME_W"/"FNAME_W, 0222, NULL); in setup()
340 SAFE_TOUCH(DNAME_W"/"FNAME_X, 0111, NULL); in setup()
[all …]
Daccess02.c186 SAFE_TOUCH(FNAME_F, 0000, NULL); in setup()
187 SAFE_TOUCH(FNAME_R, 0444, NULL); in setup()
188 SAFE_TOUCH(FNAME_W, 0222, NULL); in setup()
189 SAFE_TOUCH(FNAME_X, 0555, NULL); in setup()
Daccess04.c116 SAFE_TOUCH(FNAME1, 0333, NULL); in setup()
117 SAFE_TOUCH(DNAME, 0644, 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()
192 SAFE_TOUCH(cleanup, TESTFILE5, FILEMODE, 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/syscalls/readlink/
Dreadlink03.c132 SAFE_TOUCH(cleanup, TEST_FILE1, 0666, NULL); in setup()
136 SAFE_TOUCH(cleanup, TEST_FILE2, 0666, NULL); in setup()
141 SAFE_TOUCH(cleanup, TEST_FILE3, 0666, 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.c135 SAFE_TOUCH(cleanup, TEST_FILE1, NEW_MODE, NULL); in setup()
137 SAFE_TOUCH(cleanup, "t_file", FILE_MODE, NULL); in setup()
151 SAFE_TOUCH(cleanup, TEST_FILE3, FILE_MODE, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/llistxattr/
Dllistxattr03.c72 SAFE_TOUCH(filename[0], 0644, NULL); in setup()
74 SAFE_TOUCH(filename[1], 0644, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/listxattr/
Dlistxattr03.c73 SAFE_TOUCH(filename[0], 0644, NULL); in setup()
75 SAFE_TOUCH(filename[1], 0644, NULL); in setup()
Dlistxattr01.c80 SAFE_TOUCH(TESTFILE, 0644, 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/rename/
Drename02.c158 SAFE_TOUCH(cleanup, fname, 0700, NULL); in main()
181 SAFE_TOUCH(cleanup, fname, 0700, NULL); in setup()
Drename09.c144 SAFE_TOUCH(cleanup, fname, 0700, NULL); in main()
175 SAFE_TOUCH(cleanup, mname, 0700, NULL); in main()
Drename03.c206 SAFE_TOUCH(cleanup, fname, 0700, NULL); in setup2()
218 SAFE_TOUCH(cleanup, mname, 0700, NULL); in setup2()
/external/ltp/testcases/kernel/syscalls/utimes/
Dutimes01.c132 SAFE_TOUCH(cleanup, TESTFILE1, FILE_MODE, NULL); in setup()
137 SAFE_TOUCH(cleanup, TESTFILE2, FILE_MODE, NULL); in setup()
149 SAFE_TOUCH(cleanup, TESTFILE3, FILE_MODE, 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/chmod/
Dchmod06.c189 SAFE_TOUCH(cleanup, TEST_FILE1, 0666, NULL); in setup()
191 SAFE_TOUCH(cleanup, TEST_FILE2, 0666, NULL); in setup()
193 SAFE_TOUCH(cleanup, "t_file", MODE_RWX, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/link/
Dlink04.c177 SAFE_TOUCH(cleanup, "regfile", 0777, NULL); in setup()
178 SAFE_TOUCH(cleanup, "regfile2", 0777, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/lstat/
Dlstat02.c126 SAFE_TOUCH(cleanup, TEST_EACCES, 0666, NULL); in setup()
130 SAFE_TOUCH(cleanup, "test_file", MODE_RWX, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/rmdir/
Drmdir02.c155 SAFE_TOUCH(cleanup, TESTFILE, FILE_MODE, NULL); in setup()
159 SAFE_TOUCH(cleanup, TESTFILE2, FILE_MODE, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir03.c116 SAFE_TOUCH(cleanup, TST_EEXIST, MODE, NULL); in setup()
118 SAFE_TOUCH(cleanup, "tst_enotdir", MODE, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/mmap/
Dmmap16.c99 SAFE_TOUCH(cleanup, "testfilep", 0644, NULL); in do_test()
100 SAFE_TOUCH(cleanup, "testfilec", 0644, NULL); in do_test()
/external/ltp/lib/newlib_tests/
Dtest14.c30 SAFE_TOUCH("doo/foo", 0777, NULL); in cleanup()

123