From f54c28cba2707c280f8285c247550358c44b5984 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Mon, 9 Feb 2015 22:53:20 +0100
Subject: add syscall numbers for the new execveat syscall

this syscall allows fexecve to be implemented without /proc, it is new
in linux v3.19, added in commit 51f39a1f0cea1cacf8c787f652f26dfee9611874
(sh and microblaze do not have allocated syscall numbers yet)

added a x32 fix as well: the io_setup and io_submit syscalls are no
longer common with x86_64, so use the x32 specific numbers.
---
 arch/powerpc/bits/syscall.h | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'arch/powerpc')

diff --git a/arch/powerpc/bits/syscall.h b/arch/powerpc/bits/syscall.h
index 0512eb3b..acd825ad 100644
--- a/arch/powerpc/bits/syscall.h
+++ b/arch/powerpc/bits/syscall.h
@@ -375,6 +375,7 @@
 #define __NR_getrandom             359
 #define __NR_memfd_create          360
 #define __NR_bpf                   361
+#define __NR_execveat              362
 
 /*
  * repeated with SYS prefix
@@ -756,3 +757,4 @@
 #define SYS_getrandom             359
 #define SYS_memfd_create          360
 #define SYS_bpf                   361
+#define SYS_execveat              362
-- 
cgit v1.2.1