From 3c9786a516ee2c85e41bc3b830cc9aa05d4527f9 Mon Sep 17 00:00:00 2001 From: Zofia Abramowska Date: Fri, 24 Apr 2020 17:29:03 +0200 Subject: [PATCH] Don't assume that default privilege Smack rules template exists Change-Id: I03c0fadeaf95885d191937d8c3e04fde70de047b --- src/common/template-manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/template-manager.cpp b/src/common/template-manager.cpp index 605d9ee..c41fa69 100644 --- a/src/common/template-manager.cpp +++ b/src/common/template-manager.cpp @@ -99,7 +99,7 @@ void TemplateManager::loadFiles() } std::vector types = {Type::APP_RULES_TEMPLATE, Type::PKG_RULES_TEMPLATE, - Type::AUTHOR_RULES_TEMPLATE, Type::PRIV_DEFAULT_RULES_TEMPLATE}; + Type::AUTHOR_RULES_TEMPLATE}; for (auto &type : types) { auto path = getPolicyFile(type); m_templateRules[path] = Smack::fromConfig(path); -- 2.7.4