Messages in this thread | | | Date | Wed, 29 Feb 2012 19:23:07 +0400 | From | Pavel Emelyanov <> | Subject | Re: [RFC] c/r: prctl: Add ability to set new mm_struct::exe_file |
| |
On 02/29/2012 07:16 PM, Cyrill Gorcunov wrote: > Hi guys, > > at restore time we would like to have a way for /proc/pid/exe > symlink recovering. So I thought extending prctl might be > a good idea. > > Still maybe there some other good and 'right' way to do it, > so I would like to gather opinions.
If using the prctl for this, then taking a given file descriptor (with fcheck) instead of taking path and opening it in kernel is better.
> Please review, thanks! > > Cyrill
Thanks, Pavel
| |