summaryrefslogtreecommitdiff
path: root/mm/file_contexts
diff options
context:
space:
mode:
authorMartin Liu <liumartin@google.com>2020-04-26 01:05:16 +0800
committerMartin Liu <liumartin@google.com>2020-04-26 01:05:16 +0800
commit05062cff894977e4cae9d7c7eb1b96a6bd45fcb7 (patch)
treeafe6d99e4d63c66ad48a40bfea57a50c74e97760 /mm/file_contexts
parent7457d3b604898fd593c9866f244f1e169786b184 (diff)
downloadpixel-sepolicy-05062cff894977e4cae9d7c7eb1b96a6bd45fcb7.tar.gz
add common mm_logd sepolicy to allow write data
This CL allows mm_logd access several stat from /proc and /proc/<pid>/stat and write them to /data/vendor/mm/ Bug: 151100384 Test: boot Signed-off-by: Martin Liu <liumartin@google.com> Change-Id: I5b74798b5297d5e6be86cd8c1c9421ad0bb6915a
Diffstat (limited to 'mm/file_contexts')
-rw-r--r--mm/file_contexts3
1 files changed, 3 insertions, 0 deletions
diff --git a/mm/file_contexts b/mm/file_contexts
new file mode 100644
index 0000000..a4bd033
--- /dev/null
+++ b/mm/file_contexts
@@ -0,0 +1,3 @@
+/vendor/bin/mm_logd u:object_r:init-mm-logging-sh_exec:s0
+/data/vendor/mm(/.*)? u:object_r:mm_logd_vendor_data_file:s0
+