summaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2011-08-30 10:50:12 +1000
committerJames Morris <jmorris@namei.org>2011-09-09 16:56:30 -0700
commitad3fa08c4ff84ed87649d72e8497735c85561a3d (patch)
treee6f22e6d42cf52c689e983be42b9292180564446 /security/selinux/hooks.c
parentd5813a571876c72766f125b1c6e63414f6822c28 (diff)
downloadop-kernel-dev-ad3fa08c4ff84ed87649d72e8497735c85561a3d.zip
op-kernel-dev-ad3fa08c4ff84ed87649d72e8497735c85561a3d.tar.gz
selinux: sparse fix: eliminate warnings for selinuxfs
Fixes several sparse warnings for selinuxfs.c Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r--security/selinux/hooks.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index e07cf7f..4a176b4 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -2097,9 +2097,6 @@ static int selinux_bprm_secureexec(struct linux_binprm *bprm)
return (atsecure || cap_bprm_secureexec(bprm));
}
-extern struct vfsmount *selinuxfs_mount;
-extern struct dentry *selinux_null;
-
/* Derived from fs/exec.c:flush_old_files. */
static inline void flush_unauthorized_files(const struct cred *cred,
struct files_struct *files)
@@ -5803,8 +5800,6 @@ static int selinux_disabled;
int selinux_disable(void)
{
- extern void exit_sel_fs(void);
-
if (ss_initialized) {
/* Not permitted after initial policy load. */
return -EINVAL;
OpenPOWER on IntegriCloud