projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94d4ef0
)
selinux: sparse fix: make selinux_secmark_refcount static
author
James Morris
<jmorris@namei.org>
Tue, 30 Aug 2011 04:11:24 +0000
(14:11 +1000)
committer
Eric Paris
<eparis@redhat.com>
Thu, 5 Jan 2012 23:52:48 +0000
(18:52 -0500)
Sparse fix: make selinux_secmark_refcount static.
Signed-off-by: James Morris <jmorris@namei.org>
Signed-off-by: Eric Paris <eparis@redhat.com>
security/selinux/hooks.c
patch
|
blob
|
history
diff --git
a/security/selinux/hooks.c
b/security/selinux/hooks.c
index 266a2292451dcd247410fc3f0ffe8d12d82d8ad3..e07cf7fcdce2aa55183f34125dc4e117fb19fac2 100644
(file)
--- 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;