summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/audit_64.c
diff options
context:
space:
mode:
authorDavid Drysdale <drysdale@google.com>2014-12-13 01:57:33 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-13 21:42:51 +0100
commit27d6ec7ad6f7a2a131ff8e9f77bcc6547e178d2c (patch)
treea9d56ffca09d414656cac5a57c9b55c4b226cbea /arch/x86/kernel/audit_64.c
parentsyscalls: implement execveat() system call (diff)
downloadlinux-27d6ec7ad6f7a2a131ff8e9f77bcc6547e178d2c.tar.xz
linux-27d6ec7ad6f7a2a131ff8e9f77bcc6547e178d2c.zip
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;