もう少し詳しく書くと
laptop:~/ダウンロード$ patch -sp1 < patches/ccs-patch-2.6.31-ubu
ntu-9.10.diff
The text leading up to this was:
--------------------------
|This is TOMOYO Linux patch for Ubuntu 9.10.
|
|Source code for this patch is "apt-get install linux-source-2.6.31"
|---
| fs/attr.c | 3 +++
| fs/compat.c | 3 ++-
〜省略〜
| net/unix/af_unix.c | 5 +++++
| security/Kconfig | 2 ++
| security/Makefile | 3 +++
| 33 files changed, 253 insertions(+), 3 deletions(-)
|
|--- linux-2.6.31-10.31.orig/fs/attr.c
|+++ linux-2.6.31-10.31/fs/attr.c
--------------------------
File to patch:
と出ます。
ダウンロード/linux-2.6.31
みたいに戻したソースフォルダが置いてあります