From 91e16bf5fab6fbef79b30455adda6bc6a76be576 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 15 Sep 2010 16:34:24 -0700 Subject: [PATCH] fix same bug in .32 as .27 --- ...lloc_user_space-incorporate-the-access_ok.patch | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/queue-2.6.32/compat-make-compat_alloc_user_space-incorporate-the-access_ok.patch b/queue-2.6.32/compat-make-compat_alloc_user_space-incorporate-the-access_ok.patch index bafcc98b84c..6922ffebee8 100644 --- a/queue-2.6.32/compat-make-compat_alloc_user_space-incorporate-the-access_ok.patch +++ b/queue-2.6.32/compat-make-compat_alloc_user_space-incorporate-the-access_ok.patch @@ -53,8 +53,8 @@ Signed-off-by: Greg Kroah-Hartman arch/sparc/include/asm/compat.h | 2 +- arch/x86/include/asm/compat.h | 2 +- include/linux/compat.h | 2 ++ - kernel/compat.c | 21 +++++++++++++++++++++ - 9 files changed, 30 insertions(+), 7 deletions(-) + kernel/compat.c | 22 ++++++++++++++++++++++ + 9 files changed, 31 insertions(+), 7 deletions(-) --- a/arch/ia64/include/asm/compat.h +++ b/arch/ia64/include/asm/compat.h @@ -145,7 +145,15 @@ Signed-off-by: Greg Kroah-Hartman #endif /* _LINUX_COMPAT_H */ --- a/kernel/compat.c +++ b/kernel/compat.c -@@ -1136,3 +1136,24 @@ compat_sys_sysinfo(struct compat_sysinfo +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + + #include + +@@ -1136,3 +1137,24 @@ compat_sys_sysinfo(struct compat_sysinfo return 0; } -- 2.47.3