projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f6a47c
)
SELinux: remove avd from slow_avc_audit()
author
Eric Paris
<eparis@redhat.com>
Mon, 2 Apr 2012 17:15:55 +0000
(13:15 -0400)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 3 Apr 2012 16:49:10 +0000
(09:49 -0700)
We don't use the argument, so remove it.
Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
security/selinux/avc.c
patch
|
blob
|
history
diff --git
a/security/selinux/avc.c
b/security/selinux/avc.c
index
00f3860
..
b5545a8
100644
(file)
--- a/
security/selinux/avc.c
+++ b/
security/selinux/avc.c
@@
-460,7
+460,7
@@
static void avc_audit_post_callback(struct audit_buffer *ab, void *a)
/* This is the slow part of avc audit with big stack footprint */
static noinline int slow_avc_audit(u32 ssid, u32 tsid, u16 tclass,
u32 requested, u32 audited, u32 denied,
- struct
av_decision *avd, struct
common_audit_data *a,
+ struct common_audit_data *a,
unsigned flags)
{
struct common_audit_data stack_data;
@@
-553,7
+553,7
@@
inline int avc_audit(u32 ssid, u32 tsid,
return slow_avc_audit(ssid, tsid, tclass,
requested, audited, denied,
- a
vd, a
, flags);
+ a, flags);
}
/**