From 6f56a2c616b92d1956b1a1cf519645f6befd5e87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=9D=E4=BA=AE=E9=A3=9E?= Date: Wed, 2 Apr 2025 15:02:01 +0800 Subject: [PATCH 1/2] add proc to perf_sensitive` --- adapter/uhdf2/manager/hdf_devmgr.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/adapter/uhdf2/manager/hdf_devmgr.cfg b/adapter/uhdf2/manager/hdf_devmgr.cfg index 5ef829272..646c85ed8 100644 --- a/adapter/uhdf2/manager/hdf_devmgr.cfg +++ b/adapter/uhdf2/manager/hdf_devmgr.cfg @@ -4,6 +4,7 @@ "path" : ["/vendor/bin/hdf_devmgr"], "uid" : "hdf_devmgr", "gid" : ["hdf_devmgr", "readproc", "uhdf_driver", "data_reserve"], + "writepid" : ["/dev/memcg/perf_sensitive/cgroup.procs"], "start-mode" : "boot", "secon" : "u:r:hdf_devmgr:s0", "critical": [1, 4, 60], -- Gitee From 2f7207150204e3c6ef161b9a4d594cb37af8bd4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=9D=E4=BA=AE=E9=A3=9E?= Date: Wed, 2 Apr 2025 15:02:01 +0800 Subject: [PATCH 2/2] add proc to perf_sensitive` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 屈少杰 --- adapter/uhdf2/manager/hdf_devmgr.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/adapter/uhdf2/manager/hdf_devmgr.cfg b/adapter/uhdf2/manager/hdf_devmgr.cfg index 5ef829272..646c85ed8 100644 --- a/adapter/uhdf2/manager/hdf_devmgr.cfg +++ b/adapter/uhdf2/manager/hdf_devmgr.cfg @@ -4,6 +4,7 @@ "path" : ["/vendor/bin/hdf_devmgr"], "uid" : "hdf_devmgr", "gid" : ["hdf_devmgr", "readproc", "uhdf_driver", "data_reserve"], + "writepid" : ["/dev/memcg/perf_sensitive/cgroup.procs"], "start-mode" : "boot", "secon" : "u:r:hdf_devmgr:s0", "critical": [1, 4, 60], -- Gitee