[PATCH] S390: user readable uninitialised kernel memory, take 2.
commit6d2654aef9d0af26ac75e1f13bf27d7c0a2c8a5a
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 3 Nov 2006 14:43:36 +0000 (3 15:43 +0100)
committerChris Wright <chrisw@sous-sol.org>
Sun, 19 Nov 2006 03:27:57 +0000 (18 19:27 -0800)
treeb5a25c2a44dc722de26bd1cd9621db70643ce9d1
parentb4d854665eafe32b48e0eecadb91a73f6eea0055
[PATCH] S390: 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: Chris Wright <chrisw@sous-sol.org>
arch/s390/lib/uaccess.S
arch/s390/lib/uaccess64.S