projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4913c59
)
audit: reduce scope of audit_net_id
author
Richard Guy Briggs
<rgb@redhat.com>
Mon, 26 May 2014 14:59:28 +0000
(10:59 -0400)
committer
Eric Paris
<eparis@redhat.com>
Tue, 23 Sep 2014 20:37:50 +0000
(16:37 -0400)
audit_net_id isn't used outside kernel/audit.c. Reduce its scope.
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
kernel/audit.c
patch
|
blob
|
history
diff --git
a/kernel/audit.c
b/kernel/audit.c
index
3ef2e0e
..
9a951e6
100644
(file)
--- a/
kernel/audit.c
+++ b/
kernel/audit.c
@@
-126,7
+126,7
@@
static atomic_t audit_lost = ATOMIC_INIT(0);
/* The netlink socket. */
static struct sock *audit_sock;
-int audit_net_id;
+
static
int audit_net_id;
/* Hash for inode-based rules */
struct list_head audit_inode_hash[AUDIT_INODE_BUCKETS];