mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
For me, asan/ubsan require more syscalls.
Permit sched_yield() and sigaltstack() in the sandbox. Closes ticket 20063
This commit is contained in:
@@ -184,11 +184,17 @@ static int filter_nopar_gen[] = {
|
||||
SCMP_SYS(read),
|
||||
SCMP_SYS(rt_sigreturn),
|
||||
SCMP_SYS(sched_getaffinity),
|
||||
#ifdef __NR_sched_yield
|
||||
SCMP_SYS(sched_yield),
|
||||
#endif
|
||||
SCMP_SYS(sendmsg),
|
||||
SCMP_SYS(set_robust_list),
|
||||
#ifdef __NR_setrlimit
|
||||
SCMP_SYS(setrlimit),
|
||||
#endif
|
||||
#ifdef __NR_sigaltstack
|
||||
SCMP_SYS(sigaltstack),
|
||||
#endif
|
||||
#ifdef __NR_sigreturn
|
||||
SCMP_SYS(sigreturn),
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user