Searched defs:tctx (Results 1 - 1 of 1) sorted by relevance

/frameworks/native/cmds/servicemanager/
H A Dservice_manager.c64 static bool check_mac_perms(pid_t spid, uid_t uid, const char *tctx, const char *perm, const char *name) argument
80 int result = selinux_check_access(sctx, tctx, class, perm, (void *) &ad);
95 char *tctx = NULL; local
102 if (selabel_lookup(sehandle, &tctx, name, 0) != 0) {
107 allowed = check_mac_perms(spid, uid, tctx, perm, name);
108 freecon(tctx);

Completed in 32 milliseconds