summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Shih <adamshih@google.com>2018-07-24 10:16:52 +0800
committerAdam Shih <adamshih@google.com>2018-07-24 15:51:44 +0800
commit63fd0812d063b656361f8480740f7f7d66dd7115 (patch)
tree1980963da24efdb808005424efe7859d1126b55e
parent8ceb4ca4f26785d9e39fd73fbd2d7b1d472239bb (diff)
allow QXDM search firmware dir
Bug: 111454905 Test: use QXDM and find the log working Change-Id: I82cd89fa57c325a9866e48c518f8a9d49f932608
-rw-r--r--vendor/qcom/common/rfs_access.te2
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/qcom/common/rfs_access.te b/vendor/qcom/common/rfs_access.te
index be7e18d..280ab02 100644
--- a/vendor/qcom/common/rfs_access.te
+++ b/vendor/qcom/common/rfs_access.te
@@ -8,6 +8,8 @@ allow rfs_access self:capability { chown setgid setpcap setuid net_bind_service
wakelock_use(rfs_access)
+r_dir_file(rfs_access, firmware_file);
+
# For tftp server file access
allow rfs_access mnt_vendor_file:dir search;
allow rfs_access mnt_vendor_file:file r_file_perms;