projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab8b82e
)
x86/compat: Check for both 32-bit compat and x32 in get_gate_vma()
author
Brian Gerst
<
[email protected]
>
Mon, 22 Jun 2015 11:55:16 +0000
(07:55 -0400)
committer
Ingo Molnar
<
[email protected]
>
Mon, 6 Jul 2015 13:28:57 +0000
(15:28 +0200)
Change this to CONFIG_COMPAT so both 32-bit compat and x32 will
do the check.
Signed-off-by: Brian Gerst <
[email protected]
>
Acked-by: Andy Lutomirski <
[email protected]
>
Cc: Andy Lutomirski <
[email protected]
>
Cc: Borislav Petkov <
[email protected]
>
Cc: Denys Vlasenko <
[email protected]
>
Cc: H. Peter Anvin <
[email protected]
>
Cc: Linus Torvalds <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
arch/x86/entry/vsyscall/vsyscall_64.c
patch
|
blob
|
history
diff --git
a/arch/x86/entry/vsyscall/vsyscall_64.c
b/arch/x86/entry/vsyscall/vsyscall_64.c
index 2dcc6ff6fdcc6371a65a83f2e9c5288c1726e513..26a46f44e29819c17ba5f5aef2eb9f896b98f878 100644
(file)
--- a/
arch/x86/entry/vsyscall/vsyscall_64.c
+++ b/
arch/x86/entry/vsyscall/vsyscall_64.c
@@
-290,7
+290,7
@@
static struct vm_area_struct gate_vma = {
struct vm_area_struct *get_gate_vma(struct mm_struct *mm)
{
-#ifdef CONFIG_
IA32_EMULATION
+#ifdef CONFIG_
COMPAT
if (!mm || mm->context.ia32_compat)
return NULL;
#endif