Skip to content

Commit

Permalink
SEPolicy: Fix fingerprint payment and IMS
Browse files Browse the repository at this point in the history
  • Loading branch information
xjl12 committed Mar 13, 2023
1 parent a417ec1 commit c65a889
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions sepolicy/private/appdomain.te
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
type teei_hal_wechat;
type hal_mlipay_default, domain;
type teei_hal_wechat_hwservice, hwservice_manager_type;
type hal_mlipay_hwservice, hwservice_manager_type;
allow appdomain teei_hal_wechat_hwservice:hwservice_manager { find };
allow appdomain hal_mlipay_hwservice:hwservice_manager { find };
system_vendor_config_prop(vendor_payment_security_prop);
system_vendor_config_prop(vendor_fp_prop);
get_prop(appdomain, vendor_fp_prop);
get_prop(appdomain, vendor_payment_security_prop);
binder_call(appdomain, hal_mlipay_default);
binder_call(appdomain, teei_hal_wechat);
1 change: 1 addition & 0 deletions sepolicy/private/mtk_hal_sensors.te
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
type mtk_hal_sensors, domain;
binder_call(mtk_hal_sensors, system_suspend);
allow mtk_hal_sensors system_suspend_hwservice:hwservice_manager { find };
1 change: 1 addition & 0 deletions sepolicy/private/radio.te
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
allow radio default_android_service:service_manager { find };

0 comments on commit c65a889

Please sign in to comment.