From: seong.chung Date: Fri, 11 Apr 2014 08:25:17 +0000 (+0900) Subject: Remove SMACK rule file(.rule) according three domain model X-Git-Tag: submit/tizen/20140430.091316~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a83fcae71c5a91a731263ebda3549f73e4da8c9c;p=platform%2Fcore%2Fconnectivity%2Fbt-syspopup.git 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.bt-syspopup.rule) - Remove install statement about installing rule file described in CMakeLists.txt - Remove file path and name declaration of spec file (packaging/org.tizen.bt-syspopup.spec) Reference site https://wiki.tizen.org/wiki/Security:SmackThreeDomainModel Change-Id: I85b0de743d6fb612013f4afdf7b35062668dbd47 Signed-off-by: seong.chung --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 671ecc6..4cd5fa6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -82,6 +82,5 @@ INSTALL(TARGETS ${PROJECT_NAME} DESTINATION /opt/apps/org.tizen.bt-syspopup/bin) # install desktop file & icon SET(PREFIX ${CMAKE_INSTALL_PREFIX}) INSTALL(FILES ${CMAKE_BINARY_DIR}/data/org.tizen.bt-syspopup.xml DESTINATION /usr/share/packages/) -INSTALL(FILES ${CMAKE_BINARY_DIR}/data/org.tizen.bt-syspopup.rule DESTINATION /opt/etc/smack/accesses.d) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/org.tizen.bt-syspopup.png DESTINATION /opt/share/icons/default/small) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/custom_popup.edj DESTINATION /opt/apps/org.tizen.bt-syspopup/res/edje) diff --git a/data/org.tizen.bt-syspopup.rule b/data/org.tizen.bt-syspopup.rule deleted file mode 100644 index 9ecea79..0000000 --- a/data/org.tizen.bt-syspopup.rule +++ /dev/null @@ -1,22 +0,0 @@ -org.tizen.bt-syspopup system::homedir rwxat -org.tizen.bt-syspopup system::vconf rwxat -org.tizen.bt-syspopup system::media rwxat -org.tizen.bt-syspopup system::share rwxat -org.tizen.app-tray org.tizen.bt-syspopup r-x-- -org.tizen.bt-syspopup pulseaudio rwxat -org.tizen.bt-syspopup sys-assert::core rwxat -e17 org.tizen.bt-syspopup rwx-- -org.tizen.bt-syspopup ug_bluetooth r---- -org.tizen.bt-syspopup system::use_internet r---- -org.tizen.bt-syspopup xorg rw--- -org.tizen.bt-syspopup isf rwx-- -org.tizen.bt-syspopup ail::db rw--- -org.tizen.bt-syspopup syspopup::db rwx-- -org.tizen.bt-syspopup dbus rw--- -org.tizen.bt-syspopup sound_server rw--- -org.tizen.bt-syspopup power_manager -w--- -org.tizen.bt-syspopup immvibed rw--- -org.tizen.bt-syspopup svi-data r-x-- -org.tizen.bt-syspopup ui-gadget::client rw--- -org.tizen.bt-syspopup deviced rwx-- -deviced org.tizen.bt-syspopup rwx-- diff --git a/packaging/org.tizen.bt-syspopup.spec b/packaging/org.tizen.bt-syspopup.spec index 2b34668..e288d54 100644 --- a/packaging/org.tizen.bt-syspopup.spec +++ b/packaging/org.tizen.bt-syspopup.spec @@ -65,7 +65,6 @@ rm -rf %{buildroot} %files %manifest org.tizen.bt-syspopup.manifest -/opt/etc/smack/accesses.d/org.tizen.bt-syspopup.rule %defattr(-,root,root,-) %{_usrdir}/share/packages/org.tizen.bt-syspopup.xml %{_appdir}/org.tizen.bt-syspopup/bin/bt-syspopup