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

@@ -10,9 +10,7 @@ import (
*/
import "C"
const NULL = 0
func TrySyscalls() error {
func trySyscalls() error {
testCases := []struct {
name string
errno syscall.Errno