From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f70.google.com (mail-oi0-f70.google.com [209.85.218.70]) by kanga.kvack.org (Postfix) with ESMTP id CBDE96B025F for ; Mon, 7 Aug 2017 15:34:29 -0400 (EDT) Received: by mail-oi0-f70.google.com with SMTP id v68so1026925oia.14 for ; Mon, 07 Aug 2017 12:34:29 -0700 (PDT) Received: from mail-it0-x235.google.com (mail-it0-x235.google.com. [2607:f8b0:4001:c0b::235]) by mx.google.com with ESMTPS id q206si5195803oih.53.2017.08.07.12.34.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Aug 2017 12:34:29 -0700 (PDT) Received: by mail-it0-x235.google.com with SMTP id 76so7208043ith.0 for ; Mon, 07 Aug 2017 12:34:29 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1502131739.1803.12.camel@gmail.com> From: Kees Cook Date: Mon, 7 Aug 2017 12:34:27 -0700 Message-ID: Subject: Re: binfmt_elf: use ELF_ET_DYN_BASE only for PIE breaks asan Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: Kostya Serebryany Cc: Daniel Micay , Dmitry Vyukov , Michal Hocko , Andrew Morton , "linux-mm@kvack.org" , Rik van Riel , Reid Kleckner , Peter Collingbourne , Evgeniy Stepanov (To be clear, this subthread is for dealing with _future_ changes; I'm already preparing the revert, which is in the other subthread.) On Mon, Aug 7, 2017 at 12:26 PM, Kostya Serebryany wrote: > Oh, a launcher (e.g. just using setarch) would be a huge pain to deploy. Would loading the executable into the mmap region work? We could find a way to mark executables that want this treatment. -- Kees Cook Pixel Security -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org