[FEATURE] Remove native LD_PRELOAD 41/33741/1
authorVasiliy Ulyanov <v.ulyanov@samsung.com>
Mon, 23 Jun 2014 05:46:37 +0000 (09:46 +0400)
committerAlexander Aksenov <a.aksenov@samsung.com>
Wed, 14 Jan 2015 08:41:56 +0000 (11:41 +0300)
Change-Id: I07fc26b0047ed1ac93555b7d1ac19eb5d9134526
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
daemon/utils.c

index 9a6d7c2..d3032c7 100644 (file)
@@ -160,8 +160,7 @@ int exec_app_tizen(const char *app_id, const char *exec_path)
                while (ret == -1 && errno == EINTR);
                return 0;
        } else { /* child */
-               execl(LAUNCH_APP_PATH, LAUNCH_APP_NAME, app_id, LAUNCH_APP_SDK,
-                     DA_PRELOAD_EXEC, NULL);
+               execl(LAUNCH_APP_PATH, LAUNCH_APP_NAME, app_id, NULL);
                /* FIXME: If code flows here, it deserves greater attention */
                _Exit(EXIT_FAILURE);
        }
@@ -178,7 +177,7 @@ int exec_app_common(const char* exec_path)
                return -1;
        }
 
-       snprintf(command, sizeof(command), "%s %s", DA_PRELOAD_TIZEN, exec_path);
+       sprintf(command, "%s", exec_path);
        LOGI("cmd: %s\n", command);
 
        pid = fork();