[CRIU] Changing process environ, euid

Pavel Emelyanov xemul at parallels.com
Mon Jan 12 02:50:56 PST 2015


On 01/08/2015 06:54 AM, 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?

Regarding this issue. CRIU doesn't do anything special about the environment as it just sits in
the process' memory. So while dumping and restoring the latter, the former is also C/R-ed.

The similar is for euid. We don't special-care it, just dump and restore as is.


The rest issues seek to be already addressed by Christopher and Ruslan.

Thanks,
Pavel



More information about the CRIU mailing list