Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e806776e authored by Rubin Xu's avatar Rubin Xu
Browse files

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
parent 33d67f0b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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