From 6da445b0c837af358fe96f9e3c6c3b66d073c4c8 Mon Sep 17 00:00:00 2001 From: Ricky Niu Date: Mon, 19 Dec 2022 16:16:17 +0800 Subject: [PATCH] Add usbd servicemanager permission [ 46.850950][ T561] type=1400 audit(1670831200.996:262): avc: denied { call } for comm="usbd" scontext=u:r:usbd:s0 tcontext=u:r:servicemanager:s0 tclass=binder permissive=1 Bug: 263070284 Test: error message disappear Signed-off-by: Ricky Niu Change-Id: I5d0c309238b0454198b7e24d91bfc57829a8bfc1 --- public/usbd.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/usbd.te b/public/usbd.te index 6f349541b..ee36784da 100644 --- a/public/usbd.te +++ b/public/usbd.te @@ -1,2 +1,4 @@ type usbd, domain; type usbd_exec, system_file_type, exec_type, file_type; + +binder_call(usbd, servicemanager)