From c109994ce29ad0db1a34cc669a5d0bf647eb9465 Mon Sep 17 00:00:00 2001 From: Jisung Ahn Date: Sat, 11 May 2013 11:40:16 +0900 Subject: [PATCH] apply smack rule Squashed commit of the following: commit 01d498a9f3e7b997dc19cf7ddfb8898fff86f8ac Author: Hyunwoo Kim Date: Wed May 8 14:47:47 2013 +0900 Change smack rule Change-Id: Ie1a2541217ab87ac3ea1ac595b559c964168f668 commit 275f2e5ca1aea9172f0a6f6397be5f9a7ff39751 Author: Hyunwoo Kim Date: Fri May 3 16:50:30 2013 +0900 Apply smack Change-Id: I42099b17a710bbbbf5b1bcd54363518e5c18392a Change-Id: I1f089ef7943c77d97e98f49f55c078d6cec8161b --- CMakeLists.txt | 1 + org.tizen.image-viewer.rule | 153 ++++++++++++++++++++++++++++++++++ packaging/org.tizen.image-viewer.spec | 3 +- 3 files changed, 156 insertions(+), 1 deletion(-) create mode 100755 org.tizen.image-viewer.rule diff --git a/CMakeLists.txt b/CMakeLists.txt index 762c38b..004bb9c 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,6 +46,7 @@ SET(ICONDIR "/usr/share/icons/default/small") SET(EDJDIR "${RESDIR}/edje") INSTALL(FILES ${PKG_NAME}.xml DESTINATION /usr/share/packages) +INSTALL(FILES ${PKG_NAME}.rule DESTINATION /opt/etc/smack/accesses.d) INSTALL(DIRECTORY DESTINATION ${DATADIR}) INSTALL(FILES ${CMAKE_SOURCE_DIR}/res/appicon/${PKG_NAME}.png DESTINATION ${ICONDIR}) diff --git a/org.tizen.image-viewer.rule b/org.tizen.image-viewer.rule new file mode 100755 index 0000000..cfbf238 --- /dev/null +++ b/org.tizen.image-viewer.rule @@ -0,0 +1,153 @@ +org.tizen.image-viewer system::home rwxat +org.tizen.image-viewer system::vconf rwxat +org.tizen.image-viewer system::media rwxat +org.tizen.image-viewer system::homedir rwxat +org.tizen.image-viewer system::share rwxat +org.tizen.image-viewer sys-assert::core rwxat +org.tizen.image-viewer org.tizen.indicator rwx-- +org.tizen.image-viewer isf rwx-- +org.tizen.image-viewer org.tizen.gallery rwxa- +org.tizen.image-viewer cbhm rwx-- +org.tizen.image-viewer sound_server rwx-- +org.tizen.image-viewer ail::db rw--- +org.tizen.image-viewer xorg rwx-- +org.tizen.image-viewer media-data::db rw--- +org.tizen.image-viewer pkgmgr r---- +org.tizen.image-viewer efreet r-x-- +org.tizen.image-viewer system-server rwxa- +org.tizen.image-viewer pulseaudio rwxat +org.tizen.image-viewer org.tizen.setting rwx-- +org.tizen.image-viewer dbus rwxat +org.tizen.image-viewer org.tizen.myfile rw--- +org.tizen.image-viewer ug-image-viewer-efl rwxat +org.tizen.image-viewer stest-service r-x-- +aul org.tizen.image-viewer rwx-- +e17 org.tizen.image-viewer rw--- +org.tizen.myfile org.tizen.image-viewer rwx-- +org.tizen.app-tray org.tizen.image-viewer r-xat +stest-service org.tizen.image-viewer -w--- +org.tizen.image-viewer contacts-service rwx-- +org.tizen.image-viewer org.tizen.gallery-service rwx-- +org.tizen.image-viewer data-provider-master rwx-- +org.tizen.image-viewer allshare::svc rwx-- +org.tizen.image-viewer net-config r-x-- +org.tizen.image-viewer media-server rwx-- +org.tizen.image-viewer system::use_internet rwxat +org.tizen.image-viewer deviced rwxa- +org.tizen.image-viewer dali rwxat +org.tizen.image-viewer csc-manager rwx-- +org.tizen.image-viewer crash-worker --x-- +org.tizen.image-viewer download-provider rw--- +org.tizen.image-viewer msg-service rwx-- +org.tizen.image-viewer cloud-content-sync::db rw--- +org.tizen.image-viewer cloud-content-sync rwx-- +org.tizen.image-viewer drmfw rw--- +org.tizen.image-viewer device::video rw--- +org.tizen.image-viewer device::hwcodec rw--- +org.tizen.image-viewer org.tizen.gallery::web-media.db rwx-- +org.tizen.image-viewer org.tizen.gallery::gallery-media.db rwx-- +org.tizen.image-viewer org.tizen.gallery::face-svc.db rwx-- +org.tizen.image-viewer ug-email-viewer-efl rwx-- +org.tizen.image-viewer email-service rwx-- +org.tizen.image-viewer ug-email-docsearch-efl --x-- +org.tizen.image-viewer camera-external-engine rw--- +isf org.tizen.image-viewer r---- +org.tizen.gallery-service org.tizen.image-viewer rwx-- +org.tizen.cluster-home ug-image-viewer-efl r-x-- +org.tizen.lockscreen ug-image-viewer-efl r-x-- +org.tizen.image-viewer contacts-service::db rw--- +org.tizen.image-viewer device::app_logging -w--- +org.tizen.image-viewer org.tizen.smemo rwx-- +org.tizen.image-viewer ims-service::db rw--- +org.tizen.image-viewer app-svc::db rw--- +org.tizen.image-viewer org.tizen.message rwx-- +org.tizen.image-viewer mdm-server rwx-- +org.tizen.image-viewer ug-msg-composer-efl rwxat +media-server org.tizen.image-viewer -w--- +org.tizen.image-viewer org.tizen.contacts rwx-- +org.tizen.image-viewer org.tizen.cluster-home rwx-- +org.tizen.cluster-home org.tizen.image-viewer r-x-- +context-service org.tizen.image-viewer r-x-- +org.tizen.image-viewer smemo::db rw--- +org.tizen.image-viewer org.tizen.browser rw--- +org.tizen.image-viewer org.tizen.image-editor r---- +org.tizen.image-viewer org.tizen.email rwx-- +org.tizen.image-viewer org.tizen.calendar rwx-- +org.tizen.image-viewer calendar-service rwx-- +org.tizen.image-viewer device::sys_logging -w--- +org.tizen.image-viewer email-service::db rw--- +org.tizen.image-viewer webkit2-efl r-x-- +org.tizen.image-viewer resman::db rw--- +org.tizen.image-viewer map-efl rwxat +org.tizen.image-viewer ug-email-composer-efl rwxat +org.tizen.image-viewer ug_bluetooth r-x-- +org.tizen.image-viewer syspopup::db rwx-- +org.tizen.image-viewer system::app_logging -w--- +org.tizen.image-viewer svi-data r-x-- +org.tizen.image-viewer immvibed rwx-- +org.tizen.image-viewer libaccounts-svc::db rw--- +org.tizen.image-viewer device::camera rw--- +org.tizen.image-viewer device::mdnie rw--- +org.tizen.image-viewer pkgmer::db r---- +org.tizen.image-viewer power_manager rwx-- +org.tizen.image-viewer stt-server rwx-- +org.tizen.image-viewer tts-server rwx-- +org.tizen.image-viewer ug-camera-efl rwxat +org.tizen.image-viewer vcs-server rwx-- +org.tizen.image-viewer image-filter-d::db rw--- +org.tizen.image-viewer location_fw::db rw--- +org.tizen.image-viewer pkgmgr::db rw--- +org.tizen.image-viewer org.tizen.svoice rwxat +org.tizen.image-viewer org.tizen.dropbox r---- +org.tizen.image-viewer org.tizen.facebook r-x-- +org.tizen.image-viewer oma-ds-agent rwx-- +oma-ds-agent org.tizen.image-viewer rwx-- +org.tizen.image-viewer oma-ds-agent::cfg rwxat +org.tizen.setting org.tizen.image-viewer r-x-- +org.tizen.setting oma-ds-agent::cfg rwx-- +system::use_internet oma-ds-agent rwx-- +oma-ds-agent system::use_internet rwx-- +org.tizen.image-viewer syslogd rwx-- +org.tizen.image-viewer e17 r---- +org.tizen.image-viewer dlogutil r-x-- +org.tizen.image-viewer telephony_framework r-x-- +org.tizen.image-viewer aul r-x-- +org.tizen.image-viewer ode r-x-- +org.tizen.image-viewer sensor-framework r-x-- +org.tizen.image-viewer secure-storage r-x-- +org.tizen.image-viewer starter r-x-- +org.tizen.image-viewer osp-app-service r-x-- +org.tizen.image-viewer osp-security-service r-x-- +org.tizen.image-viewer osp-channel-service r-x-- +org.tizen.image-viewer org.tizen.app-tray r-x-- +org.tizen.image-viewer org.tizen.quickpanel r-x-- +org.tizen.image-viewer connman rwx-- +org.tizen.image-viewer mobicore-daemon r-x-- +org.tizen.image-viewer alarm-server rwx-- +org.tizen.image-viewer brcm_daemon r-x-- +org.tizen.image-viewer resman r-x-- +org.tizen.image-viewer osp-connectivity-service rwx-- +org.tizen.image-viewer push-service rwx-- +org.tizen.image-viewer eas-engine rwx-- +org.tizen.image-viewer org.tizen.data-provider-slave rwx-- +org.tizen.image-viewer usb-server rwx-- +org.tizen.image-viewer mtp-responder rwx-- +org.tizen.image-viewer sdbd rwx-- +org.tizen.image-viewer org.tizen.volume rwx-- +org.tizen.image-viewer samsung-account-front r-x-- +org.tizen.image-viewer worldclock::db rw--- +org.tizen.image-viewer thumb-server r---- +org.tizen.image-viewer location_fw::client rwx-- +org.tizen.image-viewer org.tizen.smartsearch --x-- +org.tizen.image-viewer ug-map-efl rwxat +system::use_internet org.tizen.image-viewer -w--- +org.tizen.image-viewer obexd r-x-- +org.tizen.image-viewer phone-misc::db rw--- +org.tizen.image-viewer msg-service::db rw--- +org.tizen.image-viewer ug-msg-viewer-efl rwxat +org.tizen.image-viewer org.tizen.fileshare-service rwxat +org.tizen.image-viewer wifi_direct_manager rw--- +org.tizen.fileshare-service org.tizen.image-viewer r---- +org.tizen.image-viewer nfc-manager rwx-- +org.tizen.image-viewer nfc-manager::p2p rwx-- +org.tizen.image-viewer nfc-manager::admin rwx-- diff --git a/packaging/org.tizen.image-viewer.spec b/packaging/org.tizen.image-viewer.spec index fa6b3fd..e73ce83 100755 --- a/packaging/org.tizen.image-viewer.spec +++ b/packaging/org.tizen.image-viewer.spec @@ -1,6 +1,6 @@ Name: org.tizen.image-viewer Summary: Image Viewer Application v1.0 -Version: 1.0.81 +Version: 1.0.83 Release: 1 Group: misc License: Flora Software License @@ -50,6 +50,7 @@ mkdir -p %{buildroot}/usr/share/license %files %defattr(-,root,root,-) %manifest org.tizen.image-viewer.manifest +/opt/etc/smack/accesses.d/org.tizen.image-viewer.rule /usr/apps/org.tizen.image-viewer/* /usr/share/icons/default/small/org.tizen.image-viewer.png /usr/share/packages/org.tizen.image-viewer.xml -- 2.7.4