diff options
author | Seongwook Chung <seong.chung@samsung.com> | 2016-05-04 14:13:41 +0900 |
---|---|---|
committer | Seongwook Chung <seong.chung@samsung.com> | 2016-05-03 22:22:46 -0700 |
commit | 3c4cbb43901c9cc628ec56a93c207c5704bad312 (patch) | |
tree | a7bf0d68a057ccad386f0724bd67c5ebeb6cf139 | |
parent | 27034d78a2c95c3074b8a7ea52af5bd1eefce3bf (diff) | |
download | tizen-platform-config-3c4cbb43901c9cc628ec56a93c207c5704bad312.tar.gz tizen-platform-config-3c4cbb43901c9cc628ec56a93c207c5704bad312.tar.bz2 tizen-platform-config-3c4cbb43901c9cc628ec56a93c207c5704bad312.zip |
Change smack label of /opt/etc from floor to System::Sharedsubmit/tizen/20160511.084111accepted/tizen/wearable/20160512.051028accepted/tizen/tv/20160512.051007accepted/tizen/mobile/20160512.051045accepted/tizen/ivi/20160512.051017accepted/tizen/common/20160512.143724
Since daemon running with "System" smack label needs to write/create file into /opt/etc in runtime, change smack label of /opt/etc/ from floor to "System::Shared"
Only daemon running as "System" label can write file.
(Accepted smack rule : System System::Shared rwxat)
On the other hand, daemon running as "User" label cannot write, only can read.
(Accepted smack rule : User System::Shared rxl)
Change-Id: I950d3eee2504a7d0432d0063a206cea669febcd3
Signed-off-by: Seongwook Chung <seong.chung@samsung.com>
-rw-r--r-- | packaging/tizen-platform-config.spec | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/tizen-platform-config.spec b/packaging/tizen-platform-config.spec index e3bc223..91b51ed 100644 --- a/packaging/tizen-platform-config.spec +++ b/packaging/tizen-platform-config.spec @@ -117,6 +117,9 @@ $TZ_USER_APP/xwalk-service SMACK System::Shared true $TZ_USER_DESKTOP +SMACK System::Shared false +$TZ_SYS_ETC + ENDOFCAT while read s1 s2 s3; do case "$s1" in |