Comments and defines changed to comply with new project name 14/23014/4
authorJan Cybulski <j.cybulski@samsung.com>
Fri, 13 Jun 2014 11:18:45 +0000 (13:18 +0200)
committerJan Cybulski <j.cybulski@samsung.com>
Wed, 18 Jun 2014 13:24:36 +0000 (15:24 +0200)
Change-Id: Ie931b2a4d7f2c5d7fa688fbbd0b8f062cfb9a818
Signed-off-by: Jan Cybulski <j.cybulski@samsung.com>
28 files changed:
src/server/client/client-common.h
src/server/common/message-buffer.h
src/server/common/protocols.cpp
src/server/common/protocols.h
src/server/dpl/core/include/dpl/assert.h
src/server/dpl/core/include/dpl/binary_queue.h
src/server/dpl/core/include/dpl/colors.h
src/server/dpl/core/include/dpl/exception.h
src/server/dpl/core/include/dpl/fstream_accessors.h
src/server/dpl/core/include/dpl/noncopyable.h
src/server/dpl/core/include/dpl/noreturn.h
src/server/dpl/core/include/dpl/singleton.h
src/server/dpl/core/include/dpl/singleton_impl.h
src/server/dpl/core/include/dpl/singleton_safe_impl.h
src/server/dpl/core/src/assert.cpp
src/server/dpl/log/include/dpl/log/abstract_log_provider.h
src/server/dpl/log/include/dpl/log/dlog_log_provider.h
src/server/dpl/log/include/dpl/log/log.h
src/server/dpl/log/include/dpl/log/old_style_log_provider.h
src/server/dpl/log/src/log.cpp
src/server/main/generic-event.h
src/server/main/generic-socket-manager.h
src/server/main/security-manager-util.cpp
src/server/main/security-manager-util.h
src/server/main/server2-main.cpp
src/server/main/service-thread.h
src/server/main/socket-manager.h
src/server/service/installer.h

index 7569f2f..607e8d3 100644 (file)
  * @author      Bartlomiej Grzelewski (b.grzelewski@samsung.com)
  * @version     1.0
  * @brief       This file constains implementation of common types
- *              used in security server.
+ *              used in security manager.
  */
 
-#ifndef _SECURITY_SERVER_CLIENT_
-#define _SECURITY_SERVER_CLIENT_
+#ifndef _SECURITY_MANAGER_CLIENT_
+#define _SECURITY_MANAGER_CLIENT_
 
 #include <vector>
 #include <functional>
 
 #include <message-buffer.h>
 
-#define SECURITY_SERVER_API __attribute__((visibility("default")))
 #define SECURITY_MANAGER_API __attribute__((visibility("default")))
-#define SECURITY_SERVER_UNUSED __attribute__((unused))
+#define SECURITY_MANAGER_UNUSED __attribute__((unused))
 
 extern "C" {
     struct msghdr;
@@ -47,13 +46,13 @@ int sendToServer(char const * const interface, const RawBuffer &send, MessageBuf
 
 /*
  * sendToServerAncData is special case when we want to receive file descriptor
- * passed by Security Server on behalf of calling process. We can't get it with
+ * passed by Security Manager on behalf of calling process. We can't get it with
  * MessageBuffer.
  *
  * This function should be called _ONLY_ in this particular case.
  *
  */
-int sendToServerAncData(char const * const interface, const RawBuffer &send, struct msghdr &hdr);
+int sendToManagerAncData(char const * const interface, const RawBuffer &send, struct msghdr &hdr);
 
 /*
  * Decorator function that performs frequently repeated exception handling in
@@ -63,4 +62,4 @@ int try_catch(const std::function<int()>& func);
 
 } // namespace SecurityManager
 
-#endif // _SECURITY_SERVER_CLIENT_
+#endif // _SECURITY_MANAGER_CLIENT_
index ff115e0..71c89ed 100644 (file)
@@ -22,8 +22,8 @@
  * @brief       Implementatin of MessageBuffer.
  */
 
-#ifndef _SECURITY_SERVER_SOCKET_BUFFER_
-#define _SECURITY_SERVER_SOCKET_BUFFER_
+#ifndef _SECURITY_MANAGER_SOCKET_BUFFER_
+#define _SECURITY_MANAGER_SOCKET_BUFFER_
 
 #include <vector>
 
@@ -76,4 +76,4 @@ protected:
 
 } // namespace SecurityManager
 
-#endif // _SECURITY_SERVER_SOCKET_BUFFER_
+#endif // _SECURITY_MANAGER_SOCKET_BUFFER_
index 24bdae5..c120327 100644 (file)
@@ -19,7 +19,7 @@
  * @file        protocols.cpp
  * @author      Bartlomiej Grzelewski (b.grzelewski@samsung.com)
  * @version     1.0
- * @brief       List of all protocols supported by security server.
+ * @brief       List of all protocols supported by security manager.
  */
 
 #include <protocols.h>
index ed1c5a6..85398e8 100644 (file)
  * @file        protocols.h
  * @author      Bartlomiej Grzelewski (b.grzelewski@samsung.com)
  * @version     1.0
- * @brief       This file contains list of all protocols suported by security-sever.
+ * @brief       This file contains list of all protocols suported by security-manager.
  */
 
-#ifndef _SECURITY_SERVER_PROTOCOLS_
-#define _SECURITY_SERVER_PROTOCOLS_
+#ifndef _SECURITY_MANAGER_PROTOCOLS_
+#define _SECURITY_MANAGER_PROTOCOLS_
 
 #include <vector>
 #include <string>
@@ -48,4 +48,4 @@ enum class SecurityModuleCall
 
 } // namespace SecurityManager
 
