From 3052786e71eade0096c2f5cd2ccc446e8ee03d35 Mon Sep 17 00:00:00 2001 From: Sunjiamei Date: Fri, 1 Aug 2025 16:09:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=88=92=E8=AF=8D=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=AF=B9=E7=94=B5=E6=BA=90=E7=AE=A1=E7=90=86=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E7=9A=84=E8=AE=BF=E9=97=AE=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sunjiamei --- .../systemabilitymgr/selection_fwk/system/selection_service.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sepolicy/ohos_policy/systemabilitymgr/selection_fwk/system/selection_service.te b/sepolicy/ohos_policy/systemabilitymgr/selection_fwk/system/selection_service.te index 1afbf178f..c7b40eb8a 100644 --- a/sepolicy/ohos_policy/systemabilitymgr/selection_fwk/system/selection_service.te +++ b/sepolicy/ohos_policy/systemabilitymgr/selection_fwk/system/selection_service.te @@ -153,3 +153,6 @@ allow selection_service dev_uinput:chr_file { ioctl open write }; # avc: denied { ioctl } for pid=47269, comm="/system/bin/sa_main" path="/dev/uinput" dev="" ino=381 ioctlcmd=0x5565 scontext=u:r:selection_service:s0 tcontext=u:object_r:dev_uinput:s0 tclass=chr_file permissive=1 # avc: denied { ioctl } for pid=47269, comm="/system/bin/sa_main" path="/dev/uinput" dev="" ino=381 ioctlcmd=0x5501 scontext=u:r:selection_service:s0 tcontext=u:object_r:dev_uinput:s0 tclass=chr_file permissive=1 allowxperm selection_service dev_uinput:chr_file ioctl { 0x5564 0x5501 0x5565 }; + +# avc: denied { call } for pid=1646, comm="/system/bin/sa_main" scontext=u:r:selection_service:s0 tcontext=u:r:powermgr:s0 tclass=binder permissive=1 +allow selection_service powermgr:binder { call transfer }; -- Gitee