From: Jaeho Lee Date: Fri, 3 May 2013 07:25:30 +0000 (+0900) Subject: added smack rule file X-Git-Tag: submit/tizen_2.1/20130514.053509^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f8ed5260fb6ecd822bbf7e497f14b6d2c0886936;p=apps%2Fcore%2Fpreloaded%2Fapp-selector.git added smack rule file Signed-off-by: Jaeho Lee --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 6cbc88e..a8821bb 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,6 +65,9 @@ INSTALL(FILES ${CMAKE_BINARY_DIR}/app-selector.edj DESTINATION ${EDJDIR}) CONFIGURE_FILE(${PKGNAME}.xml.in ${CMAKE_BINARY_DIR}/${PKGNAME}.xml) INSTALL(FILES ${CMAKE_BINARY_DIR}/${PKGNAME}.xml DESTINATION /usr/share/packages) +# install smack rule +INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.app-selector.rule DESTINATION /etc/smack/accesses2.d) + # i18n ADD_SUBDIRECTORY(po) diff --git a/org.tizen.app-selector.rule b/org.tizen.app-selector.rule new file mode 100644 index 0000000..fb481cc --- /dev/null +++ b/org.tizen.app-selector.rule @@ -0,0 +1,18 @@ +org.tizen.app-selector system::homedir rwxat +org.tizen.app-selector system::vconf rwxat +org.tizen.app-selector system::media rwxat +org.tizen.app-selector system::share rwxat +org.tizen.app-selector system::use_internet r +org.tizen.app-selector pulseaudio rwxat +org.tizen.app-selector sys-assert::core rwxat +org.tizen.app-selector xorg rw +org.tizen.app-selector isf r +org.tizen.app-selector syslogd w +org.tizen.app-selector ail::db rw +org.tizen.app-selector net.wifi-qs x +org.tizen.app-selector sound_server rw +org.tizen.app-selector dbus r +e17 org.tizen.app-selector w +stest-service org.tizen.app-selector rx +org.tizen.app-selector stest-service w +org.tizen.app-selector app-svc::db rw diff --git a/packaging/org.tizen.app-selector.spec b/packaging/org.tizen.app-selector.spec index e6e1f67..bd0908a 100755 --- a/packaging/org.tizen.app-selector.spec +++ b/packaging/org.tizen.app-selector.spec @@ -50,3 +50,4 @@ rm -rf %{buildroot} /usr/share/edje/app-selector/app-selector.edj /usr/share/packages/org.tizen.app-selector.xml /usr/share/locale/*/LC_MESSAGES/*.mo +/etc/smack/accesses2.d/org.tizen.app-selector.rule