Searched refs:targetContext (Results 1 – 2 of 2) sorted by relevance
/system/hwservicemanager/ |
D | AccessControl.cpp | 95 bool AccessControl::checkPermission(const CallingContext& source, const char *targetContext, const … in checkPermission() argument 107 allowed = (selinux_check_access(source.sid.c_str(), targetContext, "hwservice_manager", in checkPermission() 114 char *targetContext = nullptr; in checkPermission() local 118 if (selabel_lookup(mSeHandle, &targetContext, interface, 0) != 0) { in checkPermission() 123 allowed = checkPermission(source, targetContext, perm, interface); in checkPermission() 125 freecon(targetContext); in checkPermission()
|
D | AccessControl.h | 41 …bool checkPermission(const CallingContext& source, const char *targetContext, const char *perm, co…
|