From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751906AbdFEMWv (ORCPT ); Mon, 5 Jun 2017 08:22:51 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:33357 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751882AbdFEMWt (ORCPT ); Mon, 5 Jun 2017 08:22:49 -0400 Message-ID: <1496665366.343.1.camel@gmail.com> Subject: Re: [kernel-hardening] [PATCH] powerpc: Increase ELF_ET_DYN_BASE to 1TB for 64-bit applications From: Daniel Micay To: Bhupesh Sharma , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com Cc: bhupesh.linux@gmail.com, Anton Blanchard , Daniel Cashman , Kees Cook , Michael Ellerman , Benjamin Herrenschmidt Date: Mon, 05 Jun 2017 08:22:46 -0400 In-Reply-To: <1496642591-1373-1-git-send-email-bhsharma@redhat.com> References: <1496642591-1373-1-git-send-email-bhsharma@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.24.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rather than doing this, the base should just be split for an ELF interpreter like PaX. It makes sense for a standalone executable to be as low in the address space as possible. Doing that ASAP fixes issues like this and opens up the possibility of fixing stack mapping ASLR entropy on various architectures. It should be a pretty small change.