-#endif // _SECURITY_SERVER_PROTOCOLS_
+#endif // _SECURITY_MANAGER_PROTOCOLS_
index a02aac9..34daa4d 100644 (file)
@@ -19,8 +19,8 @@
  * @version     1.0
  * @brief       This file is the implementation file of assert
  */
-#ifndef SECURITY_SERVER_ASSERT_H
-#define SECURITY_SERVER_ASSERT_H
+#ifndef SECURITY_MANAGER_ASSERT_H
+#define SECURITY_MANAGER_ASSERT_H
 
 #include <dpl/noreturn.h>
 
@@ -28,7 +28,7 @@ namespace SecurityManager {
 // Assertion handler procedure
 // Do not call directly
 // Always use Assert macro
-SECURITYSERVER_NORETURN void AssertProc(const char *condition,
+SECURITYMANAGER_NORETURN void AssertProc(const char *condition,
                              const char *file,
                              int line,
                              const char *function);
@@ -40,4 +40,4 @@ SECURITYSERVER_NORETURN void AssertProc(const char *condition,
                                                                    __FUNCTION__); \
                                } } while (0)
 
-#endif // SECURITY_SERVER_ASSERT_H
+#endif // SECURITY_MANAGER_ASSERT_H
index e007712..dd03f5e 100644 (file)
@@ -19,8 +19,8 @@
  * @version     1.0
  * @brief       This file is the header file of binary queue
  */
-#ifndef SECURITY_SERVER_BINARY_QUEUE_H
-#define SECURITY_SERVER_BINARY_QUEUE_H
+#ifndef SECURITY_MANAGER_BINARY_QUEUE_H
+#define SECURITY_MANAGER_BINARY_QUEUE_H
 
 //#include <dpl/abstract_input_output.h>
 #include <dpl/exception.h>
@@ -295,4 +295,4 @@ class BinaryQueue
 
 } // namespace SecurityManager
 
-#endif // SECURITY_SERVER_BINARY_QUEUE_H
+#endif // SECURITY_MANAGER_BINARY_QUEUE_H
index 69136d1..d10f973 100644 (file)
@@ -21,8 +21,8 @@
  *              and html output
  */
 
-#ifndef SECURITY_SERVER_COLORS_H
-#define SECURITY_SERVER_COLORS_H
+#ifndef SECURITY_MANAGER_COLORS_H
+#define SECURITY_MANAGER_COLORS_H
 
 namespace SecurityManager {
 namespace Colors {
@@ -70,4 +70,4 @@ extern const char* BOLD_WHITE_END;
 } //namespace Colors
 } //namespace SecurityManager
 
-#endif /* SECURITY_SERVER_COLORS_H */
+#endif /* SECURITY_MANAGER_COLORS_H */
index f9c2cf2..2087102 100644 (file)
@@ -19,8 +19,8 @@
  * @version 1.0
  * @brief   Header file for base exception
  */
