diff --git a/sepolicy/vendor/property_contexts b/sepolicy/vendor/property_contexts index 43f4026..062eb08 100644 --- a/sepolicy/vendor/property_contexts +++ b/sepolicy/vendor/property_contexts @@ -26,6 +26,14 @@ vendor.powerhal. u:object_r:vendor_power_prop:s0 # Sensors persist.sensor. u:object_r:persist_sensors_prop:s0 +# Telephony +ro.vendor.oem.imei u:object_r:vendor_deviceid_prop:s0 +ro.vendor.oem.meid u:object_r:vendor_deviceid_prop:s0 +ro.vendor.oem.psno u:object_r:vendor_sno_prop:s0 +ro.vendor.oem.sno u:object_r:vendor_sno_prop:s0 +persist.vendor.radio.imei u:object_r:vendor_deviceid_prop:s0 +persist.vendor.radio.meid u:object_r:vendor_deviceid_prop:s0 + # Xiaomi specific build properties ro.boot.hwc u:object_r:build_prop:s0 ro.boot.hwversion u:object_r:build_prop:s0 diff --git a/sepolicy/vendor/rild.te b/sepolicy/vendor/rild.te new file mode 100644 index 0000000..cbe40fb --- /dev/null +++ b/sepolicy/vendor/rild.te @@ -0,0 +1,5 @@ +vendor_internal_prop(vendor_deviceid_prop) +vendor_internal_prop(vendor_sno_prop) + +set_prop(rild, vendor_deviceid_prop) +set_prop(rild, vendor_sno_prop)