]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Revert "test-network: disable several more sandbox features when running with sanitizers"
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 16 Nov 2025 13:08:11 +0000 (22:08 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 16 Nov 2025 13:15:43 +0000 (22:15 +0900)
This reverts commit 454ce423050890bdc8c3c90add3713592a3cab38.

Unfortunately, it does not work.

test/test-network/systemd-networkd-tests.py

index 2210a99c074df5e1775e37f8672f633d72fa8843..4d2834ba96dcebe8ca4da0b13a512aa048e3c177 100755 (executable)
@@ -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: