summaryrefslogtreecommitdiffstats
path: root/tests/09-sim-syscall_priority_pre.tests
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:09:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:09:30 +0000
commit81749f1fe87e489c4e2e7408a0fae9370c3810b3 (patch)
tree2d1345a5762855b6577495d90ac134c4e92d7ff8 /tests/09-sim-syscall_priority_pre.tests
parentInitial commit. (diff)
downloadlibseccomp-upstream.tar.xz
libseccomp-upstream.zip
Adding upstream version 2.5.5.upstream/2.5.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/09-sim-syscall_priority_pre.tests')
-rw-r--r--tests/09-sim-syscall_priority_pre.tests26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/09-sim-syscall_priority_pre.tests b/tests/09-sim-syscall_priority_pre.tests
new file mode 100644
index 0000000..a983967
--- /dev/null
+++ b/tests/09-sim-syscall_priority_pre.tests
@@ -0,0 +1,26 @@
+#
+# libseccomp regression test automation data
+#
+# Copyright IBM Corp. 2012
+# Author: Corey Bryant <coreyb@linux.vnet.ibm.com>
+#
+
+test type: bpf-sim
+
+# Testname Arch Syscall Arg0 Arg1 Arg2 Arg3 Arg4 Arg5 Result
+09-sim-syscall_priority_pre all,-x32 999 N N N N N N KILL
+09-sim-syscall_priority_pre all,-x32 1000-1002 0 1 N N N N ALLOW
+09-sim-syscall_priority_pre all,-x32 1000 0 2 N N N N KILL
+09-sim-syscall_priority_pre all,-x32 1001-1002 0 2 N N N N ALLOW
+09-sim-syscall_priority_pre all,-x32 1000-1001 1 1 N N N N KILL
+09-sim-syscall_priority_pre all,-x32 1003 N N N N N N KILL
+
+test type: bpf-sim-fuzz
+
+# Testname StressCount
+09-sim-syscall_priority_pre 50
+
+test type: bpf-valgrind
+
+# Testname
+09-sim-syscall_priority_pre