mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
0ff53f5ddb
Fix warning: security/selinux/exports.c:18:6: warning: symbol 'selinux_is_enabled' was not declared. Should it be static? Signed-off-by: James Morris <jmorris@namei.org>
24 lines
709 B
C
24 lines
709 B
C
/*
|
|
* SELinux services exported to the rest of the kernel.
|
|
*
|
|
* Author: James Morris <jmorris@redhat.com>
|
|
*
|
|
* Copyright (C) 2005 Red Hat, Inc., James Morris <jmorris@redhat.com>
|
|
* Copyright (C) 2006 Trusted Computer Solutions, Inc. <dgoeddel@trustedcs.com>
|
|
* Copyright (C) 2006 IBM Corporation, Timothy R. Chavez <tinytim@us.ibm.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2,
|
|
* as published by the Free Software Foundation.
|
|
*/
|
|
#include <linux/module.h>
|
|
#include <linux/selinux.h>
|
|
|
|
#include "security.h"
|
|
|
|
bool selinux_is_enabled(void)
|
|
{
|
|
return selinux_enabled;
|
|
}
|
|
EXPORT_SYMBOL_GPL(selinux_is_enabled);
|