-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: rename the tests to make it clear which are simulator/basic/li…
…ve based This patch only renames files, it makes not changes to the content. Signed-off-by: Paul Moore <[email protected]>
- Loading branch information
Showing
72 changed files
with
414 additions
and
414 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
*.bpf | ||
*.pfc | ||
util.pyc | ||
01-allow | ||
02-basic | ||
03-basic-chains | ||
04-multilevel-chains | ||
05-long-jumps | ||
06-actions | ||
07-db-bug-looping | ||
08-subtree-checks | ||
09-syscall-priority-pre | ||
10-syscall-priority-post | ||
11-basic-errors | ||
12-basic-masked-ops | ||
13-attrs | ||
14-reset | ||
15-resolver | ||
16-arch-basic | ||
17-arch-merge | ||
18-basic-whitelist | ||
19-missing-syscalls | ||
01-sim-allow | ||
02-sim-basic | ||
03-sim-basic_chains | ||
04-sim-multilevel_chains | ||
05-sim-long_jumps | ||
06-sim-actions | ||
07-sim-db_bug_looping | ||
08-sim-subtree_checks | ||
09-sim-syscall_priority_pre | ||
10-sim-syscall_priority_post | ||
11-basic-basic_errors | ||
12-sim-basic_masked_ops | ||
13-basic-attrs | ||
14-sim-reset | ||
15-basic-resolver | ||
16-sim-arch_basic | ||
17-sim-arch_merge | ||
18-sim-basic_whitelist | ||
19-sim-missing_syscalls |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# | ||
# libseccomp regression test automation data | ||
# | ||
# Copyright IBM Corp. 2012 | ||
# Author: Corey Bryant <[email protected]> | ||
# | ||
|
||
test type: bpf-sim | ||
|
||
# Testname Arch Syscall Arg0 Arg1 Arg2 Arg3 Arg4 Arg5 Result | ||
02-sim-basic all read 0 0x856B008 40 N N N ALLOW | ||
02-sim-basic all write 1 0x856B008 40 N N N ALLOW | ||
02-sim-basic all close 4 N N N N N ALLOW | ||
02-sim-basic all rt_sigreturn N N N N N N ALLOW | ||
02-sim-basic all open 0x856B008 4 N N N N KILL | ||
02-sim-basic x86 0-2 N N N N N N KILL | ||
02-sim-basic x86 7-172 N N N N N N KILL | ||
02-sim-basic x86 174-350 N N N N N N KILL | ||
02-sim-basic x86_64 4-14 N N N N N N KILL | ||
02-sim-basic x86_64 16-350 N N N N N N KILL | ||
|
||
test type: bpf-sim-fuzz | ||
|
||
# Testname StressCount | ||
02-sim-basic 50 |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# | ||
# libseccomp regression test automation data | ||
# | ||
# Copyright IBM Corp. 2012 | ||
# Author: Corey Bryant <[email protected]> | ||
# | ||
|
||
test type: bpf-sim | ||
|
||
# Testname Arch Syscall Arg0 Arg1 Arg2 Arg3 Arg4 Arg5 Result | ||
03-sim-basic_chains all read 0 0x856B008 10 N N N ALLOW | ||
03-sim-basic_chains all read 1-10 0x856B008 10 N N N KILL | ||
03-sim-basic_chains all write 1-2 0x856B008 10 N N N ALLOW | ||
03-sim-basic_chains all write 3-10 0x856B008 10 N N N KILL | ||
03-sim-basic_chains all close N N N N N N ALLOW | ||
03-sim-basic_chains all rt_sigreturn N N N N N N ALLOW | ||
03-sim-basic_chains all open 0x856B008 4 N N N N KILL | ||
03-sim-basic_chains x86 0-2 N N N N N N KILL | ||
03-sim-basic_chains x86 7-172 N N N N N N KILL | ||
03-sim-basic_chains x86 174-350 N N N N N N KILL | ||
03-sim-basic_chains x86_64 4-14 N N N N N N KILL | ||
03-sim-basic_chains x86_64 16-350 N N N N N N KILL | ||
|
||
test type: bpf-sim-fuzz | ||
|
||
# Testname StressCount | ||
03-sim-basic_chains 50 |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# | ||
# libseccomp regression test automation data | ||
# | ||
# Copyright IBM Corp. 2012 | ||
# Author: Corey Bryant <[email protected]> | ||
# | ||
|
||
test type: bpf-sim | ||
|
||
# Testname Arch Syscall Arg0 Arg1 Arg2 Arg3 Arg4 Arg5 Result | ||
04-sim-multilevel_chains all open 0x856B008 4 N N N N ALLOW | ||
04-sim-multilevel_chains all close 4 N N N N N ALLOW | ||
04-sim-multilevel_chains x86 read 0 0x856B008 0x7FFFFFFE N N N ALLOW | ||
04-sim-multilevel_chains x86_64 read 0 0x856B008 0x7FFFFFFFFFFFFFFE N N N ALLOW | ||
04-sim-multilevel_chains x86 read 0 0x856B008 0x7FFFFFFF N N N KILL | ||
04-sim-multilevel_chains x86_64 read 0 0x856B008 0x7FFFFFFFFFFFFFFF N N N KILL | ||
04-sim-multilevel_chains x86 read 0 0 0x7FFFFFFE N N N KILL | ||
04-sim-multilevel_chains x86_64 read 0 0 0x7FFFFFFFFFFFFFFE N N N KILL | ||
04-sim-multilevel_chains all read 1-10 0x856B008 0x7FFFFFFE N N N KILL | ||
04-sim-multilevel_chains x86 write 1-2 0x856B008 0x7FFFFFFE N N N ALLOW | ||
04-sim-multilevel_chains x86_64 write 1-2 0x856B008 0x7FFFFFFFFFFFFFFE N N N ALLOW | ||
04-sim-multilevel_chains x86 write 1-2 0 0x7FFFFFFE N N N KILL | ||
04-sim-multilevel_chains x86_64 write 1-2 0 0x7FFFFFFFFFFFFFFE N N N KILL | ||
04-sim-multilevel_chains x86 write 1-2 0x856B008 0x7FFFFFFF N N N KILL | ||
04-sim-multilevel_chains x86_64 write 1-2 0x856B008 0x7FFFFFFFFFFFFFFF N N N KILL | ||
04-sim-multilevel_chains all write 3-10 0x856B008 0x7FFFFFFE N N N KILL | ||
04-sim-multilevel_chains all rt_sigreturn N N N N N N ALLOW | ||
04-sim-multilevel_chains x86 0-2 N N N N N N KILL | ||
04-sim-multilevel_chains x86 7-172 N N N N N N KILL | ||
04-sim-multilevel_chains x86 174-350 N N N N N N KILL | ||
04-sim-multilevel_chains x86_64 4-14 N N N N N N KILL | ||
04-sim-multilevel_chains x86_64 16-350 N N N N N N KILL | ||
|
||
test type: bpf-sim-fuzz | ||
|
||
# Testname StressCount | ||
04-sim-multilevel_chains 50 |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# | ||
# libseccomp regression test automation data | ||
# | ||
# Copyright IBM Corp. 2012 | ||
# Author: Corey Bryant <[email protected]> | ||
# | ||
|
||
test type: bpf-sim | ||
|
||
# Testname Arch Syscall Arg0 Arg1 Arg2 Arg3 Arg4 Arg5 Result | ||
05-sim-long_jumps all 1 1 2 3 4 5 6 ALLOW | ||
05-sim-long_jumps all 2 N N N N N N KILL | ||
05-sim-long_jumps all 999 N N N N N N KILL | ||
05-sim-long_jumps x86 1000 0-5 0x856B008 0x7FFFFFFE N N N ALLOW | ||
05-sim-long_jumps x86_64 1000 0-5 0x856B008 0x7FFFFFFFFFFFFFFE N N N ALLOW | ||
05-sim-long_jumps x86 1000 95-99 0x856B008 0x7FFFFFFE N N N ALLOW | ||
05-sim-long_jumps x86_64 1000 95-99 0x856B008 0x7FFFFFFFFFFFFFFE N N N ALLOW | ||
05-sim-long_jumps x86 1000 100 0x856B008 0x7FFFFFFE N N N KILL | ||
05-sim-long_jumps x86_64 1000 100 0x856B008 0x7FFFFFFFFFFFFFFE N N N KILL | ||
05-sim-long_jumps all 1001 N N N N N N KILL | ||
05-sim-long_jumps all 99 1 N N N N N KILL | ||
05-sim-long_jumps all 100-105 1 N N N N N ALLOW | ||
05-sim-long_jumps all 195-199 1 N N N N N ALLOW | ||
05-sim-long_jumps all 200 1 N N N N N KILL | ||
05-sim-long_jumps all 3 N N N N N N KILL | ||
05-sim-long_jumps all 4 1 2 3 4 5 6 ALLOW | ||
05-sim-long_jumps all 5 N N N N N N KILL | ||
|
||
test type: bpf-sim-fuzz | ||
|
||
# Testname StressCount | ||
05-sim-long_jumps 50 |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# | ||
# libseccomp regression test automation data | ||
# | ||
# Copyright IBM Corp. 2012 | ||
# Author: Corey Bryant <[email protected]> | ||
# | ||
|
||
test type: bpf-sim | ||
|
||
# Testname Arch Syscall Arg0 Arg1 Arg2 Arg3 Arg4 Arg5 Result | ||
06-sim-actions all read 4 0x856B008 80 N N N ALLOW | ||
06-sim-actions all write 1 0x856B008 N N N N ERRNO(1) | ||
06-sim-actions all close 4 N N N N N TRAP | ||
06-sim-actions all open 0x856B008 4 N N N N TRACE(1234) | ||
06-sim-actions x86 0-2 N N N N N N KILL | ||
06-sim-actions x86 7-350 N N N N N N KILL | ||
06-sim-actions x86_64 4-350 N N N N N N KILL | ||
|
||
test type: bpf-sim-fuzz | ||
|
||
# Testname StressCount | ||
06-sim-actions 50 |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Oops, something went wrong.