summaryrefslogtreecommitdiffstats
path: root/kernel/audit.c
diff options
context:
space:
mode:
authorRichard Guy Briggs <rgb@redhat.com>2018-03-21 09:42:20 +0100
committerPaul Moore <paul@paul-moore.com>2018-03-21 16:17:41 +0100
commit94b9d9b7a14cbb1640868d53b27f403ed2e5b4a9 (patch)
tree26ff28aadfe906d76d90306504e7f1280c317e7f /kernel/audit.c
parentaudit: link denied should not directly generate PATH record (diff)
downloadlinux-94b9d9b7a14cbb1640868d53b27f403ed2e5b4a9.tar.xz
linux-94b9d9b7a14cbb1640868d53b27f403ed2e5b4a9.zip
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.c3
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;