Remove SMACK rule file(.rule) according three domain model 32/19432/2 submit/tizen/20140429.224615
authorseong.chung <seong.chung@samsung.com>
Fri, 11 Apr 2014 14:13:11 +0000 (23:13 +0900)
committerSeongwook Chung <seong.chung@samsung.com>
Fri, 11 Apr 2014 14:17:47 +0000 (07:17 -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.volume.rule)
- Remove install statement about installing rule file described in CMakeLists.txt
- Remove file path and name declaration of spec file (packaging/org.tizen.volume.spec)

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

index 6e8d043..e26d186 100644 (file)
@@ -81,7 +81,6 @@ TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS} -lm)
 
 INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR})
 
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/${PKGNAME}.rule DESTINATION ${TZ_SYS_ETC}/smack/accesses.d)
 
 # install desktop file & icon
 #CONFIGURE_FILE(${PKGNAME}.desktop.in ${CMAKE_BINARY_DIR}/${PKGNAME}.desktop)
diff --git a/org.tizen.volume.rule b/org.tizen.volume.rule
deleted file mode 100644 (file)
index cec7e67..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-org.tizen.volume system::share rwxat
-org.tizen.volume system::use_internet r
-org.tizen.volume net-config r
-org.tizen.volume xorg rw
-org.tizen.volume isf rwx
-org.tizen.volume sound_server rw
-org.tizen.volume syspopup::db rw
-org.tizen.volume dbus rwx
-org.tizen.volume pulseaudio rwxat
-org.tizen.volume ail::db rw
-org.tizen.volume connman r
-org.tizen.volume immvibed rw
-org.tizen.volume svi-data rx
-org.tizen.volume org.tizen.setting rwx
-org.tizen.volume org.tizen.music-player rw
-aul org.tizen.volume rx
-e17 org.tizen.volume rwx
-dbus org.tizen.volume rwx
-org.tizen.cluster-home org.tizen.volume rx
-org.tizen.voluem sys-assert::core rwxat
index ea5d7ef..48e262c 100755 (executable)
@@ -51,4 +51,3 @@ rm -rf %{buildroot}
 %{PREFIX}/res/*
 %{TZ_SYS_SHARE}/icons/default/small/org.tizen.volume.png
 /usr/share/packages/org.tizen.volume.xml
-%{TZ_SYS_ETC}/smack/accesses.d/org.tizen.volume.rule