-#ifndef SECURITY_SERVER_EXCEPTION_H
-#define SECURITY_SERVER_EXCEPTION_H
+#ifndef SECURITY_MANAGER_EXCEPTION_H
+#define SECURITY_MANAGER_EXCEPTION_H
 
 #include <string>
 #include <cstring>
@@ -94,7 +94,7 @@ class Exception
     {
         std::ostringstream message;
         message <<
-        "\033[1;5;31m\n=== Unhandled SecurityServer exception occurred ===\033[m\n\n";
+        "\033[1;5;31m\n=== Unhandled SecurityManager exception occurred ===\033[m\n\n";
         message << "\033[1;33mException trace:\033[m\n\n";
         message << e.DumpToString();
         message << "\033[1;31m\n=== Will now abort ===\033[m\n";
@@ -106,7 +106,7 @@ class Exception
     {
         std::ostringstream message;
         message <<
-        "\033[1;5;31m\n=== Unhandled non-SecurityServer exception occurred ===\033[m\n\n";
+        "\033[1;5;31m\n=== Unhandled non-SecurityManager exception occurred ===\033[m\n\n";
         message << "\033[1;31m\n=== Will now abort ===\033[m\n";
 
         return message.str();
@@ -382,4 +382,4 @@ DECLARE_EXCEPTION_TYPE(Exception, InternalError) ///< Unexpected error from
 }
 }
 
-#endif // SECURITY_SERVER_EXCEPTION_H
+#endif // SECURITY_MANAGER_EXCEPTION_H
index 1c595b6..141a499 100644 (file)
@@ -22,8 +22,8 @@
  *
  */
 
-#ifndef SECURITY_SERVER_FSTREAM_ACCESSORS_H
-#define SECURITY_SERVER_FSTREAM_ACCESSORS_H
+#ifndef SECURITY_MANAGER_FSTREAM_ACCESSORS_H
+#define SECURITY_MANAGER_FSTREAM_ACCESSORS_H
 
 namespace DPL {
 
@@ -45,4 +45,4 @@ public:
 
 } // namespace DPL
 
-#endif // SECURITY_SERVER_FSTREAM_ACCESSORS_H
+#endif // SECURITY_MANAGER_FSTREAM_ACCESSORS_H
index 8f20bbc..4d476a4 100644 (file)
@@ -19,8 +19,8 @@
  * @version     1.0
  * @brief       This file is the implementation file of noncopyable
  */
-#ifndef SECURITYSERVER_NONCOPYABLE_H
-#define SECURITYSERVER_NONCOPYABLE_H
+#ifndef SECURITYMANAGER_NONCOPYABLE_H
+#define SECURITYMANAGER_NONCOPYABLE_H
 
 namespace SecurityManager {
 class Noncopyable
@@ -35,4 +35,4 @@ class Noncopyable
 };
 } // namespace SecurityManager
 
-#endif // SECURITYSERVER_NONCOPYABLE_H
+#endif // SECURITYMANAGER_NONCOPYABLE_H
index 44dfd4a..a876f34 100644 (file)
@@ -19,9 +19,9 @@
  * @version     1.0
  * @brief       This file is the implementation file of noreturn
  */
-#ifndef SECURITYSERVER_NORETURN_H
-#define SECURITYSERVER_NORETURN_H
+#ifndef SECURITYMANAGER_NORETURN_H
+#define SECURITYMANAGER_NORETURN_H
 
-#define SECURITYSERVER_NORETURN __attribute__((__noreturn__))
+#define SECURITYMANAGER_NORETURN __attribute__((__noreturn__))
 
-#endif // SECURITYSERVER_NORETURN_H
+#endif // SECURITYMANAGER_NORETURN_H
index f089107..d064c62 100644 (file)
@@ -19,8 +19,8 @@
  * @version     1.0
  * @brief       This file is the implementation file of singleton
  */
-#ifndef SECURITYSERVER_SINGLETON_H
-#define SECURITYSERVER_SINGLETON_H
+#ifndef SECURITYMANAGER_SINGLETON_H
+#define SECURITYMANAGER_SINGLETON_H
 
 namespace SecurityManager {
 template<typename Class>
@@ -48,4 +48,4 @@ class Singleton :
 };
 } // namespace SecurityManager
 
