]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[S390] fix user readable uninitialised kernel memory, take 2.
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Sun, 5 Nov 2006 07:03:01 +0000 (08:03 +0100)
committerAdrian Bunk <bunk@stusta.de>
Sun, 5 Nov 2006 07:03:01 +0000 (08:03 +0100)
commite77b34960d3e48f4e5d4aa2cdb737f618d3834b7
treeaaf918c91b1b2ce526bedd313d37ed2951f980c9
parentdfa2e9e76edadc584a0da6966aa081527dad1372
[S390] fix user readable uninitialised kernel memory, take 2.

The previous patch to correct the copy_from_user padding is quite
broken. The execute instruction needs to be done via the register %r4,
not via %r2 and 31 bit doesn't know the instructions lgr and ahji.

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