[kernel/f15] Fix get_gate_vma usage in 32bit NX emulation.
Dave Jones
davej at fedoraproject.org
Sat Aug 27 17:25:11 UTC 2011
commit 333fe2ae43e0d64f7a732af5f5d5ffa0ec84318f
Author: Dave Jones <davej at redhat.com>
Date: Sat Aug 27 13:24:53 2011 -0400
Fix get_gate_vma usage in 32bit NX emulation.
kernel.spec | 3 +++
linux-2.6-i386-nx-emulation.patch | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/kernel.spec b/kernel.spec
index f6e396b..ad9e50c 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1851,6 +1851,9 @@ fi
# and build.
%changelog
+* Sat Aug 27 2011 Dave Jones <davej at redhat.com>
+- Fix get_gate_vma usage in 32bit NX emulation.
+
* Fri Aug 26 2011 Chuck Ebbert <cebbert at redhat.com>
- Add fixes for cifs mount oopses (rhbz#727927 rhbz#731278 rhbz#732934)
diff --git a/linux-2.6-i386-nx-emulation.patch b/linux-2.6-i386-nx-emulation.patch
index 856b9b9..fb58c61 100644
--- a/linux-2.6-i386-nx-emulation.patch
+++ b/linux-2.6-i386-nx-emulation.patch
@@ -249,7 +249,7 @@
+ for (vma = current->mm->mmap; vma; vma = vma->vm_next)
+ if ((vma->vm_flags & VM_EXEC) && (vma->vm_end > limit))
+ limit = vma->vm_end;
-+ vma = get_gate_vma(current);
++ vma = get_gate_vma(current->mm);
+ if (vma && (vma->vm_flags & VM_EXEC) && (vma->vm_end > limit))
+ limit = vma->vm_end;
+ spin_unlock(¤t->mm->page_table_lock);
More information about the scm-commits
mailing list