[CRIU] Changing process environ, euid

Pavel Emelyanov xemul at parallels.com
Mon Jan 12 02:49:15 PST 2015


On 01/08/2015 07:01 PM, Christopher Covington wrote:
> Hi Rektide,
> 
> On 01/07/2015 10:54 PM, rektide at voodoowarez.com wrote:
>> Hello,
>>
>> What means does CRIU use to set up a process environ? I'm hoping there is some wisdom this particular
>> instrumentation group can lend, and I'm hoping there's some really bad nasty awful means to manipulate environ
>> of a running process. I'm also curious about how euid is setup, and whether there's any available ways to
>> instrument a process euid in linux?
> 
> I don't know if this will help in your specific situation, but here's a
> writeup on user namspaces:
> 
> https://lwn.net/Articles/532593/
> 
> A tool called CRIT to view and manipulate checkpoint images is under development.
> 
> http://criu.org/CRIT
> 
> `criu exec` allows you to execute a single system call as another process.

I'd like to take occasion and advertise an side-effect of CRIU -- the compel
project. It's a tool and utils that help you making running processes execute
the code you want.

https://github.com/xemul/compel

We planned to develop it up to some good shape and re-base CRIU on that, but
for now the compel is mostly abandoned (for the lack of time). If there's an
interest to it, I will definitely resurrect one.

Thanks,
Pavel



More information about the CRIU mailing list