if (i->GetPreloadLib().size() > 0) {
out_file << "EXTRA_ARRAY preload \n";
for (auto& lib : i->GetPreloadLib()) {
- out_file << "EXTRA_ARRAY_VAL "LIBDIR"/" + lib + "\n";
+ out_file << "EXTRA_ARRAY_VAL " LIBDIR "/" + lib + "\n";
}
}
out_file.close();
/* SET PRIVILEGES*/
enabled_light_user = bundle_get_val(kb, AUL_K_ENABLED_LIGHT_USER);
- _W("security_manager_prepare_app2 ++");
+ _W("security_manager_prepare_app2 ++ %s", appid);
ret = security_manager_prepare_app2(appid, enabled_light_user);
- _W("security_manager_prepare_app2 --");
+ _W("security_manager_prepare_app2 -- %s", appid);
if (ret != SECURITY_MANAGER_SUCCESS)
return PAD_ERR_REJECTED;
return -1;
/* SET PRIVILEGES*/
- SECURE_LOGD("[candidata] appid : %s / pkg_type : %s / app_path : %s",
+ SECURE_LOGD("[candidate] appid : %s / pkg_type : %s / app_path : %s",
appid, pkg_type, app_path);
if (global)
return -1;
enabled_light_user = bundle_get_val(kb, AUL_K_ENABLED_LIGHT_USER);
- _W("security_manager_prepare_app2 ++");
+ _W("security_manager_prepare_app2 ++ %s", appid);
ret = security_manager_prepare_app2(appid, enabled_light_user);
- _W("security_manager_prepare_app2 --");
+ _W("security_manager_prepare_app2 -- %s", appid);
if (ret != SECURITY_MANAGER_SUCCESS) {
_E("Failed to set privileges %s:%d", appid, ret);
return -1;