From 1852fe3d772914d848907f9d0656747776ed3f98 Mon Sep 17 00:00:00 2001 From: Mayank Mrinal Date: Thu, 1 Jun 2023 14:53:44 +0530 Subject: [PATCH] tests: Fix wrong syscall-error in test 29 29-sim-pseudo_syscall.c was using `-11001` syscall. Corrected it to `-10001`. Signed-off-by: Mayank Mrinal Acked-by: Paul Moore Signed-off-by: Tom Hromatka --- tests/29-sim-pseudo_syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/29-sim-pseudo_syscall.c b/tests/29-sim-pseudo_syscall.c index acf9c193..86734a84 100644 --- a/tests/29-sim-pseudo_syscall.c +++ b/tests/29-sim-pseudo_syscall.c @@ -57,7 +57,7 @@ int main(int argc, char *argv[]) if (rc == 0) goto out; /* -10001 == 4294957295 (unsigned) */ - rc = seccomp_rule_add_exact(ctx, SCMP_ACT_KILL, -11001, 0); + rc = seccomp_rule_add_exact(ctx, SCMP_ACT_KILL, -10001, 0); if (rc == 0) goto out;