From af9447d8cb50d954d6914dc4b878448f078eade9 Mon Sep 17 00:00:00 2001 From: Richard Guy Briggs Date: Wed, 16 May 2018 07:55:45 -0400 Subject: [PATCH] audit: use new audit_context access funciton for seccomp_actions_logged On the rebase of the following commit on the new seccomp actions_logged function, one audit_context access was missed. commit 0bf7311bc7b7d1fe8c2dd78c1d2469d755b78e1c ("audit: use inline function to get audit context") Signed-off-by: Richard Guy Briggs Signed-off-by: Paul Moore --- kernel/auditsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/auditsc.c b/kernel/auditsc.c index cbab0da86d154..f3d3dc652c2c4 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c @@ -2497,7 +2497,7 @@ void audit_seccomp_actions_logged(const char *names, const char *old_names, if (!audit_enabled) return; - ab = audit_log_start(current->audit_context, GFP_KERNEL, + ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_CONFIG_CHANGE); if (unlikely(!ab)) return; -- 2.39.5