FUNCTION::NS_EGID(3stap)
β¨ FUNCTION::NS_EGID β¨
okay bestie, this one lives in the Context Functions chapter of the SystemTap tapset manual (yes, the 3stap girlies π), and honestly? it's a whole little vibe.
π NAME π
function::ns_egid β bestie, this returns the effective gid of a target process as seen in a user namespace πΈ
π¦ SYNOPSIS π¦
ns_egid:long()
π ARGUMENTS π
- None β nope, nada, zero args, she takes no input, she just knows π
π DESCRIPTION π
so here's the tea β β this function hands you back the effective gid of a target process, as seen in the target user namespace if one was provided. and if nobody handed her a namespace? she falls back to the stap process namespace, no cap. π
like she's literally the "which group am I actually in over there" queen and she's not gonna make you pass her a single argument for it. iconic.
π SEE ALSO π
tapset::context(3stap)β go read her sister page, she's got the lore π«Ά
and that's the whole page, fr fr π stay hydrated, keep your gids effective, and go check that context tapset β iykyk β¨
this lil' cutie came from the SystemTap Tapset Reference, and we're repping September 2026 ποΈπ mwah, bye bestie! πΈπ¦π
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms