Home
last modified time | relevance | path

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

123456

/external/ltp/lib/
Dtst_fs_setup.c18 SAFE_MKDIR(OVL_LOWER, 0755); in create_overlay_dirs()
19 SAFE_MKDIR(OVL_UPPER, 0755); in create_overlay_dirs()
20 SAFE_MKDIR(OVL_WORK, 0755); in create_overlay_dirs()
21 SAFE_MKDIR(OVL_MNT, 0755); in create_overlay_dirs()
/external/ltp/testcases/kernel/syscalls/pivot_root/
Dpivot_root01.c114 SAFE_MKDIR(NEW_ROOT, 0777); in run()
130 SAFE_MKDIR(PUT_OLD_FS, 0777); in run()
132 SAFE_MKDIR(PUT_OLD_BAD, 0777); in run()
139 SAFE_MKDIR(PUT_OLD, 0777); in run()
178 SAFE_MKDIR(CHROOT_DIR, 0777); in setup()
/external/ltp/testcases/kernel/syscalls/rmdir/
Drmdir03.c72 SAFE_MKDIR(TESTDIR, DIR_MODE | S_ISVTX); in setup()
73 SAFE_MKDIR(TESTDIR2, DIR_MODE); in setup()
74 SAFE_MKDIR(TESTDIR3, NOEXCUTE_MODE); in setup()
75 SAFE_MKDIR(TESTDIR4, DIR_MODE); in setup()
Drmdir02.c56 SAFE_MKDIR(TESTDIR, DIR_MODE); in setup()
73 SAFE_MKDIR("loopdir", DIR_MODE); in setup()
/external/ltp/testcases/kernel/syscalls/unlink/
Dunlink08.c77 SAFE_MKDIR("unwrite_dir", 0777); in setup()
81 SAFE_MKDIR("unsearch_dir", 0777); in setup()
85 SAFE_MKDIR("regdir", 0777); 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/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()
Drename03.c209 SAFE_MKDIR(cleanup, fdir, 00770); in setup2()
216 SAFE_MKDIR(cleanup, mdir, 00770); in setup2()
/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod07.c133 SAFE_MKDIR(cleanup, MNT_POINT, DIR_MODE); in setup()
140 SAFE_MKDIR(cleanup, DIR_TEMP, DIR_TEMP_MODE); in setup()
146 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/controllers/memcg/regression/
Dmemcg_test_3.c52 SAFE_MKDIR(SUBDIR, 0644); in do_test()
66 SAFE_MKDIR(MNTPOINT, 0644); 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/syscalls/link/
Dlink08.c72 SAFE_MKDIR(TEST_FILE1, DIR_MODE); in setup()
74 SAFE_MKDIR("test_eloop", DIR_MODE); in setup()
/external/ltp/testcases/kernel/syscalls/access/
Daccess01.c310 SAFE_MKDIR(DNAME_R, 0444); in setup()
311 SAFE_MKDIR(DNAME_W, 0222); in setup()
312 SAFE_MKDIR(DNAME_X, 0111); in setup()
313 SAFE_MKDIR(DNAME_RW, 0666); in setup()
314 SAFE_MKDIR(DNAME_RX, 0555); in setup()
315 SAFE_MKDIR(DNAME_WX, 0333); in setup()
/external/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir02.c37 SAFE_MKDIR(TESTDIR2, 0777); in verify_mkdir()
84 SAFE_MKDIR(TESTDIR1, 0777); 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/stat/
Dstat03.c70 SAFE_MKDIR(TST_EACCES_DIR, DIR_MODE); in setup()
81 SAFE_MKDIR("test_eloop", DIR_MODE); 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/lstat/
Dlstat02.c94 SAFE_MKDIR(TEST_DIR, MODE_RWX); in setup()
99 SAFE_MKDIR("test_eloop", MODE_RWX); in setup()
/external/ltp/testcases/kernel/syscalls/statx/
Dstatx05.c99 SAFE_MKDIR(TESTDIR_FLAGGED, 0777); in setup()
100 SAFE_MKDIR(TESTDIR_UNFLAGGED, 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()
/external/ltp/testcases/kernel/syscalls/readlink/
Dreadlink03.c98 SAFE_MKDIR(DIR_TEMP, 0777); in setup()
110 SAFE_MKDIR("test_eloop", 0777); in setup()

123456