Reply-To: kernel-hardening@lists.openwall.com Sender: Ingo Molnar Date: Sun, 21 Apr 2013 11:13:42 +0200 From: Ingo Molnar Message-ID: <20130421091342.GD31470@gmail.com> References: <20130419231638.GA20133@www.outflux.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130419231638.GA20133@www.outflux.net> Subject: [kernel-hardening] Re: [PATCH] x86: kaslr: move ELF relocation handling to C To: Kees Cook Cc: "H. Peter Anvin" , linux-kernel@vger.kernel.org, x86@kernel.org, kernel-hardening@lists.openwall.com, Thomas Gleixner , Ingo Molnar , David Woodhouse , Jiri Kosina , Olaf Hering , Yinghai Lu , Matt Fleming , Gokul Caushik , Josh Triplett , Joe Millenbach , Alexander Duyck , Jacob Shin , Pekka Enberg , Eric Northup , Dan Rosenberg , Julien Tinnes , Will Drewry List-ID: * Kees Cook wrote: > Moves the relocation handling into C, after decompression. Only > kernels that need relocation support will use the code. The new > CONFIG_RANDOMIZE_BASE does not yet do anything except turn on this logic > for 64-bit kernels. So why not keep the inactive CONFIG_RANDOMIZE_BASE hunks in a separate patch, and just have this one clean, orthogonal patch that moves relocation handling into C? Thanks, Ingo