Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ab85063d24ab826a2278add3b1658cc7d0c63d60
      
https://github.com/WebKit/WebKit/commit/ab85063d24ab826a2278add3b1658cc7d0c63d60
  Author: Nikolas Zimmermann <[email protected]>
  Date:   2026-05-19 (Tue, 19 May 2026)

  Changed paths:
    M Tools/Scripts/webkitpy/port/linux_container_sdk_utils.py

  Log Message:
  -----------
  [Tools] Share host PID namespace with ephemeral container by default
https://bugs.webkit.org/show_bug.cgi?id=315125

Reviewed by Carlos Alberto Lopez Perez.

Add --pid host to the podman run args so coredumpctl can resolve the host
PIDs recorded by systemd-coredump (and the bind-mounted journal) from inside
the container. The same shared namespace also lets gdb/lldb attach and perf
target host processes by their PIDs from the host.

Gated on WEBKIT_CONTAINER_SDK_SHARE_HOST_PID_NAMESPACE; default on, set to 0
to fall back to a private PID namespace (desired bot configuration!).

For this to work we have to drrop --init when sharing the host PID namespace:
podman refuses to inject a new PID 1 there (the host's already exists), and
orphaned processes are reparented to host PID 1 which reaps them.

* Tools/Scripts/webkitpy/port/linux_container_sdk_utils.py:
(_build_podman_run_args):

Canonical link: https://commits.webkit.org/313529@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to