From 77a756769e15245f32f9eb156bda5ecb452e522a Mon Sep 17 00:00:00 2001 From: wanderer-dl122 Date: Wed, 1 Jun 2022 17:03:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0selinux=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wanderer-dl122 --- sa_profile/dhardware.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sa_profile/dhardware.cfg b/sa_profile/dhardware.cfg index 0bd3bf15..cbe41835 100644 --- a/sa_profile/dhardware.cfg +++ b/sa_profile/dhardware.cfg @@ -5,6 +5,7 @@ "uid" : "dhardware", "gid" : ["dhardware"], "caps" : ["DAC_READ_SEARCH", "DAC_OVERRIDE"], - "ondemand" : true + "ondemand" : true, + "secon" : "u:r:dhardware:s0" }] } \ No newline at end of file -- Gitee