From: Tetsuo H. <penguin-kernel@I-love.SAKURA.ne.jp> - 2010-06-07 10:24:23
|
Subrata Modak wrote: > However, this patch did not apply as it was not created properly: That's strange... I can apply this patch cleanly. What tree should I use? [root@tomoyo tmp]# wget 'http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a=snapshot;h=7f20a3add6c7f2166dbab5a712713ae8b5943448;s f=tgz' --2010-06-07 19:19:34-- http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a=snapshot;h=7f20a3add6c7f2166dbab5a712713ae8b5943448;sf=tgz Resolving ltp.git.sourceforge.net... 216.34.181.91 Connecting to ltp.git.sourceforge.net|216.34.181.91|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: `gitweb.cgi?p=ltp%2Fltp-dev.git;a=snapshot;h=7f20a3add6c7f2166dbab5a712713ae8b5943448;sf=tgz' [ <=> ] 8,240,148 118K/s in 77s 2010-06-07 19:20:54 (104 KB/s) - `gitweb.cgi?p=ltp%2Fltp-dev.git;a=snapshot;h=7f20a3add6c7f2166dbab5a712713ae8b5943448;sf=tgz' saved [8240148] [root@tomoyo tmp]# tar -zxf gitweb.cgi\?p\=ltp%2Fltp-dev.git\;a\=snapshot\;h\=7f20a3add6c7f2166dbab5a712713ae8b5943448\;sf\=tgz [root@tomoyo tmp]# cd ltp-dev/ [root@tomoyo ltp-dev]# wget 'http://sourceforge.jp/projects/tomoyo/svn/view/trunk/2.3.x/tomoyo-tools/kernel_test/tomoyo-ltp.diff?revision=3740&r oot=tomoyo' --2010-06-07 19:21:31-- http://sourceforge.jp/projects/tomoyo/svn/view/trunk/2.3.x/tomoyo-tools/kernel_test/tomoyo-ltp.diff?revision=3740&root=tomoyo Resolving sourceforge.jp... 202.221.179.21 Connecting to sourceforge.jp|202.221.179.21|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/unregisterd-mime-type-to-avoid-IE-MIME-sniffing] Saving to: `tomoyo-ltp.diff?revision=3740&root=tomoyo' [ <=> ] 141,420 --.-K/s in 0.08s 2010-06-07 19:21:31 (1.75 MB/s) - `tomoyo-ltp.diff?revision=3740&root=tomoyo' saved [141420] [root@tomoyo ltp-dev]# md5sum tomoyo-ltp.diff\?revision\=3740\&root\=tomoyo aeb0af73a8f140d50d4ab7435b10de16 tomoyo-ltp.diff?revision=3740&root=tomoyo [root@tomoyo ltp-dev]# patch --dry-run -p1 < tomoyo-ltp.diff\?revision\=3740\&root\=tomoyo patching file testcases/kernel/security/tomoyo/README patching file testcases/kernel/security/tomoyo/include.h patching file testcases/kernel/security/tomoyo/newns.c patching file testcases/kernel/security/tomoyo/testall.sh patching file testcases/kernel/security/tomoyo/tomoyo_accept_test.c patching file testcases/kernel/security/tomoyo/tomoyo_file_test.c patching file testcases/kernel/security/tomoyo/tomoyo_filesystem_test.c patching file testcases/kernel/security/tomoyo/tomoyo_new_file_test.c patching file testcases/kernel/security/tomoyo/tomoyo_new_test.c patching file testcases/kernel/security/tomoyo/tomoyo_policy_io_test.c patching file testcases/kernel/security/tomoyo/tomoyo_policy_memory_test.c patching file testcases/kernel/security/tomoyo/tomoyo_rewrite_test.c [root@tomoyo ltp-dev]# |