From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f199.google.com (mail-wr0-f199.google.com [209.85.128.199]) by kanga.kvack.org (Postfix) with ESMTP id 37F766B0038 for ; Thu, 2 Nov 2017 17:41:52 -0400 (EDT) Received: by mail-wr0-f199.google.com with SMTP id z55so527267wrz.2 for ; Thu, 02 Nov 2017 14:41:52 -0700 (PDT) Received: from Galois.linutronix.de (Galois.linutronix.de. [2a01:7a0:2:106d:700::1]) by mx.google.com with ESMTPS id s77si520501wme.24.2017.11.02.14.41.48 for (version=TLS1_2 cipher=AES128-SHA bits=128/128); Thu, 02 Nov 2017 14:41:49 -0700 (PDT) Date: Thu, 2 Nov 2017 22:41:35 +0100 (CET) From: Thomas Gleixner Subject: Re: [PATCH 02/23] x86, kaiser: do not set _PAGE_USER for init_mm page tables In-Reply-To: Message-ID: References: <20171031223146.6B47C861@viggo.jf.intel.com> <20171031223150.AB41C68F@viggo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Linus Torvalds 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, 2 Nov 2017, Linus Torvalds wrote: > 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. Yes, managed to confuse myself. The vsycall page has only the fixed offset entry points at least when its in emulation mode. Thanks, tglx -- 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