summaryrefslogtreecommitdiff
path: root/arch/s390/lib/uaccess_mvcos.c
AgeCommit message (Collapse)AuthorFilesLines
2006-09-28[S390] user readable uninitialised kernel memory.Martin Schwidefsky1-6/+16
A user space program can read uninitialised kernel memory by appending to a file from a bad address and then reading the result back. The cause is the copy_from_user function that does not clear the remaining bytes of the kernel buffer after it got a fault on the user space address. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2006-09-20[S390] Use alternative user-copy operations for new hardware.Gerald Schaefer1-0/+156
This introduces new user-copy operations which are optimized for copying more than 256 Bytes on new hardware. Signed-off-by: Gerald Schaefer <geraldsc@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>