// SPDX-License-Identifier: MPL-2.0 use super::SyscallReturn; use crate::{prelude::*, process::Uid}; pub fn sys_geteuid(ctx: &Context) -> Result { let euid = ctx.posix_thread.credentials().euid(); Ok(SyscallReturn::Return(>::into(euid) as _)) }