summaryrefslogtreecommitdiffstats
path: root/kernel/auditsc.c
diff options
context:
space:
mode:
authorRichard Guy Briggs <rgb@redhat.com>2018-05-16 13:55:45 +0200
committerPaul Moore <paul@paul-moore.com>2018-05-17 21:56:20 +0200
commit8982a1fbe0b51efba09401f18cc69abc801149c8 (patch)
treeecbd7c2ef65b7b56359a4248542d1549147cbb36 /kernel/auditsc.c
parentaudit: use inline function to set audit context (diff)
downloadlinux-8982a1fbe0b51efba09401f18cc69abc801149c8.tar.xz
linux-8982a1fbe0b51efba09401f18cc69abc801149c8.zip
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 cdfb6b341f0f2409aba24b84f3b4b2bba50be5c5 ("audit: use inline function to get audit context") Signed-off-by: Richard Guy Briggs <rgb@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel/auditsc.c')
-rw-r--r--kernel/auditsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c
index cbab0da86d15..f3d3dc652c2c 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;