소스 검색

microblaze: Wire-up execveat syscall

Add new execveat syscall.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek 10 년 전
부모
커밋
add4b1b02d
3개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      arch/microblaze/include/asm/unistd.h
  2. 1 0
      arch/microblaze/include/uapi/asm/unistd.h
  3. 1 0
      arch/microblaze/kernel/syscall_table.S

+ 1 - 1
arch/microblaze/include/asm/unistd.h

@@ -38,6 +38,6 @@
 
 #endif /* __ASSEMBLY__ */
 
-#define __NR_syscalls         388
+#define __NR_syscalls         389
 
 #endif /* _ASM_MICROBLAZE_UNISTD_H */

+ 1 - 0
arch/microblaze/include/uapi/asm/unistd.h

@@ -403,5 +403,6 @@
 #define __NR_getrandom		385
 #define __NR_memfd_create	386
 #define __NR_bpf		387
+#define __NR_execveat		388
 
 #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */

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

@@ -388,3 +388,4 @@ ENTRY(sys_call_table)
 	.long sys_getrandom		/* 385 */
 	.long sys_memfd_create
 	.long sys_bpf
+	.long sys_execveat