This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/7] GNU/Linux mount namespace support
- From: Gary Benson <gbenson at redhat dot com>
- To: Iago López Galeiras <iago at endocode dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 21 Apr 2015 08:56:44 +0100
- Subject: Re: [PATCH 0/7] GNU/Linux mount namespace support
- Authentication-results: sourceware.org; auth=none
- References: <1429186791-6867-1-git-send-email-gbenson at redhat dot com> <55352E23 dot 40303 at endocode dot com>
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/