From 9118e3a5ca84807ba7a6afc37e7fac5bb6a1e8ed Mon Sep 17 00:00:00 2001 From: Kevin Jeon Date: Wed, 26 Jan 2022 22:32:40 +0000 Subject: [PATCH] Make Traceur seapp_context reflect platform status Because Traceur is being signed with the platform key in aosp/1961100, the platform seinfo identifier is being added to Traceur so that SELinux will correctly identify it as a platform app. Bug: 209476712 Test: - Checked that Traceur can still take normal and long traces on AOSP userdebug and internal user/userdebug. - Checked that the Traceur app is now located in /system/app/ instead of /system/priv-app/. Change-Id: Ibe7881d48798e3b71bb40e566fa8243cbb630b04 Merged-In: Ibe7881d48798e3b71bb40e566fa8243cbb630b04 --- private/seapp_contexts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/private/seapp_contexts b/private/seapp_contexts index d47134bf6..5cf07119d 100644 --- a/private/seapp_contexts +++ b/private/seapp_contexts @@ -137,7 +137,7 @@ neverallow isEphemeralApp=true domain=((?!ephemeral_app).)* isSystemServer=true domain=system_server_startup -user=_app isPrivApp=true name=com.android.traceur domain=traceur_app type=app_data_file levelFrom=all +user=_app seinfo=platform name=com.android.traceur domain=traceur_app type=app_data_file levelFrom=all user=_app isPrivApp=true name=com.android.remoteprovisioner domain=remote_prov_app type=app_data_file levelFrom=all user=system seinfo=platform domain=system_app type=system_app_data_file user=bluetooth seinfo=platform domain=bluetooth type=bluetooth_data_file