FUNCTION::NS\_EUID(3stap) Context Functions FUNCTION::NS\_EUID(3stap)

# [NAME](#NAME)

function::ns\_euid - Returns the effective user ID of a target process as seen in a user namespace

# [SYNOPSIS](#SYNOPSIS)

```


    ns_euid:long()
```

# [ARGUMENTS](#ARGUMENTS)

None

# [DESCRIPTION](#DESCRIPTION)

This function returns the effective user ID of the target process as seen in the target user namespace if provided, or the stap process namespace.

# [SEE ALSO0](#SEE_ALSO0)

[*tapset::context*(3stap)](/man/enterprise-packages/systemtap/tapset::context.3stap)

September 2026 SystemTap Tapset Reference Ver

---

Document: function::ns_euid(3stap) from systemtap 5.6-r0 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
