Searched refs:sourcePid (Results 1 – 2 of 2) sorted by relevance
82 AccessControl::CallingContext AccessControl::getCallingContext(pid_t sourcePid) { in getCallingContext() argument85 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()
35 static CallingContext getCallingContext(pid_t sourcePid);