Home
last modified time | relevance | path

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

123456

/third_party/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()
/third_party/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()
/third_party/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()
/third_party/ltp/testcases/kernel/syscalls/link/
Dlink04.c116 SAFE_MKDIR("dir", 0777); in setup()
117 SAFE_MKDIR("dir1", MODE_RWX); in setup()
118 SAFE_MKDIR("dir2", MODE_RWX); in setup()
119 SAFE_MKDIR(DIR_TEMP, MODE_RWX); in setup()
Dlink08.c72 SAFE_MKDIR(TEST_FILE1, DIR_MODE); in setup()
74 SAFE_MKDIR("test_eloop", DIR_MODE); in setup()
/third_party/ltp/testcases/kernel/syscalls/renameat/
Drenameat01.c164 SAFE_MKDIR(cleanup, TESTDIR, DIRMODE); in setup()
166 SAFE_MKDIR(cleanup, NEW_TESTDIR, DIRMODE); in setup()
179 SAFE_MKDIR(cleanup, "loopdir", DIRMODE); in setup()
185 SAFE_MKDIR(cleanup, MNTPOINT, DIRMODE); in setup()
192 SAFE_MKDIR(cleanup, TESTDIR3, DIRMODE); in setup()
/third_party/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()
/third_party/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()
Drename09.c44 SAFE_MKDIR(SRCDIR, PERMS); in run()
50 SAFE_MKDIR(DESTDIR, PERMS); in run()
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()
/third_party/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()
/third_party/ltp/testcases/kernel/syscalls/access/
Daccess01.c279 SAFE_MKDIR(DNAME_R, 0444); in setup()
280 SAFE_MKDIR(DNAME_W, 0222); in setup()
281 SAFE_MKDIR(DNAME_X, 0111); in setup()
282 SAFE_MKDIR(DNAME_RW, 0666); in setup()
283 SAFE_MKDIR(DNAME_RX, 0555); in setup()
284 SAFE_MKDIR(DNAME_WX, 0333); in setup()
/third_party/ltp/testcases/kernel/containers/mountns/
Dmountns_helper.h57 SAFE_MKDIR(cleanup, DIRA, 0777); in setup()
58 SAFE_MKDIR(cleanup, DIRB, 0777); in setup()
/third_party/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()
/third_party/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir02.c30 SAFE_MKDIR(TESTDIR2, 0777); in verify_mkdir()
59 SAFE_MKDIR(TESTDIR1, 0777); in setup()
/third_party/ltp/testcases/kernel/fs/squashfs/
Dsquashfs01.c56 SAFE_MKDIR(DATA_DIR, 0777); in setup()
85 SAFE_MKDIR(MOUNT_DIR, 0777); in setup()
/third_party/ltp/testcases/kernel/controllers/memcg/regression/
Dmemcg_test_3.c52 SAFE_MKDIR(SUBDIR, 0644); in do_test()
66 SAFE_MKDIR(MNTPOINT, 0644); in setup()
/third_party/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()
/third_party/ltp/testcases/kernel/syscalls/readdir/
Dreaddir21.c51 SAFE_MKDIR(TEST_DIR, DIR_MODE); in setup()
57 SAFE_MKDIR(TEST_DIR4, DIR_MODE); in setup()
/third_party/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()
/third_party/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()
/third_party/ltp/testcases/kernel/syscalls/lstat/
Dlstat02.c94 SAFE_MKDIR(TEST_DIR, MODE_RWX); in setup()
99 SAFE_MKDIR("test_eloop", MODE_RWX); in setup()
/third_party/ltp/testcases/kernel/syscalls/statx/
Dstatx05.c99 SAFE_MKDIR(TESTDIR_FLAGGED, 0777); in setup()
100 SAFE_MKDIR(TESTDIR_UNFLAGGED, 0777); in setup()

123456