Remove SMACK rule file(.rule) according three domain model 16/19416/2 tizen submit/tizen/20140429.223618
authorseong.chung <seong.chung@samsung.com>
Fri, 11 Apr 2014 13:12:46 +0000 (22:12 +0900)
committerSeongwook Chung <seong.chung@samsung.com>
Fri, 11 Apr 2014 13:14:25 +0000 (06:14 -0700)
Since SMACK only allows three labels, "_"(floor), "User", "System"
The labels of current rule file are not appropriate

Solution:
- Remove rule file (org.tizen.memo.rule)
- Remove install statement about installing rule file described in CMakeLists.txt
- Remove file path and name declaration of spec file (packaging/org.tizen.memo.spec)

Reference site
https://wiki.tizen.org/wiki/Security:SmackThreeDomainModel

Change-Id: Ia6fecf8affae823b409a515e4e71066db5f60111
Signed-off-by: seong.chung <seong.chung@samsung.com>
CMakeLists.txt
org.tizen.memo.rule [deleted file]
packaging/org.tizen.memo.spec

index c14f517..0b9cc85 100755 (executable)
@@ -99,8 +99,6 @@ INSTALL(FILES ${CMAKE_SOURCE_DIR}/images/01_header_icon_cancel.png DESTINATION $
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/images/01_header_icon_done.png DESTINATION ${ICONDIR})
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/images/01_header_icon_delete.png DESTINATION ${ICONDIR})
 
-# install SMACK rule file
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/${PKGNAME}.rule DESTINATION /etc/smack/accesses.d)
 
 # i18n
 ADD_SUBDIRECTORY(po)
diff --git a/org.tizen.memo.rule b/org.tizen.memo.rule
deleted file mode 100755 (executable)
index c9aad0d..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-org.tizen.memo system::vconf rwxat
-org.tizen.memo system::homedir rwxat
-org.tizen.memo system::media rwxat
-org.tizen.memo net-config r----
-org.tizen.memo xorg rw---
-org.tizen.memo libslp-memo::db rw---
-org.tizen.memo isf rwx--
-org.tizen.memo msg-service rw---
-org.tizen.memo contacts-service rw---
-org.tizen.memo libaccounts-svc r----
-org.tizen.memo email-service::db rw---
-org.tizen.memo dbus -w---
-org.tizen.memo libaccounts-svc::db rw---
-org.tizen.memo worldclock::db rw---
-org.tizen.memo pkgmgr r----
-org.tizen.memo syspopup::db rw---
-org.tizen.memo contacts-service::db rw---
-org.tizen.memo libug-phone::data rwx--
-org.tizen.memo efreet --x--
-org.tizen.memo media-data::db rw---
-org.tizen.memo app-svc::db rw---
-org.tizen.memo calendar-service::db rw---
-org.tizen.memo email-service -w---
index bf6a1fb..de2fe56 100755 (executable)
@@ -59,7 +59,6 @@ rm -rf %{buildroot}
 
 %files
 %manifest org.tizen.memo.manifest
-/etc/smack/accesses.d/org.tizen.memo.rule
 %defattr(-,root,root,-)
 /usr/apps/org.tizen.memo/*
 /usr/share/packages/org.tizen.memo.xml