Searched refs:tctx (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/cmds/servicemanager/ |
D | service_manager.c | 64 static bool check_mac_perms(pid_t spid, uid_t uid, const char *tctx, const char *perm, const char *… in check_mac_perms() argument 80 int result = selinux_check_access(sctx, tctx, class, perm, (void *) &ad); in check_mac_perms() 95 char *tctx = NULL; in check_mac_perms_from_lookup() local 102 if (selabel_lookup(sehandle, &tctx, name, 0) != 0) { in check_mac_perms_from_lookup() 107 allowed = check_mac_perms(spid, uid, tctx, perm, name); in check_mac_perms_from_lookup() 108 freecon(tctx); in check_mac_perms_from_lookup()
|