test/sandbox/ptrace: dump seccomp bpf program

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-03-28 01:09:26 +09:00
parent faf59e12c0
commit 660a2898dc
3 changed files with 117 additions and 4 deletions

View File

@@ -116,7 +116,7 @@ func (t *T) MustCheck(want *TestCase) {
}
if want.Seccomp {
if TrySyscalls() != nil {
if trySyscalls() != nil {
os.Exit(1)
}
} else {