summaryrefslogtreecommitdiffstats
path: root/security/selinux/selinuxfs.c
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2011-08-30 12:09:15 +1000
committerJames Morris <jmorris@namei.org>2011-09-09 16:56:31 -0700
commit6a3fbe81179c85eb53054a0f4c8423ffec0276a7 (patch)
treeb281fee66a005236bbdedf5f22eeacc37669ba4a /security/selinux/selinuxfs.c
parentad3fa08c4ff84ed87649d72e8497735c85561a3d (diff)
downloadop-kernel-dev-6a3fbe81179c85eb53054a0f4c8423ffec0276a7.zip
op-kernel-dev-6a3fbe81179c85eb53054a0f4c8423ffec0276a7.tar.gz
selinux: sparse fix: fix warnings in netlink code
Fix sparse warnings in SELinux Netlink code. Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux/selinuxfs.c')
-rw-r--r--security/selinux/selinuxfs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c
index ba2ada5..f466587 100644
--- a/security/selinux/selinuxfs.c
+++ b/security/selinux/selinuxfs.c
@@ -75,8 +75,6 @@ static char policy_opened;
/* global data for policy capabilities */
static struct dentry *policycap_dir;
-extern void selnl_notify_setenforce(int val);
-
/* Check whether a task is allowed to use a security operation. */
static int task_has_security(struct task_struct *tsk,
u32 perms)
OpenPOWER on IntegriCloud