浏览代码

parisc: Wire up execveat syscall

Signed-off-by: Helge Deller <deller@gmx.de>
Helge Deller 10 年之前
父节点
当前提交
fb96a796f2
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 2 1
      arch/parisc/include/uapi/asm/unistd.h
  2. 1 0
      arch/parisc/kernel/syscall_table.S

+ 2 - 1
arch/parisc/include/uapi/asm/unistd.h

@@ -834,8 +834,9 @@
 #define __NR_getrandom		(__NR_Linux + 339)
 #define __NR_memfd_create	(__NR_Linux + 340)
 #define __NR_bpf		(__NR_Linux + 341)
+#define __NR_execveat		(__NR_Linux + 342)
 
-#define __NR_Linux_syscalls	(__NR_bpf + 1)
+#define __NR_Linux_syscalls	(__NR_execveat + 1)
 
 
 #define __IGNORE_select		/* newselect */

+ 1 - 0
arch/parisc/kernel/syscall_table.S

@@ -437,6 +437,7 @@
 	ENTRY_SAME(getrandom)
 	ENTRY_SAME(memfd_create)	/* 340 */
 	ENTRY_SAME(bpf)
+	ENTRY_COMP(execveat)
 
 	/* Nothing yet */