summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhhh.kwon <hhh.kwon@samsung.com>2013-06-11 05:51:03 (GMT)
committerhhh.kwon <hhh.kwon@samsung.com>2013-06-11 05:51:03 (GMT)
commit6423bf0da5a46a12c95a36f236a7d7dfe53d8bd4 (patch)
tree8a5f1f7d6eb3ab4b0c32f20556a965c2c0f88e90
parenta4f7c6920c024d37b8aaf20d9048a5a5666229bd (diff)
downloadstarter-6423bf0da5a46a12c95a36f236a7d7dfe53d8bd4.zip
starter-6423bf0da5a46a12c95a36f236a7d7dfe53d8bd4.tar.gz
starter-6423bf0da5a46a12c95a36f236a7d7dfe53d8bd4.tar.bz2
Append rule file for smack.
-rwxr-xr-xCMakeLists.txt2
-rw-r--r--packaging/starter.spec1
-rw-r--r--starter.rule9
3 files changed, 12 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 59a317e..df8139e 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -89,6 +89,8 @@ SET(LOCK_SETTING lock-setting)
ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/${LOCK_SETTING})
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/starter.rule DESTINATION /etc/smack/accesses.d)
+
# install desktop file & icon
#CONFIGURE_FILE(${PROJECT_NAME}.desktop.in ${PROJECT_NAME}.desktop)
#INSTALL(FILES ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.desktop DESTINATION share/applications)
diff --git a/packaging/starter.spec b/packaging/starter.spec
index 612bdc5..915d279 100644
--- a/packaging/starter.spec
+++ b/packaging/starter.spec
@@ -111,3 +111,4 @@ ln -sf /etc/init.d/rd3starter /etc/rc.d/rc3.d/S43starter
%{_libdir}/systemd/user/sockets.target.wants/starter.socket
/usr/share/license/%{name}
/opt/data/home-daemon
+/etc/smack/accesses.d/starter.rule
diff --git a/starter.rule b/starter.rule
new file mode 100644
index 0000000..3f3c94c
--- /dev/null
+++ b/starter.rule
@@ -0,0 +1,9 @@
+starter mobileprint x
+starter svi-data rx
+starter system::homedir rx
+starter system::use_internet r
+starter isf rx
+starter system::vconf rwx
+starter _ w
+starter org.tizen.clock rwx
+starter syspopup::db rw