test/sandbox/ptrace: dump seccomp bpf program
All checks were successful
Test / Create distribution (push) Successful in 26s
Test / Fpkg (push) Successful in 34s
Test / Fortify (push) Successful in 2m21s
Test / Data race detector (push) Successful in 3m4s
Test / Flake checks (push) Successful in 55s

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