[PATCH] m32r: security fix of {get,put}_user macros
commit04dfd0de4ec04aaf7d9d42439c972c642a15a75c
authorHirokazu Takata <takata@linux-m32r.org>
Tue, 11 Apr 2006 05:53:20 +0000 (10 22:53 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:18:34 +0000 (11 06:18 -0700)
tree26f093671aee900dadc7458f774eb9eb9e209b78
parent7c1c4e541888947947bc46a18a9a5543a259ed62
[PATCH] m32r: security fix of {get,put}_user macros

Update {get,put}_user macros for m32r kernel.
- Modify get_user to use __get_user_asm macro, instead of __get_user_x macro.
- Remove arch/m32r/lib/{get,put}user.S.
- Some cosmetic updates.

I would like to thank NIIBE Yutaka for his reporting about the m32r kernel's
security problem in {get,put}_user macros.

There were no address checking for user space access in {get,put}_user macros.
 ;-)

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Cc: NIIBE Yutaka <gniibe@fsij.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/m32r/kernel/m32r_ksyms.c
arch/m32r/lib/Makefile
arch/m32r/lib/getuser.S [deleted file]
arch/m32r/lib/putuser.S [deleted file]
include/asm-m32r/uaccess.h