From b88579ecaf5e2ed80100b10b3786a5fd86c68135 Mon Sep 17 00:00:00 2001 From: "seong.chung" Date: Fri, 11 Apr 2014 22:43:31 +0900 Subject: Remove SMACK rule file(.rule) according three domain model Since SMACK only allows three labels, "_"(floor), "User", "System" The labels of current rule file are not appropriate Solution: - Remove rule file (org.tizen.pwlock.rule) - Remove install statement about installing rule file described in CMakeLists.txt - Remove file path and name declaration of spec file (packaging/org.tizen.pwlock.spec) Reference site https://wiki.tizen.org/wiki/Security:SmackThreeDomainModel Change-Id: I1936823fecf01e3dc30fb71f987159db77a43464 Signed-off-by: seong.chung --- CMakeLists.txt | 1 - org.tizen.pwlock.rule | 23 ----------------------- packaging/org.tizen.pwlock.spec | 1 - 3 files changed, 25 deletions(-) delete mode 100644 org.tizen.pwlock.rule diff --git a/CMakeLists.txt b/CMakeLists.txt index 95e3b4b..8e4566a 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -99,7 +99,6 @@ TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS}) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${PKGNAME}.xml DESTINATION /usr/share/packages) INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR}) -INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${PKGNAME}.rule DESTINATION /etc/smack/accesses.d) # i18n ADD_SUBDIRECTORY(po) diff --git a/org.tizen.pwlock.rule b/org.tizen.pwlock.rule deleted file mode 100644 index 9ac6f8d..0000000 --- a/org.tizen.pwlock.rule +++ /dev/null @@ -1,23 +0,0 @@ -org.tizen.pwlock system::homedir rwxat -org.tizen.pwlock system::vconf rwxat -org.tizen.pwlock system::media rwxat -org.tizen.pwlock system::share rwxat -org.tizen.pwlock system::syslogd w -org.tizen.pwlock sys-assert::core rwxat -org.tizen.pwlock net-config r -org.tizen.pwlock xorg rw -org.tizen.pwlock isf r -org.tizen.pwlock device::app_logging w -org.tizen.pwlock ail::db rw -org.tizen.pwlock dbus w -org.tizen.pwlock pulseaudio rwxat -org.tizen.app-tray org.tizen.pwlock rx -org.tizen.pwlock stest-service w -org.tizen.pwlock pkgmgr:db rw -org.tizen.pwlock telephony_framework::api_sim rx -org.tizen.pwlock ode rwx -org.tizen.pwlock csc-manager r -org.tizen.pwlock e17 rw -dbus org.tizen.pwlock w -e17 org.tizen.pwlock rw -stest-service org.tizen.pwlock rx diff --git a/packaging/org.tizen.pwlock.spec b/packaging/org.tizen.pwlock.spec index d74ee7e..ff1737a 100755 --- a/packaging/org.tizen.pwlock.spec +++ b/packaging/org.tizen.pwlock.spec @@ -55,7 +55,6 @@ vconftool $GOPTION set -t int memory/pwlock/state "0" -f -i %files %manifest %{name}.manifest -/etc/smack/accesses.d/org.tizen.pwlock.rule %defattr(-,root,root,-) %attr(4755,root,root) /usr/apps/org.tizen.pwlock/bin/pwlock /usr/apps/org.tizen.pwlock/bin/pwlock -- cgit v1.2.3