Home
last modified time | relevance | path

Searched refs:cur_eu (Results 1 – 3 of 3) sorted by relevance

/external/ltp/testcases/kernel/syscalls/setresuid/
Dsetresuid02.c216 uid_t cur_ru, cur_eu, cur_su; in uid_verify() local
217 if (getresuid(&cur_ru, &cur_eu, &cur_su) != 0) { in uid_verify()
221 if ((cur_ru != ru->pw_uid) || (cur_eu != eu->pw_uid) || (cur_su != in uid_verify()
224 "saved uid = %d", when, cur_ru, cur_eu, cur_su); in uid_verify()
230 "saved uid = %d as expected", cur_ru, cur_eu, cur_su); in uid_verify()
Dsetresuid01.c206 uid_t cur_ru, cur_eu, cur_su; in uid_verify() local
207 if (getresuid(&cur_ru, &cur_eu, &cur_su) != 0) { in uid_verify()
210 if ((cur_ru != ru->pw_uid) || (cur_eu != eu->pw_uid) || (cur_su != in uid_verify()
213 "saved uid = %d", when, cur_ru, cur_eu, cur_su); in uid_verify()
219 "%d as expected", cur_ru, cur_eu, cur_su); in uid_verify()
Dsetresuid03.c229 uid_t cur_ru, cur_eu, cur_su; in uid_verify() local
230 if (getresuid(&cur_ru, &cur_eu, &cur_su) != 0) { in uid_verify()
234 if ((cur_ru != ru->pw_uid) || (cur_eu != eu->pw_uid) || (cur_su != in uid_verify()
237 "saved uid = %d", when, cur_ru, cur_eu, cur_su); in uid_verify()
243 "saved uid = %d as expected", cur_ru, cur_eu, cur_su); in uid_verify()