Re: [PATCH] SELinux: inline selinux_is_enabled in !CONFIG_SECURITY_SELINUX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Eric Paris <eparis@xxxxxxxxxx>

Acked-by: James Morris <jmorris@xxxxxxxxx>

Linus, I'll assume you'll want to apply this directly.


-- 
James Morris
<jmorris@xxxxxxxxx>

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux