Home
last modified time | relevance | path

Searched refs:DIR_MODE (Results 1 – 25 of 36) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/rmdir/
Drmdir03.c28 #define DIR_MODE 0777 macro
39 {DIR_MODE | S_ISVTX, TESTDIR2},
72 SAFE_MKDIR(TESTDIR, DIR_MODE | S_ISVTX); in setup()
73 SAFE_MKDIR(TESTDIR2, DIR_MODE); in setup()
75 SAFE_MKDIR(TESTDIR4, DIR_MODE); in setup()
Drmdir02.c22 #define DIR_MODE (S_IRWXU | S_IRWXG | S_IRWXO) macro
56 SAFE_MKDIR(TESTDIR, DIR_MODE); in setup()
73 SAFE_MKDIR("loopdir", DIR_MODE); in setup()
/third_party/ltp/testcases/kernel/syscalls/stat/
Dstat03.c24 #define DIR_MODE 0755 macro
70 SAFE_MKDIR(TST_EACCES_DIR, DIR_MODE); in setup()
71 SAFE_TOUCH(TST_EACCES_FILE, DIR_MODE, NULL); in setup()
79 SAFE_TOUCH(TST_ENOTDIR_FILE, DIR_MODE, NULL); in setup()
81 SAFE_MKDIR("test_eloop", DIR_MODE); in setup()
/third_party/ltp/testcases/kernel/syscalls/link/
Dlink08.c24 #define DIR_MODE (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP| \ macro
72 SAFE_MKDIR(TEST_FILE1, DIR_MODE); in setup()
74 SAFE_MKDIR("test_eloop", DIR_MODE); in setup()
/third_party/ltp/testcases/kernel/syscalls/readdir/
Dreaddir21.c26 #define DIR_MODE 0755 macro
51 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.c43 #define DIR_MODE (S_IRWXU | S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP) macro
103 SAFE_MKDIR(cleanup, mntpoint_src, DIR_MODE); in setup()
104 SAFE_MKDIR(cleanup, mntpoint_des, DIR_MODE); in setup()
Dmount06.c44 #define DIR_MODE (S_IRWXU | S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP) macro
148 SAFE_MKDIR(cleanup, mntpoint_src, DIR_MODE); in setup()
149 SAFE_MKDIR(cleanup, mntpoint_des, DIR_MODE); in setup()
Dmount03.c59 #define DIR_MODE (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP| \ macro
356 SAFE_MKDIR(cleanup, mntpoint, DIR_MODE); in setup()
361 if (chmod(path_name, DIR_MODE) != 0) in setup()
363 path_name, DIR_MODE); in setup()
Dmount01.c36 #define DIR_MODE (S_IRWXU | S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP) macro
88 SAFE_MKDIR(cleanup, MNTPOINT, DIR_MODE); in setup()
Dmount04.c35 #define DIR_MODE S_IRWXU | S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP macro
105 SAFE_MKDIR(cleanup, mntpoint, DIR_MODE); in setup()
Dmount02.c54 #define DIR_MODE (S_IRWXU | S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP) macro
192 SAFE_MKDIR(cleanup, mntpoint, DIR_MODE); in setup()
/third_party/ltp/testcases/kernel/syscalls/lchown/
Dlchown03.c44 #define DIR_MODE (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP| \ macro
105 SAFE_MKDIR(cleanup, "test_eloop", DIR_MODE); in setup()
111 SAFE_MKDIR(cleanup, TEST_EROFS, DIR_MODE); in setup()
/third_party/ltp/testcases/kernel/syscalls/mknod/
Dmknod07.c53 #define DIR_MODE (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP| \ macro
133 SAFE_MKDIR(cleanup, MNT_POINT, DIR_MODE); in setup()
146 SAFE_MKDIR(cleanup, "test_eloop", DIR_MODE); in setup()
/third_party/ltp/testcases/kernel/syscalls/mknodat/
Dmknodat02.c45 #define DIR_MODE (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP| \ macro
132 SAFE_MKDIR(cleanup, MNT_POINT, DIR_MODE); in setup()
141 SAFE_MKDIR(cleanup, "test_eloop", DIR_MODE); in setup()
/third_party/ltp/testcases/kernel/syscalls/linkat/
Dlinkat02.c37 #define DIR_MODE (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP| \ macro
169 SAFE_MKDIR(cleanup, "./tmp", DIR_MODE); in setup()
173 SAFE_MKDIR(cleanup, "mntpoint", DIR_MODE); in setup()
/third_party/ltp/testcases/kernel/syscalls/chmod/
Dchmod03.c23 #define DIR_MODE S_IRWXU | S_IRWXG | S_IRWXO macro
68 SAFE_MKDIR(TESTDIR, DIR_MODE); in setup()
Dchmod05.c43 #define DIR_MODE (mode_t)(S_ISVTX | S_ISGID | S_IFDIR) macro
44 #define PERMS (mode_t)(MODE_RWX | DIR_MODE)
/third_party/ltp/testcases/kernel/syscalls/mkdirat/
Dmkdirat02.c18 #define DIR_MODE (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP| \ macro
42 SAFE_MKDIR("test_eloop", DIR_MODE); in setup()
/third_party/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir03.c28 #define DIR_MODE (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP| \ macro
82 SAFE_MKDIR("test_eloop", DIR_MODE); in setup()
/third_party/ltp/testcases/kernel/syscalls/getdents/
Dgetdents02.c26 #define DIR_MODE (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP| \ macro
66 SAFE_MKDIR(TEST_DIR, DIR_MODE); in setup()
/third_party/ltp/testcases/kernel/syscalls/truncate/
Dtruncate03.c55 #define DIR_MODE S_IRWXU macro
95 SAFE_MKDIR(TEST_DIR1, DIR_MODE); in setup()
/third_party/ltp/testcases/kernel/syscalls/umount2/
Dumount2_01.c39 #define DIR_MODE (S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH) macro
83 SAFE_MKDIR(cleanup, MNTPOINT, DIR_MODE); in setup()
Dumount2_03.c33 #define DIR_MODE (S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH) macro
103 SAFE_MKDIR(cleanup, MNTPOINT, DIR_MODE); in setup()
Dumount2_02.c38 #define DIR_MODE (S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH) macro
123 SAFE_MKDIR(cleanup, MNTPOINT, DIR_MODE); in setup()
/third_party/ltp/testcases/kernel/syscalls/inotify/
Dinotify03.c46 #define DIR_MODE (S_IRWXU | S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP) macro
133 SAFE_MKDIR(mntpoint, DIR_MODE); in setup()

12