projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kernel: avoid overflow in cmp_range
[linux-2.6-microblaze.git]
/
kernel
/
audit.c
diff --git
a/kernel/audit.c
b/kernel/audit.c
index
231b7dc
..
72ab759
100644
(file)
--- a/
kernel/audit.c
+++ b/
kernel/audit.c
@@
-1100,7
+1100,7
@@
static void audit_receive(struct sk_buff *skb)
}
/* Run custom bind function on netlink socket group connect or bind requests. */
-static int audit_bind(int group)
+static int audit_bind(
struct net *net,
int group)
{
if (!capable(CAP_AUDIT_READ))
return -EPERM;