diff options
author | Dowon Park <dowon.park@samsung.com> | 2013-05-03 16:16:34 +0900 |
---|---|---|
committer | Dowon Park <dowon.park@samsung.com> | 2013-05-03 16:16:34 +0900 |
commit | 2a6ebaf25bee98c8c5c77bfbfe0c5f0e0420bb25 (patch) | |
tree | 1451227f40dc8ed66ef23fe39726d7b7ae77aa69 | |
parent | 8a6ed2e3bd61209ad741ec91dd144bcaaf507a56 (diff) | |
download | message-app-2a6ebaf25bee98c8c5c77bfbfe0c5f0e0420bb25.tar.gz message-app-2a6ebaf25bee98c8c5c77bfbfe0c5f0e0420bb25.tar.bz2 message-app-2a6ebaf25bee98c8c5c77bfbfe0c5f0e0420bb25.zip |
Apply smack rule to RSA branch
Change-Id: Id781aadc8f3db7774e255292860ebc3f558c2d3d
-rwxr-xr-x | org.tizen.message.manifest | 25 | ||||
-rw-r--r-- | org.tizen.message.rule | 70 | ||||
-rw-r--r--[-rwxr-xr-x] | packaging/org.tizen.message.spec | 4 | ||||
-rw-r--r-- | ug.msg-composer-efl.include | 34 | ||||
-rw-r--r-- | ug.msg-setting-efl.include | 14 | ||||
-rw-r--r-- | ug.msg-viewer-efl.include | 14 |
6 files changed, 138 insertions, 23 deletions
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 @@ <manifest> <define> <domain name="org.tizen.message"/> - <request> - <smack request="ail::db" type="rw"/> - <smack request="system::vconf" type="arwxt"/> - <smack request="system::homedir" type="arwxt"/> - <smack request="xorg" type="w"/> - <smack request="net-config" type="r"/> - <smack request="sound_server" type="rw"/> - <smack request="msg-service" type="rw"/> - <smack request="isf" type="rwx"/> - <smack request="pkgmgr" type="r"/> - <smack request="msg-service::db" type="rw"/> - <smack request="contacts-service" type="rw"/> - <smack request="contacts-service::db" type="rw"/> - <smack request="efreet" type="rx"/> - <smack request="media-data::db" type="rw"/> - </request> - <provide> - <label name="org.tizen.message::vconf"/> - </provide> </define> <assign> - <filesystem path="/usr/share/packages/org.tizen.message.xml" label="_" /> - <filesystem path="/usr/share/applications/org.tizen.message.desktop" label="_" /> - <filesystem path="/usr/share/applications/org.tizen.msg-ui-class0.desktop" label="_" /> - <filesystem path="/usr/share/applications/org.tizen.msg-composer-efl.desktop" label="_" /> <filesystem path="/usr/share/icons/default/small/org.tizen.message.png" label="_" /> + <filesystem path="/usr/ug/lib/*" label="_" /> + <filesystem path="/opt/usr/apps/org.tizen.message/data/*" label="org.tizen.message" /> </assign> <request> <domain name="org.tizen.message"/> 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 index 4118d87..12e6461 100755..100644 --- 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 <jyjeong@samsung.com> 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 |