Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8982a1fb authored by Richard Guy Briggs's avatar Richard Guy Briggs Committed by Paul Moore
Browse files

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 cdfb6b34
("audit: use inline function to get audit context")

Signed-off-by: default avatarRichard Guy Briggs <rgb@redhat.com>
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent c0b0ae8a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;