Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb550fd5 authored by Max Filippov's avatar Max Filippov
Browse files

xtensa: add seccomp, getrandom, and memfd_create syscalls



Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent 7a0684cd
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -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