diff options
author | Jan Willeke <willeke@linux.vnet.ibm.com> | 2015-08-06 15:08:42 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2015-08-06 15:08:42 -0400 |
commit | a06972c8f7a287b83d3d5237f83b17ec2ab2047e (patch) | |
tree | 5e07ff81c075d64aac4e93ba8acd077ce9683d8e | |
parent | d7ba987a20581f324a5197154db694c1fe46429f (diff) | |
download | libseccomp-a06972c8f7a287b83d3d5237f83b17ec2ab2047e.tar.gz |
s390x: fix python tests
The s390 glib c uses more / different syscalls,
thus the test have to allow more to work on s390.
Signed-off-by: Jan Willeke <willeke@linux.vnet.ibm.com>
Signed-off-by: Paul Moore <pmoore@redhat.com>
-rwxr-xr-x | tests/20-live-basic_die.py | 1 | ||||
-rwxr-xr-x | tests/21-live-basic_allow.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/20-live-basic_die.py b/tests/20-live-basic_die.py index c9f437f..4d5b914 100755 --- a/tests/20-live-basic_die.py +++ b/tests/20-live-basic_die.py @@ -34,6 +34,7 @@ def test(): util.install_trap() f = SyscallFilter(action) f.add_rule(ALLOW, "rt_sigreturn") + f.add_rule(ALLOW, "sigreturn") f.add_rule(ALLOW, "exit_group") f.load() try: diff --git a/tests/21-live-basic_allow.py b/tests/21-live-basic_allow.py index 97dd61a..df79c9d 100755 --- a/tests/21-live-basic_allow.py +++ b/tests/21-live-basic_allow.py @@ -46,6 +46,8 @@ def test(): f.add_rule(ALLOW, "close") f.add_rule(ALLOW, "rt_sigaction") f.add_rule(ALLOW, "rt_sigreturn") + f.add_rule(ALLOW, "sigreturn") + f.add_rule(ALLOW, "brk") f.add_rule(ALLOW, "exit_group") f.load() try: |