From 90e295c5133233b8ce0725dcff586aaf7182b0ca Mon Sep 17 00:00:00 2001 From: SzuWei Lin Date: Mon, 15 May 2023 16:31:47 +0800 Subject: [PATCH] Set up sepolicy for drmserver64 Add drmserver(32|64) for supporting 64-bit only devices. The patch is for setting up the sepolicy for drmserver(32|64). Bug: 282603373 Test: make gsi_arm64-user; Check the sepolicy Ignore-AOSP-First: depend on an internal project Change-Id: If8451de8120372b085de1977ea8fd1b28e5b9ab0 --- prebuilts/api/34.0/private/file_contexts | 2 ++ private/file_contexts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/prebuilts/api/34.0/private/file_contexts b/prebuilts/api/34.0/private/file_contexts index 1ea326800..258c6b456 100644 --- a/prebuilts/api/34.0/private/file_contexts +++ b/prebuilts/api/34.0/private/file_contexts @@ -264,6 +264,8 @@ /system/bin/bufferhubd u:object_r:bufferhubd_exec:s0 /system/bin/performanced u:object_r:performanced_exec:s0 /system/bin/drmserver u:object_r:drmserver_exec:s0 +/system/bin/drmserver32 u:object_r:drmserver_exec:s0 +/system/bin/drmserver64 u:object_r:drmserver_exec:s0 /system/bin/dumpstate u:object_r:dumpstate_exec:s0 /system/bin/incident u:object_r:incident_exec:s0 /system/bin/incidentd u:object_r:incidentd_exec:s0 diff --git a/private/file_contexts b/private/file_contexts index 1ea326800..258c6b456 100644 --- a/private/file_contexts +++ b/private/file_contexts @@ -264,6 +264,8 @@ /system/bin/bufferhubd u:object_r:bufferhubd_exec:s0 /system/bin/performanced u:object_r:performanced_exec:s0 /system/bin/drmserver u:object_r:drmserver_exec:s0 +/system/bin/drmserver32 u:object_r:drmserver_exec:s0 +/system/bin/drmserver64 u:object_r:drmserver_exec:s0 /system/bin/dumpstate u:object_r:dumpstate_exec:s0 /system/bin/incident u:object_r:incident_exec:s0 /system/bin/incidentd u:object_r:incidentd_exec:s0