MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / SysGetEUID

Function SysGetEUID

Kernel/src/arch/x86_64/syscalls.cpp:1765–1767  ·  view source on GitHub ↗

//////////////////////// \brief SysGetEUID () - Set effective process UID \return Process EUID (int) ////////////////////////

Source from the content-addressed store, hash-verified

1763/// \return Process EUID (int)
1764/////////////////////////////
1765long SysGetEUID(regs64_t* r){
1766 return Scheduler::GetCurrentProcess()->uid;
1767}
1768
1769/////////////////////////////
1770/// \brief SysSetEUID () - Set effective process UID

Callers

nothing calls this directly

Calls 1

GetCurrentProcessFunction · 0.85

Tested by

no test coverage detected