sm7125-common: sepolicy: remove unneeded set_prop/get_prop rules

Change-Id: Iae544d6362bdae48b86f10810f8a17dae4e18f82
fourteen-wip
Simon1511 1 year ago
parent 30fc583a77
commit d15040a62a
  1. 1
      sepolicy/private/audio_parameter_service.te
  2. 1
      sepolicy/vendor/hal_bluetooth_default.te
  3. 2
      sepolicy/vendor/macloader.te
  4. 1
      sepolicy/vendor/rild.te
  5. 2
      sepolicy/vendor/secril_config_svc.te

@ -5,5 +5,4 @@ init_daemon_domain(audio_parameter_service)
hal_client_domain(audio_parameter_service, hal_audio)
get_prop(audio_parameter_service, vendor_call_prop)
set_prop(audio_parameter_service, vendor_call_prop)

@ -3,7 +3,6 @@ allow hal_bluetooth_default bluetooth_efs_file:file { read open getattr };
allow hal_bluetooth_default efs_file:dir search;
set_prop(hal_bluetooth_default, vendor_bluetooth_prop)
get_prop(hal_bluetooth_default, vendor_bluetooth_prop)
get_prop(hal_bluetooth_default, exported_bluetooth_prop)
allow hal_bluetooth_default self:file { read getattr map open };

@ -41,7 +41,5 @@ allow macloader sysfs_wifi:file r_file_perms;
# /sys/kernel/boot_wlan
allow macloader sysfs_wifi_writable:file { write open };
set_prop(macloader, vendor_wifi_prop)
# Don't set ro.vendor.wifi.sap.interface
dontaudit macloader vendor_default_prop:property_service set;

@ -4,7 +4,6 @@ get_prop(rild, vendor_radio_prop)
get_prop(rild, radio_prop)
set_prop(rild, vendor_call_prop)
get_prop(rild, vendor_call_prop)
allow rild block_device:dir search;
allow rild mnt_vendor_file:dir { getattr search };

@ -22,5 +22,3 @@ allow secril_config_svc efs_file:file r_file_perms;
get_prop(secril_config_svc, exported_system_prop)
set_prop(secril_config_svc, radio_prop)
set_prop(secril_config_svc, vendor_radio_prop)
get_prop(secril_config_svc, vendor_radio_prop)

Loading…
Cancel
Save