Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

function::ns_sid - Returns the session ID of the current process as seen in a pid namespace

Arguments

       None

Description

       The namespace-aware session ID of a process is the process group ID of the session leader as seen in the
       target pid namespace if provided, or the stap process namespace. Session ID is stored in the
       signal_struct since Kernel 2.6.0.

Name

       function::ns_sid - Returns the session ID of the current process as seen in a pid namespace

See Also

tapset::context(3stap)

SystemTap Tapset Reference                         April 2024                            FUNCTION::NS_SID(3stap)

Synopsis

           ns_sid:long()

See Also