From 3ea19bb7da579b53d4cb56ff33b819ea715c3783 Mon Sep 17 00:00:00 2001 From: yh Date: Sat, 26 Oct 2024 15:23:56 +0800 Subject: [PATCH] add setuid Signed-off-by: yh Change-Id: I0c281a950a3fb924d43ba4103f378459ff451a52 --- cjappspawn.cfg | 1 + nativespawn.cfg | 1 + 2 files changed, 2 insertions(+) diff --git a/cjappspawn.cfg b/cjappspawn.cfg index b3a33d71..6cabbd8b 100644 --- a/cjappspawn.cfg +++ b/cjappspawn.cfg @@ -8,6 +8,7 @@ "--render-command command --app-launch-type singleton --app-visible true"], "uid" : "root", "gid" : ["root"], + "setuid" : true, "importance" : -20, "socket" : [{ "name" : "CJAppSpawn", diff --git a/nativespawn.cfg b/nativespawn.cfg index 089edc56..406c76fb 100644 --- a/nativespawn.cfg +++ b/nativespawn.cfg @@ -8,6 +8,7 @@ "--render-command command --app-launch-type singleton --app-visible true"], "uid" : "root", "gid" : ["root"], + "setuid" : true, "importance" : -20, "socket" : [{ "name" : "NativeSpawn",