From c30dd4e630005fa6f2409d3a3c2400d512c52042 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 7 Jul 2025 15:28:55 +0900 Subject: [PATCH] test/sandbox/seccomp: remove uselib This syscall is not wired on all platforms. This test barely does anything anyway and seccomp is covered by the privileged test instrumentation. Signed-off-by: Ophestra --- test/sandbox/seccomp.go | 1 - 1 file changed, 1 deletion(-) diff --git a/test/sandbox/seccomp.go b/test/sandbox/seccomp.go index 437679c..8ef59c9 100644 --- a/test/sandbox/seccomp.go +++ b/test/sandbox/seccomp.go @@ -18,7 +18,6 @@ func trySyscalls() error { trap, a1, a2, a3, a4, a5, a6 uintptr }{ {"syslog", syscall.EPERM, syscall.SYS_SYSLOG, 0, NULL, NULL, NULL, NULL, NULL}, - {"uselib", syscall.EPERM, syscall.SYS_USELIB, 0, NULL, NULL, NULL, NULL, NULL}, {"acct", syscall.EPERM, syscall.SYS_ACCT, 0, NULL, NULL, NULL, NULL, NULL}, {"quotactl", syscall.EPERM, syscall.SYS_QUOTACTL, C.Q_GETQUOTA, NULL, uintptr(os.Getuid()), NULL, NULL, NULL}, {"add_key", syscall.EPERM, syscall.SYS_ADD_KEY, NULL, NULL, NULL, NULL, NULL, NULL},