linux-kernel October 2008 archive
Main Archive Page > Month Archives  > linux-kernel archives
linux-kernel: Re: [PATCH] CRED: ptrace_attach() should use the t

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

From: Tetsuo Handa <penguin-kernel_at_nospam>
Date: Sat Oct 04 2008 - 11:15:54 GMT
To: dhowells@redhat.com


Hello.

David Howells wrote:
>
> Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp> 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-security-module" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html