diff options
author | Paul Moore <paul@paul-moore.com> | 2018-01-10 15:57:52 -0500 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2018-01-10 15:57:52 -0500 |
commit | 8aced6fe4087e7e16e76d06bdf1e73f0a2ae9c97 (patch) | |
tree | 2566c765d24283521c8e7bf8f6170a76b63076cb /tests | |
parent | c842c2f6c203ad9da37ca60219172aa0be68d26a (diff) | |
download | libseccomp-8aced6fe4087e7e16e76d06bdf1e73f0a2ae9c97.tar.gz |
tests: fix the live Python tests
Add the sigaltstack(2) syscall to the list of allowed syscalls; tested
against Python v3.6.4.
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/21-live-basic_allow.py | 1 | ||||
-rwxr-xr-x | tests/24-live-arg_allow.py | 1 | ||||
-rwxr-xr-x | tests/32-live-tsync_allow.py | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/21-live-basic_allow.py b/tests/21-live-basic_allow.py index 8e16ead..3bf5317 100755 --- a/tests/21-live-basic_allow.py +++ b/tests/21-live-basic_allow.py @@ -47,6 +47,7 @@ def test(): f.add_rule(ALLOW, "rt_sigaction") f.add_rule(ALLOW, "rt_sigreturn") f.add_rule(ALLOW, "sigreturn") + f.add_rule(ALLOW, "sigaltstack") f.add_rule(ALLOW, "brk") f.add_rule(ALLOW, "exit_group") f.load() diff --git a/tests/24-live-arg_allow.py b/tests/24-live-arg_allow.py index 51e6110..3226584 100755 --- a/tests/24-live-arg_allow.py +++ b/tests/24-live-arg_allow.py @@ -43,6 +43,7 @@ def test(): f.add_rule(ALLOW, "close") f.add_rule(ALLOW, "rt_sigaction") f.add_rule(ALLOW, "rt_sigreturn") + f.add_rule(ALLOW, "sigaltstack") f.add_rule(ALLOW, "exit_group") f.add_rule(ALLOW, "brk") f.load() diff --git a/tests/32-live-tsync_allow.py b/tests/32-live-tsync_allow.py index a59b1a3..da8d4cb 100755 --- a/tests/32-live-tsync_allow.py +++ b/tests/32-live-tsync_allow.py @@ -48,6 +48,7 @@ def test(): f.add_rule(ALLOW, "rt_sigaction") f.add_rule(ALLOW, "rt_sigreturn") f.add_rule(ALLOW, "sigreturn") + f.add_rule(ALLOW, "sigaltstack") f.add_rule(ALLOW, "brk") f.add_rule(ALLOW, "exit_group") f.load() |