Remove smack rule file 62/22962/2 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0_ivi accepted/tizen/common/20141023.081946 accepted/tizen/ivi/20141107.063532 submit/tizen/20141023.054113 submit/tizen_mobile/20141120.000000 tizen_3.0_ivi_release
authorJean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
Fri, 13 Jun 2014 12:31:05 +0000 (14:31 +0200)
committerJean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
Tue, 7 Oct 2014 08:18:39 +0000 (10:18 +0200)
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 <jean-benoit.martin@open.eurogiciel.org>
CMakeLists.txt
email-service.rule [deleted file]
packaging/email-service.spec

index b1c8c3e..f699d9b 100755 (executable)
@@ -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 (file)
index 9b45e1b..0000000
+++ /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
index 6a59609..d1a2d07 100755 (executable)
@@ -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