diff options
author | Paul Moore <paul@paul-moore.com> | 2018-01-10 15:59:23 -0500 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2018-01-10 15:59:23 -0500 |
commit | 8b38325d055261f2105ca96555d111bf595cca03 (patch) | |
tree | be77081474ce22875a563add1f92b10e6cad8a80 | |
parent | a1538fe6019767973b3ee09aa86f2bc39fdffee0 (diff) | |
download | libseccomp-8b38325d055261f2105ca96555d111bf595cca03.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>
(imported from commit 8aced6fe4087e7e16e76d06bdf1e73f0a2ae9c97)
-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() |