Merge "liblog: pmsg read permissions for AID_LOGD" am: 152b003bbf

am: c4b880d146

Change-Id: Iab7dee493b79ae1fe78a130d88b84e481637123f
This commit is contained in:
Mark Salyzyn 2016-12-19 16:05:56 +00:00 committed by android-build-merger
commit 8e309e8fc1
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ static int pmsgAvailable(log_id_t logId)
/* Determine the credentials of the caller */
static bool uid_has_log_permission(uid_t uid)
{
return (uid == AID_SYSTEM) || (uid == AID_LOG) || (uid == AID_ROOT);
return (uid == AID_SYSTEM) || (uid == AID_LOG) || (uid == AID_ROOT) || (uid == AID_LOGD);
}
static uid_t get_best_effective_uid()