summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/audit_64.c
diff options
context:
space:
mode:
authorDavid Drysdale <drysdale@google.com>2014-12-13 03:57:33 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-13 23:42:51 +0300
commit27d6ec7ad6f7a2a131ff8e9f77bcc6547e178d2c (patch)
treea9d56ffca09d414656cac5a57c9b55c4b226cbea /arch/x86/kernel/audit_64.c
parent51f39a1f0cea1cacf8c787f652f26dfee9611874 (diff)
downloadlinux-27d6ec7ad6f7a2a131ff8e9f77bcc6547e178d2c.tar.xz
x86: hook up execveat system call
Hook up x86-64, i386 and x32 ABIs. Signed-off-by: David Drysdale <drysdale@google.com> Cc: Meredydd Luff <meredydd@senatehouse.org> Cc: Shuah Khan <shuah.kh@samsung.com> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Kees Cook <keescook@chromium.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Rich Felker <dalias@aerifal.cx> Cc: Christoph Hellwig <hch@infradead.org> Cc: Michael Kerrisk <mtk.manpages@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/kernel/audit_64.c')
-rw-r--r--arch/x86/kernel/audit_64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/audit_64.c b/arch/x86/kernel/audit_64.c
index 06d3e5a14d9d..f3672508b249 100644
--- a/arch/x86/kernel/audit_64.c
+++ b/arch/x86/kernel/audit_64.c
@@ -50,6 +50,7 @@ int audit_classify_syscall(int abi, unsigned syscall)
case __NR_openat:
return 3;
case __NR_execve:
+ case __NR_execveat:
return 5;
default:
return 0;