aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2011-08-16 21:08:43 -0400
committerJames Morris <jmorris@namei.org>2011-09-09 19:56:25 -0400
commit56a4ca996181b94b30e6b46509dc28e4ca3cc3f8 (patch)
treeff238902759365d93b9ca8739f370fd3ba0f8659 /security/selinux/hooks.c
parent3417d8d5d4d584bd73e2f6265f7a06b51e4a70a1 (diff)
selinux: sparse fix: make selinux_secmark_refcount static
Sparse fix: make selinux_secmark_refcount static. Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r--security/selinux/hooks.c2
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);
96extern struct security_operations *security_ops; 96extern struct security_operations *security_ops;
97 97
98/* SECMARK reference count */ 98/* SECMARK reference count */
99atomic_t selinux_secmark_refcount = ATOMIC_INIT(0); 99static atomic_t selinux_secmark_refcount = ATOMIC_INIT(0);
100 100
101#ifdef CONFIG_SECURITY_SELINUX_DEVELOP 101#ifdef CONFIG_SECURITY_SELINUX_DEVELOP
102int selinux_enforcing; 102int selinux_enforcing;