lkml.org 
[lkml]   [2009]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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>


\
 
 \ /
  Last update: 2009-09-15 03:39    [W:0.039 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site