From 90e0e47419318c22e0702397f858d386be26db1b Mon Sep 17 00:00:00 2001 From: heyinshen Date: Mon, 30 May 2022 19:04:35 +0800 Subject: [PATCH] Add selinux of deviceauth Signed-off-by: heyinshen --- frameworks/src/standard/deviceauth_service.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frameworks/src/standard/deviceauth_service.cfg b/frameworks/src/standard/deviceauth_service.cfg index d4e8623..10deca0 100644 --- a/frameworks/src/standard/deviceauth_service.cfg +++ b/frameworks/src/standard/deviceauth_service.cfg @@ -12,7 +12,8 @@ "name" : "deviceauth_service", "path" : ["/system/bin/deviceauth_service"], "uid" : "deviceauth", - "gid" : ["deviceauth", "shell"] + "gid" : ["deviceauth", "shell"], + "secon" : "u:r:deviceauth_service:s0" } ] }