Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752219AbdHIVYf (ORCPT ); Wed, 9 Aug 2017 17:24:35 -0400 Received: from mail-oi0-f42.google.com ([209.85.218.42]:34852 "EHLO mail-oi0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751884AbdHIVYe (ORCPT ); Wed, 9 Aug 2017 17:24:34 -0400 MIME-Version: 1.0 In-Reply-To: References: From: "H.J. Lu" Date: Wed, 9 Aug 2017 14:24:32 -0700 Message-ID: Subject: Re: new ELF marking To: Kostya Serebryany Cc: Kees Cook , LKML , Binutils Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 503 Lines: 17 On Wed, Aug 9, 2017 at 1:32 PM, Kostya Serebryany wrote: >> > >> > I believe this would only be an output bit, but I'm not sure how it >> > would be wired into binutils. Kostya, do you know any details about >> > how AddressSanitizer might be able to create this ELF note? > > I don't, hopefully H.J's suggestion works. > Will it be backward compatible? > (i.e. will the binaries built in the new way work on the old kernels?) > > Yes, it is backward compatible by design. -- H.J.