Change-Id: I5fd8d65c5d0661877408518694458182351bb694
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
path[len - 1] = '\0';
set_loader_file(path);
+
+ ret = preload_control_add_ignored_binary(path);
+ if (ret < 0) {
+ printk(PRELOAD_PREFIX "Cannot add loader %s to ignored list\n", path);
+ goto err;
+ }
+
ret = len;
return ret;
goto linker_path_write_out;
}
+ ret = preload_control_add_ignored_binary(path);
+ if (ret < 0) {
+ printk(PRELOAD_PREFIX "Cannot add linker %s to ignored list\n", path);
+ goto linker_path_write_out;
+ }
+
ret = len;
linker_path_write_out: