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>
|
||
|---|---|---|
| .. | ||
| delay.c | ||
| div64.c | ||
| Makefile | ||
| qrnnd.S | ||
| spinlock.c | ||
| string.c | ||
| uaccess.h | ||
| uaccess_mvcos.c | ||
| uaccess_pt.c | ||
| uaccess_std.c | ||
| ucmpdi2.c | ||