syscall.sh / sh / geteuid

geteuid

get user identity

sys_geteuid16(void)
number49 (0x31)
abicommon
entry pointsys_geteuid16
sinceLinux 5.0
man pagegeteuid(2)
sourceelixir.bootlin.com

Registers

registervalue
r349, the syscall number
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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