Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753312AbbD0X3q (ORCPT ); Mon, 27 Apr 2015 19:29:46 -0400 Received: from cantor2.suse.de ([195.135.220.15]:33994 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753105AbbD0X3n (ORCPT ); Mon, 27 Apr 2015 19:29:43 -0400 Date: Tue, 28 Apr 2015 01:29:40 +0200 (CEST) From: Jiri Kosina To: Minfei Huang cc: x86@kernel.org, Borislav Petkov , Kees Cook , Josh Poimboeuf , Seth Jennings , Vojtech Pavlik , linux-kernel@vger.kernel.org, live-patching@vger.kernel.org Subject: Re: [PATCH 2/2] livepatch: x86: make kASLR logic more accurate In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 828 Lines: 23 On Mon, 27 Apr 2015, Minfei Huang wrote: > Found that kaslr_enabled is only exist for x86. Maybe you can define a > weak function klp_adjustment_function_addr in general. Then each arch > can overwrite the function to implemente it specially. It might start to make sense once there is at least one additional arch that supports kaslr. Currently, I don't see a benefit. Why are you so obstinate about this? I personally don't find that important at all; it's something that can always be sorted out once more archs start supporting kaslr. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/