Skip to content

Commit

Permalink
tests: Allow munmap() syscall in Python test #24
Browse files Browse the repository at this point in the history
The python live test, 24-live-arg_allow.py, started failing on
Python version 3.9.6+ on Fedora 34 and Ubuntu 20.10.  The Python
quit() call is now invoking the munmap() syscall.  To fix this,
allow the munmap() syscall in the test's seccomp filter.

Acked-by: Paul Moore <[email protected]>
Signed-off-by: Tom Hromatka <[email protected]>
  • Loading branch information
drakenclimber committed Sep 1, 2021
1 parent af39588 commit 4f34c6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/24-live-arg_allow.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def test():
# NOTE: additional syscalls required for python
f.add_rule(ALLOW, "write", Arg(0, EQ, fd))
f.add_rule(ALLOW, "close")
f.add_rule(ALLOW, "munmap")
f.add_rule(ALLOW, "rt_sigaction")
f.add_rule(ALLOW, "rt_sigreturn")
f.add_rule(ALLOW, "sigaltstack")
Expand Down

0 comments on commit 4f34c6e

Please sign in to comment.