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

New functions GetFrom{Pid,Thread}WithAltProcfs #76

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

Commits on May 24, 2023

  1. New functions GetFrom{Pid,Thread}WithAltProcfs

    Existing functions GetFrom{Pid,Thread}() need the pid/tid argument to
    be numbered as per the pid namespace of the /proc mount.
    
    In some container configurations, this is not suitable: a container with
    unshared pid namespace and the host's /proc mounted in /host/proc needs
    to lookup pids numbered as per the host pid namespace in /host/proc.
    
    GetFrom{Pid,Thread}WithAltProcfs() provide a way for such container
    setups to use an alternative /proc path.
    alban committed May 24, 2023
    Configuration menu
    Copy the full SHA
    155d84c View commit details
    Browse the repository at this point in the history