Searched refs:tctx (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/cmds/servicemanager/ |
D | service_manager.c | 59 static bool check_mac_perms(pid_t spid, const char *tctx, const char *perm, const char *name) in check_mac_perms() argument 70 int result = selinux_check_access(sctx, tctx, class, perm, (void *) name); in check_mac_perms() 89 char *tctx = NULL; in check_mac_perms_from_lookup() local 100 if (selabel_lookup(sehandle, &tctx, name, 0) != 0) { in check_mac_perms_from_lookup() 105 allowed = check_mac_perms(spid, tctx, perm, name); in check_mac_perms_from_lookup() 106 freecon(tctx); in check_mac_perms_from_lookup()
|