X-Git-Url: http://git.ieval.ro/?p=linux-seccomp.git;a=blobdiff_plain;f=libseccomp%2Ftests%2F18-sim-basic_whitelist.tests;fp=libseccomp%2Ftests%2F18-sim-basic_whitelist.tests;h=e02b183a4e6c82b6eb1bd096af3e56be6b3a77ea;hp=0000000000000000000000000000000000000000;hb=8befd5cc4d2b478c697d81a5ac191083c203d081;hpb=bcf524c10c0ad85fcef711acffc3251bb8472352 diff --git a/libseccomp/tests/18-sim-basic_whitelist.tests b/libseccomp/tests/18-sim-basic_whitelist.tests new file mode 100644 index 0000000..e02b183 --- /dev/null +++ b/libseccomp/tests/18-sim-basic_whitelist.tests @@ -0,0 +1,32 @@ +# +# libseccomp regression test automation data +# +# Copyright (c) 2013 Red Hat +# Author: Paul Moore +# + +test type: bpf-sim + +# Testname Arch Syscall Arg0 Arg1 Arg2 Arg3 Arg4 Arg5 Result +18-sim-basic_whitelist all read 0 0x856B008 10 N N N KILL +18-sim-basic_whitelist all read 1-10 0x856B008 10 N N N ALLOW +18-sim-basic_whitelist all write 1-2 0x856B008 10 N N N KILL +18-sim-basic_whitelist all write 3-10 0x856B008 10 N N N ALLOW +18-sim-basic_whitelist all close N N N N N N KILL +18-sim-basic_whitelist all rt_sigreturn N N N N N N KILL +18-sim-basic_whitelist all open 0x856B008 4 N N N N ALLOW +18-sim-basic_whitelist x86 0-2 N N N N N N ALLOW +18-sim-basic_whitelist x86 7-172 N N N N N N ALLOW +18-sim-basic_whitelist x86 174-350 N N N N N N ALLOW +18-sim-basic_whitelist x86_64 4-14 N N N N N N ALLOW +18-sim-basic_whitelist x86_64 16-350 N N N N N N ALLOW + +test type: bpf-sim-fuzz + +# Testname StressCount +18-sim-basic_whitelist 50 + +test type: bpf-valgrind + +# Testname +18-sim-basic_whitelist