From: Hwankyu Jhun Date: Fri, 8 Apr 2016 11:45:06 +0000 (+0900) Subject: Remove the exception for gdbserver X-Git-Tag: accepted/tizen/common/20160408.190348^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b0d382c619c3f4af91826bd123eb52166a43b78e;p=platform%2Fcore%2Fappfw%2Fdebug-launchpad.git Remove the exception for gdbserver Change-Id: I55e3565f9677cc53ed77314ac25a07526f87cfb5 Signed-off-by: Hwankyu Jhun --- diff --git a/src/debug-launchpad.c b/src/debug-launchpad.c index 10cc305..6aea995 100644 --- a/src/debug-launchpad.c +++ b/src/debug-launchpad.c @@ -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 */