From: Jan Altensen Date: Fri, 16 Jul 2021 15:47:02 +0000 (+0200) Subject: exynos9610: sepolicy: remove duplicate label for mobicore_data_registry_file X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1c3e6ca78f88cf0ca646fdcfba493f1a29998bd8;p=GitHub%2FLineageOS%2Fandroid_device_motorola_exynos9610-common.git exynos9610: sepolicy: remove duplicate label for mobicore_data_registry_file * its now defined and labeled as mobicore_vendor_data_file in android_device_samsung_slsi_sepolicy Change-Id: I1040e3b97cf46a5011369b6931d9f59739302dd7 --- diff --git a/sepolicy/vendor/file.te b/sepolicy/vendor/file.te index f9c8590..ea78518 100644 --- a/sepolicy/vendor/file.te +++ b/sepolicy/vendor/file.te @@ -4,7 +4,6 @@ type chargeonly_data_file, file_type, data_file_type; type display_vendor_data_file, file_type, data_file_type; type mediadrm_vendor_data_file, file_type, data_file_type; type misc_vendor_data_file, file_type, data_file_type; -type mobicore_data_registry_file, file_type, data_file_type; type rild_vendor_data_file, file_type, data_file_type; type sensor_vendor_data_file, file_type, data_file_type; type thermal_vendor_data_file, file_type, data_file_type; diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts index dba60f6..1f2d176 100644 --- a/sepolicy/vendor/file_contexts +++ b/sepolicy/vendor/file_contexts @@ -19,7 +19,6 @@ /data/vendor/misc(/.*)? u:object_r:misc_vendor_data_file:s0 /data/vendor/sensor(/.*)? u:object_r:sensor_vendor_data_file:s0 /data/vendor/rild(/.*)? u:object_r:rild_vendor_data_file:s0 -/data/vendor/mcRegistry(/.*)? u:object_r:mobicore_data_registry_file:s0 /data/nfc(/.*)? u:object_r:nfc_data_file:s0 /data/chargeonlymode(/.*)? u:object_r:chargeonly_data_file:s0 diff --git a/sepolicy/vendor/tee.te b/sepolicy/vendor/tee.te index ef9c708..d31c45b 100644 --- a/sepolicy/vendor/tee.te +++ b/sepolicy/vendor/tee.te @@ -7,8 +7,5 @@ allow tee { r_dir_file(tee, persist_mobicore_file) -allow tee mobicore_data_registry_file:dir create_dir_perms; -allow tee mobicore_data_registry_file:file create_file_perms; - allow tee log_vendor_data_file:file create_file_perms; allow tee log_vendor_data_file:dir rw_dir_perms;