OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3639f17
)
audit: WARN if audit_rule_change called illegally
author
Eric Paris
<eparis@redhat.com>
Fri, 10 Oct 2014 19:05:21 +0000
(15:05 -0400)
committer
Eric Paris
<eparis@redhat.com>
Fri, 10 Oct 2014 19:07:42 +0000
(15:07 -0400)
Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/auditfilter.c
patch
|
blob
|
history
diff --git
a/kernel/auditfilter.c
b/kernel/auditfilter.c
index
4a11697
..
4419d1f
100644
(file)
--- a/
kernel/auditfilter.c
+++ b/
kernel/auditfilter.c
@@
-1085,7
+1085,8
@@
int audit_rule_change(int type, __u32 portid, int seq, void *data,
audit_free_rule(entry);
break;
default:
- return -EINVAL;
+ err = -EINVAL;
+ WARN_ON(1);
}
return err;