mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 21:03:32 +00:00
selinux: sparse fix: make selinux_secmark_refcount static
Sparse fix: make selinux_secmark_refcount static. Signed-off-by: James Morris <jmorris@namei.org>
This commit is contained in:
parent
3417d8d5d4
commit
56a4ca9961
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ extern int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm);
|
||||||
extern struct security_operations *security_ops;
|
extern struct security_operations *security_ops;
|
||||||
|
|
||||||
/* SECMARK reference count */
|
/* 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
|
#ifdef CONFIG_SECURITY_SELINUX_DEVELOP
|
||||||
int selinux_enforcing;
|
int selinux_enforcing;
|
||||||
|
|
Loading…
Reference in a new issue