diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2014-10-01 14:18:00 -0400 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2014-10-05 19:23:52 -0400 |
commit | bb550fd5c3429bf56f547c9907db2c396027c9a4 (patch) | |
tree | 7841366549c59698cf090cc8d0e6894220baeaf3 | |
parent | 7a0684cdbd3845fe174832ed01515a6176eac713 (diff) |
xtensa: add seccomp, getrandom, and memfd_create syscalls
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
-rw-r--r-- | arch/xtensa/include/uapi/asm/unistd.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/xtensa/include/uapi/asm/unistd.h b/arch/xtensa/include/uapi/asm/unistd.h index 8883fc877c5c..ee7b1527666b 100644 --- a/arch/xtensa/include/uapi/asm/unistd.h +++ b/arch/xtensa/include/uapi/asm/unistd.h | |||
@@ -742,7 +742,14 @@ __SYSCALL(335, sys_sched_getattr, 3) | |||
742 | #define __NR_renameat2 336 | 742 | #define __NR_renameat2 336 |
743 | __SYSCALL(336, sys_renameat2, 5) | 743 | __SYSCALL(336, sys_renameat2, 5) |
744 | 744 | ||
745 | #define __NR_syscall_count 337 | 745 | #define __NR_seccomp 337 |
746 | __SYSCALL(337, sys_seccomp, 3) | ||
747 | #define __NR_getrandom 338 | ||
748 | __SYSCALL(338, sys_getrandom, 3) | ||
749 | #define __NR_memfd_create 339 | ||
750 | __SYSCALL(339, sys_memfd_create, 2) | ||
751 | |||
752 | #define __NR_syscall_count 340 | ||
746 | 753 | ||
747 | /* | 754 | /* |
748 | * sysxtensa syscall handler | 755 | * sysxtensa syscall handler |