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