From: Greg Kroah-Hartman Date: Wed, 15 Sep 2010 23:34:24 +0000 (-0700) Subject: fix same bug in .32 as .27 X-Git-Tag: v2.6.27.54~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=91e16bf5fab6fbef79b30455adda6bc6a76be576;p=thirdparty%2Fkernel%2Fstable-queue.git fix same bug in .32 as .27 --- 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; }