summaryrefslogtreecommitdiffstats
path: root/security/selinux/include
diff options
context:
space:
mode:
authorOndrej Mosnacek <omosnace@redhat.com>2021-01-06 14:26:20 +0100
committerPaul Moore <paul@paul-moore.com>2021-01-12 10:02:26 -0500
commitdb478cd60d55db5f1736510786cf14b4b79718d3 (patch)
tree33d4ea84fadec1e0c5728a27f83edb8a8bf01f75 /security/selinux/include
parent3c797e514b927e6c85c0ae3359e85cc55422eec1 (diff)
downloadlinux-db478cd60d55db5f1736510786cf14b4b79718d3.tar.gz
linux-db478cd60d55db5f1736510786cf14b4b79718d3.tar.bz2
linux-db478cd60d55db5f1736510786cf14b4b79718d3.zip
selinux: make selinuxfs_mount static
It is not referenced outside selinuxfs.c, so remove its extern header declaration and make it static. Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/include')
-rw-r--r--security/selinux/include/security.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h
index 3cc8bab31ea8..765a258a899e 100644
--- a/security/selinux/include/security.h
+++ b/security/selinux/include/security.h
@@ -436,7 +436,6 @@ extern void selinux_complete_init(void);
extern int selinux_disable(struct selinux_state *state);
extern void exit_sel_fs(void);
extern struct path selinux_null;
-extern struct vfsmount *selinuxfs_mount;
extern void selnl_notify_setenforce(int val);
extern void selnl_notify_policyload(u32 seqno);
extern int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm);