From b5ccefe8077417eecf84aa41c1b808a1c883b250 Mon Sep 17 00:00:00 2001 From: Jean-Benoit MARTIN Date: Fri, 13 Jun 2014 14:31:05 +0200 Subject: [PATCH] Remove smack rule file smack rule file is not compliante with smack 3 domain model https://wiki.tizen.org/wiki/Security:SmackThreeDomainModel Bug-Tizen: TC-1132 Change-Id: I52fde05a3d1688fd83ddd52e627268e616500269 Signed-off-by: Jean-Benoit MARTIN --- CMakeLists.txt | 2 -- email-service.rule | 25 ------------------------- packaging/email-service.spec | 2 -- 3 files changed, 29 deletions(-) delete mode 100644 email-service.rule diff --git a/CMakeLists.txt b/CMakeLists.txt index b1c8c3e..f699d9b 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,7 +61,5 @@ INSTALL(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/email-service DESTINATION /etc/rc.d # LICENSE file INSTALL(FILES ${CMAKE_SOURCE_DIR}/LICENSE.BSD DESTINATION /usr/share/license RENAME email-service) -INSTALL(FILES ${CMAKE_SOURCE_DIR}/email-service.rule DESTINATION ${TZ_SYS_SMACK}/accesses.d/) - INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/res/ DESTINATION ${TZ_SYS_DATA}/email/res/image FILES_MATCHING PATTERN "*.png") INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/res/ DESTINATION ${TZ_SYS_DATA}/email/res FILES_MATCHING PATTERN "*.sql") diff --git a/email-service.rule b/email-service.rule deleted file mode 100644 index 9b45e1b..0000000 --- a/email-service.rule +++ /dev/null @@ -1,25 +0,0 @@ -email-service email-service::db rw -email-service _ w -email-service system::share rwx -email-service msg-service w -email-service calender-service x -email-service deviced w -email-service system::use_internet w -email-service system::vconf arwxt -email-service system::vconf_inhouse rw -email-service system::vconf_setting r -email-service data-provider-master rw -email-service secure-storage::pkcs12 r -email-service data-provider-master::notification rw -email-service data-provider-master::badge rw -email-service device::app_logging w -email-service device::sys_logging w - -system::use_internet email-service rwx -system::share email-service rwx -webkit2-efl email-service rx - -com.samsung.quickpanel email-service rx -com.samsung.indicator email-service rwx -com.samsung.lockscreen email-service rx -com.samsung.dropbox pkgmgr::db rw diff --git a/packaging/email-service.spec b/packaging/email-service.spec index 6a59609..d1a2d07 100755 --- a/packaging/email-service.spec +++ b/packaging/email-service.spec @@ -84,7 +84,6 @@ export CXXFLAGS="${CXXFLAGS} -fPIC -Wall -g -fvisibility=hidden" export LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--rpath=%{_libdir} -Wl,--as-needed" %cmake . \ --DTZ_SYS_SMACK=%TZ_SYS_SMACK \ -DTZ_SYS_DATA=%TZ_SYS_DATA \ -DTZ_SYS_ETC=%TZ_SYS_ETC \ %if %{test_email_app_enabled} @@ -159,7 +158,6 @@ systemctl daemon-reload %{_datarootdir}/dbus-1/services/email-service.service %{_datarootdir}/license/email-service %attr(0755,root,root) /etc/rc.d/init.d/email-service -%{TZ_SYS_SMACK}/accesses.d/email-service.rule %{_bindir}/email-service_init_db.sh %files devel -- 2.7.4