About this list Date view Thread view Subject view Author view Attachment view

From: Jacques Gelinas (jack_at_solucorp.qc.ca)
Date: Thu 14 Nov 2002 - 04:06:34 GMT


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 <jack_at_solucorp.qc.ca>
vserver: run general purpose virtual servers on one box, full speed!
http://www.solucorp.qc.ca/miscprj/s_context.hc


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 14 Nov 2002 - 06:25:30 GMT by hypermail 2.1.3