diff --git a/sepolicy/private/platform_app.te b/sepolicy/private/platform_app.te index 1b220a3..07cc05f 100644 --- a/sepolicy/private/platform_app.te +++ b/sepolicy/private/platform_app.te @@ -1,2 +1 @@ -hal_client_domain(platform_app, hal_ifaa); hal_client_domain(platform_app, vendor_hal_soter); diff --git a/sepolicy/public/attributes b/sepolicy/public/attributes index 7425200..e388086 100644 --- a/sepolicy/public/attributes +++ b/sepolicy/public/attributes @@ -1,2 +1 @@ hal_attribute_lineage(cameradesktop) -hal_attribute_lineage(ifaa) diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts index 023f6ba..7b11548 100644 --- a/sepolicy/vendor/file_contexts +++ b/sepolicy/vendor/file_contexts @@ -63,9 +63,6 @@ /sys/devices/platform/soc/soc:qcom,dsi-display-primary/fod_hbm u:object_r:vendor_sysfs_fingerprint:s0 /sys/devices/platform/soc/soc:qcom,dsi-display-primary/fod_ui u:object_r:vendor_sysfs_fingerprint:s0 -# IFAA -/(vendor|system/vendor)/bin/hw/vendor\.zui\.hardware\.ifaa@1\.0-service u:object_r:hal_ifaa_default_exec:s0 - # Lights /(vendor|system/vendor)/bin/hw/android\.hardware\.lights-service\.berlna u:object_r:hal_light_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.lights-service\.xpeng u:object_r:hal_light_default_exec:s0 diff --git a/sepolicy/vendor/hal_ifaa.te b/sepolicy/vendor/hal_ifaa.te deleted file mode 100644 index 41695e7..0000000 --- a/sepolicy/vendor/hal_ifaa.te +++ /dev/null @@ -1,18 +0,0 @@ -type hal_ifaa_default, domain; -hal_server_domain(hal_ifaa_default, hal_ifaa) - -type hal_ifaa_default_exec, exec_type, vendor_file_type, file_type; -init_daemon_domain(hal_ifaa_default) - -# Allow hwbinder call from hal client to server -binder_call(hal_ifaa_client, hal_ifaa_server) - -# Add hwservice related rules -add_hwservice(hal_ifaa_server, hal_ifaa_hwservice) -allow hal_ifaa_client hal_ifaa_hwservice:hwservice_manager find; - -#Allow access to tee device -allow hal_ifaa_server tee_device:chr_file rw_file_perms; - -#Allow access to ion device -allow hal_ifaa_server ion_device:chr_file r_file_perms; diff --git a/sepolicy/vendor/hwservice.te b/sepolicy/vendor/hwservice.te index 042f288..3ad1a2c 100644 --- a/sepolicy/vendor/hwservice.te +++ b/sepolicy/vendor/hwservice.te @@ -1,4 +1,3 @@ type hal_cameradesktop_hwservice, hwservice_manager_type; -type hal_ifaa_hwservice, hwservice_manager_type; type nxpese_hwservice, hwservice_manager_type; type nxpnfc_hwservice, hwservice_manager_type; diff --git a/sepolicy/vendor/hwservice_contexts b/sepolicy/vendor/hwservice_contexts index 44f58c4..aca3d1e 100644 --- a/sepolicy/vendor/hwservice_contexts +++ b/sepolicy/vendor/hwservice_contexts @@ -7,9 +7,6 @@ com.motorola.hardware.biometric.fingerprint::IMotoFingerPrintSensorTest u:object vendor.egistec.hardware.fingerprint::IBiometricsFingerprintEts u:object_r:hal_fingerprint_hwservice:s0 vendor.egistec.hardware.fingerprint::IBiometricsFingerprintRbs u:object_r:hal_fingerprint_hwservice:s0 -# IFAA -vendor.zui.hardware.ifaa::IIFAADevice u:object_r:hal_ifaa_hwservice:s0 - # NFC vendor.nxp.nxpese::INxpEse u:object_r:nxpese_hwservice:s0 vendor.nxp.nxpnfc::INxpNfc u:object_r:nxpnfc_hwservice:s0