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>
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);
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: