From 066b062ac3b6b4df89e6f71327d3c48c7af20d0e Mon Sep 17 00:00:00 2001 From: Mayank Mrinal Date: Thu, 1 Jun 2023 14:53:44 +0530 Subject: [PATCH] [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 Gbp-Pq: Name tests_Fix_wrong_syscall-error_in_test_29.patch --- 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 acf9c19..86734a8 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; -- 2.30.2