Re: [PATCH] CRED: ptrace_attach() should use the target process\'s mutex

From: Tetsuo Handa
Date: Sat Oct 04 2008 - 07:17:49 EST


Hello.

David Howells wrote:
>
> Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> wrote:
>
> > Subject: Add in_execve flag into task_struct.
> >
> > This patch allows LSM modules determine whether current process is in an
> > execve operation or not so that they can behave differently while an execve
> > operation is in progress.
>
> This doesn't apply on top of my patches. How about the attached variant?

Yes. Behavior will be the same.

> I've also:
>
> (1) Extended the patch description. Please check that I've summed up TOMOYA's
> process correctly.

Description is correct. But please apply "sed -e 's/TOMOYA/TOMOYO/g'".
TOMOYO Linux was introduced as TOMOYA Linux by mistake at OLS2008.
The origin of the name is at http://I-love.SAKURA.ne.jp/tomoyo/index.html.en :-)

> (2) Used current directly rather than caching it in a variable. I don't
> think it's worth doing that, given the amount you make use of it, but I
> can revert this change if you'd really prefer.

OK.

Please proceed. Thanks.
--
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/