From 0285e8d37905782e58bbbc24d350ec9cd81e6b20 Mon Sep 17 00:00:00 2001 From: zhangpengpeng Date: Tue, 17 May 2022 09:49:48 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=80=82=E9=85=8Ddinput=E8=81=94=E8=B0=83?= =?UTF-8?q?=EF=BC=8C=E4=B8=B4=E6=97=B6=E4=BF=AE=E6=94=B9uid=E4=B8=BAroot?= =?UTF-8?q?=EF=BC=8C=E5=90=8E=E7=BB=AD=E7=BB=9F=E4=B8=80=E6=95=B4=E6=94=B9?= =?UTF-8?q?uid/gid/capabilities.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sa_profile/dhardware.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sa_profile/dhardware.cfg b/sa_profile/dhardware.cfg index f521718d..0efd2864 100644 --- a/sa_profile/dhardware.cfg +++ b/sa_profile/dhardware.cfg @@ -2,8 +2,8 @@ "services" : [{ "name" : "dhardware", "path" : ["/system/bin/sa_main", "/system/profile/dhardware.xml"], - "uid" : "system", - "gid" : ["system"], + "uid" : "root", + "gid" : ["system", "uhid", "root"], "ondemand" : true }] } \ No newline at end of file -- Gitee From ab08e37d3e6d9337a891f805de826eeb3cdf690a Mon Sep 17 00:00:00 2001 From: zhangpengpeng Date: Tue, 17 May 2022 09:49:48 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=80=82=E9=85=8Ddinput=E8=81=94=E8=B0=83?= =?UTF-8?q?=EF=BC=8C=E4=B8=B4=E6=97=B6=E4=BF=AE=E6=94=B9uid=E4=B8=BAroot?= =?UTF-8?q?=EF=BC=8C=E5=90=8E=E7=BB=AD=E7=BB=9F=E4=B8=80=E6=95=B4=E6=94=B9?= =?UTF-8?q?uid/gid/capabilities.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangpengpeng --- sa_profile/dhardware.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sa_profile/dhardware.cfg b/sa_profile/dhardware.cfg index f521718d..0efd2864 100644 --- a/sa_profile/dhardware.cfg +++ b/sa_profile/dhardware.cfg @@ -2,8 +2,8 @@ "services" : [{ "name" : "dhardware", "path" : ["/system/bin/sa_main", "/system/profile/dhardware.xml"], - "uid" : "system", - "gid" : ["system"], + "uid" : "root", + "gid" : ["system", "uhid", "root"], "ondemand" : true }] } \ No newline at end of file -- Gitee