Fix savce TOCTOU[1] issue
[1] https://wiki.sei.cmu.edu/confluence/display/c/FIO45-C.+Avoid+TOCTOU+race+conditions+while+accessing+files
Change-Id: I20e8724afd5d27eb466223315fab11ebc9faf77c
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
goto err;
}
- ret = access(backend_library_name, F_OK);
- if (ret < 0) {
- _E("%s: Failed to find backend library (%s)\n",
- info->module_name, backend_library_name);
- ret = TIZEN_ERROR_INVALID_PARAMETER;
- goto err;
- }
-
info->handle = dlopen(backend_library_name, RTLD_LAZY);
if (!info->handle) {
_E("%s: Failed to load backend library (%s)\n",