diff options
author | James Morris <jmorris@namei.org> | 2011-08-30 04:17:34 (GMT) |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2012-01-05 23:52:50 (GMT) |
commit | e8a65a3f67f8a85802c0a0250e48c4c4652d0da0 (patch) | |
tree | 4f9b55cac61209b6b4f15a1e20396a15a4444b11 /security/selinux/hooks.c | |
parent | 6063c0461b947c26a77674f33a3409eb99e15d2f (diff) | |
download | linux-e8a65a3f67f8a85802c0a0250e48c4c4652d0da0.tar.xz |
selinux: sparse fix: eliminate warnings for selinuxfs
Fixes several sparse warnings for selinuxfs.c
Signed-off-by: James Morris <jmorris@namei.org>
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r-- | security/selinux/hooks.c | 5 |
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; |