Merge "liblog: pmsg read permissions for AID_LOGD"
This commit is contained in:
commit
152b003bbf
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ static int pmsgAvailable(log_id_t logId)
|
||||||
/* Determine the credentials of the caller */
|
/* Determine the credentials of the caller */
|
||||||
static bool uid_has_log_permission(uid_t uid)
|
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()
|
static uid_t get_best_effective_uid()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue