allow ptrace if debug mode is set

main
dietshasta 2024-03-13 16:11:10 +00:00
parent 1800dba265
commit ee292906cf
1 changed files with 10 additions and 8 deletions

View File

@ -56,6 +56,9 @@ namespace i2p {
SCMP_SYS(ppoll),
SCMP_SYS(prctl),
SCMP_SYS(prlimit64),
#ifdef DEBUG
SCMP_SYS(ptrace),
#endif
SCMP_SYS(read),
SCMP_SYS(recvfrom),
SCMP_SYS(recvmsg),
@ -63,7 +66,6 @@ namespace i2p {
SCMP_SYS(rt_sigaction),
SCMP_SYS(rt_sigprocmask),
SCMP_SYS(rt_sigreturn),
SCMP_SYS(clone),
SCMP_SYS(sendmsg),
SCMP_SYS(sendmmsg),
SCMP_SYS(sendto),