linux/arch/cris
Al Viro 63937b3bf2 cris: buggered copy_from_user/copy_to_user/clear_user
commit eb47e0293b 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 <jesper.nilsson@axis.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2016-11-20 01:17:27 +00:00
..
arch-v10 cris: update comments for generic idle conversion 2014-06-06 16:08:18 -07:00
arch-v32 cris: update comments for generic idle conversion 2014-06-06 16:08:18 -07:00
boot Drop code for CRISv10 CPU simulator 2014-01-15 14:44:02 +01:00
configs kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
include cris: buggered copy_from_user/copy_to_user/clear_user 2016-11-20 01:17:27 +00:00
kernel cris: cpuinfo_op should depend on CONFIG_PROC_FS 2014-04-07 16:36:09 -07:00
mm vm: add VM_FAULT_SIGSEGV handling support 2015-02-04 10:58:27 +00:00
Kconfig Kconfig: rename HAS_IOPORT to HAS_IOPORT_MAP 2014-04-07 16:36:11 -07:00
Kconfig.debug Kconfig: remove a few puzzling comments 2011-10-31 10:58:48 +01:00
Makefile UAPI: Partition the header include path sets and add uapi/ header directories 2012-10-02 18:01:26 +01:00