aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-07-07 15:28:55 +0900
committerOphestra <cat@gensokyo.uk>2025-07-07 15:28:55 +0900
commitc30dd4e630005fa6f2409d3a3c2400d512c52042 (patch)
treefb3cd5b79c093803c2232bbde5b873b47e0da6b0
parentd90da1c8f5dacbd5b84195ce335a234b41a30aea (diff)
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 <cat@gensokyo.uk>
-rw-r--r--test/sandbox/seccomp.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/sandbox/seccomp.go b/test/sandbox/seccomp.go
index 437679c4..8ef59c98 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},