From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754392AbbAPLQM (ORCPT ); Fri, 16 Jan 2015 06:16:12 -0500 Received: from borg.tf-network.de ([62.75.218.204]:56065 "EHLO borg.tf-network.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751598AbbAPLQJ (ORCPT ); Fri, 16 Jan 2015 06:16:09 -0500 Message-ID: <54B8F2F5.8020601@whissi.de> Date: Fri, 16 Jan 2015 12:16:05 +0100 From: "Thomas D." User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Kees Cook , "linux-kernel@vger.kernel.org" CC: "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , "x86@kernel.org" , Vivek Goyal , Jan Beulich , Junjie Mao , Andi Kleen , Baoquan He Subject: Re: [PATCH] x86, boot: skip relocs when load address unchanged References: <20150116005146.GA4212@www.outflux.net> In-Reply-To: <20150116005146.GA4212@www.outflux.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Kees Cook wrote: > This is a reimplementation of Baoquan's "kaslr: check if kernel location is > changed", which performs the check without needing to change the function > declaration. This should have exactly the same effect, but I dropped Vivek's > Ack and Thomas's Test, since it's technically a different patch. Your patch works for me, too. Tested with linux-3.19-rc4 on a 64-bit system. Thanks! -Thomas