#include <memory.h>
#include <sm_db.h>
#include <temp_test_user.h>
+#include <tzplatform.h>
DEFINE_SMARTPTR(cap_free, _cap_struct, CapsSetsUniquePtr);
extern const privileges_t SM_DENIED_PRIVILEGES;
extern const privileges_t SM_NO_PRIVILEGES;
extern const std::vector<std::string> SM_ALLOWED_GROUPS;
-static const char *const SM_RW_PATH = "/opt/usr/apps/sm_test_02_pkg_id_full/app_dir";
+const std::string SM_RW_PATH =
+ TzPlatformConfig::globalAppDir() + "/sm_test_02_pkg_id_full/app_dir";
const std::string uidToStr(const uid_t uid);