From: Gerald Schaefer Date: Tue, 6 Oct 2009 08:34:14 +0000 (+0200) Subject: [S390] Add EX_TABLE for addressing exception in usercopy functions. X-Git-Tag: v2.6.32-rc4~2^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af9d2ff9afaae8040dbf09238b2579f92c93579e;p=pandora-kernel.git [S390] Add EX_TABLE for addressing exception in usercopy functions. This patch adds an EX_TABLE entry to mvc{p|s|os} usercopy functions that may be called with KERNEL_DS. In combination with collaborative memory management, kernel pages marked as unused may trigger an adressing exception in the usercopy functions. This fixes an unhandled addressing exception bug where strncpy_from_user() is used with len > strnlen and KERNEL_DS, crossing a page boundary to an unused page. Signed-off-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed