From d6805bd46bdd5dddcea4374bd350ba8e0c372fc6 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 11 Apr 2020 15:54:48 +0200 Subject: [PATCH] common: Label efs cpk files Change-Id: I8c4d416d761758077f13a84bdb1dbfea4092eac0 --- common/vendor/file.te | 1 + common/vendor/file_contexts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/common/vendor/file.te b/common/vendor/file.te index 3ebe446..b584e3c 100644 --- a/common/vendor/file.te +++ b/common/vendor/file.te @@ -12,6 +12,7 @@ type wifi_vendor_data_file, file_type, data_file_type; # EFS type app_efs_file, file_type; type bin_nv_data_efs_file, file_type; +type cpk_efs_file, file_type; type imei_efs_file, file_type; type nfc_efs_file, file_type; type pfw_efs_file, file_type; diff --git a/common/vendor/file_contexts b/common/vendor/file_contexts index 049f2cb..8e91092 100644 --- a/common/vendor/file_contexts +++ b/common/vendor/file_contexts @@ -81,6 +81,7 @@ /efs/DAK(/.*)? u:object_r:prov_efs_file:s0 /efs/afc(/.*)? u:object_r:sec_efs_file:s0 /efs/bluetooth(/.*)? u:object_r:bluetooth_efs_file:s0 +/efs/cpk(/.*)? u:object_r:cpk_efs_file:s0 /efs/imei(/.*)? u:object_r:imei_efs_file:s0 /efs/nfc(/.*)? u:object_r:nfc_efs_file:s0 /efs/nv_data\.bin(.*) u:object_r:bin_nv_data_efs_file:s0 @@ -95,6 +96,7 @@ /mnt/vendor/efs/DAK(/.*)? u:object_r:prov_efs_file:s0 /mnt/vendor/efs/afc(/.*)? u:object_r:sec_efs_file:s0 /mnt/vendor/efs/bluetooth(/.*)? u:object_r:bluetooth_efs_file:s0 +/mnt/vendor/efs/cpk(/.*)? u:object_r:cpk_efs_file:s0 /mnt/vendor/efs/imei(/.*)? u:object_r:imei_efs_file:s0 /mnt/vendor/efs/nv_data\.bin(.*) u:object_r:bin_nv_data_efs_file:s0 /mnt/vendor/efs/pfw_data(/.*)? u:object_r:pfw_efs_file:s0 -- 2.20.1