From: Heiko Carstens Date: Thu, 21 Mar 2013 07:24:11 +0000 (+0100) Subject: s390/uaccess: fix clear_user_pt() X-Git-Tag: v3.9-rc6~25^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7fef2dd7217d9e3f35c948e87297451e55c9709;p=pandora-kernel.git s390/uaccess: fix clear_user_pt() The page table walker variant of clear_user() is supposed to copy the contents of the empty zero page to user space. However since 238ec4ef "[S390] zero page cache synonyms" empty_zero_page is not anymore the page itself but contains the pointer to the empty zero pages. Therefore the page table walker variant of clear_user() copied the address of the first empty zero page and afterwards more or less random data to user space instead of clearing the given user space range. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed