On Tue, 23 Apr 2002 18:47:43 -0500, Geoffrey D. Bennett wrote
> Hi all,
>
> Does anyone else have problems running strace from ctx 1 on a process
> in a different context?  It looks like this test:
>
>         if (!child || child->s_context != current->s_context)
>                 goto out;
>
> should check for current->context != 1?

kind of feature. ctx 1 was meant to find thngs, not operate on things.
Once you have locate a process, you should swtich to that context to
operate on it.

Now, is this always a good thing ?

for example, while to "enter" a vserver security context to kind of spy/trace/whatever,
other process in the vserver may start to spy on you.

---------------------------------------------------------
Jacques Gelinas <[EMAIL PROTECTED]>
vserver: run general purpose virtual servers on one box, full speed!
http://www.solucorp.qc.ca/miscprj/s_context.hc

Reply via email to