From 90e6b6e19f1957399dcdbcbf7e56e0874df23b06 Mon Sep 17 00:00:00 2001 From: zzhcharmer Date: Wed, 25 Jun 2025 17:20:07 +0800 Subject: [PATCH] delete developer for pc Signed-off-by: zzhcharmer --- modules/common/appspawn_adapter.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/common/appspawn_adapter.cpp b/modules/common/appspawn_adapter.cpp index 47e466ec..7e7360f3 100644 --- a/modules/common/appspawn_adapter.cpp +++ b/modules/common/appspawn_adapter.cpp @@ -164,9 +164,7 @@ int SetUidGidFilter(const AppSpawnMgr *content) ret = SetSeccompPolicyWithName(INDIVIDUAL, NWEBSPAWN_NAME); } else { #ifdef SECCOMP_PRIVILEGE - if (IsDeveloperModeOpen()) { - return 0; - } + return 0; #endif ret = SetSeccompPolicyWithName(INDIVIDUAL, APPSPAWN_NAME); } -- Gitee