diff options
author | Gerald Schaefer <gerald.schaefer@de.ibm.com> | 2009-10-06 08:34:14 (GMT) |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2009-10-06 08:35:10 (GMT) |
commit | af9d2ff9afaae8040dbf09238b2579f92c93579e (patch) | |
tree | 61ceddb80062cae529b9c5a34cdf7a07566f1a30 /drivers/s390 | |
parent | ea2a4d3a3a929ef494952bba57a0ef1a8a877881 (diff) | |
download | linux-fsl-qoriq-af9d2ff9afaae8040dbf09238b2579f92c93579e.tar.xz |
[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 <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions