From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <53486A30.80909@zytor.com> Date: Fri, 11 Apr 2014 15:18:24 -0700 From: "H. Peter Anvin" MIME-Version: 1.0 To: Andy Lutomirski , "H. Peter Anvin" CC: Brian Gerst , Ingo Molnar , Linux Kernel Mailing List , Linus Torvalds , Thomas Gleixner , stable@vger.kernel.org Subject: Re: [tip:x86/urgent] x86-64, modify_ldt: Ban 16-bit segments on 64-bit kernels References: <53483487.6030103@zytor.com> <53485BB8.1000106@mit.edu> <53485D95.9030301@zytor.com> <5348643F.1020405@mit.edu> <534865DF.2090703@linux.intel.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: On 04/11/2014 03:15 PM, Andy Lutomirski wrote: > > I just looked up my hideous code. I was doing this to test the > now-deleted int 0xcc vsyscall stuff. I used modify_ldt because either > I didn't realize that __USER32_CS was usable or I didn't think it was > ABI. Or I was just being silly. > > But yes, breaking my hack would not matter. :) > Either way, it wouldn't break it. -hpa