[PATCH 0/7] GNU/Linux mount namespace support

Gary Benson gbenson@redhat.com
Tue Apr 21 07:56:00 GMT 2015


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/



More information about the Gdb-patches mailing list