X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=fs%2Fbinfmt_em86.c;h=b8e8b0acf9bd8df4b3ca369a152afbe01cd9d476;hb=f13771187b9423b824f32518319f6da85d819003;hp=f9c88d0c8cedeabcfdca1a5f81a51e1e293a59ea;hpb=3a2e7f47d71e1df86acc1dda6826890b6546a4e1;p=safe%2Fjmp%2Flinux-2.6 diff --git a/fs/binfmt_em86.c b/fs/binfmt_em86.c index f9c88d0..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 = 1; /* 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;