summaryrefslogtreecommitdiffstats
path: root/tests/16-sim-arch_basic.tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/16-sim-arch_basic.tests')
-rw-r--r--tests/16-sim-arch_basic.tests27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/16-sim-arch_basic.tests b/tests/16-sim-arch_basic.tests
new file mode 100644
index 0000000..f580167
--- /dev/null
+++ b/tests/16-sim-arch_basic.tests
@@ -0,0 +1,27 @@
+#
+# libseccomp regression test automation data
+#
+# Copyright (c) 2012 Red Hat <pmoore@redhat.com>
+# Author: Paul Moore <paul@paul-moore.com>
+#
+
+test type: bpf-sim
+
+# Testname Arch Syscall Arg0 Arg1 Arg2 Arg3 Arg4 Arg5 Result
+16-sim-arch_basic +all_le read 0 0x856B008 10 N N N ALLOW
+16-sim-arch_basic +all_le read 1-10 0x856B008 10 N N N KILL
+16-sim-arch_basic +all_le write 1-2 0x856B008 10 N N N ALLOW
+16-sim-arch_basic +all_le write 3-10 0x856B008 10 N N N KILL
+16-sim-arch_basic +all_le close N N N N N N ALLOW
+16-sim-arch_basic +all_le open 0x856B008 4 N N N N KILL
+16-sim-arch_basic +x86 socket 1 N N N N N ALLOW
+16-sim-arch_basic +x86 connect 3 N N N N N ALLOW
+16-sim-arch_basic +x86 shutdown 13 N N N N N ALLOW
+16-sim-arch_basic +x86_64 socket 0 1 2 N N N ALLOW
+16-sim-arch_basic +x86_64 connect 0 1 2 N N N ALLOW
+16-sim-arch_basic +x86_64 shutdown 0 1 2 N N N ALLOW
+
+test type: bpf-valgrind
+
+# Testname
+16-sim-arch_basic