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

Gary Benson
2015-04-21T07:56:50Z

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

--