aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BoardConfigCommon.mk1
-rw-r--r--sepolicy/private/file_contexts1
-rw-r--r--sepolicy/vendor/file_contexts1
3 files changed, 2 insertions, 1 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index eb425d9..8bfe645 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -181,6 +181,7 @@ VENDOR_SECURITY_PATCH := 2018-11-05
include device/qcom/sepolicy-legacy-um/SEPolicy.mk
BOARD_VENDOR_SEPOLICY_DIRS += $(VENDOR_PATH)/sepolicy/vendor
+BOARD_PLAT_PRIVATE_SEPOLICY_DIR += $(VENDOR_PATH)/sepolicy/private
# Vendor init
TARGET_INIT_VENDOR_LIB := //$(VENDOR_PATH):libinit_msm8996
diff --git a/sepolicy/private/file_contexts b/sepolicy/private/file_contexts
new file mode 100644
index 0000000..ce6d730
--- /dev/null
+++ b/sepolicy/private/file_contexts
@@ -0,0 +1 @@
+/data/fpc(/.*)? u:object_r:fpc_data_file:s0
diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts
index f3745f7..7f09103 100644
--- a/sepolicy/vendor/file_contexts
+++ b/sepolicy/vendor/file_contexts
@@ -7,7 +7,6 @@
/sys/devices/vendor/vendor:bt_qca6174/rfkill/rfkill0/state u:object_r:sysfs_bluetooth_writable:s0
# 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
/data/vendor/misc/audio/acdbdata/delta(/.*)? u:object_r:acdbdelta_vendor_data_file:s0