Skip to content
Snippets Groups Projects
Commit 1852fe3d authored by Mayank Mrinal's avatar Mayank Mrinal Committed by Tom Hromatka
Browse files

tests: Fix wrong syscall-error in test 29


29-sim-pseudo_syscall.c was using `-11001` syscall.
Corrected it to `-10001`.

Signed-off-by: default avatarMayank Mrinal <mayank.mrinal@sony.com>
Acked-by: default avatarPaul Moore <paul@paul-moore.com>
Signed-off-by: default avatarTom Hromatka <tom.hromatka@oracle.com>
parent 8363b42f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment