//
-// Open Service Platform
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
String
_FileImpl::GetFileName(const String& filePath)
{
- String fileName;
- SysTryReturn(NID_IO, VerifyFilePathCompatibility(filePath, _AppInfo::IsOspCompat()) == true, fileName, E_INVALID_ARG,
- "[E_INVALID_ARG] The length of the specified filePath (%ls) is zero or exceeds system limitations.",
- filePath.GetPointer());
-
return _FileUtil::GetFileName(filePath);
}
String
_FileImpl::GetFileExtension(const String& filePath)
{
- String extName;
- SysTryReturn(NID_IO, VerifyFilePathCompatibility(filePath, _AppInfo::IsOspCompat()) == true, extName, E_INVALID_ARG,
- "[E_INVALID_ARG] The length of the specified filePath (%ls) is zero or exceeds system limitations.",
- filePath.GetPointer());
-
return _FileUtil::GetFileExtension(filePath);
}
bool internalInstalled = true;
result r = E_SUCCESS;
- SysLog(NID_IO, "[data_caging] PrepareDataCaging() was called by installer backend, appRootPath: %ls, packageId: %ls",
+ SysSecureLog(NID_IO, "[data_caging] PrepareDataCaging() was called by installer backend, appRootPath: %ls, packageId: %ls",
appRootPath.GetPointer(), pkgId.GetPointer());
if (CleanDirectories(appRootPath, pkgId) == false)
//{ "./packaging" },
{ "./proc" },
{ "./sbin" },
+ { "./smack" },
{ "./srv" },
{ "./sys/kernel/debug" },
{ "./sys" },
//{ "./packaging", 0000, false },
{ "./proc", 0000, false },
{ "./sbin", 0000, false },
+ { "./smack", 0000, false },
{ "./srv", 0000, false },
{ "./sys", 0000, false },
{ "./tmp", 0000, false },