aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2021-10-07 09:39:16 +0200
committerDavide Garberi <dade.garberi@gmail.com>2021-10-19 15:09:38 +0200
commit43be610d8f65ce9edad4213fc88dbf4f61deb23d (patch)
tree9197e30e902b2a7ab911b177c305d092411ba797
parentc25b1c43876ac43a222b949f731792e50cac4abb (diff)
msm8996-common: sepolicy: Move /data/fpc context to private
Change-Id: I8c3d826c2fad645200d5375be935bdbb14a52e37
-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