author: Kirill A. Shutemov <kirill@shutemov.name> 2008-10-15 22:02:39 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2008-10-16 11:21:38 -0700
commit: bf2a9a39639b8b51377905397a5005f444e9a892
parent: 53112488bebe25c0f5f8a002470046c0fe9a6c61
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/binfmt_em86.c b/fs/binfmt_em86.c
index f9c88d0c8ced..32fb00b52cd0 100644
--- a/fs/binfmt_em86.c
+++ b/fs/binfmt_em86.c
@@ -43,7 +43,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;