summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJungmin Kim <jm15.kim@samsung.com>2013-05-07 13:12:35 +0900
committerJungmin Kim <jm15.kim@samsung.com>2013-05-07 14:09:28 +0900
commit5e21ab722e0857fb727e6d868542530baf543cba (patch)
tree1522bb92644b51c61fa533be15772a905dee2183
parentda016006d48f00d10859ff29c2f4e569cb1f73ff (diff)
downloadsat-ui-5e21ab722e0857fb727e6d868542530baf543cba.tar.gz
sat-ui-5e21ab722e0857fb727e6d868542530baf543cba.tar.bz2
sat-ui-5e21ab722e0857fb727e6d868542530baf543cba.zip
Apply RSA SMACK style
Patch set 2: Move file accesses2.d to accesses.d Change-Id: I1850741df91c6bf2c420fdc0580d043d45eed374
-rwxr-xr-xCMakeLists.txt2
-rwxr-xr-xorg.tizen.sat-ui.rule38
-rwxr-xr-xpackaging/org.tizen.sat-ui.spec2
3 files changed, 20 insertions, 22 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fd44bce..677f8af 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -107,7 +107,7 @@ INSTALL(FILES ${CMAKE_BINARY_DIR}/data/${PKG_NAME}.service DESTINATION /usr/shar
INSTALL(DIRECTORY DESTINATION ${DATADIR})
# install SMACK rule file
-install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${PKG_NAME}.rule DESTINATION /etc/smack/accesses2.d)
+install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${PKG_NAME}.rule DESTINATION /etc/smack/accesses.d)
# i18n
ADD_SUBDIRECTORY(po)
diff --git a/org.tizen.sat-ui.rule b/org.tizen.sat-ui.rule
index e167c11..cf15d12 100755
--- a/org.tizen.sat-ui.rule
+++ b/org.tizen.sat-ui.rule
@@ -4,23 +4,21 @@ org.tizen.sat-ui system::media rwxat
org.tizen.sat-ui system::share rwxat
org.tizen.sat-ui pulseaudio rwxat
org.tizen.sat-ui sys-assert::core rwxat
-stest-service org.tizen.sat-ui rx
-org.tizen.sat-ui stest-service w
-org.tizen.sat-ui device::app_logging w
-
-org.tizen.app-tray org.tizen.sat-ui rx
-e17 org.tizen.sat-ui w
-org.tizen.quickpanel org.tizen.sat-ui rx
-org.tizen.indicator org.tizen.sat-ui rwx
-org.tizen.lockscreen org.tizen.sat-ui rx
-
-org.tizen.sat-ui org.tizen.indicator rw
-org.tizen.sat-ui xorg rw
-org.tizen.sat-ui isf rwx
-org.tizen.sat-ui ail::db rw
-org.tizen.sat-ui sound_server rw
-org.tizen.sat-ui dbus rwx
-org.tizen.sat-ui system::use_internet r
-org.tizen.sat-ui power_manager w
-org.tizen.sat-ui deviced w
-org.tizen.sat-ui notification::db rw
+stest-service org.tizen.sat-ui r-x--
+org.tizen.sat-ui stest-service -w---
+org.tizen.sat-ui device::app_logging -w---
+org.tizen.app-tray org.tizen.sat-ui r-x--
+e17 org.tizen.sat-ui -w---
+org.tizen.quickpanel org.tizen.sat-ui r-x--
+org.tizen.indicator org.tizen.sat-ui rwx--
+org.tizen.lockscreen org.tizen.sat-ui r-x--
+org.tizen.sat-ui org.tizen.indicator rw---
+org.tizen.sat-ui xorg rw---
+org.tizen.sat-ui isf rwx--
+org.tizen.sat-ui ail::db rw---
+org.tizen.sat-ui sound_server rw---
+org.tizen.sat-ui dbus rwx--
+org.tizen.sat-ui system::use_internet r----
+org.tizen.sat-ui power_manager -w---
+org.tizen.sat-ui deviced -w---
+org.tizen.sat-ui notification::db rw---
diff --git a/packaging/org.tizen.sat-ui.spec b/packaging/org.tizen.sat-ui.spec
index 578ea5b..5a8099f 100755
--- a/packaging/org.tizen.sat-ui.spec
+++ b/packaging/org.tizen.sat-ui.spec
@@ -60,4 +60,4 @@ vconftool set -t string memory/sat/idle_text "" -i -f -g 6514
/usr/share/dbus-1/services/org.tizen.sat-event-downloader.service
/usr/share/dbus-1/services/%{name}.service
/usr/share/icons/default/small/%{name}.png
-/etc/smack/accesses2.d/%{name}.rule \ No newline at end of file
+/etc/smack/accesses.d/%{name}.rule