-#endif // SECURITYSERVER_SINGLETON_H
+#endif // SECURITYMANAGER_SINGLETON_H
index 00cdbde..7f316c1 100644 (file)
@@ -19,8 +19,8 @@
  * @version     1.0
  * @brief       This file is the implementation file of singleton
  */
-#ifndef SECURITYSERVER_SINGLETON_IMPL_H
-#define SECURITYSERVER_SINGLETON_IMPL_H
+#ifndef SECURITYMANAGER_SINGLETON_IMPL_H
+#define SECURITYMANAGER_SINGLETON_IMPL_H
 
 /*
  * WARNING!
@@ -50,4 +50,4 @@ Class &Singleton<Class>::Instance()
     template SecurityManager::Singleton<Type>&SecurityManager::Singleton<Type>::InternalInstance();    \
     template Type & SecurityManager::Singleton<Type>::Instance();                            \
 
-#endif // SECURITYSERVER_SINGLETON_IMPL_H
+#endif // SECURITYMANAGER_SINGLETON_IMPL_H
index feeb30b..c199db7 100644 (file)
@@ -19,8 +19,8 @@
  * @version     1.0
  * @brief       This file is the implementation file of singleton
  */
-#ifndef SECURITYSERVER_SINGLETON_SAFE_IMPL_H
-#define SECURITYSERVER_SINGLETON_SAFE_IMPL_H
+#ifndef SECURITYMANAGER_SINGLETON_SAFE_IMPL_H
+#define SECURITYMANAGER_SINGLETON_SAFE_IMPL_H
 
 #define IMPLEMENT_SAFE_SINGLETON(Class)                                        \
     namespace SecurityManager {                                                    \
@@ -42,4 +42,4 @@
     template Class & Singleton<Class>::Instance();                                  \
     } // namespace SecurityManager
 
-#endif // SECURITYSERVER_SINGLETON_SAFE_IMPL_H
+#endif // SECURITYMANAGER_SINGLETON_SAFE_IMPL_H
index ba1cecc..63538a2 100644 (file)
@@ -49,7 +49,7 @@ void AssertProc(const char *condition,
         INTERNAL_LOG(
             "################################################################################");
         INTERNAL_LOG(
-            "###                          SecurityServer assertion failed!                           ###");
+            "###                          SecurityManager assertion failed!                           ###");
         INTERNAL_LOG(
             "################################################################################");
         INTERNAL_LOG("### Condition: " << condition);
index 04a000f..cfe9679 100644 (file)
@@ -19,8 +19,8 @@
  * @version     1.0
  * @brief       This file is the implementation file of abstract log provider
  */
-#ifndef SECURITYSERVER_ABSTRACT_LOG_PROVIDER_H
-#define SECURITYSERVER_ABSTRACT_LOG_PROVIDER_H
+#ifndef SECURITYMANAGER_ABSTRACT_LOG_PROVIDER_H
+#define SECURITYMANAGER_ABSTRACT_LOG_PROVIDER_H
 
 namespace SecurityManager {
 namespace Log {
@@ -78,4 +78,4 @@ class AbstractLogProvider
 }
 } // namespace SecurityManager
 
-#endif // SECURITYSERVER_ABSTRACT_LOG_PROVIDER_H
+#endif // SECURITYMANAGER_ABSTRACT_LOG_PROVIDER_H
index 1d80ff7..6fe0d97 100644 (file)
@@ -19,8 +19,8 @@
  * @version     1.0
  * @brief       This file is the implementation file of DLOG log provider
  */
-#ifndef SECURITYSERVER_DLOG_LOG_PROVIDER_H
-#define SECURITYSERVER_DLOG_LOG_PROVIDER_H
+#ifndef SECURITYMANAGER_DLOG_LOG_PROVIDER_H
+#define SECURITYMANAGER_DLOG_LOG_PROVIDER_H
 
 #include <dpl/log/abstract_log_provider.h>
 #include <memory>
@@ -91,4 +91,4 @@ class DLOGLogProvider :
 } // namespace Log
 } // namespace SecurityManager
 
-#endif // SECURITYSERVER_DLOG_LOG_PROVIDER_H
+#endif // SECURITYMANAGER_DLOG_LOG_PROVIDER_H
index e8f3665..2594ace 100644 (file)
@@ -19,8 +19,8 @@
  * @version     1.0
  * @brief       This file is the implementation file of log system
  */
