From 05062cff894977e4cae9d7c7eb1b96a6bd45fcb7 Mon Sep 17 00:00:00 2001 From: Martin Liu Date: Sun, 26 Apr 2020 01:05:16 +0800 Subject: add common mm_logd sepolicy to allow write data This CL allows mm_logd access several stat from /proc and /proc//stat and write them to /data/vendor/mm/ Bug: 151100384 Test: boot Signed-off-by: Martin Liu Change-Id: I5b74798b5297d5e6be86cd8c1c9421ad0bb6915a --- mm/file_contexts | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 mm/file_contexts (limited to 'mm/file_contexts') 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 + -- cgit v1.2.3