From 3f555741c789356c02af7024553eba01a60aa994 Mon Sep 17 00:00:00 2001 From: fazil Date: Fri, 29 Dec 2023 13:51:57 +0530 Subject: [PATCH] aospa: sepolicy: replace hub app's DPM/TCM socket with opendelta Change-Id: I756cd0d9b9c2f71a24292442b526a88fb4e315ec --- sepolicy/aospa/private/hub_app.te | 3 --- sepolicy/aospa/private/updater_app.te | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 sepolicy/aospa/private/hub_app.te create mode 100644 sepolicy/aospa/private/updater_app.te diff --git a/sepolicy/aospa/private/hub_app.te b/sepolicy/aospa/private/hub_app.te deleted file mode 100644 index baea10a3..00000000 --- a/sepolicy/aospa/private/hub_app.te +++ /dev/null @@ -1,3 +0,0 @@ -# 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; diff --git a/sepolicy/aospa/private/updater_app.te b/sepolicy/aospa/private/updater_app.te new file mode 100644 index 00000000..376f38f1 --- /dev/null +++ b/sepolicy/aospa/private/updater_app.te @@ -0,0 +1,3 @@ +# Allow updater_app to write to the DPM/TCM socket +allow updater_app vendor_dpmtcm_socket:sock_file w_file_perms; +allow updater_app vendor_dpmd:unix_stream_socket connectto;