sm8350-common: sepolicy: Add vendor prefix to mlipay_prop
Change-Id: If707d5e4efb2513e8e447da2df692be99ef2d305
This commit is contained in:
parent
a64abcb7ed
commit
6cff8cff03
2
sepolicy/vendor/app.te
vendored
2
sepolicy/vendor/app.te
vendored
@ -1 +1 @@
|
||||
get_prop({ appdomain -isolated_app }, mlipay_prop)
|
||||
get_prop({ appdomain -isolated_app }, vendor_mlipay_prop)
|
||||
|
4
sepolicy/vendor/hal_mlipay.te
vendored
4
sepolicy/vendor/hal_mlipay.te
vendored
@ -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)
|
||||
|
4
sepolicy/vendor/property_contexts
vendored
4
sepolicy/vendor/property_contexts
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user