aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/private
diff options
context:
space:
mode:
authorsinanmohd <pcmsinan@gmail.com>2023-01-08 06:00:31 +0530
committersinanmohd <pcmsinan@gmail.com>2023-01-08 17:55:33 +0530
commita1adb42e88f2b26d3ee881eab946253d174a5ac8 (patch)
treef41adbd5b79c7ca0aae11621b142414f47e228e3 /sepolicy/private
parente97ff9f900bed657e24085daf93d465240f923bf (diff)
Revert "veux: Import XiaomiParts from sm8250"
This reverts commit 3607af54ca48c8a145a97bab0cf5012d45ade555.
Diffstat (limited to 'sepolicy/private')
-rw-r--r--sepolicy/private/devicesettings_app.te28
-rw-r--r--sepolicy/private/seapp_contexts1
2 files changed, 0 insertions, 29 deletions
diff --git a/sepolicy/private/devicesettings_app.te b/sepolicy/private/devicesettings_app.te
deleted file mode 100644
index 6e6a44b..0000000
--- a/sepolicy/private/devicesettings_app.te
+++ /dev/null
@@ -1,28 +0,0 @@
-app_domain(devicesettings_app)
-
-# Allow devicesettings_app to find *_service
-allow devicesettings_app {
- app_api_service
- audioserver_service
- cameraserver_service
- drmserver_service
- mediaextractor_service
- mediametrics_service
- mediaserver_service
-}:service_manager find;
-
-# Allow devicesettings_app read and write /data/data subdirectory
-allow devicesettings_app system_app_data_file:dir create_dir_perms;
-allow devicesettings_app system_app_data_file:{ file lnk_file } create_file_perms;
-
-# Allow binder communication with gpuservice
-binder_call(devicesettings_app, gpuservice)
-
-# Allow devicesettings_app to read and write to cgroup/sysfs_leds/sysfs_thermal
-allow devicesettings_app sysfs_leds:dir search;
-#allow devicesettings_app vendor_sysfs_graphics:dir search;
-allow devicesettings_app {
- cgroup
- sysfs_leds
- sysfs_thermal
-}:{ file lnk_file } rw_file_perms; \ No newline at end of file
diff --git a/sepolicy/private/seapp_contexts b/sepolicy/private/seapp_contexts
deleted file mode 100644
index 0b3253a..0000000
--- a/sepolicy/private/seapp_contexts
+++ /dev/null
@@ -1 +0,0 @@
-user=system seinfo=platform name=org.lineageos.settings domain=devicesettings_app type=system_app_data_file \ No newline at end of file