Tetsuo Handa
from-****@I-lov*****
2007年 10月 25日 (木) 00:31:39 JST
熊猫です。 > deb http://www.mithril-linux.org/~henrich/debian/package/ ./ > deb-src http://www.mithril-linux.org/~henrich/debian/package/ ./ apt-get install linux-image-2.6.22ccs.1.5.0 apt-get install tomoyo-ccstools でインストールできることを確認しました。 ccstools ですが、以下の修正が行われるよりも前のソースで作られているので お時間のある時に作り直していただけると嬉しいです。 Index: tomoyo-init =================================================================== --- tomoyo-init (.../1.5.1-rc/ccstools) (revision 599) +++ tomoyo-init (.../1.5.1/ccstools) (working copy) @@ -4,7 +4,7 @@ # # Copyright (C) 2005-2007 NTT DATA CORPORATION # -# Version: 2.1.0-rc4 2007/10/15 +# Version: 2.1.0-rc4 2007/10/23 # # This program is executed automatically by kernel # when execution of /sbin/init is requested. @@ -138,7 +138,7 @@ [ $TOMOYO_NOLOAD -eq 0 -a -r domain_policy.conf -a -w $POLICY_DIR/domain_policy ] && cat domain_policy.conf > $POLICY_DIR/domain_policy if [ "x$PROFILE" = "xdefault" ]; then [ -r profile.conf ] && cat profile.conf > $POLICY_DIR/profile - elif [ "x$PROFILE" = "xdisable" ]; then + elif [ "x$PROFILE" != "xdisable" ]; then [ -r profile-$PROFILE.conf ] && cat profile-$PROFILE.conf > $POLICY_DIR/profile fi fi Index: ccs-init =================================================================== --- ccs-init (.../1.5.1-rc/ccstools) (revision 599) +++ ccs-init (.../1.5.1/ccstools) (working copy) @@ -4,7 +4,7 @@ # # Copyright (C) 2005-2007 NTT DATA CORPORATION # -# Version: 1.5.1 2007/10/19 +# Version: 1.5.1 2007/10/23 # # This program is executed automatically by kernel # when execution of /sbin/init is requested. @@ -118,7 +118,7 @@ [ $TOMOYO_NOLOAD -eq 0 -a -r domain_policy.conf -a -w /proc/ccs/domain_policy ] && cat domain_policy.conf > /proc/ccs/domain_policy if [ "x$PROFILE" = "xdefault" ]; then [ -r profile.conf ] && cat profile.conf > /proc/ccs/profile - elif [ "x$PROFILE" = "xdisable" ]; then + elif [ "x$PROFILE" != "xdisable" ]; then [ -r profile-$PROFILE.conf ] && cat profile-$PROFILE.conf > /proc/ccs/profile fi fi