summaryrefslogtreecommitdiff
path: root/sepolicy/vendor
diff options
context:
space:
mode:
authorLuK1337 <priv.luk@gmail.com>2020-09-28 01:48:19 +0200
committerMichael Bestas <mkbestas@lineageos.org>2020-12-20 18:55:01 +0200
commita08566666e902e7faa3d6a066c760db29a0f9b84 (patch)
treebde5cd5310a7c8eb05080ad5e91307f1e74e7aea /sepolicy/vendor
parentd9c035a0e0d80849daab38dff74f27ac6ff07115 (diff)
sdm660-common: sepolicy: Label /persist
Change-Id: I471c0d1fedb51eabc32b54ab35a9823db8efd034
Diffstat (limited to 'sepolicy/vendor')
-rw-r--r--sepolicy/vendor/file_contexts3
1 files changed, 3 insertions, 0 deletions
diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts
index 164e75b..f1d7aee 100644
--- a/sepolicy/vendor/file_contexts
+++ b/sepolicy/vendor/file_contexts
@@ -27,5 +27,8 @@
# Mlipay
/(vendor|system/vendor)/bin/mlipayd@1.1 u:object_r:hal_mlipay_default_exec:s0
+# Root files
+/persist(/.*)? u:object_r:mnt_vendor_file:s0
+
# Thermal
/data/vendor/thermal(/.*)? u:object_r:thermal_data_file:s0