diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2017-01-04 19:08:56 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2017-01-11 13:14:06 +0900 |
commit | 40d1b92e64809e7e9f3fae483957c6ce070ee936 (patch) | |
tree | ad76572f99dda0f35787d1b2b2e429f6a56396f2 | |
parent | f5896cdce7731d89f810139076b118fa4bcafbc2 (diff) | |
download | launchpad-accepted/tizen/wearable/20170111.221952.tar.gz launchpad-accepted/tizen/wearable/20170111.221952.tar.bz2 launchpad-accepted/tizen/wearable/20170111.221952.zip |
Remove permission checksubmit/tizen/20170111.041200accepted/tizen/wearable/20170111.221952accepted/tizen/tv/20170111.221929accepted/tizen/mobile/20170111.221905accepted/tizen/ivi/20170111.222021accepted/tizen/common/20170112.174219
This patch removes the permission check for executing an application
with the debug tool.
Change-Id: I66a86012d197edaf120e87e6d455eca72f88c5b9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rwxr-xr-x | src/launchpad.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/launchpad.c b/src/launchpad.c index f1c8011..9177a5f 100755 --- a/src/launchpad.c +++ b/src/launchpad.c @@ -1263,7 +1263,6 @@ static gboolean __handle_launch_event(gpointer data) int type = -1; int loader_id; int ret; - int caller_pid; traceBegin(TTRACE_TAG_APPLICATION_MANAGER, "LAUNCHPAD:LAUNCH"); pkt = _recv_pkt_raw(fd, &clifd, &cr); @@ -1285,16 +1284,8 @@ static gboolean __handle_launch_event(gpointer data) goto end; } - if (bundle_get_type(kb, AUL_K_SDK) != BUNDLE_TYPE_NONE) { - caller_pid = _debug_get_caller_pid(kb); - if (caller_pid > 0) { - if (__check_caller_by_pid(caller_pid) < 0) { - _E("Invalid caller pid"); - goto end; - } - } + if (bundle_get_type(kb, AUL_K_SDK) != BUNDLE_TYPE_NONE) _debug_init(); - } switch (pkt->cmd) { case PAD_CMD_VISIBILITY: |