mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-27 19:18:35 +00:00
Fix SELinux error coming from hal_secure_element_uicc
12-02 09:45:55.564 796 796 I secure_element@: type=1400 audit(0.0:3): avc: denied { call } for scontext=u:r:hal_secure_element_uicc:s0 tcontext=u:r:rild:s0 tclass=binder permissive=1
[ 11.030503] type=1400 audit(1638409555.564:3): avc: denied { call } for comm="secure_element@" scontext=u:r:hal_secure_element_uicc:s0 tcontext=u:r:rild:s0 tclass=binder permissive=1
Bug: 208715886
Test: check avc
Change-Id: I701b36fbb58f1c071f1dbc394048dad467ac6c4c
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
# b/208715886
|
||||
dontaudit hal_secure_element_uicc rild:binder { call };
|
||||
@@ -4,8 +4,8 @@ type hal_secure_element_uicc_exec, exec_type, vendor_file_type, file_type;
|
||||
hal_server_domain(hal_secure_element_uicc, hal_secure_element)
|
||||
init_daemon_domain(hal_secure_element_uicc)
|
||||
|
||||
# Allow hal_secure_element_default to access rild
|
||||
binder_call(hal_secure_element_default, rild);
|
||||
# Allow hal_secure_element_uicc to access rild
|
||||
binder_call(hal_secure_element_uicc, rild);
|
||||
allow hal_secure_element_uicc hal_exynos_rild_hwservice:hwservice_manager find;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user