From: seong.chung Date: Fri, 11 Apr 2014 06:27:56 +0000 (+0900) Subject: Remove SMACK rule file(.rule) according three domain model X-Git-Tag: submit/tizen/20140502.105814^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F58%2F19358%2F2;p=platform%2Fcore%2Fmessaging%2Fmsg-service.git Remove SMACK rule file(.rule) according three domain model 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 --- 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