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/.
Ignore-AOSP-First: There are changes in internal that cause merge
                   conflicts when attempting to add this change to AOSP.
                   After this change is merged in internal, it will be
                   added to AOSP with the Merged-In tag.
Change-Id: Ibe7881d48798e3b71bb40e566fa8243cbb630b04
This commit is contained in:
Kevin Jeon 2022-01-26 22:32:40 +00:00
parent d25ce989e3
commit 4241e001e2

View file

@ -140,7 +140,7 @@ isSystemServer=true domain=system_server_startup
# supplemental_process must run in the supplemental_process domain
neverallow name=com.android.supplemental.process domain=((?!supplemental_process).)*
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