Map WRITE_SECURITY_LOG permission to gid

Map WRITE_SECURITY_LOG to AID_SECURITY_LOG_WRITE which is how logd
controls access to security log buffer.

Bug: 232283779
Test: manual
Change-Id: Ifde2e5192326f0811807dcb05563b1b5b63077ce
(cherry picked from commit e806776e54)
Merged-In: Ifde2e5192326f0811807dcb05563b1b5b63077ce
This commit is contained in:
Rubin Xu
2022-05-24 23:23:10 +01:00
committed by Cherrypicker Worker
parent c56fb0fdeb
commit bcb0741c91

View File

@@ -120,6 +120,10 @@
<group gid="reserved_disk" />
</permission>
<permission name="android.permission.WRITE_SECURITY_LOG">
<group gid="security_log" />
</permission>
<!-- These are permissions that were mapped to gids but we need
to keep them here until an upgrade from L to the current
version is to be supported. These permissions are built-in