Rename invalid WRT_SMACK_LABEL macro to WRT_SMACK_ENABLED 60/20960/4 tizen
authorJacek Bukarewicz <j.bukarewicz@samsung.com>
Wed, 14 May 2014 08:06:15 +0000 (10:06 +0200)
committerJacek Bukarewicz <j.bukarewicz@samsung.com>
Wed, 28 May 2014 08:03:15 +0000 (10:03 +0200)
It seems like WRT_SMACK_LABEL has been introduced accidentally in
commit d264166d27f34c13f3b043876e3d1bb0b3b6cf50 which made WRT_SMACK_ENABLED
optional in cmake.

Change-Id: If0b3b1d6b74511bfa3577d847275d4f74532c8f3
Signed-off-by: Jacek Bukarewicz <j.bukarewicz@samsung.com>
src/jobs/widget_install/task_smack.cpp

index d7a1a0b..63437ae 100644 (file)
@@ -194,7 +194,7 @@ void TaskSmack::StepAbortSmack()
 
 bool TaskSmack::setLabelForSharedDir()
 {
-#ifdef WRT_SMACK_LABEL
+#ifdef WRT_SMACK_ENABLED
     /* /shared directory */
     if(SECURITY_MANAGER_SUCCESS != security_manager_app_inst_req_add_path(m_p_req,
             m_context.locations->getSharedRootDir().c_str(), SECURITY_MANAGER_PATH_PUBLIC_RO)) {