[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LRH.2.00.0909151134250.13708@tundra.namei.org>
Date: Tue, 15 Sep 2009 11:35:17 +1000 (EST)
From: James Morris <jmorris@...ei.org>
To: Eric Paris <eparis@...hat.com>,
Linus Torvalds <torvalds@...ux-foundation.org>
cc: linux-kernel@...r.kernel.org, selinux@...ho.nsa.gov,
Stephen Smalley <sds@...ho.nsa.gov>
Subject: Re: [PATCH] SELinux: inline selinux_is_enabled in
!CONFIG_SECURITY_SELINUX
On Mon, 14 Sep 2009, Eric Paris wrote:
> Without this patch building a kernel emits millions of warning like:
>
> include/linux/selinux.h:92: warning: ?selinux_is_enabled? defined but not used
>
> When it is build without CONFIG_SECURITY_SELINUX. This is harmless, but
> the function should be inlined, so it gets compiled out.
>
> Reported-by: Linus Torvalds <torvalds@...ux-foundation.org>
> Signed-off-by: Eric Paris <eparis@...hat.com>
Acked-by: James Morris <jmorris@...ei.org>
Linus, I'll assume you'll want to apply this directly.
--
James Morris
<jmorris@...ei.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists