FUNCTION::NS_UID(3stap)

πŸ’– FUNCTION::ns_uid πŸ’–

okay bestie, welcome to the SystemTap Tapset Reference β€” this little cutie lives in the Context Functions section and it's literally about finding out whose user ID we're looking at πŸ‘‘ no cap.


✨ NAME ✨

function::ns_uid β€” returns the user ID of a target process as seen in a user namespace 🫢


🌸 SYNOPSIS 🌸

ns_uid:long()

πŸŽ€ ARGUMENTS πŸŽ€

None πŸ’…

like, zero. none. she takes no arguments, she's that girl.


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜• β€” this function returns the user ID of the target process as seen in the target user namespace if one is provided, or otherwise as seen in the stap process namespace 🌈

that's it, that's the whole vibe. namespace-aware uid, periodt ✨


πŸ’œ SEE ALSO πŸ’œ


fr fr, that's everything β€” go forth and vibe check those namespaces 🧚

SystemTap Tapset Reference, Ver β€” September 2026 πŸ’– mwah, bye bestie! πŸŽ€βœ¨

πŸ“¦ where this page comes from