]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[PATCH] x86_64: Fix access check in ptrace compat
authorAndi Kleen <ak@suse.de>
Mon, 10 Jul 2006 15:06:24 +0000 (17:06 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Jul 2006 22:12:33 +0000 (15:12 -0700)
commit2c87e2cd0b57f63c226cd51f55ccc36867541a24
tree78de73e00823aa0b29ebc2570e67207f42f957f0
parent1cfcea1b2d67987ddb84dc75f454321bcf536555
[PATCH] x86_64: Fix access check in ptrace compat

We can't safely directly access an compat_alloc_user_space() pointer
with the siginfo copy functions. Bounce it through the stack.

Noticed by Al Viro using sparse

[ This was only added post 2.6.17, not in any released kernel ]

Cc: Al Viro <viro@ftp.linux.org.uk>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/ia32/ptrace32.c