summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVova Sharaienko <sharaienko@google.com>2021-04-17 00:22:58 +0000
committerVova Sharaienko <sharaienko@google.com>2021-04-17 02:32:18 +0000
commitfbe5692051691de62881fb757aab515b41996727 (patch)
tree1e3b9c7352c966add0b4d435910af01eb997b51a
parent8c67d102309d0ba8a6d4ce340b2753e1215cfe82 (diff)
downloadsunfish-sepolicy-fbe5692051691de62881fb757aab515b41996727.tar.gz
device_drop_monitor: updated sepolicy
This allows the device_drop_monitor to access AIDL Stats service Bug: 181892307 Test: Build, flash, boot & and logcat | grep "device_drop_monitor" Change-Id: Iba7d3aace001b3d7c36c1e02504802125df7fcf2
-rw-r--r--vendor/google/device_drop_monitor.te4
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/google/device_drop_monitor.te b/vendor/google/device_drop_monitor.te
index 3f680f4..8c0c0b7 100644
--- a/vendor/google/device_drop_monitor.te
+++ b/vendor/google/device_drop_monitor.te
@@ -1,4 +1,4 @@
-type device_drop_monitor, domain;
+type device_drop_monitor, domain, coredomain;
userdebug_or_eng(`
app_domain(device_drop_monitor)
@@ -7,7 +7,9 @@ userdebug_or_eng(`
allow device_drop_monitor fwk_stats_hwservice:hwservice_manager find;
allow device_drop_monitor sysfs_msm_subsys:dir search;
allow device_drop_monitor sysfs_msm_subsys:file r_file_perms;
+ allow device_drop_monitor fwk_stats_service:service_manager find;
binder_call(device_drop_monitor, gpuservice);
binder_call(device_drop_monitor, stats_service_server);
+ binder_use(device_drop_monitor)
')