Searched refs:spid (Results 1 – 3 of 3) sorted by relevance
/system/security/keystore/ |
D | permissions.cpp | 136 static bool keystore_selinux_check_access(uid_t uid, perm_t perm, pid_t spid, const char* ssid) { in keystore_selinux_check_access() argument 146 if (ssid == nullptr && getpidcon(spid, &sctx) != 0) { in keystore_selinux_check_access() 153 ad.pid = spid; in keystore_selinux_check_access() 179 bool has_permission(uid_t uid, perm_t perm, pid_t spid, const char* sid) { in has_permission() argument 192 return (user.perms & perm) && keystore_selinux_check_access(uid, perm, spid, sid); in has_permission() 196 return (DEFAULT_PERMS & perm) && keystore_selinux_check_access(uid, perm, spid, sid); in has_permission()
|
D | permissions.h | 59 bool has_permission(uid_t uid, perm_t perm, pid_t spid, const char* sid);
|
D | key_store_service.cpp | 1261 pid_t spid = IPCThreadState::self()->getCallingPid(); in checkBinderPermission() local 1263 if (!has_permission(callingUid, permission, spid, ssid)) { in checkBinderPermission() 1280 pid_t spid = IPCThreadState::self()->getCallingPid(); in checkBinderPermissionSelfOrSystem() local 1282 if (!has_permission(callingUid, permission, spid, ssid)) { in checkBinderPermissionSelfOrSystem()
|