From e45bb0c86c40977aebbaf6acd53afa75121a3ee3 Mon Sep 17 00:00:00 2001 From: Zheng Yongjun Date: Thu, 10 Feb 2022 14:57:00 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B5=A6AppProperty=E7=BB=93=E6=9E=84=E4=BD=93?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0bundleName=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Zheng Yongjun --- interfaces/innerkits/include/client_socket.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interfaces/innerkits/include/client_socket.h b/interfaces/innerkits/include/client_socket.h index 7bcb0c7f..7783a372 100644 --- a/interfaces/innerkits/include/client_socket.h +++ b/interfaces/innerkits/include/client_socket.h @@ -85,6 +85,7 @@ public: static constexpr int APPSPAWN_MSG_MAX_SIZE = 4096; // appspawn message max size static constexpr int LEN_PROC_NAME = 256; // process name length + static constexpr int LEN_BUNDLE_NAME = 256; // bundle name length static constexpr int LEN_SO_PATH = 256; // load so lib static constexpr int MAX_GIDS = 64; static constexpr int APL_MAX_LEN = 32; @@ -95,6 +96,7 @@ public: uint32_t gidTable[MAX_GIDS]; // a list of UNIX gids that the child process setgroups() to after fork() uint32_t gidCount; // the size of gidTable char processName[LEN_PROC_NAME]; // process name + char bundleName[LEN_BUNDLE_NAME]; // bundle name char soPath[LEN_SO_PATH]; // so lib path uint32_t accessTokenId; char apl[APL_MAX_LEN]; -- Gitee