Skip to content

Commit

Permalink
SELinux: remove avd from slow_avc_audit()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric Paris authored and Linus Torvalds committed Apr 3, 2012
1 parent 7f6a47c commit f8294f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions security/selinux/avc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -553,7 +553,7 @@ inline int avc_audit(u32 ssid, u32 tsid,

return slow_avc_audit(ssid, tsid, tclass,
requested, audited, denied,
avd, a, flags);
a, flags);
}

/**
Expand Down

0 comments on commit f8294f1

Please sign in to comment.