memset(app_rootpath, '\0', length + 1);
strncpy(app_rootpath, bin_path, length);
+#ifdef _SECURE_LOG
LOGI("input bin_path: %s", app_rootpath);
+#endif
delimiter = strrchr(app_rootpath, '/');
*delimiter = '\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);
#endif
// XXX-end
- 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);