diff options
author | Michal Simek <michal.simek@xilinx.com> | 2014-12-18 09:29:54 -0500 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2015-01-05 06:36:40 -0500 |
commit | add4b1b02da7e7ec35c34dd04d351ac53f3f0dd8 (patch) | |
tree | 3c01e846b28557fd95abc5432b2d720fedb54dd0 /arch/microblaze | |
parent | e236fe93e306055c0f927eb09b4d5b10deadbb28 (diff) |
microblaze: Wire-up execveat syscall
Add new execveat syscall.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/include/asm/unistd.h | 2 | ||||
-rw-r--r-- | arch/microblaze/include/uapi/asm/unistd.h | 1 | ||||
-rw-r--r-- | arch/microblaze/kernel/syscall_table.S | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/unistd.h b/arch/microblaze/include/asm/unistd.h index 0a53362d5548..76ed17b56fea 100644 --- a/arch/microblaze/include/asm/unistd.h +++ b/arch/microblaze/include/asm/unistd.h | |||
@@ -38,6 +38,6 @@ | |||
38 | 38 | ||
39 | #endif /* __ASSEMBLY__ */ | 39 | #endif /* __ASSEMBLY__ */ |
40 | 40 | ||
41 | #define __NR_syscalls 388 | 41 | #define __NR_syscalls 389 |
42 | 42 | ||
43 | #endif /* _ASM_MICROBLAZE_UNISTD_H */ | 43 | #endif /* _ASM_MICROBLAZE_UNISTD_H */ |
diff --git a/arch/microblaze/include/uapi/asm/unistd.h b/arch/microblaze/include/uapi/asm/unistd.h index c712677f8a2a..32850c73be09 100644 --- a/arch/microblaze/include/uapi/asm/unistd.h +++ b/arch/microblaze/include/uapi/asm/unistd.h | |||
@@ -403,5 +403,6 @@ | |||
403 | #define __NR_getrandom 385 | 403 | #define __NR_getrandom 385 |
404 | #define __NR_memfd_create 386 | 404 | #define __NR_memfd_create 386 |
405 | #define __NR_bpf 387 | 405 | #define __NR_bpf 387 |
406 | #define __NR_execveat 388 | ||
406 | 407 | ||
407 | #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */ | 408 | #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */ |
diff --git a/arch/microblaze/kernel/syscall_table.S b/arch/microblaze/kernel/syscall_table.S index 0166e890486c..29c8568ec55c 100644 --- a/arch/microblaze/kernel/syscall_table.S +++ b/arch/microblaze/kernel/syscall_table.S | |||
@@ -388,3 +388,4 @@ ENTRY(sys_call_table) | |||
388 | .long sys_getrandom /* 385 */ | 388 | .long sys_getrandom /* 385 */ |
389 | .long sys_memfd_create | 389 | .long sys_memfd_create |
390 | .long sys_bpf | 390 | .long sys_bpf |
391 | .long sys_execveat | ||