From c43585bc3035423c0bb73b0ae7045ce431991768 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sun, 16 Nov 2025 22:08:11 +0900 Subject: [PATCH] Revert "test-network: disable several more sandbox features when running with sanitizers" This reverts commit 454ce423050890bdc8c3c90add3713592a3cab38. Unfortunately, it does not work. --- test/test-network/systemd-networkd-tests.py | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index 2210a99c07..4d2834ba96 100755 --- a/test/test-network/systemd-networkd-tests.py +++ b/test/test-network/systemd-networkd-tests.py @@ -492,19 +492,7 @@ def create_service_dropin(service, command, additional_settings=None): if ubsan_options: drop_in += [f'Environment=UBSAN_OPTIONS="{ubsan_options}"'] if asan_options or lsan_options or ubsan_options: - # Disable system call filter when running with sanitizers, as they seem to call filtered syscall at - # the very end of the execution and stuck the process. See issue #39567. - drop_in += [ - 'LockPersonality=no', - 'ProtectClock=no', - 'ProtectKernelLogs=no', - 'RestrictAddressFamilies=', - 'RestrictNamespaces=no', - 'RestrictRealtime=no', - 'RestrictSUIDSGID=no', - 'SystemCallArchitectures=', - 'SystemCallFilter=', - ] + drop_in += ['SystemCallFilter='] if use_valgrind or asan_options or lsan_options or ubsan_options: drop_in += ['MemoryDenyWriteExecute=no'] if use_valgrind: