summaryrefslogtreecommitdiffstats
path: root/security/selinux/selinuxfs.c
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2011-08-17 03:17:14 +0200
committerJames Morris <jmorris@namei.org>2011-09-10 01:56:26 +0200
commit58982b74832917405a483a22beede729e3175376 (patch)
treefc6fa24b9cf15490de54501125ac08049abb5ea0 /security/selinux/selinuxfs.c
parentselinux: sparse fix: move selinux_complete_init (diff)
downloadlinux-58982b74832917405a483a22beede729e3175376.tar.xz
linux-58982b74832917405a483a22beede729e3175376.zip
selinux: sparse fix: declare selinux_disable() in security.h
Sparse fix: declare selinux_disable() in security.h Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux/selinuxfs.c')
-rw-r--r--security/selinux/selinuxfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c
index 55d92cbb177a..d3677c6c12c6 100644
--- a/security/selinux/selinuxfs.c
+++ b/security/selinux/selinuxfs.c
@@ -278,7 +278,6 @@ static ssize_t sel_write_disable(struct file *file, const char __user *buf,
char *page = NULL;
ssize_t length;
int new_value;
- extern int selinux_disable(void);
length = -ENOMEM;
if (count >= PAGE_SIZE)