+ mm-fix-exit_mmap-bug-on-aout-binary-exit.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     mm: fix exit_mmap BUG() on a.out binary exit
has been added to the -mm tree.  Its filename is
     mm-fix-exit_mmap-bug-on-aout-binary-exit.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: mm: fix exit_mmap BUG() on a.out binary exit
From: Ivan Kokshaysky <ink@xxxxxxxxxxxxxxxxxxxx>

The problem was introduced by commit "mm: variable length argument support"
(b6a2fea39318e43fee84fa7b0b90d68bed92d2ba) as it didn't update
fs/binfmt_aout.c like other binfmt's.

I noticed that on alpha when accidentally launched old OSF/1 Acrobat Reader
binary.  Obviously, other architectures are affected as well.

Signed-off-by: Ivan Kokshaysky <ink@xxxxxxxxxxxxxxxxxxxx>
Acked-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Cc: Ollie Wild <aaw@xxxxxxxxxx>
Cc: Hugh Dickins <hugh@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/binfmt_aout.c |    1 -
 1 file changed, 1 deletion(-)

diff -puN fs/binfmt_aout.c~mm-fix-exit_mmap-bug-on-aout-binary-exit fs/binfmt_aout.c
--- a/fs/binfmt_aout.c~mm-fix-exit_mmap-bug-on-aout-binary-exit
+++ a/fs/binfmt_aout.c
@@ -319,7 +319,6 @@ static int load_aout_binary(struct linux
 	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__
_

Patches currently in -mm which might be from ink@xxxxxxxxxxxxxxxxxxxx are

alpha-strncpy-strncat-fixes.patch
alpha-build-fixes.patch
mm-fix-exit_mmap-bug-on-aout-binary-exit.patch
iommu-sg-merging-alpha-make-pci_iommu-respect-the-segment-size-limits.patch
arch-alpha-removed-duplicate-includes.patch
alpha-atomic_add_return-should-return-int.patch
alpha-kill-deprecated-virt_to_bus.patch
alpha-doesnt-use-socketcall.patch
agp-alpha-nopage.patch
alpha-fix-warning-by-fixing-flush_tlb_kernel_range.patch
alpha-parisc-removing-config-variable-debug_rwlock.patch
get-rid-of-nr_open-and-introduce-a-sysctl_nr_open.patch
get-rid-of-nr_open-and-introduce-a-sysctl_nr_open-fix.patch
calibrate_delay-must-be-__cpuinit.patch
sanitize-the-type-of-struct-useru_ar0.patch
add-cmpxchg64-and-cmpxchg64_local-to-alpha.patch
make-sure-nobodys-leaking-resources.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux