Reply-To: kernel-hardening@lists.openwall.com From: Andi Kleen References: <20130410192422.GA17344@www.outflux.net> <20130411083634.GA11824@gmail.com> Date: Thu, 11 Apr 2013 04:50:14 -0700 In-Reply-To: <20130411083634.GA11824@gmail.com> (Ingo Molnar's message of "Thu, 11 Apr 2013 10:36:34 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [kernel-hardening] Re: [PATCH v3] x86: use a read-only IDT alias on all CPUs To: Ingo Molnar Cc: Kees Cook , Alexander Duyck , Alex Shi , Jeremy Fitzhardinge , Will Drewry , Julien Tinnes , Konrad Rzeszutek Wilk , Frederic Weisbecker , Dan Rosenberg , x86@kernel.org, linux-kernel@vger.kernel.org, Steven Rostedt , Borislav Petkov , Ingo Molnar , "H. Peter Anvin" , kernel-hardening@lists.openwall.com, Thomas Gleixner , "Paul E. McKenney" , virtualization@lists.linux-foundation.org, xen-devel@lists.xensource.com List-ID: Ingo Molnar writes: > > This looks very nice to me now. Peter, any objections? it seems pointless without randomized main kernel text location, because the IDT will be still at a known per kernel fixed writable location in the direct mapping. As long as such randomization is not there it just wastes a TLB entry. -Andi -- ak@linux.intel.com -- Speaking for myself only