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-04 19:08:56 +0900 |
commit | 3e4762ba6782bcbfa64fa537f01613bc5519f47f (patch) | |
tree | 5b013d339dc49d0a855a09a935c2b2ff2fe590c1 | |
parent | 6f59e47b0770f4ce5cd0a3ef3475d00b4047b4e9 (diff) | |
download | launchpad-accepted/tizen/3.0/common/20170109.200321.tar.gz launchpad-accepted/tizen/3.0/common/20170109.200321.tar.bz2 launchpad-accepted/tizen/3.0/common/20170109.200321.zip |
Remove permission checksubmit/tizen_3.0/20170106.093617submit/tizen_3.0.m2/20170109.005227accepted/tizen/3.0/wearable/20170109.003719accepted/tizen/3.0/tv/20170109.003713accepted/tizen/3.0/mobile/20170109.003705accepted/tizen/3.0/ivi/20170109.003728accepted/tizen/3.0/common/20170109.200321accepted/tizen/3.0.m2/wearable/20170110.084110accepted/tizen/3.0.m2/tv/20170110.084059accepted/tizen/3.0.m2/mobile/20170110.084041accepted/tizen/3.0.m2/common/20170110.181728tizen_3.0.m2accepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_tvaccepted/tizen_3.0.m2_mobileaccepted/tizen_3.0.m2_common
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: |