diff options
author | Richard Guy Briggs <rgb@redhat.com> | 2018-03-21 04:42:20 -0400 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2018-03-21 11:17:41 -0400 |
commit | 94b9d9b7a14cbb1640868d53b27f403ed2e5b4a9 (patch) | |
tree | 26ff28aadfe906d76d90306504e7f1280c317e7f /kernel/audit.c | |
parent | 45b578fe4c3cade6f4ca1fc934ce199afd857edc (diff) | |
download | linux-94b9d9b7a14cbb1640868d53b27f403ed2e5b4a9.tar.bz2 |
audit: remove path param from link denied function
In commit 45b578fe4c3cade6f4ca1fc934ce199afd857edc
("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>
Diffstat (limited to 'kernel/audit.c')
-rw-r--r-- | kernel/audit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/audit.c b/kernel/audit.c index 3f2f143edadf..e8bf8d78ac4a 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -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; |