sepolicy: address hub denials

- fixes `02-05 18:56:02.829  6540  6540 W TcmReceiver: type=1400 audit(0.0:75): avc: denied { connectto } for path="/dev/socket/tcm" scontext=u:r:hub_app:s0:c512,c768 tcontext=u:r:vendor_dpmd:s0 tclass=unix_stream_socket permissive=0 app=co.aospa.hub`

Change-Id: I6cef7dbbef2bbe776b3eb26dc45772f1579b75b3
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
This commit is contained in:
Omkar Chandorkar 2023-02-05 22:38:22 +09:00 committed by Jake Weinstein
parent 1c9e2c17c2
commit 181a629d1e
1 changed files with 1 additions and 0 deletions

View File

@ -1,2 +1,3 @@
# Allow hub_app to write to the DPM/TCM socket
allow hub_app vendor_dpmtcm_socket:sock_file w_file_perms;
allow hub_app vendor_dpmd:unix_stream_socket connectto;