Re: [RFC] c/r: prctl: Add ability to set new mm_struct::exe_file

From: Cyrill Gorcunov
Date: Wed Feb 29 2012 - 10:31:36 EST


On Wed, Feb 29, 2012 at 07:23:07PM +0400, Pavel Emelyanov wrote:
> 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.
>

Sounds like a plan. Thanks Pavel!

Cyrill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/