From 2a6ebaf25bee98c8c5c77bfbfe0c5f0e0420bb25 Mon Sep 17 00:00:00 2001 From: Dowon Park Date: Fri, 3 May 2013 16:16:34 +0900 Subject: Apply smack rule to RSA branch Change-Id: Id781aadc8f3db7774e255292860ebc3f558c2d3d --- org.tizen.message.manifest | 25 ++------------ org.tizen.message.rule | 70 ++++++++++++++++++++++++++++++++++++++++ packaging/org.tizen.message.spec | 4 +++ ug.msg-composer-efl.include | 34 +++++++++++++++++++ ug.msg-setting-efl.include | 14 ++++++++ ug.msg-viewer-efl.include | 14 ++++++++ 6 files changed, 138 insertions(+), 23 deletions(-) create mode 100644 org.tizen.message.rule mode change 100755 => 100644 packaging/org.tizen.message.spec create mode 100644 ug.msg-composer-efl.include create mode 100644 ug.msg-setting-efl.include create mode 100644 ug.msg-viewer-efl.include diff --git a/org.tizen.message.manifest b/org.tizen.message.manifest index 44fa9d1..acf0270 100755 --- a/org.tizen.message.manifest +++ b/org.tizen.message.manifest @@ -1,32 +1,11 @@ - - - - - - - - - - - - - - - - - - - - - - + + diff --git a/org.tizen.message.rule b/org.tizen.message.rule new file mode 100644 index 0000000..a14b44b --- /dev/null +++ b/org.tizen.message.rule @@ -0,0 +1,70 @@ +#subject rule +org.tizen.message xorg rw +org.tizen.message isf rwx +org.tizen.message dbus rwx +org.tizen.message efreet rx +org.tizen.message ail::db rw +org.tizen.message system::vconf rwxat +org.tizen.message system::homedir rwxat +org.tizen.message system::use_internet rw +org.tizen.message system::media rwxat +org.tizen.message system::share rwxat +org.tizen.message pulseaudio rwxat +org.tizen.message contacts-service rwx +org.tizen.message calendar-service rwx +#org.tizen.message sound_server rw +org.tizen.message msg-service rwx +org.tizen.message media-server rwx +org.tizen.message msg-service::db rw +org.tizen.message contacts-service::db rw +#org.tizen.message media-data::db rwx +org.tizen.message app-svc::db rw +#org.tizen.message ims-service::db rw +org.tizen.message libaccounts-svc::db rw +org.tizen.message org.tizen.memo rx +org.tizen.message org.tizen.indicator rw +org.tizen.message org.tizen.contacts rwx +org.tizen.message org.tizen.gallery rwx +org.tizen.message org.tizen.calendar rwx +org.tizen.message org.tizen.music-player rwx +org.tizen.message org.tizen.setting rw +#org.tizen.message csc-manager x +org.tizen.message org.tizen.data-provider-slave r +org.tizen.message data-provider-master rw +org.tizen.message sys-assert::info wx +org.tizen.message sys-assert::core rwxat +org.tizen.message system-server rwa +#org.tizen.message deviced rwa +#org.tizen.message ug-launcher rwx +#org.tizen.message stest-service w +#org.tizen.message phone-misc::db rw + +#object rule +isf org.tizen.message x +e17 org.tizen.message w +aul org.tizen.message rx +system::use_internet org.tizen.message w +media-server org.tizen.message w +#stest-service org.tizen.message rx +#org.tizen.app-tray org.tizen.message rx +org.tizen.data-provider-slave org.tizen.message rx +org.tizen.quickpanel org.tizen.message rwx +org.tizen.indicator org.tizen.message rwx +org.tizen.lockscreen org.tizen.message rx +#org.tizen.dailybriefing-agent org.tizen.message x +org.tizen.volume org.tizen.message x +#tts-server org.tizen.message rw + +#livebox rule +#org.tizen.data-provider-slave csc-manager rw +#org.tizen.data-provider-slave msg-service w +#org.tizen.data-provider-slave msg-service::db rw + +#ug include rule +org.tizen.message ug.msg-composer-efl include +org.tizen.message ug.msg-viewer-efl include +org.tizen.message ug.msg-setting-efl include +org.tizen.message ug.myfile-efl include + +#csr db file +#org.tizen.message sec_db rwx diff --git a/packaging/org.tizen.message.spec b/packaging/org.tizen.message.spec old mode 100755 new mode 100644 index 4118d87..12e6461 --- a/packaging/org.tizen.message.spec +++ b/packaging/org.tizen.message.spec @@ -92,6 +92,10 @@ ln -sf /usr/bin/ug-client /usr/ug/bin/msg-composer-efl %dir /opt/usr/apps/org.tizen.message/data /usr/share/icons/default/small/*.png /usr/share/license/%{name} +/etc/smack/accesses2.d/org.tizen.message.rule +/etc/smack/accesses2.d/ug.msg-composer-efl.include +/etc/smack/accesses2.d/ug.msg-viewer-efl.include +/etc/smack/accesses2.d/ug.msg-setting-efl.include %changelog * Fri May 3 2013 Jaeyun Jeong diff --git a/ug.msg-composer-efl.include b/ug.msg-composer-efl.include new file mode 100644 index 0000000..76ba348 --- /dev/null +++ b/ug.msg-composer-efl.include @@ -0,0 +1,34 @@ +#subject rule +$1 xorg rw +$1 isf rwx +$1 dbus wx +$1 system::vconf rwxat +$1 contacts-service rx +$1 contacts-service::db rw +#$1 device::app_logging w +$1 system::use_internet r +$1 system::media rwxat +#$1 csc-manager x +$1 com.samsung.indicator rw +$1 ail::db rw +$1 media-data::db rw +$1 org.tizen.memo rx +$1 org.tizen.gallery rwx +$1 media-server rw +#$1 ims-service::db rw +$1 app-svc::db rw +#$1 sound_server rw +$1 org.tizen.message rx +$1 msg-service wx + +#object rule +e17 $1 w +media-server $1 w + +#ug include rule +$1 ug.gallery-efl include +$1 ug.memo-efl include +$1 ug.contacts-tabui-efl include +$1 ug.contacts-details-efl include +$1 ug.contacts-list-efl include +$1 ug.msg-viewer-efl include diff --git a/ug.msg-setting-efl.include b/ug.msg-setting-efl.include new file mode 100644 index 0000000..80198c3 --- /dev/null +++ b/ug.msg-setting-efl.include @@ -0,0 +1,14 @@ +#subject rule +$1 dbus r +$1 efreet rx +$1 pulseaudio rwxat +$1 org.tizen.indicator w +$1 contacts-service x +$1 system::vconf rwxat +$1 msg-service::db rw +$1 org.tizen.contacts r +$1 org.tizen.message w +$1 libaccounts-svc::db rw + +#object rule +aul $1 rx diff --git a/ug.msg-viewer-efl.include b/ug.msg-viewer-efl.include new file mode 100644 index 0000000..823e183 --- /dev/null +++ b/ug.msg-viewer-efl.include @@ -0,0 +1,14 @@ +#subject rule +$1 dbus r +$1 pulseaudio rwxat +$1 system::vconf rwxat +$1 org.tizen.indicator rw +$1 contacts-service rwx +$1 contacts-service::db rw +$1 org.tizen.message rwx +$1 libaccounts-svc::db rw +$1 msg-service::db rw + +#ug include rule +$1 ug.contacts-details-efl include +$1 ug.contacts-list-efl include -- cgit v1.2.3