Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1489145 > unrolled thread

[PATCH 4.4 093/118] mn10300: failing __get_user() and get_user() should zero

Started byGreg Kroah-Hartman <gregkh@linuxfoundation.org>
First post2016-09-22 19:40 +0200
Last post2016-09-22 19:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 4.4 093/118] mn10300: failing __get_user() and get_user() should zero Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-09-22 19:40 +0200

#1489145 — [PATCH 4.4 093/118] mn10300: failing __get_user() and get_user() should zero

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2016-09-22 19:40 +0200
Subject[PATCH 4.4 093/118] mn10300: failing __get_user() and get_user() should zero
Message-ID<skg8z-Rq-87@gated-at.bofh.it>
4.4-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Al Viro <viro@zeniv.linux.org.uk>

commit 43403eabf558d2800b429cd886e996fd555aa542 upstream.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 arch/mn10300/include/asm/uaccess.h |    1 +
 1 file changed, 1 insertion(+)

--- a/arch/mn10300/include/asm/uaccess.h
+++ b/arch/mn10300/include/asm/uaccess.h
@@ -181,6 +181,7 @@ struct __large_struct { unsigned long bu
 		"2:\n"						\
 		"	.section	.fixup,\"ax\"\n"	\
 		"3:\n\t"					\
+		"	mov		0,%1\n"			\
 		"	mov		%3,%0\n"		\
 		"	jmp		2b\n"			\
 		"	.previous\n"				\

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web