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>
# 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)
+++ /dev/null
-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
%{_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