aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2019-02-03 23:18:57 +0100
committerDavide Garberi <dade.garberi@gmail.com>2019-02-06 13:56:16 +0100
commitf86a8fb8a58577ca7ca6594cfe97cea7fa1b8bdb (patch)
tree0747408dc9df431af8adfa3b36c89bf625f5fd3b
parentf4b3e7552a1185649694328a8bf0779578b5ff75 (diff)
msm8996-common: sepolicy: Label custom camera sockets
* Normal path is /data/vendor/camera, defined in device/qcom/sepolicy * We have hex edited 6.0 blobs from /data/misc/camera to /data/vendor/qcam because of the new path string being longer than the old one Signed-off-by: Davide Garberi <dade.garberi@gmail.com> Change-Id: Ib96191dd55aea0c20c58a16bf1a91a46f07367e6
-rw-r--r--sepolicy/file_contexts1
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 215c5f1..9e989fd 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -9,6 +9,7 @@
# Data files
/data/fpc(/.*)? u:object_r:fpc_data_file:s0
/data/decrypt\.txt u:object_r:thermal_data_file:s0
+/data/vendor/qcam(/.*)? u:object_r:vendor_camera_data_file:s0
# Binaries
/vendor/bin/readmac u:object_r:readmac_exec:s0