test(runner): verify sandbox isolation with a hostile program suite

This commit is contained in:
shira committed 2026-10-11 08:59:59 +03:00
1 parent afee564bf4
commit e858280d91
38 files changed
+1359 -168

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
# Escape attempt: ptrace is killed by the seccomp policy (SIGSYS).
import ctypes
libc = ctypes.CDLL(None, use_errno=True)
libc.ptrace(0, 0, None, None)
print("ptrace returned")