aboutsummaryrefslogtreecommitdiffstats
path: root/fs/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/exec.c')
-rw-r--r--fs/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exec.c b/fs/exec.c
index 89a500bb897a..c71cbfe6826a 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1663,7 +1663,7 @@ int search_binary_handler(struct linux_binprm *bprm)
1663 if (retval < 0 && !bprm->mm) { 1663 if (retval < 0 && !bprm->mm) {
1664 /* we got to flush_old_exec() and failed after it */ 1664 /* we got to flush_old_exec() and failed after it */
1665 read_unlock(&binfmt_lock); 1665 read_unlock(&binfmt_lock);
1666 force_sigsegv(SIGSEGV, current); 1666 force_sigsegv(SIGSEGV);
1667 return retval; 1667 return retval;
1668 } 1668 }
1669 if (retval != -ENOEXEC || !bprm->file) { 1669 if (retval != -ENOEXEC || !bprm->file) {