From b0d382c619c3f4af91826bd123eb52166a43b78e Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Fri, 8 Apr 2016 20:45:06 +0900 Subject: [PATCH] Remove the exception for gdbserver Change-Id: I55e3565f9677cc53ed77314ac25a07526f87cfb5 Signed-off-by: Hwankyu Jhun --- src/debug-launchpad.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) 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 */ -- 2.7.4