exec: use -ELOOP for max recursion depth
[cascardo/linux.git] / fs / binfmt_em86.c
index 4e6cce5..037a3e2 100644 (file)
@@ -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;