From: Al Viro Date: Thu, 18 Aug 2016 23:34:00 +0000 (-0400) Subject: cris: buggered copy_from_user/copy_to_user/clear_user X-Git-Tag: v3.2.84~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1599d819d3dd1a50d1c11bc9cb8e5d751086f64;p=pandora-kernel.git cris: buggered copy_from_user/copy_to_user/clear_user commit eb47e0293baaa3044022059f1fa9ff474bfe35cb upstream. * copy_from_user() on access_ok() failure ought to zero the destination * none of those primitives should skip the access_ok() check in case of small constant size. Acked-by: Jesper Nilsson Signed-off-by: Al Viro [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed