mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-21 21:20:04 +00:00
[seccomp] Whitelist rseq syscall
Used by glibc 2.35 and later.
This commit is contained in:
parent
f126b88781
commit
b1eea6d4fe
@ -195,6 +195,9 @@ static sock_filter filter[] = {
|
|||||||
ALLOW_SYSCALL(exit_group),
|
ALLOW_SYSCALL(exit_group),
|
||||||
ALLOW_SYSCALL(rt_sigprocmask), // musl-libc
|
ALLOW_SYSCALL(rt_sigprocmask), // musl-libc
|
||||||
ALLOW_SYSCALL(clock_nanosleep), // gets called very rarely
|
ALLOW_SYSCALL(clock_nanosleep), // gets called very rarely
|
||||||
|
#ifdef __NR_rseq
|
||||||
|
ALLOW_SYSCALL(rseq),
|
||||||
|
#endif
|
||||||
|
|
||||||
// to crash properly on SIGSEGV
|
// to crash properly on SIGSEGV
|
||||||
DENY_SYSCALL_ERRNO(tgkill, EPERM),
|
DENY_SYSCALL_ERRNO(tgkill, EPERM),
|
||||||
|
Loading…
Reference in New Issue
Block a user