From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f197.google.com (mail-io0-f197.google.com [209.85.223.197]) by kanga.kvack.org (Postfix) with ESMTP id CF69E6B0033 for ; Thu, 2 Nov 2017 14:57:35 -0400 (EDT) Received: by mail-io0-f197.google.com with SMTP id m81so1161196ioi.3 for ; Thu, 02 Nov 2017 11:57:35 -0700 (PDT) Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id f185sor165443ith.53.2017.11.02.11.57.34 for (Google Transport Security); Thu, 02 Nov 2017 11:57:34 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <20171031223146.6B47C861@viggo.jf.intel.com> <20171031223150.AB41C68F@viggo.jf.intel.com> From: Linus Torvalds Date: Thu, 2 Nov 2017 11:57:33 -0700 Message-ID: Subject: Re: [PATCH 02/23] x86, kaiser: do not set _PAGE_USER for init_mm page tables Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: Thomas Gleixner Cc: Andy Lutomirski , Dave Hansen , Andy Lutomirski , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , moritz.lipp@iaik.tugraz.at, Daniel Gruss , michael.schwarz@iaik.tugraz.at, Kees Cook , Hugh Dickins , X86 ML On Thu, Nov 2, 2017 at 11:40 AM, Thomas Gleixner wrote: > > Hmm. Not sure. IIRC you need to be able to read it to figure out where the > entry points are. They are at fixed offsets, but there is some voodoo out > there which reads the 'elf' to get to them. That would actually be really painful. But I *think* you're confusing it with the vdso case, which really does do that whole "generate ELF information for debuggers and dynamic linkers" thing. The vsyscall page never did that afaik, and purely relied on fixed addresses. Linus -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org