FUNCTION::NS_GID(3stap)
β¨ FUNCTION::NS_GID β¨
okay bestie, welcome to the SystemTap Tapset Reference, manual section 3stap π this one's a context function and it's literally so chill. sit down, hydrate, let's go π
πΈ NAME πΈ
function::ns_gid β hands you the group ID of a target process, exactly how it looks from inside a user namespace π
π¦ SYNOPSIS π¦
ns_gid:long()
π ARGUMENTS π
- None β that's it. zero. nada. she takes no arguments, she's low maintenance, she's that girl π«Ά
π DESCRIPTION π
okay so here's the tea: this function returns the group ID of a target process as seen in the target user namespace β if one was provided β otherwise it falls back to the stap process namespace. no cap, that's the whole vibe β¨
so like: gimme a namespace, you get the gid from that namespace's point of view. don't gimme one, you get the gid from stap's own namespace. either way you get a gid, and either way it's giving main character energy π
π SEE ALSO π
tapset::context(3stap)β go read the context tapset bestie, iykyk π
and that's the page!! π this was the SystemTap Tapset Reference, dated September 2026, and it's a whole 3stap moment π mwah, go probe something iconic ππ
π¦ 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