Searched refs:user1_uid (Results 1 – 9 of 9) sorted by relevance
/external/ltp/testcases/kernel/syscalls/mknod/ |
D | mknod08.c | 98 uid_t save_myuid, user1_uid; /* user and process user id's */ variable 224 user1_uid = user1->pw_uid; in setup() 236 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup() 260 if (setreuid(-1, user1_uid) < 0) { in setup()
|
D | mknod02.c | 99 uid_t save_myuid, user1_uid; /* user and process user id's */ variable 229 user1_uid = user1->pw_uid; in setup() 241 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup() 265 if (setreuid(-1, user1_uid) < 0) { in setup()
|
D | mknod03.c | 99 uid_t save_myuid, user1_uid; /* user and process user id's */ variable 226 user1_uid = user1->pw_uid; in setup() 238 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup() 263 if (setreuid(-1, user1_uid) < 0) { in setup()
|
D | mknod04.c | 99 uid_t save_myuid, user1_uid; /* user and process user id's */ variable 228 user1_uid = user1->pw_uid; in setup() 240 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup() 265 if (setreuid(-1, user1_uid) < 0) { in setup()
|
D | mknod05.c | 99 uid_t save_myuid, user1_uid; /* user and process user id's */ variable 220 user1_uid = user1->pw_uid; in setup() 232 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup()
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod07.c | 165 uid_t user1_uid; in setup() local 178 user1_uid = ltpuser->pw_uid; in setup() 187 SAFE_CHOWN(cleanup, TESTFILE, user1_uid, group1_gid); in setup()
|
/external/ltp/testcases/kernel/syscalls/fchmod/ |
D | fchmod02.c | 167 uid_t user1_uid; in setup() local 181 user1_uid = ltpuser->pw_uid; in setup() 200 SAFE_CHOWN(cleanup, TESTFILE, user1_uid, group1_gid); in setup()
|
/external/ltp/testcases/kernel/syscalls/creat/ |
D | creat08.c | 86 uid_t save_myuid, user1_uid; in main() local 116 user1_uid = user1->pw_uid; in main() 147 if (chown(DIR_A, user1_uid, group2_gid) == -1) { in main() 181 if (chown(DIR_B, user1_uid, group2_gid) == -1) { in main() 235 if (setreuid(-1, user1_uid) == -1) { in main()
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open10.c | 75 uid_t save_myuid, user1_uid; in main() local 103 user1_uid = user1->pw_uid; in main() 138 if (chown(DIR_A, user1_uid, group2_gid) < 0) { in main() 171 if (chown(DIR_B, user1_uid, group2_gid) < 0) { in main() 222 if (setreuid(-1, user1_uid) < 0) in main()
|