From 3607c3c19e7548750a126aafd7b2f885d50c521d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E6=B5=A9=E7=84=B6?= Date: Thu, 10 Jul 2025 16:57:51 +0800 Subject: [PATCH 1/2] test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 时浩然 --- modules/common/appspawn_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/common/appspawn_common.c b/modules/common/appspawn_common.c index f1b3511f..edcd3f12 100644 --- a/modules/common/appspawn_common.c +++ b/modules/common/appspawn_common.c @@ -155,6 +155,7 @@ APPSPAWN_STATIC int SetCapabilities(const AppSpawnMgr *content, const AppSpawnin struct __user_cap_header_struct capHeader; bool isRet = memset_s(&capHeader, sizeof(capHeader), 0, sizeof(capHeader)) != EOK; APPSPAWN_CHECK(!isRet, return -EINVAL, "Failed to memset cap header"); + APPSPAWN_LOGI("cnnn, aaaa"); capHeader.version = _LINUX_CAPABILITY_VERSION_3; capHeader.pid = 0; -- Gitee From 9f7cffae1f10f37ff52cb5675bd6153c9584d918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E6=B5=A9=E7=84=B6?= Date: Fri, 11 Jul 2025 10:31:56 +0800 Subject: [PATCH 2/2] test2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 时浩然 Change-Id: I05fd619861cfeac03822fa5f4c051d66c30c907d --- modules/common/appspawn_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/common/appspawn_common.c b/modules/common/appspawn_common.c index edcd3f12..84132bd0 100644 --- a/modules/common/appspawn_common.c +++ b/modules/common/appspawn_common.c @@ -156,6 +156,7 @@ APPSPAWN_STATIC int SetCapabilities(const AppSpawnMgr *content, const AppSpawnin bool isRet = memset_s(&capHeader, sizeof(capHeader), 0, sizeof(capHeader)) != EOK; APPSPAWN_CHECK(!isRet, return -EINVAL, "Failed to memset cap header"); APPSPAWN_LOGI("cnnn, aaaa"); + APPSPAWN_LOGI("shr,shr"); capHeader.version = _LINUX_CAPABILITY_VERSION_3; capHeader.pid = 0; -- Gitee