Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1363102ybv; Thu, 6 Feb 2020 02:49:33 -0800 (PST) X-Google-Smtp-Source: APXvYqyZ/2z/9M5QtKo0WZMWPmtTQ32LWGLBo+Vjc1ooLVGLZOD/xhTSxLvaMZ4Gyvsq87+E5QFm X-Received: by 2002:a54:458d:: with SMTP id z13mr6577426oib.32.1580986173272; Thu, 06 Feb 2020 02:49:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580986173; cv=none; d=google.com; s=arc-20160816; b=UupCtajVJV4rsQ4f1YrfNujtMDucAJfza8yDzep3eK1GWOTO1tCGwv33cn+97cLZLa OOpkCoquj/Gpzt2JFyv5xeWGSHqlyeppHLl9SkH/YQ5xYtoGAJkCBHYnjclgwuW8J+FF AIvbcCRJBLsfIcYBl3PFDphfUIX8L2ItgdvqQDFI9zdi9nyDUn18ULoTYSgLy3E+V+Ar 7fH64ckt0jCCtQJ25STEh/BSDnIk1412NmekKucGsHQt/CAUnD11hEH0IiK5wLdZ8IuM 4X9addbHrKV+4J+HKFmZlrFdp3RbL2a+EF2kkAUCm7d+kQ7K4n+gYXeuLQkDvId38zlN m2YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=DjXmqETrMux+Kvl54ARTF4j5vGbLSPVcRuU0fti6CUI=; b=BZonfcaGjOQvKgO5kfrNYeIoIkU/PV5NmK7xZvQbKKDqqxwAH4res2Z7wi8CK7/F/j kSnn8i7N2/5ONw4ZOJM/y88w8YBR0Iys1g8xk5C2EpDbZ2Ke8d8FpMM+DB1O+/yuzDwl noPrTv4LbhULE/Z1I1j6v5CHsURwm9vdGNlIBlf64GUSsD60PPdBpAlyByWtOGQiDyDD +2ss16P+OcErhsi31jAF4j+qBP2wOlDM0PgrVhzFJA4DBnwhIfUqvi10wR6bi4LVW/ty 6OgU/E38ST4NkQLYeGuElSAJmUmt9iItRk7EWitPEoxDOC1u1DzgwiCT646yYjmTsmPV SMVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=cElrmZOk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x198si1690345oif.108.2020.02.06.02.49.20; Thu, 06 Feb 2020 02:49:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=cElrmZOk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728484AbgBFKik (ORCPT + 99 others); Thu, 6 Feb 2020 05:38:40 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:42582 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728368AbgBFKik (ORCPT ); Thu, 6 Feb 2020 05:38:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=DjXmqETrMux+Kvl54ARTF4j5vGbLSPVcRuU0fti6CUI=; b=cElrmZOkO5QQfNB2K32XFgXSa+ utFJ6s2akipb7LH6esgagCxAkyYZ+i5/T9dmvqBc+mgEDfb7gu9jQcxR0XIzhgNKru3P6RJocdX5K SZNwEUnHqIVsfVfhI1nXdzSzSRWAKBpWFXxYIa0NokFgIyBX2sufPqFq9BSBPbeMQlzZuruhnS7Hp 3jIbpfGPfFxRIhQkhlAbK0Vodaydr59WGjJHs97FUQSk3VQCg/Pb1Hf6AhPvvjeXB6c8azGu1kU4+ ecak7avhEjeiExdtb0yoy2UqF/0nzVSbPWu7lEcL/qxN1GlKET5F0Oi+yO3voqz8OF2h4jDDrWvP0 ThB/X0EA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1izeYL-0007Jr-5p; Thu, 06 Feb 2020 10:38:33 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 673EB3016E5; Thu, 6 Feb 2020 11:36:44 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id AAB262B789F43; Thu, 6 Feb 2020 11:38:30 +0100 (CET) Date: Thu, 6 Feb 2020 11:38:30 +0100 From: Peter Zijlstra To: Kristen Carlson Accardi Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, arjan@linux.intel.com, keescook@chromium.org, rick.p.edgecombe@intel.com, x86@kernel.org, linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com Subject: Re: [RFC PATCH 08/11] x86: Add support for finer grained KASLR Message-ID: <20200206103830.GW14879@hirez.programming.kicks-ass.net> References: <20200205223950.1212394-1-kristen@linux.intel.com> <20200205223950.1212394-9-kristen@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200205223950.1212394-9-kristen@linux.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 05, 2020 at 02:39:47PM -0800, Kristen Carlson Accardi wrote: > +static long __start___ex_table_addr; > +static long __stop___ex_table_addr; > +static long _stext; > +static long _etext; > +static long _sinittext; > +static long _einittext; Should you not also adjust __jump_table, __mcount_loc, __kprobe_blacklist and possibly others that include text addresses?