author: Kees Cook <keescook@chromium.org> 2012-12-17 16:03:20 -0800
committer: Linus Torvalds <torvalds@linux-foundation.org> 2012-12-17 17:15:23 -0800
commit: d740269867021faf4ce38a449353d2b986c34a67
parent: 8d238027b87e654be552eabdf492042a34c5c300
Commit Summary:
Diffstat:
1 file changed, 0 insertions, 1 deletion
diff --git a/fs/binfmt_em86.c b/fs/binfmt_em86.c
index 4e6cce57d113..037a3e2b045b 100644
--- a/fs/binfmt_em86.c
+++ b/fs/binfmt_em86.c
@@ -42,7 +42,6 @@ static int load_em86(struct linux_binprm *bprm)
return -ENOEXEC;
}
- bprm->recursion_depth++; /* Well, the bang-shell is implicit... */
allow_write_access(bprm->file);
fput(bprm->file);
bprm->file = NULL;