diff options
author | seong.chung <seong.chung@samsung.com> | 2014-04-11 22:43:31 +0900 |
---|---|---|
committer | Seongwook Chung <seong.chung@samsung.com> | 2014-04-11 06:44:24 -0700 |
commit | b88579ecaf5e2ed80100b10b3786a5fd86c68135 (patch) | |
tree | aad6b70f5f113fb6992369beb4f300a28294a946 | |
parent | f9a88e1d1f913eb50adf43c01abc84d9ebfa5646 (diff) | |
download | pwlock-b88579ecaf5e2ed80100b10b3786a5fd86c68135.tar.gz pwlock-b88579ecaf5e2ed80100b10b3786a5fd86c68135.tar.bz2 pwlock-b88579ecaf5e2ed80100b10b3786a5fd86c68135.zip |
Remove SMACK rule file(.rule) according three domain modelHEADsubmit/tizen/20140430.061142tizen
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 <seong.chung@samsung.com>
-rwxr-xr-x | CMakeLists.txt | 1 | ||||
-rw-r--r-- | org.tizen.pwlock.rule | 23 | ||||
-rwxr-xr-x | packaging/org.tizen.pwlock.spec | 1 |
3 files changed, 0 insertions, 25 deletions
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 |