Searched refs:tctx (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/cmds/servicemanager/ |
D | Access.cpp | 125 bool Access::actionAllowed(const CallingContext& sctx, const char* tctx, const char* perm, in actionAllowed() argument 134 return 0 == selinux_check_access(sctx.sid.c_str(), tctx, tclass, perm, in actionAllowed() 139 char *tctx = nullptr; in actionAllowedFromLookup() local 140 if (selabel_lookup(getSehandle(), &tctx, name.c_str(), SELABEL_CTX_ANDROID_SERVICE) != 0) { in actionAllowedFromLookup() 145 bool allowed = actionAllowed(sctx, tctx, perm, name); in actionAllowedFromLookup() 146 freecon(tctx); in actionAllowedFromLookup()
|
D | Access.h | 48 bool actionAllowed(const CallingContext& sctx, const char* tctx, const char* perm,
|