Skip to content

Commit

Permalink
tests: Allow munmap() syscall in Python test seccomp#24
Browse files Browse the repository at this point in the history
The python live test, 24-live-arg_allow.py, started failing on
Fedora 34 with kernel 5.13.9-200.fc34.x86_64.  To fix this, allow
the munmap() syscall in the test's seccomp filter.

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
  • Loading branch information
drakenclimber committed Aug 31, 2021
1 parent 01a7e98 commit 33cfbec
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 33cfbec

Please sign in to comment.