summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-08-16 02:13:52 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-08-16 02:13:52 +0000
commit996f48b93ed0e82e309f00088ef0c899cc3d47a3 (patch)
tree20c57898097f938d7b650a25d25670a443b31af9
parenta215aef826b0c90246f766c1c678c05d12cd95ca (diff)
parent52c078f96e68b89f2a5eade20262aa12a80cae86 (diff)
Merge cherrypicks of [4787631, 4787901, 4785407, 4787495, 4788077, 4788078, 4788079, 4788280, 4787496, 4787137, 4786086, 4786087, 4786088, 4786089, 4786090, 4786091, 4787632, 4788320, 4785408] into pi-dr1-release
Change-Id: I59220d728a050fed068520661e66a8fb143a744a
-rw-r--r--vendor/qcom/common/hal_dumpstate_impl.te7
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/qcom/common/hal_dumpstate_impl.te b/vendor/qcom/common/hal_dumpstate_impl.te
index b71a3d9..431bf41 100644
--- a/vendor/qcom/common/hal_dumpstate_impl.te
+++ b/vendor/qcom/common/hal_dumpstate_impl.te
@@ -113,3 +113,10 @@ allow hal_dumpstate_impl debugfs_maxfg:file r_file_perms;
# Dump PMIC votables
allow hal_dumpstate_impl debugfs_pmic_votable:dir r_dir_perms;
allow hal_dumpstate_impl debugfs_pmic_votable:file r_file_perms;
+
+userdebug_or_eng(`
+ # Citadel communication must be via citadeld
+ vndbinder_use(hal_dumpstate_impl)
+ binder_call(hal_dumpstate_impl, citadeld)
+ allow hal_dumpstate_impl citadeld_service:service_manager find;
+')