From: Richard Guy Briggs <rgb@redhat.com>
To: Linux-Audit Mailing List <linux-audit@redhat.com>,
LKML <linux-kernel@vger.kernel.org>,
Linux NetDev Upstream Mailing List <netdev@vger.kernel.org>,
Netfilter Devel List <netfilter-devel@vger.kernel.org>,
Linux Security Module list
<linux-security-module@vger.kernel.org>,
Integrity Measurement Architecture
<linux-integrity@vger.kernel.org>,
SElinux list <selinux@tycho.nsa.gov>
Cc: Eric Paris <eparis@redhat.com>, Paul Moore <paul@paul-moore.com>,
Steve Grubb <sgrubb@redhat.com>, Ingo Molnar <mingo@redhat.com>,
David Howells <dhowells@redhat.com>,
Richard Guy Briggs <rgb@redhat.com>
Subject: [PATCH ghak81 V3 1/3] audit: use new audit_context access funciton for seccomp_actions_logged
Date: Wed, 16 May 2018 07:55:45 -0400 [thread overview]
Message-ID: <12a849e41468d761e0782c733e58db47d83b0d16.1526430313.git.rgb@redhat.com> (raw)
In-Reply-To: <cover.1526430313.git.rgb@redhat.com>
In-Reply-To: <cover.1526430313.git.rgb@redhat.com>
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>
---
kernel/auditsc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/auditsc.c b/kernel/auditsc.c
index cbab0da..f3d3dc6 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;
--
1.8.3.1
next prev parent reply other threads:[~2018-05-16 11:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-16 11:55 [PATCH ghak81 V3 0/3] audit: group task params Richard Guy Briggs
2018-05-16 11:55 ` Richard Guy Briggs [this message]
2018-05-17 23:00 ` [PATCH ghak81 V3 1/3] audit: use new audit_context access funciton for seccomp_actions_logged Paul Moore
2018-05-16 11:55 ` [PATCH ghak81 V3 2/3] audit: normalize loginuid read access Richard Guy Briggs
2018-05-17 23:02 ` Paul Moore
2018-05-16 11:55 ` [PATCH ghak81 V3 3/3] audit: collect audit task parameters Richard Guy Briggs
2018-05-17 1:43 ` kbuild test robot
2018-05-17 23:04 ` Paul Moore
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12a849e41468d761e0782c733e58db47d83b0d16.1526430313.git.rgb@redhat.com \
--to=rgb@redhat.com \
--cc=dhowells@redhat.com \
--cc=eparis@redhat.com \
--cc=linux-audit@redhat.com \
--cc=linux-integrity@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=paul@paul-moore.com \
--cc=selinux@tycho.nsa.gov \
--cc=sgrubb@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).