summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseong.chung <seong.chung@samsung.com>2014-04-11 15:27:56 +0900
committerSeongwook Chung <seong.chung@samsung.com>2014-04-10 23:29:30 -0700
commita9eed6a734a4ff3275deb7676e2ea1c5cda4e38f (patch)
treebe7286389502c9af44de71091ebc364dec06ffab
parent3da8ed3325647f8eaf0f916443b0cb65a9bb10cf (diff)
downloadmsg-service-a9eed6a734a4ff3275deb7676e2ea1c5cda4e38f.tar.gz
msg-service-a9eed6a734a4ff3275deb7676e2ea1c5cda4e38f.tar.bz2
msg-service-a9eed6a734a4ff3275deb7676e2ea1c5cda4e38f.zip
Since SMACK only allows three labels, "_"(floor), "User", "System" The labels of current rule file are not appropriate Result : - Remove rule file - Remove file declaration statement of spec file - Remove install statement declared in CMakeList.txt Reference site https://wiki.tizen.org/wiki/Security:SmackThreeDomainModel Change-Id: I87c1bc9c1a2b3129f6c56cf7765c5ee89dc75578 Signed-off-by: seong.chung <seong.chung@samsung.com>
-rwxr-xr-xCMakeLists.txt2
-rw-r--r--msg-service.rule10
-rwxr-xr-xpackaging/msg-service.spec1
3 files changed, 0 insertions, 13 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 239d555..186ffea 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -64,8 +64,6 @@ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/packaging/msg-service-log.service DEST
# LICENSE file
INSTALL(FILES ${CMAKE_SOURCE_DIR}/LICENSE.Flora DESTINATION /usr/share/license/msg-service)
-# SMACK rule file
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/msg-service.rule DESTINATION /opt/etc/smack/accesses.d/)
#Install sysinfo file to provide which features are supported.
INSTALL(FILES ${CMAKE_SOURCE_DIR}/sysinfo-message.xml DESTINATION /etc/config)
diff --git a/msg-service.rule b/msg-service.rule
deleted file mode 100644
index 0224f75..0000000
--- a/msg-service.rule
+++ /dev/null
@@ -1,10 +0,0 @@
-msg-service msg-service::db rw
-msg-service system::use_internet rw
-msg-service media-server rw
-msg-service system::vconf arwxt
-
-system::use_internet msg-service rwx
-
-com.samsung.quickpanel msg-service rx
-com.samsung.indicator msg-service rwx
-com.samsung.lockscreen msg-service rx
diff --git a/packaging/msg-service.spec b/packaging/msg-service.spec
index f539136..59de993 100755
--- a/packaging/msg-service.spec
+++ b/packaging/msg-service.spec
@@ -545,7 +545,6 @@ fi
%{_unitdir_user}/tizen-middleware.target.wants/msg-service.service
%{_unitdir_user}/tizen-middleware.target.wants/msg-service-log.service
/usr/share/license/msg-service/LICENSE.Flora
-/opt/etc/smack/accesses.d/msg-service.rule
/etc/config/sysinfo-message.xml
%attr(0755,app,app)/var/log/msgfw