Home
last modified time | relevance | path

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

/ndk/sources/host-tools/make-3.81/
Dmisc.c629 static int user_uid = -1, user_gid = -1, make_uid = -1, make_gid = -1; variable
630 #define access_inited (user_uid != -1)
657 user_uid = getuid (); in init_access()
664 if (user_uid == -1 || user_gid == -1 || make_uid == -1 || make_gid == -1) in init_access()
698 if (seteuid (user_uid) < 0) in user_access()
713 if (setuid (user_uid) < 0) in user_access()
725 if (setreuid (make_uid, user_uid) < 0) in user_access()
774 if (setreuid (user_uid, make_uid) < 0) in make_access()
813 if (setuid (user_uid) < 0) in child_access()
816 if (setreuid (user_uid, user_uid) < 0) in child_access()