summaryrefslogtreecommitdiffstats
path: root/tests/28-sim-arch_x86.tests
blob: e8a38dc6cb0be5ad50156b42a19aa8859768142e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# libseccomp regression test automation data
#
# This test triggered a bug in libseccomp erroneously allowing the close()
# syscall on x32 instead of 'KILL'ing it, as it should do for unsupported
# architectures.
#
# Author: Mathias Krause <minipli@googlemail.com>
#

test type: bpf-sim

# Testname	Arch		Syscall	Arg0	Arg1	Arg2	Arg3	Arg4	Arg5	Result
28-sim-arch_x86	+x86,+x86_64	read	N	N	N	N	N	N	ALLOW
28-sim-arch_x86	+x86,+x86_64	close	N	N	N	N	N	N	ERRNO(1)
28-sim-arch_x86	+arm,+x32	read	N	N	N	N	N	N	KILL
28-sim-arch_x86	+arm,+x32	close	N	N	N	N	N	N	KILL

test type: bpf-valgrind

# Testname
28-sim-arch_x86