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

From: Cyrill Gorcunov
Date: Thu Mar 08 2012 - 14:36:45 EST


On Thu, Mar 08, 2012 at 08:25:59PM +0100, Oleg Nesterov wrote:
> >
> > Sure, I can drop num_exe_file_vmas != 0 case and refuse to
> > setup new exe symlink if there some VM_EXECUTABLE remains
> > unmapped. Sounds good?
>
> Personally I like this. This is simple and _understable_, even
> if ->num_exe_file_vmas has no meaning after PR_SET_MM_EXE.
>
> But please-please document the new special case in the changelog.
>

Sure, will update, thanks.

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/