From: Krzysztof Jackiewicz Date: Mon, 20 Apr 2020 06:50:03 +0000 (+0200) Subject: Allow uid change in AppInstallHelper X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Ftest%2Fsecurity-tests.git;a=commitdiff_plain;h=123e12ba16b7908c2c009f5d03085279af1ac1cd Allow uid change in AppInstallHelper Change-Id: I3d329b8afa481e90b367abbaeb80f20bd3cc2a45 --- diff --git a/src/common/app_install_helper.cpp b/src/common/app_install_helper.cpp index 6012c3a..cbc6a8d 100644 --- a/src/common/app_install_helper.cpp +++ b/src/common/app_install_helper.cpp @@ -175,6 +175,10 @@ std::string AppInstallHelper::getVersion() const { return m_version; } +void AppInstallHelper::setUidGid(int uidGid) { + m_uidGid = uidGid; +} + int AppInstallHelper::getUID() const { return m_uidGid; } diff --git a/src/common/app_install_helper.h b/src/common/app_install_helper.h index fbd943c..cc59bc9 100644 --- a/src/common/app_install_helper.h +++ b/src/common/app_install_helper.h @@ -76,6 +76,7 @@ struct AppInstallHelper { // App info getters and setters const std::string& getAppId() const; const std::string& getPkgId() const; + void setUidGid(int uidGid); int getUID() const; int getGID() const; void setVersion(const std::string &version);