From 61cb93d1912bcbd7137d9e93ee991a9872d4a8a0 Mon Sep 17 00:00:00 2001 From: Tomasz Iwanek Date: Tue, 17 Mar 2015 14:48:55 +0100 Subject: [PATCH] [Security] Fix passing path in StepRevokeSecurity::undo() RegisterSecurityContextForApps() takes path to the root of application (where the index.html is located). Same as in: https://review.tizen.org/gerrit/#/c/36757/ Change-Id: Id46a569e4d140951edeecf7e7fba1c377c2b2daf --- src/common/step/step_revoke_security.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/step/step_revoke_security.cc b/src/common/step/step_revoke_security.cc index 9b1fb4e..3db369c 100644 --- a/src/common/step/step_revoke_security.cc +++ b/src/common/step/step_revoke_security.cc @@ -22,7 +22,7 @@ Step::Status StepRevokeSecurity::process() { Step::Status StepRevokeSecurity::undo() { if (!RegisterSecurityContextForApps( - context_->pkgid(), context_->GetRootApplicationPath(), + context_->pkgid(), context_->GetApplicationPath(), context_->manifest_data())) { LOG(ERROR) << "Failure on re-installing security context for app " << context_->pkgid(); -- 2.7.4