Re: Testing lxc 0.6.5 in Fedora 13

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Matt Helsley
Date: Friday, March 26, 2010 - 5:54 am

On Fri, Mar 26, 2010 at 01:45:22PM +0100, Grzegorz Nosek wrote:

strace isn't linux-only. Checking the syscall return values may be seen
as being more portable. At least that's my guess. That said there are
plenty of #ifdefs in strace and patching it to use GETEVENTMSG is quite
a small patch.

However, as I said, that still doesn't "fix" strace so that it can
be used to trace tasks in child pid namespaces. Especially when the
traced tasks are more than one namepace deeper. :(


I don't think the kernel provides special out-of-band methods for fetching
pids related to traced tasks except during fork and clone. Not wait*(). The
rest of ptrace tends to be focused on reading/writing registers/memory and
managing signal delivery.

Cheers,
	-Matt Helsley
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Testing lxc 0.6.5 in Fedora 13, Matt Helsley, (Tue Mar 23, 2:28 pm)
Re: Testing lxc 0.6.5 in Fedora 13, Greg Kurz, (Wed Mar 24, 2:25 am)
Re: Testing lxc 0.6.5 in Fedora 13, Grzegorz Nosek, (Thu Mar 25, 2:33 pm)
Re: Testing lxc 0.6.5 in Fedora 13, Oleg Nesterov, (Fri Mar 26, 4:11 am)
Re: Testing lxc 0.6.5 in Fedora 13, Grzegorz Nosek, (Fri Mar 26, 4:32 am)
Re: Testing lxc 0.6.5 in Fedora 13, Matt Helsley, (Fri Mar 26, 4:53 am)
Re: Testing lxc 0.6.5 in Fedora 13, Oleg Nesterov, (Fri Mar 26, 5:00 am)
Re: Testing lxc 0.6.5 in Fedora 13, Grzegorz Nosek, (Fri Mar 26, 5:45 am)
Re: Testing lxc 0.6.5 in Fedora 13, Matt Helsley, (Fri Mar 26, 5:46 am)
Re: Testing lxc 0.6.5 in Fedora 13, Matt Helsley, (Fri Mar 26, 5:54 am)
Re: Testing lxc 0.6.5 in Fedora 13, Oleg Nesterov, (Fri Mar 26, 6:34 am)
Re: Testing lxc 0.6.5 in Fedora 13, Oleg Nesterov, (Fri Mar 26, 6:47 am)
Re: Testing lxc 0.6.5 in Fedora 13, Oleg Nesterov, (Fri Mar 26, 6:56 am)
Re: Testing lxc 0.6.5 in Fedora 13, Roland McGrath, (Mon Apr 5, 8:44 pm)
Re: Testing lxc 0.6.5 in Fedora 13, Matt Helsley, (Tue Apr 6, 6:53 am)
[No subject], Oleg Nesterov, (Tue Apr 6, 7:36 am)
[No subject], Eric W. Biederman, (Tue Apr 6, 8:13 am)
[No subject], Eric W. Biederman, (Tue Apr 6, 8:17 am)
[No subject], Matt Helsley, (Tue Apr 6, 8:29 am)