From 25a33faccaa007979c0f65d0068ce851a5f526d6 Mon Sep 17 00:00:00 2001 From: Aditya Pratap Singh <87426352+afterallafk@users.noreply.github.com> Date: Sun, 6 Mar 2022 11:21:49 +0530 Subject: [PATCH] sdm660-common: sepolicy: allow untrusted_app_zygote to access unix stream socket avc: denied { getopt } for path="/dev/socket/usap_pool_primary" scontext=u:r:untrusted_app:s0:c26,c257,c512,c768 tcontext=u:r:zygote:s0 tclass=unix_stream_socket permissive=0 app=com.topjohnwu.magisk Signed-off-by: afterallafk Signed-off-by: Abhishek001konni Signed-off-by: pix106 --- sepolicy/vendor/untrusted_app.te | 1 + 1 file changed, 1 insertion(+) diff --git a/sepolicy/vendor/untrusted_app.te b/sepolicy/vendor/untrusted_app.te index 5b2f8214..567421cf 100644 --- a/sepolicy/vendor/untrusted_app.te +++ b/sepolicy/vendor/untrusted_app.te @@ -1,3 +1,4 @@ +allow untrusted_app zygote:unix_stream_socket { getopt }; allow untrusted_app_25 zygote:unix_stream_socket getopt; allow untrusted_app_27 zygote:unix_stream_socket getopt; allow untrusted_app_29 zygote:unix_stream_socket getopt;