Forums: Open Discussion (Thread #20925)

tomoyo and 2.6.26 (2008-12-08 11:41 by Anonyme #40489)

hi.
i've got some problems with kernel and tomoyo.
i've downloaded the newest version of tomoyo - ccs-patch-1.6.5-20081111 and kernel (well... not the newest) from kernel.org
could anyone tell me what I'm doing wrong?

root@samantha:/usr/src/linux-2.6.26# patch -p1 </usr/src/linux-2.6.26/ccs-patch-2.6.26.diff
patching file arch/ia64/ia32/sys_ia32.c
patching file arch/mips/kernel/ptrace32.c
patching file fs/Kconfig
patching file fs/Makefile
patching file fs/attr.c
patching file fs/compat.c
patching file fs/compat_ioctl.c
patching file fs/exec.c
patching file fs/fcntl.c
patching file fs/ioctl.c
patching file fs/namei.c
Hunk #2 succeeded at 1597 (offset -15 lines).
Hunk #3 succeeded at 1659 (offset -15 lines).
Hunk #4 succeeded at 1722 (offset -15 lines).
Hunk #5 succeeded at 2100 (offset -15 lines).
Hunk #6 succeeded at 2135 (offset -15 lines).
Hunk #7 succeeded at 2230 (offset -15 lines).
Hunk #8 succeeded at 2349 (offset -15 lines).
Hunk #9 succeeded at 2418 (offset -15 lines).
Hunk #10 succeeded at 2446 (offset -15 lines).
Hunk #11 succeeded at 2518 (offset -15 lines).
Hunk #12 succeeded at 2542 (offset -15 lines).
Hunk #13 succeeded at 2623 (offset -15 lines).
Hunk #14 succeeded at 2653 (offset -15 lines).
Hunk #15 succeeded at 2889 (offset -15 lines).
Hunk #16 succeeded at 2927 (offset -15 lines).
patching file fs/namespace.c
patching file fs/open.c
patching file fs/proc/Makefile
patching file fs/proc/proc_misc.c
patching file include/linux/init_task.h
patching file include/linux/sched.h
patching file kernel/compat.c
patching file kernel/kexec.c
patching file kernel/kmod.c
patching file kernel/module.c
patching file kernel/ptrace.c
patching file kernel/sched.c
Hunk #2 succeeded at 4641 (offset -59 lines).
patching file kernel/signal.c
Hunk #2 succeeded at 2202 (offset -1 lines).
Hunk #3 succeeded at 2269 (offset -1 lines).
Hunk #4 succeeded at 2288 (offset -1 lines).
patching file kernel/sys.c
patching file kernel/sysctl.c
patching file kernel/time.c
patching file kernel/time/ntp.c
patching file net/core/datagram.c
patching file net/ipv4/inet_connection_sock.c
patching file net/ipv4/inet_hashtables.c
patching file net/ipv4/udp.c
patching file net/socket.c
patching file net/unix/af_unix.c
root@samantha:/usr/src/linux-2.6.26# make clean
/usr/src/linux-2.6.26/fs/Makefile:123: /usr/src/linux-2.6.26/fs/Makefile-2.6.ccs: Nie ma takiego pliku ani katalogu
make[1]: *** Brak reguł do wykonania obiektu `/usr/src/linux-2.6.26/fs/Makefile-2.6.ccs'. Stop.
make: *** [_clean_fs] Błąd 2

////////////////
my translation:
:there is no such file or directory
:there is no rules to execute object
:error 2
/////////////////


root@samantha:/usr/src/linux-2.6.26# make mrproper
/usr/src/linux-2.6.26/fs/Makefile:123: /usr/src/linux-2.6.26/fs/Makefile-2.6.ccs: Nie ma takiego pliku ani katalogu
make[1]: *** Brak reguł do wykonania obiektu `/usr/src/linux-2.6.26/fs/Makefile-2.6.ccs'. Stop.
make: *** [_clean_fs] Błąd 2
root@samantha:/usr/src/linux-2.6.26# make menuconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/lxdialog/checklist.o
HOSTCC scripts/kconfig/lxdialog/inputbox.o
HOSTCC scripts/kconfig/lxdialog/menubox.o
HOSTCC scripts/kconfig/lxdialog/textbox.o
HOSTCC scripts/kconfig/lxdialog/util.o
HOSTCC scripts/kconfig/lxdialog/yesno.o
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
scripts/kconfig/lex.zconf.c:1628: warning: ‘input’ defined but not used
HOSTLD scripts/kconfig/mconf
scripts/kconfig/mconf arch/x86/Kconfig
fs/Kconfig:2167: can't open file "fs/Kconfig.ccs"
make[1]: *** [menuconfig] Błąd 1
make: *** [menuconfig] Błąd 2
root@samantha:/usr/src/linux-2.6.26#

I'm trying to do it on debian testing/lenny

your sincerely
RR

Répondre à 40489×

You can not use Wiki syntax
Vous n'êtes pas connecté. Pour distinguer vos messages en provenance du reste, vous devez choisir un surnom. (L'unicité du surnom est pas réservé. Il est possible que quelqu'un d'autre pourrait utiliser exactement le même surnom. Si vous voulez l'assurance de votre identité, nous vous recommandons de vous connecter avant de poster.) Connexion

RE: tomoyo and 2.6.26 (2008-12-08 14:50 by kumaneko #40491)

Répondre à 40491×

You can not use Wiki syntax
Vous n'êtes pas connecté. Pour distinguer vos messages en provenance du reste, vous devez choisir un surnom. (L'unicité du surnom est pas réservé. Il est possible que quelqu'un d'autre pourrait utiliser exactement le même surnom. Si vous voulez l'assurance de votre identité, nous vous recommandons de vous connecter avant de poster.) Connexion

RE: tomoyo and 2.6.26 (2008-12-08 19:10 by Anonyme #40498)

oh, thank you :>
i'm ashamed that i didn't find earlier :~
once again- thank you very much :>
Répondre à #40491

Répondre à 40498×

You can not use Wiki syntax
Vous n'êtes pas connecté. Pour distinguer vos messages en provenance du reste, vous devez choisir un surnom. (L'unicité du surnom est pas réservé. Il est possible que quelqu'un d'autre pourrait utiliser exactement le même surnom. Si vous voulez l'assurance de votre identité, nous vous recommandons de vous connecter avant de poster.) Connexion