Lines Matching refs:uid
323 uid_t uid,
338 userid = uid / AID_USER;
339 appid = uid % AID_USER;
450 "%s: No match for app with uid %d, seinfo %s, name %s\n",
451 __FUNCTION__, uid, seinfo, pkgname);
467 uid_t uid)
487 rc = seapp_context_lookup(SEAPP_TYPE, uid, 0, seinfo, pkgname, ctx);
513 selinux_log(SELINUX_ERROR, "%s: Error setting context for pkgdir %s, uid %d: %s\n",
514 __FUNCTION__, pkgdir, uid, strerror(errno));
525 uid_t uid)
527 return selinux_android_setfilecon2(pkgdir, pkgname, NULL, uid);
530 int selinux_android_setcontext(uid_t uid,
553 rc = seapp_context_lookup(SEAPP_DOMAIN, uid, isSystemServer, seinfo, pkgname, ctx);
586 "%s: Error setting context for app with uid %d, seinfo %s: %s\n",
587 __FUNCTION__, uid, seinfo, strerror(errno));