Lines Matching refs:uid
46 * until the uid/gid has been dropped to that of a normal user
111 int myuid, uid, gid;
132 if (info.uid < AID_APP) {
144 if (check_data_path(info.dataDir, info.uid) < 0) {
152 uid = gid = info.uid;
153 if(setresgid(gid,gid,gid) || setresuid(uid,uid,uid)) {
158 if (selinux_android_setcontext(uid, 0, info.seinfo, pkgname) < 0) {