sm8150-common: sepolicy: Address neverallows

Change-Id: I73b3d2d45a2e6988ca86a9d3bfa125fd69320b13
This commit is contained in:
LuK1337 2022-01-26 13:09:19 +01:00 committed by Omkar Chandorkar
parent 5863411fde
commit c279953dc7
No known key found for this signature in database
GPG Key ID: 95A33FD984777F70
4 changed files with 6 additions and 7 deletions

View File

@ -1,2 +1,5 @@
# Fastbootd
ro.fastbootd.available u:object_r:fastbootd_available_prop:s0
# Sensors
vendor.sensors.als_correction. u:object_r:vendor_sensors_als_prop:s0

View File

@ -0,0 +1 @@
get_prop(recovery, fastbootd_available_prop)

View File

@ -1 +1,2 @@
type vendor_sensors_als_prop, property_type;
system_internal_prop(fastbootd_available_prop)
system_public_prop(vendor_sensors_als_prop)

View File

@ -5,16 +5,11 @@ persist.vendor.audio.hac.enable u:object_r:vendor_audio_prop:s0
persist.vendor.bt.a2dp_offload_cap u:object_r:bluetooth_a2dp_offload_prop:s0
# Camera
camera.OPpictureId u:object_r:vendor_camera_prop:s0
ro.camera. u:object_r:vendor_camera_prop:s0
vendor.camera. u:object_r:vendor_camera_prop:s0
# Display
persist.vendor.color.matrix u:object_r:vendor_display_prop:s0
# Fastbootd
ro.fastbootd.available u:object_r:exported_default_prop:s0
# FTM mode
ro.boot.ftm_mode u:object_r:exported_default_prop:s0
@ -39,7 +34,6 @@ ro.boot.msz u:object_r:vendor_param_prop:s0
ro.boot.rf_version u:object_r:exported_default_prop:s0
# RIL
ro.ril.supportLTE u:object_r:radio_prop:s0
vendor.oem.bt.addr u:object_r:vendor_radio_prop:s0
vendor.oem.device.imeicache1 u:object_r:vendor_radio_prop:s0
vendor.oem.device.imeicache2 u:object_r:vendor_radio_prop:s0