]> git.karo-electronics.de Git - linux-beck.git/commit
s390/uaccess: remove copy_from_user_real()
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 24 Feb 2014 15:18:55 +0000 (16:18 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 24 Feb 2014 16:14:00 +0000 (17:14 +0100)
commit823002023da6d9124ed63bc622267c15ab2a7347
treecd2b74ff1b6844cca9821d63dfd7180b0a452c06
parent9499934f70deac0cdb96aa2d90f2a0a2de69d80c
s390/uaccess: remove copy_from_user_real()

There is no user left, so remove it.
It was also potentially broken, since the function didn't clear destination
memory if copy_from_user() failed. Which would allow for information leaks.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/uaccess.h
arch/s390/mm/maccess.c