Remove SMACK rule file(.rule) according three domain model 13/19413/2 submit/tizen/20140429.223340
authorseong.chung <seong.chung@samsung.com>
Fri, 11 Apr 2014 12:49:26 +0000 (21:49 +0900)
committerSeongwook Chung <seong.chung@samsung.com>
Fri, 11 Apr 2014 12:50:55 +0000 (05:50 -0700)
Since SMACK only allows three labels, "_"(floor), "User", "System"
The labels of current rule file are not appropriate

Solution:
- Remove rule file (org.tizen.lockscreen.rule)
- Remove install statement about installing rule file described in CMakeLists.txt
- Remove file path and name declaration of spec file (packaging/org.tizen.lockscreen.spec)

Reference site
https://wiki.tizen.org/wiki/Security:SmackThreeDomainModel

Change-Id: I8fce9dca167c884c2c5f087a70620ddb0a0669bd
Signed-off-by: seong.chung <seong.chung@samsung.com>
CMakeLists.txt
org.tizen.lockscreen.rule [deleted file]
packaging/org.tizen.lockscreen.spec

index 380ca02..84f8461 100755 (executable)
@@ -105,8 +105,6 @@ 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 /opt/etc/smack/accesses.d)
 INSTALL(DIRECTORY DESTINATION ${DATADIR})
 
 ADD_SUBDIRECTORY(po)
diff --git a/org.tizen.lockscreen.rule b/org.tizen.lockscreen.rule
deleted file mode 100644 (file)
index 8150ee2..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-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 d7a47aa..5875216 100755 (executable)
@@ -53,4 +53,3 @@ 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
-#/opt/etc/smack/accesses.d/org.tizen.lockscreen.rule