HomeSort by relevance Sort by last modified time
    Searched refs:myuid (Results 1 - 2 of 2) sorted by null

  /external/toybox/toys/lsb/
passwd.c 106 uid_t myuid; local
113 myuid = getuid();
114 if (myuid && (toys.optflags & (FLAG_l | FLAG_u | FLAG_d)))
117 pw = xgetpwuid(myuid);
124 if (myuid && (myuid != pw->pw_uid)) error_exit("Not root");
141 if (myuid && pass[0] == '!')
143 if (myuid) {
  /system/core/run-as/
run-as.c 113 uid_t myuid, uid, gid, userAppId = 0; local
125 myuid = getuid();
126 if (myuid != AID_SHELL && myuid != AID_ROOT) {

Completed in 154 milliseconds