mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 12:39:01 -04:00
Fix bug: Added syscalls for tasks example.
The tasks example stopped working on Linux (Ubuntu 22.04) due to the use of missing syscalls, which have been added in this fix. In addition, the definition files have been updated to include the newer clone3 system call (in the Linux kernel since 5.6) for new process and thread creation.
This commit is contained in:
parent
b1a3f2b0f8
commit
ef37ab611d
@ -55,6 +55,8 @@ KORE_SECCOMP_FILTER("tasks",
|
|||||||
KORE_SYSCALL_ALLOW(recvmsg),
|
KORE_SYSCALL_ALLOW(recvmsg),
|
||||||
KORE_SYSCALL_ALLOW(sendmmsg),
|
KORE_SYSCALL_ALLOW(sendmmsg),
|
||||||
KORE_SYSCALL_ALLOW(getpeername),
|
KORE_SYSCALL_ALLOW(getpeername),
|
||||||
|
KORE_SYSCALL_ALLOW(rseq),
|
||||||
|
KORE_SYSCALL_ALLOW(clone3),
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -287,4 +287,5 @@
|
|||||||
#define __NR_fsconfig 431
|
#define __NR_fsconfig 431
|
||||||
#define __NR_fsmount 432
|
#define __NR_fsmount 432
|
||||||
#define __NR_fspick 433
|
#define __NR_fspick 433
|
||||||
|
#define __NR_clone3 435
|
||||||
|
|
||||||
|
@ -387,6 +387,7 @@
|
|||||||
#define __NR_fsconfig 431
|
#define __NR_fsconfig 431
|
||||||
#define __NR_fsmount 432
|
#define __NR_fsmount 432
|
||||||
#define __NR_fspick 433
|
#define __NR_fspick 433
|
||||||
|
#define __NR_clone3 435
|
||||||
|
|
||||||
#define __ARM_NR_breakpoint 0x0f0001
|
#define __ARM_NR_breakpoint 0x0f0001
|
||||||
#define __ARM_NR_cacheflush 0x0f0002
|
#define __ARM_NR_cacheflush 0x0f0002
|
||||||
|
@ -343,4 +343,5 @@
|
|||||||
#define __NR_fsconfig 431
|
#define __NR_fsconfig 431
|
||||||
#define __NR_fsmount 432
|
#define __NR_fsmount 432
|
||||||
#define __NR_fspick 433
|
#define __NR_fspick 433
|
||||||
|
#define __NR_clone3 435
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user