summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryihsiangpeng <yihsiangpeng@google.com>2020-05-06 14:18:39 +0800
committeryihsiangpeng <yihsiangpeng@google.com>2020-05-06 14:18:39 +0800
commit71a83053b34ad6ac99ef5134ede2a59bce65fdfd (patch)
tree74b792897356fe8c432eeb64260515458fc0965c
parentc9a2b3102a9e85238b2ef7211405a636be49a995 (diff)
downloadredfin-sepolicy-71a83053b34ad6ac99ef5134ede2a59bce65fdfd.tar.gz
Dumpstate: Add access to WLC firmware info
Bug: 155727469 Test: adb bugreport and verify logs in dumpstate_board.txt Signed-off-by: yihsiangpeng <yihsiangpeng@google.com> Change-Id: I1e844eafbfebc1ac59f67a455ab9c5e66ec123b6
-rw-r--r--vendor/google/hal_dumpstate_impl.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/google/hal_dumpstate_impl.te b/vendor/google/hal_dumpstate_impl.te
new file mode 100644
index 0000000..83d1673
--- /dev/null
+++ b/vendor/google/hal_dumpstate_impl.te
@@ -0,0 +1,3 @@
+# Access to WLC firmware info
+allow hal_dumpstate_impl sysfs_wlc:dir r_dir_perms;
+allow hal_dumpstate_impl sysfs_wlc:file r_file_perms;