x86/ptrace: Remove checks for TIF_IA32 when changing CS and SS
authorAndy Lutomirski <luto@amacapital.net>
Wed, 25 Feb 2015 00:01:38 +0000 (16:01 -0800)
committerIngo Molnar <mingo@kernel.org>
Wed, 25 Feb 2015 07:27:49 +0000 (08:27 +0100)
commit08571f1ae327bfb631cb7171bde5ea605df626c6
treeb480579dd9f05b86b6b004893d1e234acd534af5
parent719d359dc7b6be3e43d6661f192ceb980b10ee26
x86/ptrace: Remove checks for TIF_IA32 when changing CS and SS

The ability for modified CS and/or SS to be useful has nothing
to do with TIF_IA32.  Similarly, if there's an exploit involving
changing CS or SS, it's exploitable with or without a TIF_IA32
check.

So just delete the check.

Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Link: http://lkml.kernel.org/r/71c7ab36456855d11ae07edd4945a7dfe80f9915.1424822291.git.luto@amacapital.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/ptrace.c