From: David Drysdale <drysdale@google.com>
To: Brian Gerst <brgerst@gmail.com>, Ingo Molnar <mingo@kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>,
AKASHI Takahiro <takahiro.akashi@linaro.org>,
Richard Guy Briggs <rgb@redhat.com>,
Eric Paris <eparis@redhat.com>, Paul Moore <paul@paul-moore.com>,
stable@vger.kernel.org, linux-audit@redhat.com,
linux-kernel@vger.kernel.org,
David Drysdale <drysdale@google.com>
Subject: [PATCH 1/2] audit: add execveat to syscall classification
Date: Fri, 6 Mar 2015 15:40:37 +0000 [thread overview]
Message-ID: <1425656438-3884-2-git-send-email-drysdale@google.com> (raw)
In-Reply-To: <1425656438-3884-1-git-send-email-drysdale@google.com>
New execveat syscall from v3.19 is missing from
audit_classify_compat_syscall().
Reported-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: David Drysdale <drysdale@google.com>
---
lib/compat_audit.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/compat_audit.c b/lib/compat_audit.c
index 873f75b640ab..a49469f0511d 100644
--- a/lib/compat_audit.c
+++ b/lib/compat_audit.c
@@ -42,6 +42,9 @@ int audit_classify_compat_syscall(int abi, unsigned syscall)
case __NR_socketcall:
return 4;
#endif
+#ifdef __NR_execveat
+ case __NR_execveat:
+#endif
case __NR_execve:
return 5;
default:
--
1.9.1
next prev parent reply other threads:[~2015-03-06 15:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-06 15:40 [PATCH 0/2] Update audit syscall classification for execve variants David Drysdale
2015-03-06 15:40 ` David Drysdale [this message]
2015-03-06 17:45 ` [PATCH 1/2] audit: add execveat to syscall classification Greg KH
2015-03-06 15:40 ` [PATCH 2/2] audit,x86: add x32_execve[at] " David Drysdale
2015-03-06 17:45 ` Greg KH
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=1425656438-3884-2-git-send-email-drysdale@google.com \
--to=drysdale@google.com \
--cc=brgerst@gmail.com \
--cc=eparis@redhat.com \
--cc=hpa@zytor.com \
--cc=linux-audit@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=paul@paul-moore.com \
--cc=rgb@redhat.com \
--cc=stable@vger.kernel.org \
--cc=takahiro.akashi@linaro.org \
/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).