From: Sunwook Bae Date: Fri, 7 Jun 2013 11:35:04 +0000 (+0900) Subject: Update secure logs in FIO X-Git-Tag: accepted/tizen/20130912.081851^2~256 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=92400ab74e2871c3be59d370fa58b9b7b64de32b;p=platform%2Fframework%2Fnative%2Fappfw.git Update secure logs in FIO Change-Id: I16e57d75c6f37bc5445f361a190c24bbe006fb38 Signed-off-by: Sunwook Bae --- diff --git a/src/io/FIo_FileUtil.cpp b/src/io/FIo_FileUtil.cpp index 5003495..2f00b57 100644 --- a/src/io/FIo_FileUtil.cpp +++ b/src/io/FIo_FileUtil.cpp @@ -334,7 +334,7 @@ _FileUtil::GetAttributes(const String& filePath, FileAttributes& attribute) if (int ret = stat64(pFilePath.get(), &statbuf) == -1) { r = __ConvertNativeErrorToResult(errno); - SysLogException(NID_IO, r, "[%s] Failed to get file (%s) status.", GetErrorMessage(r), pFilePath.get()); + SysSecureLogException(NID_IO, r, "[%s] Failed to get file (%s) status.", GetErrorMessage(r), pFilePath.get()); return r; } diff --git a/src/io/FIo_NormalRegistry.cpp b/src/io/FIo_NormalRegistry.cpp index d65d0ac..7c7452e 100644 --- a/src/io/FIo_NormalRegistry.cpp +++ b/src/io/FIo_NormalRegistry.cpp @@ -71,7 +71,7 @@ _NormalRegistry::Construct(const String& regPath, const char* pOpenMode) SysTryReturnResult(NID_IO, isValidOpenMode == true, E_INVALID_ARG, "The specified openMode is invalid. (%s)", pOpenMode); result r = this->Load(regPath, pOpenMode); - SysTryReturn(NID_IO, !IsFailed(r), r, r, "[%s] Failed to load the registry file (%ls).", + SysSecureTryReturn(NID_IO, !IsFailed(r), r, r, "[%s] Failed to load the registry file (%ls).", GetErrorMessage(r), regPath.GetPointer()); if (_pBuffer && _length >= SECURE_REG_HEADER_SIZE_V1)