exynos9610: sepolicy: remove duplicate label for mobicore_data_registry_file
authorJan Altensen <info@stricted.net>
Fri, 16 Jul 2021 15:47:02 +0000 (17:47 +0200)
committerJan Altensen <info@stricted.net>
Fri, 16 Jul 2021 16:39:42 +0000 (18:39 +0200)
 * its now defined and labeled as mobicore_vendor_data_file in android_device_samsung_slsi_sepolicy

Change-Id: I1040e3b97cf46a5011369b6931d9f59739302dd7

sepolicy/vendor/file.te
sepolicy/vendor/file_contexts
sepolicy/vendor/tee.te

index f9c8590aa29ddc9aa3e805eee9e126fb0c7c7b0b..ea78518e8fc94580b2f984ec26680707c53e0afc 100644 (file)
@@ -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;
index dba60f6cc99610565772b4e6d24d82c0b7eed9e4..1f2d176646fd907678f4136c75966f6b0be33e59 100644 (file)
@@ -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
 
index ef9c7089d4cade418f41aeb9ee7a9f42f8764745..d31c45b9e8f3eedaecdf89fa3c29eb112b565d0a 100644 (file)
@@ -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;