]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] broken copy_in_user function.
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 30 Aug 2006 12:33:30 +0000 (14:33 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 30 Aug 2006 12:33:30 +0000 (14:33 +0200)
commit402da396f2a40d4197c47801c1c0ae3dd15fefd5
tree7cc495fcd98841375a3f3a6a574dd6d9fcd7a7c2
parent728d1e1cd1edd9176f068ade1be4974ea71ee817
[S390] broken copy_in_user function.

The copy_in_user primitive does not work as advertised. If the source
and target area are available copy_in_user copies one byte too much.
If one of the memory areas is not available it does not copy as much
data as it can, but up to 257 bytes less.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/lib/uaccess.S
arch/s390/lib/uaccess64.S