From 92f254775af0a15e0567822a19dbd3dc4a76ae11 Mon Sep 17 00:00:00 2001 From: ligongshao Date: Tue, 12 Aug 2025 14:40:43 +0800 Subject: [PATCH] modify dec deny mode value. Signed-off-by: ligongshao --- services/sandbox_manager/main/cpp/src/mac/mac_adapter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/sandbox_manager/main/cpp/src/mac/mac_adapter.cpp b/services/sandbox_manager/main/cpp/src/mac/mac_adapter.cpp index da808e2..ec142f8 100644 --- a/services/sandbox_manager/main/cpp/src/mac/mac_adapter.cpp +++ b/services/sandbox_manager/main/cpp/src/mac/mac_adapter.cpp @@ -89,9 +89,9 @@ const std::string DENY_CONFIG_FILE = "etc/sandbox_manager_service/file_deny_poli constexpr int MAX_DENY_CONFIG_FILE_SIZE = 5 * 1024 * 1024; // 5M constexpr size_t BUFFER_SIZE = 1024; -#define DEC_DENY_RENAME (1 << 2) -#define DEC_DENY_REMOVE (1 << 3) -#define DEC_DENY_INHERIT (1 << 4) +#define DEC_DENY_RENAME (1 << 7) +#define DEC_DENY_REMOVE (1 << 8) +#define DEC_DENY_INHERIT (1 << 9) constexpr const char* JSON_ITEM_PATH = "path"; constexpr const char* JSON_ITEM_RENAME = "rename"; -- Gitee