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

From: Cyrill Gorcunov
Date: Thu Mar 08 2012 - 15:21:39 EST


On Thu, Mar 08, 2012 at 12:15:55PM -0800, Andy Lutomirski wrote:
> On Thu, Mar 8, 2012 at 12:07 PM, Cyrill Gorcunov <gorcunov@xxxxxxxxxx> wrote:
> > On Thu, Mar 08, 2012 at 12:02:50PM -0800, Andy Lutomirski wrote:
> >> >
> >> > I can do that if Andrew agree.
> >>
> >> I'm a bit lost.  nnp updates the MNT_NOSUID checks, not the MNT_NOEXEC
> >> checks.  (And the effects of the two flags is different in selinux for
> >> historical reasons.)  I'm sure I'm missing something.
> >>
> >
> > Andy, I've no idea what nnp is ;) I was only about to gather those
> > ISREG/MNT_NOEXEC to one helper since we indeed have a few places in
> > kernel which do same thing in open-coded manner.
>
> Am I not the Andrew you were referring to?
>

Nope, I meant Andrew Morton /because this patch is for -mm/ ;)

I've been in To: field that's why I replied you about nnp
(and, btw, what nnp is? not "Net national product" I suppose,
this hint wikipedia gave me)

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/