From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7699 invoked by alias); 11 Nov 2014 21:24:31 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 7690 invoked by uid 89); 11 Nov 2014 21:24:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: one.firstfloor.org Received: from one.firstfloor.org (HELO one.firstfloor.org) (193.170.194.197) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 11 Nov 2014 21:24:29 +0000 Received: by one.firstfloor.org (Postfix, from userid 503) id 8CF3C869B1; Tue, 11 Nov 2014 22:24:26 +0100 (CET) Date: Tue, 11 Nov 2014 21:24:00 -0000 From: Andi Kleen To: "H.J. Lu" Cc: Andi Kleen , Joseph Myers , Ilya Enkovich , GCC Patches Subject: Re: [PATCH, MPX runtime 1/2] Integrate MPX runtime library Message-ID: <20141111212426.GJ12538@two.firstfloor.org> References: <20141111153449.GB52080@msticlxl57.ims.intel.com> <87r3x9a7yt.fsf@tassilo.jf.intel.com> <20141111210127.GI12538@two.firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-SW-Source: 2014-11/txt/msg01087.txt.bz2 On Tue, Nov 11, 2014 at 01:04:42PM -0800, H.J. Lu wrote: > On Tue, Nov 11, 2014 at 1:01 PM, Andi Kleen wrote: > >> It is similar to libsanitizer. Put it in glibc isn't going to work well > >> for MPX. > > > > Can you explain it more please? > > > > Are you suggesting putting MPX run-time in glibc? Will we have > 2 glibc, one with MPX run-time and one without MPX run-time? No, I just think signal chaining should be in glibc. Then there would be no conflicts, and the problem Joseph pointed out with unconditionally taking away sigaction from the user program also wouldn't happen. -Andi