Android 6.0.1 release 0.76 (MOB30I,seed)
mm: fix prctl_set_vma_anon_name

prctl_set_vma_anon_name could attempt to set the name across
two vmas at the same time due to a typo, which might corrupt
the vma list.  Fix it to use tmp instead of end to limit
the name setting to a single vma at a time.

Reported-by: Jed Davis <jld@mozilla.com>
Signed-off-by: Colin Cross <ccross@android.com>
(cherry picked from commit 091ff4dc3b3234e7f5e928843a44e54bf6961185)

Change-Id: I626f7b7b84885220a51daa76b8c40575dfa6fce0
1 file changed