Home
last modified time | relevance | path

Searched refs:DIR_TEMP (Results 1 - 11 of 11) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/mknod/
H A Dmknod03.c88 #define DIR_TEMP "testdir_3" macro
234 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup()
235 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup()
236 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_SGID); in setup()
242 SAFE_STAT(cleanup, DIR_TEMP, &buf); in setup()
247 "%s: Incorrect modes, setgid bit not set", DIR_TEMP); in setup()
252 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP); in setup()
268 /* Change directory to DIR_TEMP */ in setup()
269 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
H A Dmknod04.c88 #define DIR_TEMP "testdir_4" macro
239 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup()
240 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup()
241 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_SGID); in setup()
247 SAFE_STAT(cleanup, DIR_TEMP, &buf); in setup()
252 "%s: Incorrect modes, setgid bit not set", DIR_TEMP); in setup()
257 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP); in setup()
273 /* Change directory to DIR_TEMP */ in setup()
274 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
H A Dmknod05.c88 #define DIR_TEMP "testdir_5" macro
231 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup()
232 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup()
233 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_SGID); in setup()
239 SAFE_STAT(cleanup, DIR_TEMP, &buf); in setup()
243 "%s: Incorrect modes, setgid bit not set", DIR_TEMP); in setup()
248 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP); in setup()
251 /* Change directory to DIR_TEMP */ in setup()
252 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
H A Dmknod08.c87 #define DIR_TEMP "testdir_1" macro
235 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup()
236 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup()
242 SAFE_STAT(cleanup, DIR_TEMP, &buf); in setup()
247 "%s: Incorrect modes, setgid bit set", DIR_TEMP); in setup()
252 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP); in setup()
268 /* Change directory to DIR_TEMP */ in setup()
269 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
H A Dmknod07.c51 #define DIR_TEMP "testdir_1" macro
140 SAFE_MKDIR(cleanup, DIR_TEMP, DIR_TEMP_MODE); in setup()
/third_party/ltp/testcases/kernel/syscalls/chmod/
H A Dchmod06.c33 #define DIR_TEMP "testdir_1" macro
120 SAFE_MKDIR(DIR_TEMP, MODE_RWX); in setup()
122 SAFE_CHMOD(DIR_TEMP, FILE_MODE); in setup()
137 SAFE_CHMOD(DIR_TEMP, MODE_RWX); in cleanup()
/third_party/ltp/testcases/kernel/syscalls/readlink/
H A Dreadlink03.c34 #define DIR_TEMP "test_dir_1" macro
98 SAFE_MKDIR(DIR_TEMP, 0777); in setup()
101 SAFE_CHMOD(DIR_TEMP, 0444); in setup()
/third_party/ltp/testcases/kernel/syscalls/symlink/
H A Dsymlink03.c94 #define DIR_TEMP "testdir_1" macro
265 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup1()
275 SAFE_CHMOD(cleanup, DIR_TEMP, FILE_MODE); in setup1()
348 SAFE_CHMOD(NULL, DIR_TEMP, MODE_RWX); in cleanup()
/third_party/ltp/testcases/kernel/syscalls/link/
H A Dlink04.c28 #define DIR_TEMP "dir2/testdir_1" macro
79 SAFE_CHMOD(DIR_TEMP, MODE_TE); in verify_link()
119 SAFE_MKDIR(DIR_TEMP, MODE_RWX); in setup()
/third_party/ltp/testcases/kernel/syscalls/lchown/
H A Dlchown02.c66 #define DIR_TEMP "testdir_1" macro
228 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup_eacces()
240 SAFE_CHMOD(cleanup, DIR_TEMP, FILE_MODE); in setup_eacces()
/third_party/ltp/testcases/kernel/syscalls/chown/
H A Dchown04.c45 #define DIR_TEMP "testdir_1" macro
93 SAFE_MKDIR(DIR_TEMP, S_IRWXU); in setup()

Completed in 5 milliseconds