X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=fs%2Fbinfmt_em86.c;h=b8e8b0acf9bd8df4b3ca369a152afbe01cd9d476;hb=9eed1fb721c6c512795f8847bccc413f3a1143bb;hp=f95ae9789c913d81d0df5d17250bced9c5479855;hpb=96de0e252cedffad61b3cb5e05662c591898e69a;p=safe%2Fjmp%2Flinux-2.6 diff --git a/fs/binfmt_em86.c b/fs/binfmt_em86.c index f95ae97..b8e8b0a 100644 --- a/fs/binfmt_em86.c +++ b/fs/binfmt_em86.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include @@ -43,7 +42,7 @@ static int load_em86(struct linux_binprm *bprm,struct pt_regs *regs) return -ENOEXEC; } - bprm->sh_bang++; /* Well, the bang-shell is implicit... */ + bprm->recursion_depth++; /* Well, the bang-shell is implicit... */ allow_write_access(bprm->file); fput(bprm->file); bprm->file = NULL;