From 6cff8cff032d42476b52b12f93b83d7f0f828f55 Mon Sep 17 00:00:00 2001 From: Arian Date: Sun, 25 Sep 2022 19:26:26 +0200 Subject: [PATCH] sm8350-common: sepolicy: Add vendor prefix to mlipay_prop Change-Id: If707d5e4efb2513e8e447da2df692be99ef2d305 --- sepolicy/vendor/app.te | 2 +- sepolicy/vendor/hal_mlipay.te | 4 ++-- sepolicy/vendor/property_contexts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sepolicy/vendor/app.te b/sepolicy/vendor/app.te index 303b5de..60325ab 100644 --- a/sepolicy/vendor/app.te +++ b/sepolicy/vendor/app.te @@ -1 +1 @@ -get_prop({ appdomain -isolated_app }, mlipay_prop) +get_prop({ appdomain -isolated_app }, vendor_mlipay_prop) diff --git a/sepolicy/vendor/hal_mlipay.te b/sepolicy/vendor/hal_mlipay.te index fa6fbda..8295b4e 100644 --- a/sepolicy/vendor/hal_mlipay.te +++ b/sepolicy/vendor/hal_mlipay.te @@ -6,7 +6,7 @@ hal_server_domain(hal_mlipay_default, hal_mlipay) type hal_mlipay_default_exec, exec_type, vendor_file_type, file_type; init_daemon_domain(hal_mlipay_default) -type mlipay_prop, property_type; +type vendor_mlipay_prop, property_type; # Allow hwbinder call from hal client to server binder_call(hal_mlipay_client, hal_mlipay_server) @@ -19,7 +19,7 @@ allow hal_mlipay_default tee_device:chr_file rw_file_perms; allow hal_mlipay_default ion_device:chr_file r_file_perms; r_dir_file(hal_mlipay_default, firmware_file) -set_prop(hal_mlipay_default, mlipay_prop); +set_prop(hal_mlipay_default, vendor_mlipay_prop); get_prop(hal_mlipay_default, vendor_fp_prop) get_prop(hal_mlipay_default, vendor_fp_info_prop) diff --git a/sepolicy/vendor/property_contexts b/sepolicy/vendor/property_contexts index 8dbd8a3..7077e1a 100644 --- a/sepolicy/vendor/property_contexts +++ b/sepolicy/vendor/property_contexts @@ -11,5 +11,5 @@ persist.vendor.sys.fp.uid u:object_r:vendor_fp_info_prop:s0 persist.vendor.security.spuari. u:object_r:vendor_security_spuari_prop:s0 # Mlipay -persist.vendor.sys.pay. u:object_r:mlipay_prop:s0 -persist.vendor.sys.provision.status u:object_r:mlipay_prop:s0 +persist.vendor.sys.pay. u:object_r:vendor_mlipay_prop:s0 +persist.vendor.sys.provision.status u:object_r:vendor_mlipay_prop:s0