diff options
Diffstat (limited to 'arch/x86/ia32/ia32_aout.c')
-rw-r--r-- | arch/x86/ia32/ia32_aout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/ia32/ia32_aout.c b/arch/x86/ia32/ia32_aout.c index 39e49091f648..4c2e59a420b9 100644 --- a/arch/x86/ia32/ia32_aout.c +++ b/arch/x86/ia32/ia32_aout.c | |||
@@ -323,7 +323,6 @@ static int load_aout_binary(struct linux_binprm *bprm, struct pt_regs *regs) | |||
323 | } | 323 | } |
324 | 324 | ||
325 | install_exec_creds(bprm); | 325 | install_exec_creds(bprm); |
326 | current->flags &= ~PF_FORKNOEXEC; | ||
327 | 326 | ||
328 | if (N_MAGIC(ex) == OMAGIC) { | 327 | if (N_MAGIC(ex) == OMAGIC) { |
329 | unsigned long text_addr, map_size; | 328 | unsigned long text_addr, map_size; |
@@ -519,7 +518,8 @@ out: | |||
519 | 518 | ||
520 | static int __init init_aout_binfmt(void) | 519 | static int __init init_aout_binfmt(void) |
521 | { | 520 | { |
522 | return register_binfmt(&aout_format); | 521 | register_binfmt(&aout_format); |
522 | return 0; | ||
523 | } | 523 | } |
524 | 524 | ||
525 | static void __exit exit_aout_binfmt(void) | 525 | static void __exit exit_aout_binfmt(void) |