Home
last modified time | relevance | path

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

/system/hwservicemanager/
DAccessControl.cpp82 AccessControl::CallingContext AccessControl::getCallingContext(pid_t sourcePid) { in getCallingContext() argument
85 if (getpidcon(sourcePid, &sourceContext) < 0) { in getCallingContext()
86 ALOGE("SELinux: failed to retrieve process context for pid %d", sourcePid); in getCallingContext()
87 return { false, "", sourcePid }; in getCallingContext()
92 return { true, context, sourcePid }; in getCallingContext()
DAccessControl.h33 static CallingContext getCallingContext(pid_t sourcePid);