diff options
author | jaduk.koo <jaduk.koo@samsung.com> | 2013-05-04 17:08:15 +0900 |
---|---|---|
committer | jaduk.koo <jaduk.koo@samsung.com> | 2013-05-04 17:11:39 +0900 |
commit | da016006d48f00d10859ff29c2f4e569cb1f73ff (patch) | |
tree | f75f3a58148ccb4750002240b69acdd7c8d8439a | |
parent | c1cd3c4c3caf8de6fd4a6ae175226370dfb21e3c (diff) | |
download | sat-ui-da016006d48f00d10859ff29c2f4e569cb1f73ff.tar.gz sat-ui-da016006d48f00d10859ff29c2f4e569cb1f73ff.tar.bz2 sat-ui-da016006d48f00d10859ff29c2f4e569cb1f73ff.zip |
Apply SMACK rule for RSA
Change-Id: Ic1f9f290eb2b012e275851b881e0436fc6e22e8d
-rwxr-xr-x | CMakeLists.txt | 4 | ||||
-rwxr-xr-x | org.tizen.sat-ui.rule | 26 | ||||
-rwxr-xr-x[-rw-r--r--] | packaging/org.tizen.sat-ui.spec | 2 |
3 files changed, 29 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b470b04..fd44bce 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -106,8 +106,8 @@ INSTALL(FILES ${CMAKE_BINARY_DIR}/data/${PKG_NAME}.service DESTINATION /usr/shar # install application HOME directory INSTALL(DIRECTORY DESTINATION ${DATADIR}) -# install ini file -INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/${PROJECT_NAME}.ini DESTINATION /usr/share/process-info) +# install SMACK rule file +install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${PKG_NAME}.rule DESTINATION /etc/smack/accesses2.d) # i18n ADD_SUBDIRECTORY(po) diff --git a/org.tizen.sat-ui.rule b/org.tizen.sat-ui.rule new file mode 100755 index 0000000..e167c11 --- /dev/null +++ b/org.tizen.sat-ui.rule @@ -0,0 +1,26 @@ +org.tizen.sat-ui system::homedir rwxat +org.tizen.sat-ui system::vconf rwxat +org.tizen.sat-ui system::media rwxat +org.tizen.sat-ui system::share rwxat +org.tizen.sat-ui pulseaudio rwxat +org.tizen.sat-ui sys-assert::core rwxat +stest-service org.tizen.sat-ui rx +org.tizen.sat-ui stest-service w +org.tizen.sat-ui device::app_logging w + +org.tizen.app-tray org.tizen.sat-ui rx +e17 org.tizen.sat-ui w +org.tizen.quickpanel org.tizen.sat-ui rx +org.tizen.indicator org.tizen.sat-ui rwx +org.tizen.lockscreen org.tizen.sat-ui rx + +org.tizen.sat-ui org.tizen.indicator rw +org.tizen.sat-ui xorg rw +org.tizen.sat-ui isf rwx +org.tizen.sat-ui ail::db rw +org.tizen.sat-ui sound_server rw +org.tizen.sat-ui dbus rwx +org.tizen.sat-ui system::use_internet r +org.tizen.sat-ui power_manager w +org.tizen.sat-ui deviced w +org.tizen.sat-ui notification::db rw diff --git a/packaging/org.tizen.sat-ui.spec b/packaging/org.tizen.sat-ui.spec index 2495b3d..578ea5b 100644..100755 --- a/packaging/org.tizen.sat-ui.spec +++ b/packaging/org.tizen.sat-ui.spec @@ -59,5 +59,5 @@ vconftool set -t string memory/sat/idle_text "" -i -f -g 6514 /usr/apps/%{name}/res/media/*.wav /usr/share/dbus-1/services/org.tizen.sat-event-downloader.service /usr/share/dbus-1/services/%{name}.service -/usr/share/process-info/sat-ui.ini /usr/share/icons/default/small/%{name}.png +/etc/smack/accesses2.d/%{name}.rule
\ No newline at end of file |