Loading cmds/incidentd/src/IncidentService.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -82,6 +82,7 @@ static Status checkIncidentPermissions(const IncidentReportArgs& args) { Status::EX_SECURITY, "Calling process does not have permission to get local data."); } break; case DEST_EXPLICIT: if (callingUid != AID_SHELL && callingUid != AID_ROOT && callingUid != AID_STATSD && callingUid != AID_SYSTEM) { Loading @@ -91,6 +92,7 @@ static Status checkIncidentPermissions(const IncidentReportArgs& args) { Status::EX_SECURITY, "Calling process does not have permission to get explicit data."); } break; } return Status::ok(); } Loading Loading
cmds/incidentd/src/IncidentService.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -82,6 +82,7 @@ static Status checkIncidentPermissions(const IncidentReportArgs& args) { Status::EX_SECURITY, "Calling process does not have permission to get local data."); } break; case DEST_EXPLICIT: if (callingUid != AID_SHELL && callingUid != AID_ROOT && callingUid != AID_STATSD && callingUid != AID_SYSTEM) { Loading @@ -91,6 +92,7 @@ static Status checkIncidentPermissions(const IncidentReportArgs& args) { Status::EX_SECURITY, "Calling process does not have permission to get explicit data."); } break; } return Status::ok(); } Loading