summaryrefslogtreecommitdiff
path: root/src/apps_std_imp.c
diff options
context:
space:
mode:
authoralk3pInjection <webmaster@raspii.tech>2023-01-11 15:53:05 +0800
committeralk3pInjection <webmaster@raspii.tech>2023-01-11 15:53:05 +0800
commit63c8ad5970dad9e32be37e0ad58c9ae453bb0702 (patch)
tree1b19bd5d2ef5553d7443ee81b3151b422ae35088 /src/apps_std_imp.c
parent27d162e61e88d0bb84cf87aa7a573a339e8c8b1b (diff)
parent205a7f8587015796b99c5e8117d62343854d234b (diff)
Merge tag 'LA.QSSI.13.0.r1-08600-qssi.0' into tachibanatachibana-mr1tachibana
"LA.QSSI.13.0.r1-08600-qssi.0" Change-Id: Ib78892fc910f46c606f053222bab66c7305da471
Diffstat (limited to 'src/apps_std_imp.c')
-rw-r--r--src/apps_std_imp.c10
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;
}