From cb90f0381ca86a68c46bc36388f412b566069176 Mon Sep 17 00:00:00 2001 From: jongmyeongko Date: Wed, 16 Dec 2015 15:27:12 +0900 Subject: [PATCH] default, apply public privilege to untrusted application Change-Id: I7c376bc5d2b72edc42e6f3fd077066c0aced3de9 Signed-off-by: jongmyeongko --- src/common/step/step_privilege_compatibility.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common/step/step_privilege_compatibility.cc b/src/common/step/step_privilege_compatibility.cc index aa6ed1c..6949008 100644 --- a/src/common/step/step_privilege_compatibility.cc +++ b/src/common/step/step_privilege_compatibility.cc @@ -93,7 +93,10 @@ Step::Status StepPrivilegeCompatibility::process() { strdup(kPrivForPlatform)); break; default: - // No default privileges for untrusted application. + // TODO(jongmyeong.ko): temporarily, public privileges for untrusted application. + context_->manifest_data.get()->privileges = + g_list_append(context_->manifest_data.get()->privileges, + strdup(kPrivForPublic)); break; } if (!ret) { -- 2.7.4