From efc42dfbcc973879be8ffe50b8f32d62f703f173 Mon Sep 17 00:00:00 2001 From: Manoj Basapathi Date: Wed, 22 Apr 2020 17:02:52 +0530 Subject: [PATCH] sepolicy: Add DPM socket connect rules to gmscore_app. -Allow access to gmscore_app by DPM socket connect rules. Change-Id: I6850d1aa69f88d4a312a5fbd2e4152775d3ffa1d --- generic/vendor/common/gmscore_app.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/generic/vendor/common/gmscore_app.te b/generic/vendor/common/gmscore_app.te index f648d892..12df1ba4 100644 --- a/generic/vendor/common/gmscore_app.te +++ b/generic/vendor/common/gmscore_app.te @@ -28,3 +28,5 @@ allow gmscore_app vendor_sysfs_kgsl_gpu_model:file r_file_perms; dontaudit gmscore_app vendor_hal_qspmhal_default:binder {call}; + +unix_socket_connect(gmscore_app, vendor_dpmtcm, vendor_dpmd);