Home
last modified time | relevance | path

Searched refs:SAFE_MKDIR (Results 1 – 25 of 126) sorted by relevance

123456

/external/ltp/testcases/kernel/syscalls/pivot_root/
Dpivot_root01.c113 SAFE_MKDIR(NEW_ROOT, 0777); in run()
129 SAFE_MKDIR(PUT_OLD_FS, 0777); in run()
131 SAFE_MKDIR(PUT_OLD_BAD, 0777); in run()
138 SAFE_MKDIR(PUT_OLD, 0777); in run()
177 SAFE_MKDIR(CHROOT_DIR, 0777); in setup()
/external/ltp/testcases/kernel/syscalls/execveat/
Dexecveat03.c94 SAFE_MKDIR("lower", 0755); in setup()
95 SAFE_MKDIR("upper", 0755); in setup()
96 SAFE_MKDIR("work", 0755); in setup()
97 SAFE_MKDIR(OVL_MNT, 0755); in setup()
/external/ltp/testcases/kernel/syscalls/rmdir/
Drmdir03.c84 SAFE_MKDIR(TESTDIR, DIR_MODE | S_ISVTX); in setup()
85 SAFE_MKDIR(TESTDIR2, DIR_MODE); in setup()
86 SAFE_MKDIR(TESTDIR3, NOEXCUTE_MODE); in setup()
87 SAFE_MKDIR(TESTDIR4, DIR_MODE); in setup()
Drmdir02.c68 SAFE_MKDIR(TESTDIR, DIR_MODE); in setup()
85 SAFE_MKDIR("loopdir", DIR_MODE); in setup()
/external/ltp/testcases/kernel/syscalls/inotify/
Dinotify07.c167 SAFE_MKDIR("lower", 0755); in setup()
168 SAFE_MKDIR("lower/"DIR_NAME, 0755); in setup()
170 SAFE_MKDIR("upper", 0755); in setup()
171 SAFE_MKDIR("work", 0755); in setup()
172 SAFE_MKDIR(OVL_MNT, 0755); in setup()
Dinotify08.c160 SAFE_MKDIR("lower", 0755); in setup()
162 SAFE_MKDIR("upper", 0755); in setup()
163 SAFE_MKDIR("work", 0755); in setup()
164 SAFE_MKDIR(OVL_MNT, 0755); in setup()
/external/ltp/testcases/kernel/syscalls/renameat/
Drenameat01.c165 SAFE_MKDIR(cleanup, TESTDIR, DIRMODE); in setup()
167 SAFE_MKDIR(cleanup, NEW_TESTDIR, DIRMODE); in setup()
180 SAFE_MKDIR(cleanup, "loopdir", DIRMODE); in setup()
186 SAFE_MKDIR(cleanup, MNTPOINT, DIRMODE); in setup()
193 SAFE_MKDIR(cleanup, TESTDIR3, DIRMODE); in setup()
/external/ltp/testcases/kernel/syscalls/unlink/
Dunlink08.c89 SAFE_MKDIR("unwrite_dir", 0777); in setup()
93 SAFE_MKDIR("unsearch_dir", 0777); in setup()
97 SAFE_MKDIR("regdir", 0777); in setup()
/external/ltp/testcases/kernel/syscalls/rename/
Drename11.c109 SAFE_MKDIR(cleanup, MNTPOINT, 0755); in setup()
114 SAFE_MKDIR(cleanup, TEST_EMLINK, 0755); in setup()
120 SAFE_MKDIR(cleanup, "test_eloop", 0644); in setup()
Drename04.c151 SAFE_MKDIR(cleanup, fdir, 00770); in setup()
160 SAFE_MKDIR(cleanup, mdir, 00770); in setup()
Drename06.c143 SAFE_MKDIR(cleanup, fdir, 00770); in setup()
153 SAFE_MKDIR(cleanup, mdir, 00770); in setup()
/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod07.c131 SAFE_MKDIR(cleanup, MNT_POINT, DIR_MODE); in setup()
138 SAFE_MKDIR(cleanup, DIR_TEMP, DIR_TEMP_MODE); in setup()
144 SAFE_MKDIR(cleanup, "test_eloop", DIR_MODE); in setup()
/external/ltp/testcases/kernel/containers/mountns/
Dmountns_helper.h57 SAFE_MKDIR(cleanup, DIRA, 0777); in setup()
58 SAFE_MKDIR(cleanup, DIRB, 0777); in setup()
/external/ltp/testcases/kernel/syscalls/access/
Daccess01.c329 SAFE_MKDIR(DNAME_R, 0444); in setup()
330 SAFE_MKDIR(DNAME_W, 0222); in setup()
331 SAFE_MKDIR(DNAME_X, 0111); in setup()
332 SAFE_MKDIR(DNAME_RW, 0666); in setup()
333 SAFE_MKDIR(DNAME_RX, 0555); in setup()
334 SAFE_MKDIR(DNAME_WX, 0333); in setup()
/external/ltp/testcases/kernel/syscalls/open/
Dopen07.c179 SAFE_MKDIR(cleanup, file1, 00700); in setupfunc_test2()
209 SAFE_MKDIR(cleanup, file1, 00700); in setupfunc_test4()
224 SAFE_MKDIR(cleanup, file1, 00700); in setupfunc_test5()
/external/ltp/testcases/kernel/controllers/memcg/regression/
Dmemcg_test_3.c64 SAFE_MKDIR(SUBDIR, 0644); in do_test()
78 SAFE_MKDIR(MNTPOINT, 0644); in setup()
/external/ltp/testcases/kernel/syscalls/link/
Dlink08.c85 SAFE_MKDIR(TEST_FILE1, DIR_MODE); in setup()
87 SAFE_MKDIR("test_eloop", DIR_MODE); in setup()
/external/ltp/testcases/kernel/syscalls/symlinkat/
Dsymlinkat01.c170 SAFE_MKDIR(cleanup, TEST_DIR2, 0700); in setup_every_copy()
222 SAFE_MKDIR(cleanup, TEST_DIR1, 0700); in setup()
223 SAFE_MKDIR(cleanup, TEST_DIR3, 0700); in setup()
/external/ltp/testcases/kernel/syscalls/readahead/
Dreadahead02.c350 SAFE_MKDIR(OVL_LOWER, 0755); in setup_overlay()
351 SAFE_MKDIR(OVL_UPPER, 0755); in setup_overlay()
352 SAFE_MKDIR(OVL_WORK, 0755); in setup_overlay()
353 SAFE_MKDIR(OVL_MNT, 0755); in setup_overlay()
/external/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir02.c49 SAFE_MKDIR(TESTDIR2, 0777); in verify_mkdir()
96 SAFE_MKDIR(TESTDIR1, 0777); in setup()
/external/ltp/testcases/kernel/syscalls/mount/
Dmount05.c103 SAFE_MKDIR(cleanup, mntpoint_src, DIR_MODE); in setup()
104 SAFE_MKDIR(cleanup, mntpoint_des, DIR_MODE); in setup()
/external/ltp/testcases/kernel/syscalls/statx/
Dstatx05.c98 SAFE_MKDIR(TESTDIR_FLAGGED, 0777); in setup()
99 SAFE_MKDIR(TESTDIR_UNFLAGGED, 0777); in setup()
/external/ltp/testcases/kernel/syscalls/readlink/
Dreadlink03.c107 SAFE_MKDIR(DIR_TEMP, 0777); in setup()
119 SAFE_MKDIR("test_eloop", 0777); in setup()
/external/ltp/testcases/kernel/syscalls/unlinkat/
Dunlinkat01.c115 SAFE_MKDIR(cleanup, pathname, 0700); in setup()
116 SAFE_MKDIR(cleanup, subpathdir, 0700); in setup()
/external/ltp/testcases/kernel/syscalls/lchown/
Dlchown03.c105 SAFE_MKDIR(cleanup, "test_eloop", DIR_MODE); in setup()
111 SAFE_MKDIR(cleanup, TEST_EROFS, DIR_MODE); in setup()

123456