audit: remove path param from link denied function

In commit 45b578fe4c
("audit: link denied should not directly generate PATH record")
the need for the struct path *link parameter was removed.
Remove the now useless struct path argument.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
Richard Guy Briggs 2018-03-21 04:42:20 -04:00 committed by Paul Moore
parent 45b578fe4c
commit 94b9d9b7a1
3 changed files with 5 additions and 8 deletions

View file

@ -2308,9 +2308,8 @@ EXPORT_SYMBOL(audit_log_task_info);
/**
* audit_log_link_denied - report a link restriction denial
* @operation: specific link operation
* @link: the path that triggered the restriction
*/
void audit_log_link_denied(const char *operation, const struct path *link)
void audit_log_link_denied(const char *operation)
{
struct audit_buffer *ab;