/external/ltp/testcases/kernel/syscalls/mknod/ |
D | mknod05.c | 88 #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()
|
D | mknod03.c | 88 #define DIR_TEMP "testdir_3" macro 237 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup() 238 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup() 239 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_SGID); in setup() 245 SAFE_STAT(cleanup, DIR_TEMP, &buf); in setup() 250 "%s: Incorrect modes, setgid bit not set", DIR_TEMP); in setup() 255 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP); in setup() 272 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
|
D | mknod04.c | 88 #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()
|
D | mknod08.c | 87 #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()
|
D | mknod02.c | 88 #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()
|
D | mknod07.c | 50 #define DIR_TEMP "testdir_1" macro 138 SAFE_MKDIR(cleanup, DIR_TEMP, DIR_TEMP_MODE); in setup()
|
/external/ltp/testcases/kernel/syscalls/stat/ |
D | stat03.c | 94 #define DIR_TEMP "testdir_1" macro 282 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup1() 294 SAFE_CHMOD(cleanup, DIR_TEMP, FILE_MODE); in setup1() 351 if (chmod(DIR_TEMP, MODE_RWX) < 0) { in cleanup() 352 tst_brkm(TFAIL, NULL, "chmod(2) of %s failed", DIR_TEMP); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod06.c | 64 #define DIR_TEMP "testdir_1" macro 190 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup() 192 SAFE_CHMOD(cleanup, DIR_TEMP, FILE_MODE); in setup() 217 if (chmod(DIR_TEMP, MODE_RWX) == -1) in cleanup() 218 tst_resm(TBROK | TERRNO, "chmod(%s) failed", DIR_TEMP); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/link/ |
D | link07.c | 44 #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/ |
D | symlink03.c | 94 #define DIR_TEMP "testdir_1" macro 285 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup1() 295 SAFE_CHMOD(cleanup, DIR_TEMP, FILE_MODE); in setup1() 368 SAFE_CHMOD(NULL, DIR_TEMP, MODE_RWX); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/readlink/ |
D | readlink03.c | 54 #define DIR_TEMP "testdir_1" macro 131 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup() 134 SAFE_CHMOD(cleanup, DIR_TEMP, FILE_MODE); in setup()
|
/external/ltp/testcases/kernel/syscalls/chown/ |
D | chown04.c | 63 #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/ |
D | lchown02.c | 66 #define DIR_TEMP "testdir_1" macro 231 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup_eacces() 243 SAFE_CHMOD(cleanup, DIR_TEMP, FILE_MODE); in setup_eacces()
|
/external/libmojo/base/ |
D | base_paths.h | 33 DIR_TEMP, // Temporary directory. enumerator
|
D | base_paths.cc | 25 case DIR_TEMP: in PathProvider()
|
/external/libmojo/mojo/edk/test/ |
D | multiprocess_test_helper.cc | 109 CHECK(base::PathService::Get(base::DIR_TEMP, &temp_dir)); in StartChildWithExtraSwitch()
|
/external/libmojo/mojo/edk/embedder/ |
D | embedder_unittest.cc | 569 CHECK(base::PathService::Get(base::DIR_TEMP, &temp_dir)); in GenerateChannelName()
|