Apply smack rule.
authorhhh.kwon <hhh.kwon@samsung.com>
Fri, 3 May 2013 13:01:04 +0000 (22:01 +0900)
committerhhh.kwon <hhh.kwon@samsung.com>
Fri, 3 May 2013 13:07:40 +0000 (22:07 +0900)
Change-Id: I12341f2531f85ed774904fc4e0919e9bd471a0ad

CMakeLists.txt
org.tizen.lockscreen.rule [new file with mode: 0644]
packaging/org.tizen.lockscreen.spec

index 532882a..2ed5f4b 100755 (executable)
@@ -105,6 +105,8 @@ INSTALL(FILES ${CMAKE_BINARY_DIR}/lockscreen-entry.edj DESTINATION ${EDJEDIR})
 CONFIGURE_FILE(${PKGNAME}.xml.in ${CMAKE_BINARY_DIR}/${PKGNAME}.xml)
 INSTALL(FILES ${CMAKE_BINARY_DIR}/${PKGNAME}.xml DESTINATION ${MANIFESTXMLDIR})
 
+#Install smack file
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/${PKGNAME}.rule DESTINATION /etc/smack/accesses2.d)
 INSTALL(DIRECTORY DESTINATION ${DATADIR})
 
-ADD_SUBDIRECTORY(po)
\ No newline at end of file
+ADD_SUBDIRECTORY(po)
diff --git a/org.tizen.lockscreen.rule b/org.tizen.lockscreen.rule
new file mode 100644 (file)
index 0000000..8150ee2
--- /dev/null
@@ -0,0 +1,30 @@
+org.tizen.lockscreen _ w
+org.tizen.lockscreen cbhm r
+org.tizen.lockscreen ail::db rw
+org.tizen.lockscreen system::vconf rwxat
+org.tizen.lockscreen system::homedir rwxat
+org.tizen.lockscreen system::media rwxat
+org.tizen.lockscreen system::share rwxat
+org.tizen.lockscreen pulseaudio rwxat
+org.tizen.lockscreen starter w
+org.tizen.lockscreen xorg rwx
+org.tizen.lockscreen isf rwx
+org.tizen.lockscreen notification::db rw
+org.tizen.lockscreen immvibed rw
+org.tizen.lockscreen org.tizen.indicator rw
+org.tizen.lockscreen org.tizen.phone r
+org.tizen.lockscreen org.tizen.volume x
+org.tizen.lockscreen dbus wx
+org.tizen.lockscreen system-server rx
+org.tizen.lockscreen sound_server w
+org.tizen.lockscreen msg-service w
+org.tizen.lockscreen svi-data rx
+org.tizen.lockscreen csc-manager x
+org.tizen.lockscreen e17 rx
+e17 org.tizen.lockscreen w
+aul org.tizen.lockscreen rx
+dbug org.tizen.lockscreen rwx
+org.tizen.cluster-home org.tizen.lockscreen w
+org.tizen.lockscreen sys-assert::core rwxat
+org.tizen.lockscreen data-provider-master rw
+org.tizen.lockscreen mdm-server w
index 4801280..b910eb4 100755 (executable)
@@ -53,3 +53,4 @@ GOPTION="-g 6514"
 /usr/share/packages/org.tizen.lockscreen.xml
 /usr/share/license/org.tizen.lockscreen
 /usr/apps/org.tizen.lockscreen/res/locale/*/LC_MESSAGES/lockscreen.mo
+/etc/smack/accesses2.d/org.tizen.lockscreen.rule