diff options
author | James Morris <jmorris@namei.org> | 2011-08-30 06:11:24 +0200 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2012-01-06 00:52:48 +0100 |
commit | b46610caba4bd9263afd07c7ef7a79974550554a (patch) | |
tree | 3f1edce9d24e9e7af2661ab4c2eeae744beb183c /security/selinux | |
parent | SELinux: Fix RCU deref check warning in sel_netport_insert() (diff) | |
download | linux-b46610caba4bd9263afd07c7ef7a79974550554a.tar.xz linux-b46610caba4bd9263afd07c7ef7a79974550554a.zip |
selinux: sparse fix: make selinux_secmark_refcount static
Sparse fix: make selinux_secmark_refcount static.
Signed-off-by: James Morris <jmorris@namei.org>
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'security/selinux')
-rw-r--r-- | security/selinux/hooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 266a2292451d..e07cf7fcdce2 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -96,7 +96,7 @@ extern int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm); extern struct security_operations *security_ops; /* SECMARK reference count */ -atomic_t selinux_secmark_refcount = ATOMIC_INIT(0); +static atomic_t selinux_secmark_refcount = ATOMIC_INIT(0); #ifdef CONFIG_SECURITY_SELINUX_DEVELOP int selinux_enforcing; |