From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Drysdale Subject: [PATCH 1/2] audit: add execveat to syscall classification Date: Fri, 6 Mar 2015 15:40:37 +0000 Message-ID: <1425656438-3884-2-git-send-email-drysdale@google.com> References: <1425656438-3884-1-git-send-email-drysdale@google.com> Return-path: In-Reply-To: <1425656438-3884-1-git-send-email-drysdale@google.com> Sender: linux-kernel-owner@vger.kernel.org To: Brian Gerst , Ingo Molnar Cc: "H. Peter Anvin" , AKASHI Takahiro , Richard Guy Briggs , Eric Paris , Paul Moore , stable@vger.kernel.org, linux-audit@redhat.com, linux-kernel@vger.kernel.org, David Drysdale List-Id: linux-audit@redhat.com New execveat syscall from v3.19 is missing from audit_classify_compat_syscall(). Reported-by: Brian Gerst Signed-off-by: David Drysdale --- 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