1FUNCTION::NS_SID(3stap) Context Functions FUNCTION::NS_SID(3stap)
2
3
4
6 function::ns_sid - Returns the session ID of the current process as
7 seen in a pid namespace
8
10 ns_sid:long()
11
13 None
14
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
22 tapset::context(3stap)
23
24
25
26SystemTap Tapset Reference November 2021 FUNCTION::NS_SID(3stap)