]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/binfmt_aout.c
mm: fix exit_mmap BUG() on a.out binary exit
[net-next-2.6.git] / fs / binfmt_aout.c
index e176d195e7e53982659388b970d60270f9bb695b..7596e1e94cde858df0ba7ea0907f9b86d1f4132e 100644 (file)
@@ -319,7 +319,6 @@ static int load_aout_binary(struct linux_binprm * bprm, struct pt_regs * regs)
        current->mm->free_area_cache = current->mm->mmap_base;
        current->mm->cached_hole_size = 0;
 
-       current->mm->mmap = NULL;
        compute_creds(bprm);
        current->flags &= ~PF_FORKNOEXEC;
 #ifdef __sparc__