From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754256AbaFMX4t (ORCPT ); Fri, 13 Jun 2014 19:56:49 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:51929 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754189AbaFMX4r (ORCPT ); Fri, 13 Jun 2014 19:56:47 -0400 From: "Rafael J. Wysocki" To: Kees Cook Cc: Pavel Machek , "H. Peter Anvin" , LKML , Randy Dunlap , Thomas Gleixner , Ingo Molnar , "x86@kernel.org" , Len Brown , Wei Yongjun , "linux-doc@vger.kernel.org" , linux-pm@vger.kernel.org Subject: Re: [PATCH 0/2] make kASLR vs hibernation boot-time selectable Date: Sat, 14 Jun 2014 02:14:15 +0200 Message-ID: <1517175.iyVMqh7r2z@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/3.15.0-rc5+; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: <1402602419-27934-1-git-send-email-keescook@chromium.org> <1737131.VlQuirUC3S@vostro.rjw.lan> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday, June 13, 2014 03:59:57 PM Kees Cook wrote: > On Fri, Jun 13, 2014 at 3:54 PM, Rafael J. Wysocki wrote: > > On Friday, June 13, 2014 03:07:19 PM Kees Cook wrote: [cut] > > I'll have a closer look at that shortly (it's been quite some time since > > I wrote that code). > > Thanks; I'm trying to get a test environment instrumented too so I can > look at this. (At the very least, it sounds like we'll still need my > patch series for other architectures.) How can I obtain a kernel address of the beginning of a given page (as represented by struct page) on x86_64 today? Rafael