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, 2 insertions, 0 deletions
diff --git a/fs/exec.c b/fs/exec.c
index 01829a1cb766..e6770a526f34 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1440,6 +1440,8 @@ int search_binary_handler(struct linux_binprm *bprm,struct pt_regs *regs)
1440 printable(bprm->buf[2]) && 1440 printable(bprm->buf[2]) &&
1441 printable(bprm->buf[3])) 1441 printable(bprm->buf[3]))
1442 break; /* -ENOEXEC */ 1442 break; /* -ENOEXEC */
1443 if (try)
1444 break; /* -ENOEXEC */
1443 request_module("binfmt-%04x", *(unsigned short *)(&bprm->buf[2])); 1445 request_module("binfmt-%04x", *(unsigned short *)(&bprm->buf[2]));
1444#endif 1446#endif
1445 } 1447 }