Home
last modified time | relevance | path

Searched refs:user1_uid (Results 1 – 8 of 8) sorted by relevance

/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod08.c98 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()
Dmknod03.c99 uid_t save_myuid, user1_uid; /* user and process user id's */ variable
223 user1_uid = user1->pw_uid; in setup()
235 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup()
260 if (setreuid(-1, user1_uid) < 0) { in setup()
Dmknod02.c99 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()
Dmknod04.c99 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()
Dmknod05.c99 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/
Dchmod07.c72 uid_t user1_uid; in setup() local
75 user1_uid = ltpuser->pw_uid; in setup()
82 SAFE_CHOWN(TESTFILE, user1_uid, group1_gid); in setup()
/external/ltp/testcases/kernel/syscalls/creat/
Dcreat08.c87 uid_t save_myuid, user1_uid; in main() local
117 user1_uid = user1->pw_uid; in main()
148 if (chown(DIR_A, user1_uid, group2_gid) == -1) { in main()
182 if (chown(DIR_B, user1_uid, group2_gid) == -1) { in main()
236 if (setreuid(-1, user1_uid) == -1) { in main()
/external/ltp/testcases/kernel/syscalls/open/
Dopen10.c75 uid_t save_myuid, user1_uid; in main() local
103 user1_uid = user1->pw_uid; in main()
132 if (chown(DIR_A, user1_uid, group2_gid) < 0) { in main()
165 if (chown(DIR_B, user1_uid, group2_gid) < 0) { in main()
216 if (setreuid(-1, user1_uid) < 0) in main()