1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

test-network: disable SystemCallFilter= when *SAN is enabled

This commit is contained in:
Yu Watanabe 2019-06-01 15:55:16 +09:00
parent 6d5b4efed2
commit 78690bb5d0

View File

@ -126,6 +126,8 @@ def setUpModule():
drop_in += ['Environment=LSAN_OPTIONS="' + lsan_options + '"']
if ubsan_options:
drop_in += ['Environment=UBSAN_OPTIONS="' + ubsan_options + '"']
if asan_options or lsan_options or ubsan_options:
drop_in += ['SystemCallFilter=']
if use_valgrind or asan_options or lsan_options or ubsan_options:
drop_in += ['MemoryDenyWriteExecute=no']