diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2023-01-25 16:54:26 -0800 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2023-01-25 16:54:26 -0800 |
commit | ec12677a74dbe3813bfc9fcc76b8a6027781e3b1 (patch) | |
tree | 751da8be5ec0fff42a9c72f9ec45668c599179d1 | |
parent | fa06aa6de211d34b92cca3285f65f9ab251ff115 (diff) | |
parent | 037ec12339c3854e8afbec484cbd410793c8f6b3 (diff) |
Merge 037ec12339c3854e8afbec484cbd410793c8f6b3 on remote branch
Change-Id: I4b729034cce4118d03d2c0bf387894288e4c3c92
-rw-r--r-- | src/apps_std_imp.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/apps_std_imp.c b/src/apps_std_imp.c index d2559c6..eb49755 100644 --- a/src/apps_std_imp.c +++ b/src/apps_std_imp.c @@ -82,6 +82,10 @@ #define ION_HEAP_ID_QSEECOM 27 +#define OEM_CONFIG_FILE_NAME "oemconfig.so" +#define TESTSIG_FILE_NAME "testsig" +#define RPC_VERSION_FILE_NAME "librpcversion_skel.so" + #define FREEIF(pv) \ do {\ if(pv) { \ @@ -746,7 +750,11 @@ bail: FREEIF(absName); FREEIF(dirListBuf); if (nErr != AEE_SUCCESS) { - VERIFY_IPRINTF("Error %x: fopen failed for %s. (%s)", nErr, name, strerror(ERRNO)); + if (ERRNO != ENOENT || + (std_strncmp(name, OEM_CONFIG_FILE_NAME, std_strlen(OEM_CONFIG_FILE_NAME)) != 0 + && std_strncmp(name, RPC_VERSION_FILE_NAME, std_strlen(RPC_VERSION_FILE_NAME)) != 0 + && std_strncmp(name, TESTSIG_FILE_NAME, std_strlen(TESTSIG_FILE_NAME)) != 0)) + VERIFY_IPRINTF("Error %x: fopen failed for %s. (%s)", nErr, name, strerror(ERRNO)); } return nErr; } |