Skip to content

Commit

Permalink
xtensa: add seccomp, getrandom, and memfd_create syscalls
Browse files Browse the repository at this point in the history
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
  • Loading branch information
Max Filippov committed Oct 5, 2014
1 parent 7a0684c commit bb550fd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion arch/xtensa/include/uapi/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,14 @@ __SYSCALL(335, sys_sched_getattr, 3)
#define __NR_renameat2 336
__SYSCALL(336, sys_renameat2, 5)

#define __NR_syscall_count 337
#define __NR_seccomp 337
__SYSCALL(337, sys_seccomp, 3)
#define __NR_getrandom 338
__SYSCALL(338, sys_getrandom, 3)
#define __NR_memfd_create 339
__SYSCALL(339, sys_memfd_create, 2)

#define __NR_syscall_count 340

/*
* sysxtensa syscall handler
Expand Down

0 comments on commit bb550fd

Please sign in to comment.