1FUNCTION::NS_SID(3stap)        Context Functions       FUNCTION::NS_SID(3stap)
2
3
4

NAME

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

SYNOPSIS

10           ns_sid:long()
11

ARGUMENTS

13       None
14

DESCRIPTION

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

SEE ALSO

22       tapset::context(3stap)
23
24
25
26SystemTap Tapset Reference        April 2023           FUNCTION::NS_SID(3stap)
Impressum