Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command-pid member to --json-status-fd #576

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jun 11, 2024

  1. Add command-pid member to --json-status-fd

    In cases where bwrap runs its own additional PID 1 process (e.g.
    --unshare-pid), child-pid is the PID of that process, not the
    PID of the user-specified COMMAND.
    
    This is inconvenient as the user might want to send e.g. SIGTERM to the
    command to give it a chance to exit gracefully.
    
    Closes containers#553
    
    Signed-off-by: WGH <wgh@torlan.ru>
    WGH- committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    4b2f32f View commit details
    Browse the repository at this point in the history