-#ifndef SECURITYSERVER_LOG_H
-#define SECURITYSERVER_LOG_H
+#ifndef SECURITYMANAGER_LOG_H
+#define SECURITYMANAGER_LOG_H
 
 #include <dpl/singleton.h>
 #include <dpl/noncopyable.h>
@@ -31,7 +31,7 @@
 namespace SecurityManager {
 namespace Log {
 /**
- * SecurityServer log system
+ * SecurityManager log system
  *
  * To switch logs into old style, export
  * DPL_USE_OLD_STYLE_LOGS before application start
@@ -219,4 +219,4 @@ do                                                                         \
     #define LogSecureWarning(message) DPL_MACRO_DUMMY_LOGGING(message, SecureWarning)
 #endif // BUILD_TYPE_DEBUG
 
-#endif // SECURITYSERVER_LOG_H
+#endif // SECURITYMANAGER_LOG_H
index 60b8cf9..8ca2068 100644 (file)
@@ -19,8 +19,8 @@
  * @version     1.0
  * @brief       This file is the implementation file of old style log provider
  */
-#ifndef SECURITYSERVER_OLD_STYLE_LOG_PROVIDER_H
-#define SECURITYSERVER_OLD_STYLE_LOG_PROVIDER_H
+#ifndef SECURITYMANAGER_OLD_STYLE_LOG_PROVIDER_H
+#define SECURITYMANAGER_OLD_STYLE_LOG_PROVIDER_H
 
 #include <dpl/log/abstract_log_provider.h>
 #include <string>
@@ -101,4 +101,4 @@ class OldStyleLogProvider :
 }
 } // namespace SecurityManager
 
-#endif // SECURITYSERVER_OLD_STYLE_LOG_PROVIDER_H
+#endif // SECURITYMANAGER_OLD_STYLE_LOG_PROVIDER_H
index 0b1a528..9ac65c0 100644 (file)
@@ -40,7 +40,7 @@ const char *OLD_STYLE_PEDANTIC_LOGS_ENV_NAME =
     "DPL_USE_OLD_STYLE_PEDANTIC_LOGS";
 const char *OLD_STYLE_LOGS_MASK_ENV_NAME = "DPL_USE_OLD_STYLE_LOGS_MASK";
 #endif // BUILD_TYPE_DEBUG
-const char *SECURITY_SERVER_LOG_OFF = "DPL_LOG_OFF";
+const char *SECURITY_MANAGER_LOG_OFF = "DPL_LOG_OFF";
 } // namespace anonymous
 
 bool LogSystem::IsLoggingEnabled() const
@@ -49,7 +49,7 @@ bool LogSystem::IsLoggingEnabled() const
 }
 
 LogSystem::LogSystem() :
