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

Function SysGetUID

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

* SetGetUID () - Get Process UID * * On Success - Return process UID * On Failure - Does not fail */

Source from the content-addressed store, hash-verified

1480 * On Failure - Does not fail
1481 */
1482long SysGetUID(regs64_t* r){
1483 return Scheduler::GetCurrentProcess()->uid;
1484}
1485
1486/*
1487 * SetSetUID () - Set Process UID

Callers

nothing calls this directly

Calls 1

GetCurrentProcessFunction · 0.85

Tested by

no test coverage detected