Remove the exception for gdbserver 37/65337/1 accepted/tizen/common/20160408.190348 accepted/tizen/ivi/20160411.005448 accepted/tizen/mobile/20160411.005512 accepted/tizen/tv/20160411.005418 accepted/tizen/wearable/20160411.005436 submit/tizen/20160408.115426
authorHwankyu Jhun <h.jhun@samsung.com>
Fri, 8 Apr 2016 11:45:06 +0000 (20:45 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Fri, 8 Apr 2016 11:45:06 +0000 (20:45 +0900)
Change-Id: I55e3565f9677cc53ed77314ac25a07526f87cfb5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/debug-launchpad.c

index 10cc305..6aea995 100644 (file)
@@ -97,21 +97,17 @@ static int __prepare_exec(const char *appid, const char *app_path,
        char *file_name;
        char process_name[AUL_PR_NAME];
        int ret;
-       const char *value;
 
        /* Set new session ID & new process group ID */
        /* In linux, child can set new session ID without check permission */
        setsid();
 
        /* SET PRIVILEGES */
-       value = bundle_get_val(kb, AUL_K_SDK);
-       if (value && strncmp(value, SDK_ATTACH, strlen(SDK_ATTACH) != 0)) {
-               _D("appid: %s / pkg_type: %s / app_path: %s",
-                               appid, appinfo->pkg_type, app_path);
-               if ((ret = _set_access(appid)) != 0) {
-                       _E("Failed to set privileges - check your package's credential: %d", ret);
-                       return -1;
-               }
+       _D("appid: %s / pkg_type: %s / app_path: %s",
+                       appid, appinfo->pkg_type, app_path);
+       if ((ret = _set_access(appid)) != 0) {
+               _E("Failed to set privileges - check your package's credential: %d", ret);
+               return -1;
        }
 
        /* SET DUMPABLE - for coredump */