Add privilege-Smack mapping 62/224862/13
authorZofia Grzelewska <z.abramowska@samsung.com>
Wed, 12 Feb 2020 17:50:21 +0000 (18:50 +0100)
committerZofia Abramowska <z.abramowska@samsung.com>
Fri, 17 Apr 2020 10:27:26 +0000 (12:27 +0200)
commit8a6f4495da807157f597eff29294d56191e7ebe6
tree09481fe836cb0c9e94f827064de433a7e9944aaa
parent09b630dde16d38a8d4d3cba4901ae7f993c8b2e6
Add privilege-Smack mapping

Add privilege-Smack mapping configuration:
* privilege-smack.list which describes privilege mapping
  to Smack label and Smack rules template
* priv-rules-default-template.smack which is an example
  of Smack rules template for privilege
* this implementation currently only applies policy on
  application launch (no runtime policy changes modify it)
and draft implementation.

IMPORTANT: This mechanism can be used, when *only one* user
           is used on Tizen.

Change-Id: Iafc999793e6fe465279d0e63ca087ae6b836181a
CMakeLists.txt
policy/CMakeLists.txt
policy/priv-rules-default-template.smack [new file with mode: 0644]
policy/privilege-smack.list [new file with mode: 0644]
src/common/include/config.h
src/common/include/service_impl.h
src/common/include/smack-rules.h
src/common/service_impl.cpp
src/common/smack-rules.cpp
src/server/service/service.cpp