Home
last modified time | relevance | path

Searched refs:spid (Results 1 – 1 of 1) sorted by relevance

/system/security/keystore/
Dkeystore.cpp259 static bool keystore_selinux_check_access(uid_t /*uid*/, perm_t perm, pid_t spid) { in keystore_selinux_check_access() argument
272 if (getpidcon(spid, &sctx) != 0) { in keystore_selinux_check_access()
283 static bool has_permission(uid_t uid, perm_t perm, pid_t spid) { in has_permission() argument
293 keystore_selinux_check_access(uid, perm, spid); in has_permission()
298 keystore_selinux_check_access(uid, perm, spid); in has_permission()
2134 pid_t spid = IPCThreadState::self()->getCallingPid(); in duplicate() local
2135 if (!has_permission(callingUid, P_DUPLICATE, spid)) { in duplicate()
2754 pid_t spid = IPCThreadState::self()->getCallingPid(); in checkBinderPermission() local
2755 if (!has_permission(callingUid, permission, spid)) { in checkBinderPermission()
2772 pid_t spid = IPCThreadState::self()->getCallingPid(); in checkBinderPermissionSelfOrSystem() local
[all …]