From 6f41705151d20dc5f72f5dcab7ab91b86bcd06b8 Mon Sep 17 00:00:00 2001 From: Lily Lin Date: Wed, 12 Apr 2023 03:01:25 +0800 Subject: [PATCH] Remove ofl_app selinux policy OFLAgent is deprecated in ag/22504130. This CL is to remove ofl_app selinux policy. Bug: 224611871 Test: adb bugreport Change-Id: I2264d79b8fe4084c3acd65db8f5384bb08216c5f (cherry picked from commit 0fed5cc2b6cae6aebb411a58319474798d2fb25a) --- vendor/ofl_app.te | 17 ----------------- vendor/seapp_contexts | 3 --- 2 files changed, 20 deletions(-) delete mode 100644 vendor/ofl_app.te diff --git a/vendor/ofl_app.te b/vendor/ofl_app.te deleted file mode 100644 index 69e166af..00000000 --- a/vendor/ofl_app.te +++ /dev/null @@ -1,17 +0,0 @@ -# OFLBasicAgent app - -type ofl_app, domain; - -userdebug_or_eng(` - app_domain(ofl_app) - net_domain(ofl_app) - - allow ofl_app app_api_service:service_manager find; - allow ofl_app nfc_service:service_manager find; - allow ofl_app radio_service:service_manager find; - allow ofl_app surfaceflinger_service:service_manager find; - - # Access to directly update firmware on st54spi_device - typeattribute st54spi_device mlstrustedobject; - allow ofl_app st54spi_device:chr_file rw_file_perms; -') \ No newline at end of file diff --git a/vendor/seapp_contexts b/vendor/seapp_contexts index 8f5eea15..9c10fdde 100644 --- a/vendor/seapp_contexts +++ b/vendor/seapp_contexts @@ -4,9 +4,6 @@ user=_app isPrivApp=true seinfo=EuiccSupportPixel name=com.google.euiccpixel dom # coredump/ramdump user=_app seinfo=platform name=com.android.ramdump domain=ramdump_app type=app_data_file levelFrom=all -# Domain for OFLBasicAgentApp to support NFC/eSIM fw upgrade -user=_app isPrivApp=true seinfo=platform name=com.thales.device.ofl.app.omapi_agent domain=ofl_app type=app_data_file levelFrom=user - # Domain for connectivity monitor user=_app isPrivApp=true seinfo=platform name=com.google.android.connectivitymonitor domain=con_monitor_app type=app_data_file levelFrom=all