* also take away the write access from these HALs
which are causing neverallows
* Thanks fcuzzocrea for notifying
Change-Id: Id647d208bd9c44189935d5467ec99edb81a57e64
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
type mobicore_vendor_data_file, file_type, data_file_type;
type mobicore_data_file, file_type, core_data_file_type, data_file_type;
type gatekeeper_efs_file, file_type;
-type mobicore_vendor_file, file_type;
+type mobicore_vendor_file, file_type, vendor_file_type;
# /vendor/app/mcRegistry/
allow hal_gatekeeper_default mobicore_vendor_file:dir search;
-allow hal_gatekeeper_default mobicore_vendor_file:file rw_file_perms;
+allow hal_gatekeeper_default mobicore_vendor_file:file r_file_perms;
# /vendor/app/mcRegistry/
allow hal_keymaster_default mobicore_vendor_file:dir search;
-allow hal_keymaster_default mobicore_vendor_file:file rw_file_perms;
+allow hal_keymaster_default mobicore_vendor_file:file r_file_perms;