From 7bbc3302b3589d1d5cb2c288ddd83f7f26a4168e Mon Sep 17 00:00:00 2001 From: Davide Garberi Date: Fri, 5 Aug 2022 20:07:21 +0200 Subject: Revert "msm8996-common: sepolicy: Move /data/fpc context to private" * In twelve the context doesn't get set properly with this in private This reverts commit 43be610d8f65ce9edad4213fc88dbf4f61deb23d. Change-Id: I0f1d599cf44c3bac98126a674c0847bc170c515c --- BoardConfigCommon.mk | 1 - sepolicy/private/file_contexts | 1 - sepolicy/vendor/file_contexts | 1 + 3 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 sepolicy/private/file_contexts diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 159cb74..db777b9 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -180,7 +180,6 @@ 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 deleted file mode 100644 index ce6d730..0000000 --- a/sepolicy/private/file_contexts +++ /dev/null @@ -1 +0,0 @@ -/data/fpc(/.*)? u:object_r:fpc_data_file:s0 diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts index 7f09103..f3745f7 100644 --- a/sepolicy/vendor/file_contexts +++ b/sepolicy/vendor/file_contexts @@ -7,6 +7,7 @@ /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 -- cgit v1.2.3