Messages in this thread | | | Date | Tue, 15 Sep 2009 11:35:17 +1000 (EST) | From | James Morris <> | 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@linux-foundation.org> > Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: James Morris <jmorris@namei.org>
Linus, I'll assume you'll want to apply this directly.
-- James Morris <jmorris@namei.org>
| |