aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorGerald Schaefer <[email protected]>2009-10-06 08:34:14 +0000
committerMartin Schwidefsky <[email protected]>2009-10-06 08:35:10 +0000
commitaf9d2ff9afaae8040dbf09238b2579f92c93579e (patch)
tree61ceddb80062cae529b9c5a34cdf7a07566f1a30 /fs/proc/array.c
parent[S390] 64-bit register support for 31-bit processes (diff)
downloadkernel-af9d2ff9afaae8040dbf09238b2579f92c93579e.tar.gz
kernel-af9d2ff9afaae8040dbf09238b2579f92c93579e.zip
[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 <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions