From 0755bc621d5f6ecb2e405bec9ae49190894435b3 Mon Sep 17 00:00:00 2001 From: jooseong lee Date: Thu, 10 Nov 2016 14:16:08 +0900 Subject: [PATCH] Add 'l' permission to sharedRO Smack rule DB in shared/data cannot be accessed by other applications. File lock permission is also needed. Change-Id: I90f05fabfa2e4a62df8a3e1c40a48c341ecb86f2 Signed-off-by: jooseong lee --- src/common/smack-rules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/smack-rules.cpp b/src/common/smack-rules.cpp index 762b422..6cf2bbb 100644 --- a/src/common/smack-rules.cpp +++ b/src/common/smack-rules.cpp @@ -60,7 +60,7 @@ const std::string SMACK_RULES_PATH_MERGED_T = LOCAL_STATE_DIR "/security-mana const std::string SMACK_RULES_PATH = LOCAL_STATE_DIR "/security-manager/rules"; const std::string SMACK_RULES_SHARED_RO_PATH = LOCAL_STATE_DIR "/security-manager/rules/shared_ro"; const std::string SMACK_APP_IN_PACKAGE_PERMS = "rwxat"; -const std::string SMACK_APP_CROSS_PKG_PERMS = "rx"; +const std::string SMACK_APP_CROSS_PKG_PERMS = "rxl"; const std::string SMACK_APP_PATH_OWNER_PERMS = "rwxat"; const std::string SMACK_APP_PATH_TARGET_PERMS = "rxl"; const std::string SMACK_APP_DIR_TARGET_PERMS = "x"; -- 2.7.4