Home
last modified time | relevance | path

Searched refs:DIR_TEMP (Results 1 – 18 of 18) sorted by relevance

/external/ltp/testcases/kernel/syscalls/mknod/
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()
252 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
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()
269 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
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()
274 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
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()
269 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
Dmknod02.c88 #define DIR_TEMP "testdir_2" macro
240 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup()
241 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup()
247 SAFE_STAT(cleanup, DIR_TEMP, &buf); in setup()
252 "%s: Incorrect modes, setgid bit set", DIR_TEMP); in setup()
257 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP); in setup()
274 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
Dmknod07.c50 #define DIR_TEMP "testdir_1" macro
138 SAFE_MKDIR(cleanup, DIR_TEMP, DIR_TEMP_MODE); in setup()
/external/ltp/testcases/kernel/syscalls/stat/
Dstat03.c94 #define DIR_TEMP "testdir_1" macro
259 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup1()
271 SAFE_CHMOD(cleanup, DIR_TEMP, FILE_MODE); in setup1()
328 if (chmod(DIR_TEMP, MODE_RWX) < 0) { in cleanup()
329 tst_brkm(TFAIL, NULL, "chmod(2) of %s failed", DIR_TEMP); in cleanup()
/external/ltp/testcases/kernel/syscalls/chmod/
Dchmod06.c46 #define DIR_TEMP "testdir_1" macro
133 SAFE_MKDIR(DIR_TEMP, MODE_RWX); in setup()
135 SAFE_CHMOD(DIR_TEMP, FILE_MODE); in setup()
150 SAFE_CHMOD(DIR_TEMP, MODE_RWX); in cleanup()
/external/ltp/testcases/kernel/syscalls/link/
Dlink07.c44 #define DIR_TEMP "testdir_1" macro
102 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup()
106 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_TE); in setup()
/external/ltp/testcases/kernel/syscalls/symlink/
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()
/external/ltp/testcases/kernel/syscalls/readlink/
Dreadlink03.c43 #define DIR_TEMP "test_dir_1" macro
107 SAFE_MKDIR(DIR_TEMP, 0777); in setup()
110 SAFE_CHMOD(DIR_TEMP, 0444); in setup()
/external/ltp/testcases/kernel/syscalls/chown/
Dchown04.c63 #define DIR_TEMP "testdir_1" macro
65 #define TEST_FILE2 (DIR_TEMP "/tfile_2")
171 SAFE_MKDIR(cleanup, DIR_TEMP, S_IRWXU); in setup()
/external/ltp/testcases/kernel/syscalls/lchown/
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()
/external/libchrome/base/
Dbase_paths.h34 DIR_TEMP, // Temporary directory. enumerator
Dbase_paths.cc29 case DIR_TEMP: in PathProvider()
/external/libchrome/mojo/core/test/
Dmultiprocess_test_helper.cc121 CHECK(base::PathService::Get(base::DIR_TEMP, &temp_dir)); in StartChildWithExtraSwitch()
/external/libchrome/mojo/public/cpp/system/tests/
Dinvitation_unittest.cc87 CHECK(base::PathService::Get(base::DIR_TEMP,
/external/libchrome/mojo/core/
Dinvitation_unittest.cc316 CHECK(base::PathService::Get(base::DIR_TEMP, in LaunchChildTestClient()