From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102494 invoked by alias); 21 Apr 2015 07:56:50 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 102470 invoked by uid 89); 21 Apr 2015 07:56:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 21 Apr 2015 07:56:48 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 12AEA3C228; Tue, 21 Apr 2015 07:56:47 +0000 (UTC) Received: from blade.nx (ovpn-116-95.ams2.redhat.com [10.36.116.95]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t3L7uj97029020; Tue, 21 Apr 2015 03:56:46 -0400 Received: by blade.nx (Postfix, from userid 1000) id E55A3264117; Tue, 21 Apr 2015 08:56:44 +0100 (BST) Date: Tue, 21 Apr 2015 07:56:00 -0000 From: Gary Benson To: Iago =?iso-8859-1?Q?L=F3pez?= Galeiras Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 0/7] GNU/Linux mount namespace support Message-ID: <20150421075644.GA21055@blade.nx> References: <1429186791-6867-1-git-send-email-gbenson@redhat.com> <55352E23.40303@endocode.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <55352E23.40303@endocode.com> X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00758.txt.bz2 Iago López Galeiras wrote: > On 04/16/2015 02:19 PM, Gary Benson wrote: > > This series allows GDB and gdbserver on GNU/Linux systems to > > attach to processes in mount namespaces other than the debugger's > > own when invoked with the appropriate permissions. This allows an > > application running in a container to be debugged by running GDB > > or gdbserver on the host, or by running GDB or gdbserver from > > within another container that shares the host's PID namespace. > > Thanks a lot for the patches! > > I've got a small feature request. If the process inside the mount > namespace is running on a chroot I believe it won't work (I couldn't > test it because the patches don't work for me[1]). Well, let's not start implementing fixes for things that might not even be broken. I'll mail a v2 of this series that works with multithreaded GDB, and then you can tell me if it didn't work :) Cheers, Gary -- http://gbenson.net/