sm8450-common: sepolicy: Remove xiaomi specific gnss rules

We don't use stock GNSS stock anymore, thus these are not necessary anymore

Change-Id: I730e5101ea69e2c9d456d53a82c30433f916706c
This commit is contained in:
Arian 2024-09-01 18:16:08 +02:00
parent 3a47074b2f
commit a065ab84cc
6 changed files with 0 additions and 29 deletions

View file

@ -18,10 +18,6 @@ type vendor_sysfs_displayfeature, fs_type, sysfs_type;
type vendor_fingerprint_data_file, data_file_type, file_type; type vendor_fingerprint_data_file, data_file_type, file_type;
type vendor_fingerprint_data_file_fpdump, data_file_type, file_type; type vendor_fingerprint_data_file_fpdump, data_file_type, file_type;
# GNSS
type qx_oss_vendor_data_file, data_file_type, file_type;
type vendor_ins_vendor_data_file, data_file_type, file_type;
# Mac Address # Mac Address
type vendor_mac_vendor_data_file, data_file_type, file_type, mlstrustedobject; type vendor_mac_vendor_data_file, data_file_type, file_type, mlstrustedobject;

View file

@ -50,11 +50,6 @@
/mnt/vendor/persist/goodix(/.*)? u:object_r:vendor_fingerprint_data_file:s0 /mnt/vendor/persist/goodix(/.*)? u:object_r:vendor_fingerprint_data_file:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.3-service\.xiaomi u:object_r:hal_fingerprint_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.3-service\.xiaomi u:object_r:hal_fingerprint_default_exec:s0
# GNSS
/data/vendor/ins(/.*)? u:object_r:vendor_ins_vendor_data_file:s0
/data/vendor/qxwz(/.*)? u:object_r:qx_oss_vendor_data_file:s0
/mnt/vendor/persist/qxwz u:object_r:qx_oss_vendor_data_file:s0
# IR # IR
/dev/lirc[0-9]+ u:object_r:lirc_device:s0 /dev/lirc[0-9]+ u:object_r:lirc_device:s0
/vendor/bin/hw/android\.hardware\.ir-service\.xiaomi u:object_r:hal_ir_default_exec:s0 /vendor/bin/hw/android\.hardware\.ir-service\.xiaomi u:object_r:hal_ir_default_exec:s0

View file

@ -1,8 +0,0 @@
allow vendor_hal_gnss_qti vendor_ins_vendor_data_file:dir rw_dir_perms;
allow vendor_hal_gnss_qti vendor_ins_vendor_data_file:file create_file_perms;
allow vendor_hal_gnss_qti vendor_persist_sensors_file:dir rw_dir_perms;
allow vendor_hal_gnss_qti vendor_persist_sensors_file:file create_file_perms;
allow vendor_hal_gnss_qti mnt_vendor_file:dir search;
allow vendor_hal_gnss_qti mnt_vendor_file:dir rw_dir_perms;
get_prop(vendor_hal_gnss_qti, vendor_sensors_prop)
get_prop(vendor_hal_gnss_qti, vendor_mi_ins_prop)

View file

@ -2,5 +2,4 @@ set_prop(vendor_init, vendor_fp_prop)
set_prop(vendor_init, vendor_fp_info_prop) set_prop(vendor_init, vendor_fp_info_prop)
set_prop(vendor_init, vendor_thermal_normal_prop) set_prop(vendor_init, vendor_thermal_normal_prop)
set_prop(vendor_init, vendor_ssr_prop) set_prop(vendor_init, vendor_ssr_prop)
set_prop(vendor_init, vendor_edgnss_qxwz_downloadak_prop)
set_prop(vendor_init, vendor_qcc_prop) set_prop(vendor_init, vendor_qcc_prop)

View file

@ -11,10 +11,6 @@ vendor_public_prop(vendor_cpuid_prop)
vendor_restricted_prop(vendor_fp_info_prop) vendor_restricted_prop(vendor_fp_info_prop)
vendor_public_prop(vendor_fp_prop) vendor_public_prop(vendor_fp_prop)
# GNSS
vendor_public_prop(vendor_edgnss_qxwz_downloadak_prop)
vendor_public_prop(vendor_mi_ins_prop)
# Mlipay # Mlipay
vendor_public_prop(vendor_payment_security_prop) vendor_public_prop(vendor_payment_security_prop)

View file

@ -19,9 +19,6 @@ vendor.fps_hal. u:object_r:vendor_fp_prop:s0
vendor.panel.display. u:object_r:vendor_fp_prop:s0 vendor.panel.display. u:object_r:vendor_fp_prop:s0
ro.hardware.fp.udfps u:object_r:vendor_fp_prop:s0 ro.hardware.fp.udfps u:object_r:vendor_fp_prop:s0
# GNSS
ro.vendor.gnss.edgnss.downloadQxwzAk u:object_r:vendor_edgnss_qxwz_downloadak_prop:s0
# Panel # Panel
vendor.panel. u:object_r:vendor_panel_info_prop:s0 vendor.panel. u:object_r:vendor_panel_info_prop:s0
@ -35,9 +32,5 @@ persist.vendor.sys.provision.status u:object_r:vendor_payment_security_prop:s0
vendor.sys.feature_state u:object_r:vendor_payment_security_prop:s0 vendor.sys.feature_state u:object_r:vendor_payment_security_prop:s0
vendor.sys.rpmb_state u:object_r:vendor_payment_security_prop:s0 vendor.sys.rpmb_state u:object_r:vendor_payment_security_prop:s0
# Sensors
persist.vendor.sensors.ins. u:object_r:vendor_mi_ins_prop:s0
persist.vendor.sensors.ins_debug u:object_r:vendor_mi_ins_prop:s0
# Thermal # Thermal
vendor.sys.thermal.data.path u:object_r:vendor_thermal_normal_prop:s0 vendor.sys.thermal.data.path u:object_r:vendor_thermal_normal_prop:s0