OSDN Git Service

[PATCH] Fix canonical checking for segment registers in ptrace
authorAndi Kleen <ak@suse.de>
Tue, 28 Jun 2005 13:18:17 +0000 (15:18 +0200)
committerMarcelo Tosatti <marcelo.tosatti@cyclades.com>
Wed, 29 Jun 2005 13:50:00 +0000 (10:50 -0300)
commit3a36ef7ace64c507f6b087071429dbfed7d2a96d
treef6097f56ad699f67e1c0dca233a095ce32715bc8
parent2e7fe37125e00cf9090416345e36af80d7761e9a
[PATCH] Fix canonical checking for segment registers in ptrace

Fix canonical checking for segment registers in ptrace

This avoids a local DOS where a process could oops the kernel by
passing bogus values to ptrace. Some versions of UML did this.

Found by Alexander Nyberg

Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/ptrace.c