projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a0684c
)
xtensa: add seccomp, getrandom, and memfd_create syscalls
author
Max Filippov
<jcmvbkbc@gmail.com>
Wed, 1 Oct 2014 18:18:00 +0000
(22:18 +0400)
committer
Max Filippov
<jcmvbkbc@gmail.com>
Sun, 5 Oct 2014 23:23:52 +0000
(
03:23
+0400)
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/uapi/asm/unistd.h
patch
|
blob
|
history
diff --git
a/arch/xtensa/include/uapi/asm/unistd.h
b/arch/xtensa/include/uapi/asm/unistd.h
index
8883fc8
..
ee7b152
100644
(file)
--- 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)
#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