From e11c8f68c64be543afcb6ee62a87fdc7ceacf832 Mon Sep 17 00:00:00 2001 From: openharmony_ci <120357966@qq.com> Date: Mon, 13 Mar 2023 08:47:56 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!1816=20?= =?UTF-8?q?:=20=E5=A2=9E=E5=8A=A0sh=E6=9D=83=E9=99=90=E4=B8=BAvkgl?= =?UTF-8?q?=E6=B5=8B=E8=AF=95'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sepolicy/base/te/render_service.te | 1 - sepolicy/base/te/sh.te | 1 - 2 files changed, 2 deletions(-) diff --git a/sepolicy/base/te/render_service.te b/sepolicy/base/te/render_service.te index 39fde01ee..5a1e48d85 100644 --- a/sepolicy/base/te/render_service.te +++ b/sepolicy/base/te/render_service.te @@ -65,7 +65,6 @@ allow render_service tracefs:dir { search }; allow render_service tracefs_trace_marker_file:file { open write }; allow render_service ui_service:binder { call transfer }; allow render_service ui_service:fd { use }; -allow render_service sh:fd { use }; allowxperm render_service dev_dri_file:chr_file ioctl { 0x640d 0x6411 0x641e 0x641f 0x642d 0x64a0 0x64a1 0x64a6 0x64a7 0x64aa 0x64b2 0x64b4 0x64b5 0x64b6 0x64b9 }; allowxperm render_service dev_mali:chr_file ioctl { 0x8000 0x8001 0x8003 0x8005 0x800e 0x8011 0x8018 0x8024 0x8026 0x8027 0x8029 0x802a 0x802b 0x802c 0x802d 0x802e 0x800f 0x8030 0x8031 0x8033 0x8034 0x8036 }; allowxperm render_service dev_rga:chr_file ioctl { 0x601b }; diff --git a/sepolicy/base/te/sh.te b/sepolicy/base/te/sh.te index 894cd6666..24e3bbaf9 100644 --- a/sepolicy/base/te/sh.te +++ b/sepolicy/base/te/sh.te @@ -341,7 +341,6 @@ allow sh wifi_host:dir { getattr search }; allow sh wifi_host:file { open read }; allow sh wifi_manager_service:dir { getattr search }; allow sh wifi_manager_service:file { open read }; -allow sh dev_mali:chr_file { getattr ioctl map open read write }; allowxperm sh data_hilogd_file:file ioctl { 0x5413 }; allowxperm sh devpts:chr_file ioctl { 0x5413 }; allowxperm sh hdcd:fifo_file ioctl { 0x5413 }; -- Gitee