Change-Id: I18cac0f69bbed3bc52e400d315cf1d30e4ae176b
Signed-off-by: Hyunbin Lee <hyunbin.lee@samsung.com>
memset(app_rootpath, '\0', length + 1);
strncpy(app_rootpath, bin_path, length);
memset(app_rootpath, '\0', length + 1);
strncpy(app_rootpath, bin_path, length);
LOGI("input bin_path: %s", app_rootpath);
LOGI("input bin_path: %s", app_rootpath);
delimiter = strrchr(app_rootpath, '/');
*delimiter = '\0';
delimiter = strrchr(app_rootpath, '/');
*delimiter = '\0';
char osp_app_data_path[PATH_MAX] = { 0, };
int osp_compat = 0;
char osp_app_data_path[PATH_MAX] = { 0, };
int osp_compat = 0;
- LOGI("do_pre_exec() is called, package_name: %s, bin_path: %s", package_name, bin_path);
+#ifdef _SECURE_LOG
+ LOGI("do_pre_exec() is called, package name: %s, binary path: %s", package_name, bin_path);
+#endif
app_rootpath = get_app_rootpath_from_path(bin_path);
app_rootpath = get_app_rootpath_from_path(bin_path);
- LOGI("package name: %s, binary path: %s, package id: %s, OSP compatibility: %d",
- package_name, bin_path, package_id, osp_compat);
+ LOGI("package: %s (%s), binary: %s, OSP compatibility: %d", package_name, package_id, bin_path, osp_compat);
// FIXME: Temporary code with security risk
prctl(PR_SET_KEEPCAPS, 1);
// FIXME: Temporary code with security risk
prctl(PR_SET_KEEPCAPS, 1);