syscall.sh / arc / getuid

getuid

get user identity

sys_getuid(void)
number174 (0xae)
abicommon
entry pointsys_getuid
sinceLinux 3.9
man pagegetuid(2)
sourceelixir.bootlin.com

Registers

registervalue
r8174, the syscall number
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/arc/getuid