From: Andy Lutomirski Date: Wed, 25 Feb 2015 00:01:38 +0000 (-0800) Subject: x86/ptrace: Remove checks for TIF_IA32 when changing CS and SS X-Git-Tag: omap-for-v4.1/fixes-rc1~195^2~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08571f1ae327bfb631cb7171bde5ea605df626c6;p=pandora-kernel.git 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 Cc: Borislav Petkov Cc: Denys Vlasenko Link: http://lkml.kernel.org/r/71c7ab36456855d11ae07edd4945a7dfe80f9915.1424822291.git.luto@amacapital.net Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed