Remove SMACK rule file(.rule) according three domain model 58/19358/2 accepted/tizen/common/20140506.144139 accepted/tizen/ivi/20140519.063559 submit/tizen/20140502.105814
authorseong.chung <seong.chung@samsung.com>
Fri, 11 Apr 2014 06:27:56 +0000 (15:27 +0900)
committerSeongwook Chung <seong.chung@samsung.com>
Fri, 11 Apr 2014 06:29:30 +0000 (23:29 -0700)
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>
CMakeLists.txt
msg-service.rule [deleted file]
packaging/msg-service.spec

index 239d555..186ffea 100755 (executable)
@@ -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 (file)
index 0224f75..0000000
+++ /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
index f539136..59de993 100755 (executable)
@@ -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