Re: [PATCH 1/3] Creds: creds->security can be NULL is selinux isdisabled

From: Eric Paris
Date: Sun Sep 13 2009 - 18:56:58 EST


On Mon, 2009年09月14日 at 08:23 +1000, James Morris wrote:
> On 2009年9月12日, Eric Paris wrote:
>
> > __validate_process_creds should check if selinux is actually enabled before
> > running tests on the selinux portion of the credentials struct.
>
> Have you verified that this fixes the problem?

Yes, I was able to reproduce the problem using selinux=0 at the command
line. This patch fixes the problem.

-Eric

--
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/



AltStyle によって変換されたページ (->オリジナル) /