Home
last modified time | relevance | path

Searched refs:user1_uid (Results 1 – 9 of 9) 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()
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()
Dmknod03.c99 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()
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.c165 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/
Dfchmod02.c167 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/
Dcreat08.c86 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/
Dopen10.c75 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()