modem_svc_sit: grant modem property access

Log message gotten before adding the policy:
avc: denied { connectto } for comm="modem_svc_sit" path="/dev/socket/property_service" scontext=u:r:modem_svc_sit:s0 tcontext=u:r:init:s0 tclass=unix_stream_socket permissive=1

Bug: 247669574
(cherry picked from commit 77ce224141)
Merged-In: Id5e66d94eb14c6979d3b93d54fd73634444cdea1
Change-Id: Id5e66d94eb14c6979d3b93d54fd73634444cdea1
This commit is contained in:
Kah Xuan Lim 2023-02-08 16:58:32 +08:00 committed by Wilson Sung
parent 931ea0d342
commit 4e270f1615

View file

@ -24,6 +24,9 @@ allow modem_svc_sit modem_userdata_file:file create_file_perms;
# RIL property # RIL property
get_prop(modem_svc_sit, vendor_rild_prop) get_prop(modem_svc_sit, vendor_rild_prop)
# Modem property
set_prop(modem_svc_sit, vendor_modem_prop)
# hwservice permission # hwservice permission
allow modem_svc_sit hal_exynos_rild_hwservice:hwservice_manager find; allow modem_svc_sit hal_exynos_rild_hwservice:hwservice_manager find;
get_prop(modem_svc_sit, hwservicemanager_prop) get_prop(modem_svc_sit, hwservicemanager_prop)