From d40c5b7134d7e1786ec711f051662b881d8f7ae3 Mon Sep 17 00:00:00 2001 From: "seong.chung" Date: Fri, 11 Apr 2014 22:12:46 +0900 Subject: [PATCH] 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 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 --- CMakeLists.txt | 2 -- org.tizen.memo.rule | 23 ----------------------- packaging/org.tizen.memo.spec | 1 - 3 files changed, 26 deletions(-) delete mode 100755 org.tizen.memo.rule diff --git a/CMakeLists.txt b/CMakeLists.txt index c14f517..0b9cc85 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 index c9aad0d..0000000 --- a/org.tizen.memo.rule +++ /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--- diff --git a/packaging/org.tizen.memo.spec b/packaging/org.tizen.memo.spec index bf6a1fb..de2fe56 100755 --- a/packaging/org.tizen.memo.spec +++ b/packaging/org.tizen.memo.spec @@ -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 -- 2.7.4