-    m_isLoggingEnabled(!getenv(SECURITY_SERVER_LOG_OFF))
+    m_isLoggingEnabled(!getenv(SECURITY_MANAGER_LOG_OFF))
 {
 #ifdef BUILD_TYPE_DEBUG
     bool oldStyleLogs = false;
index 8e70ae3..3486155 100644 (file)
@@ -22,8 +22,8 @@
  * @brief       Implementation of GenericEvent.
  */
 
-#ifndef _SECURITY_SERVER_GENERIC_EVENT_
-#define _SECURITY_SERVER_GENERIC_EVENT_
+#ifndef _SECURITY_MANAGER_GENERIC_EVENT_
+#define _SECURITY_MANAGER_GENERIC_EVENT_
 
 namespace SecurityManager {
 
@@ -33,4 +33,4 @@ struct GenericEvent {
 
 } // namespace SecurityManager
 
-#endif // _SECURITY_SERVER_GENERIC_EVENT_
+#endif // _SECURITY_MANAGER_GENERIC_EVENT_
index 8603eab..2f0ad1d 100644 (file)
@@ -22,8 +22,8 @@
  * @brief       Implementation of GenericSocketService and GenericSocketManager.
  */
 
-#ifndef _SECURITY_SERVER_GENERIC_SERVICE_MANAGER_
-#define _SECURITY_SERVER_GENERIC_SERVICE_MANAGER_
+#ifndef _SECURITY_MANAGER_GENERIC_SERVICE_MANAGER_
+#define _SECURITY_MANAGER_GENERIC_SERVICE_MANAGER_
 
 #include <vector>
 #include <string>
@@ -140,4 +140,4 @@ struct GenericSocketManager {
 
 } // namespace SecurityManager
 
-#endif // _SECURITY_SERVER_GENERIC_SERVICE_MANAGER_
+#endif // _SECURITY_MANAGER_GENERIC_SERVICE_MANAGER_
index 030c5ca..4218375 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  security-server
+ *  security-manager
  *
  *  Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd All Rights Reserved
  *
index 611696e..62aa45a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  security-server
+ *  security-manager
  *
  *  Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd All Rights Reserved
  *
@@ -19,8 +19,8 @@
  *
  */
 
-#ifndef SECURITY_SERVER_UTIL_H
-#define SECURITY_SERVER_UTIL_H
+#ifndef SECURITY_MANAGER_UTIL_H
+#define SECURITY_MANAGER_UTIL_H
 
 #include <sys/types.h>
 
@@ -31,4 +31,4 @@ char *read_exe_path_from_proc(pid_t pid);
 
 } // namespace SecurityManager
 
-#endif /*SECURITY_SERVER_UTIL_H*/
+#endif /*SECURITY_MANAGER_UTIL_H*/
index 0111e42..213f749 100644 (file)
@@ -19,7 +19,7 @@
  * @file        sever2-main.cpp
  * @author      Bartlomiej Grzelewski (b.grzelewski@samsung.com)
  * @version     1.0
- * @brief       Implementation of security-server2
+ * @brief       Implementation of security-manager on basis of security-server
  */
 #include <stdlib.h>
 #include <signal.h>
@@ -67,9 +67,9 @@ int main(void) {
     {
         SecurityManager::Singleton<SecurityManager::Log::LogSystem>::Instance().SetTag("SECURITY_MANAGER");
 
-        // This provider may be used in security-server only.
+        // This provider may be used in security-manager only.
         // If we add it inside LogSystem constructor it also
-        // will be used by security-server-client library.
+        // will be used by security-manager-client library.
         SecurityManager::Log::AuditSmackLog *smackLog = new SecurityManager::Log::AuditSmackLog;
         if (smackLog->Fail())
             delete smackLog;
index 71c6e3f..8b8286c 100644 (file)
@@ -22,8 +22,8 @@
  * @brief       Implementation of threads.
  */
 
-#ifndef _SECURITY_SERVER_SERVICE_THREAD_
-#define _SECURITY_SERVER_SERVICE_THREAD_
+#ifndef _SECURITY_MANAGER_SERVICE_THREAD_
+#define _SECURITY_MANAGER_SERVICE_THREAD_
 
 #include <cassert>
 #include <queue>
@@ -174,4 +174,4 @@ protected:
 
 } // namespace SecurityManager
 
-#endif // _SECURITY_SERVER_SERVICE_THREAD_
+#endif // _SECURITY_MANAGER_SERVICE_THREAD_
index fdc6516..58d3db1 100644 (file)
@@ -22,8 +22,8 @@
  * @brief       SocketManager implementation.
  */
 
-#ifndef _SECURITY_SERVER_SOCKET_MANAGER_
-#define _SECURITY_SERVER_SOCKET_MANAGER_
+#ifndef _SECURITY_MANAGER_SOCKET_MANAGER_
+#define _SECURITY_MANAGER_SOCKET_MANAGER_
 
 #include <vector>
 #include <queue>
@@ -132,4 +132,4 @@ protected:
 
 } // namespace SecurityManager
 
-#endif // _SECURITY_SERVER_SOCKET_MANAGER_
+#endif // _SECURITY_MANAGER_SOCKET_MANAGER_
index 43bf1db..656bc1a 100644 (file)
@@ -21,8 +21,8 @@
  * @brief       Implementation of installer service for libprivilege-control encapsulation.
  */
 
-#ifndef _SECURITY_SERVER_INSTALLER_
-#define _SECURITY_SERVER_INSTALLER_
+#ifndef _SECURITY_MANAGER_INSTALLER_
+#define _SECURITY_MANAGER_INSTALLER_
 
 #include <service-thread.h>
 #include <generic-socket-manager.h>
@@ -92,4 +92,4 @@ private:
 
 } // namespace SecurityManager
 
-#endif // _SECURITY_SERVER_INSTALLER_
+#endif // _SECURITY_MANAGER_INSTALLER_