From: Casey Schaufler Date: Tue, 21 Jan 2014 02:43:57 +0000 (-0800) Subject: Clean out obsolete and unused Smack configuration files X-Git-Tag: submit/tizen_ivi_release/20140312.071202 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Fsubmit%2Ftizen_ivi_release%2F20140312.071202;hp=8ac2c47d4032be832d84eeb102ad948cc3552998;p=platform%2Fframework%2Fweb%2Fwrt.git Clean out obsolete and unused Smack configuration files The web runtime on Tizen 2 used many rules that we are not carrying forward in Tizen 3. The files that define them are removed. Change-Id: I891a2e180dc116067aece3f7f1bd4125bf2a5a2e Signed-off-by: Casey Schaufler --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8a16feb..ba70414 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -233,13 +233,6 @@ INSTALL(FILES INSTALL(FILES ${CMAKE_SOURCE_DIR}/wrt_env.sh DESTINATION /etc/profile.d/ ) -INSTALL(FILES ${CMAKE_SOURCE_DIR}/wrt_launchpad_daemon.rule - DESTINATION /etc/smack/accesses2.d/ -) -# temp for smack branch -INSTALL(FILES ${CMAKE_SOURCE_DIR}/accesses.d/wrt_launchpad_daemon.rule - DESTINATION /opt/etc/smack/accesses.d/ -) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/systemd/wrt_launchpad_daemon@.service ${CMAKE_CURRENT_SOURCE_DIR}/systemd/wrt_launchpad_daemon_1.socket diff --git a/accesses.d/wrt_launchpad_daemon.rule b/accesses.d/wrt_launchpad_daemon.rule deleted file mode 100644 index bee6041..0000000 --- a/accesses.d/wrt_launchpad_daemon.rule +++ /dev/null @@ -1,6 +0,0 @@ -wrt_launchpad_daemon system::share rwx-- -wrt_launchpad_daemon system::homedir rwx-- -wrt_launchpad_daemon device::app_logging -w--- -wrt_launchpad_daemon xorg rw--- -wrt_launchpad_daemon webkit2-efl rwxa- -wrt_launchpad_daemon sys-assert::core rwxat diff --git a/packaging/wrt.spec b/packaging/wrt.spec index 5b9e631..8662de1 100644 --- a/packaging/wrt.spec +++ b/packaging/wrt.spec @@ -220,8 +220,6 @@ systemctl daemon-reload ## wrt-launchpad-daemon ####################################################### %attr(755,root,root) %{_bindir}/wrt_launchpad_daemon /usr/share/aul/preload_list_wrt.txt -/etc/smack/accesses2.d/wrt_launchpad_daemon.rule -/opt/etc/smack/accesses.d/wrt_launchpad_daemon.rule #systemd %if %{with multi_user} %{_unitdir_user}/tizen-middleware.target.wants/wrt_launchpad_daemon.service