aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2012-04-02 13:15:55 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-04-03 12:49:10 -0400
commitf8294f1144ad0630075918df4bf94075f5384604 (patch)
tree9c794bc9a5cbc688d3b6819d211df16b979a56c9 /security/selinux
parent7f6a47cf1477ffae9cff1d6ee181e2ce6bfb2f02 (diff)
SELinux: remove avd from slow_avc_audit()
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>
Diffstat (limited to 'security/selinux')
-rw-r--r--security/selinux/avc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/selinux/avc.c b/security/selinux/avc.c
index 00f3860c237..b5545a84448 100644
--- 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)
460/* This is the slow part of avc audit with big stack footprint */ 460/* This is the slow part of avc audit with big stack footprint */
461static noinline int slow_avc_audit(u32 ssid, u32 tsid, u16 tclass, 461static noinline int slow_avc_audit(u32 ssid, u32 tsid, u16 tclass,
462 u32 requested, u32 audited, u32 denied, 462 u32 requested, u32 audited, u32 denied,
463 struct av_decision *avd, struct common_audit_data *a, 463 struct common_audit_data *a,
464 unsigned flags) 464 unsigned flags)
465{ 465{
466 struct common_audit_data stack_data; 466 struct common_audit_data stack_data;
@@ -553,7 +553,7 @@ inline int avc_audit(u32 ssid, u32 tsid,
553 553
554 return slow_avc_audit(ssid, tsid, tclass, 554 return slow_avc_audit(ssid, tsid, tclass,
555 requested, audited, denied, 555 requested, audited, denied,
556 avd, a, flags); 556 a, flags);
557} 557}
558 558
559/** 559/**