syscall.sh / sh / geteuid32
geteuid32
get user identity
sys_geteuid(void)
| number | 201 (0xc9) |
|---|---|
| abi | common |
| entry point | sys_geteuid |
| since | Linux 5.0 |
| man page | geteuid32(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r3 | 201, the syscall number |
r0 | the return value |
Then run trapa #31 to enter the kernel.
Same syscall on other architectures
- x86 201
- arm 201
- m68k 201
- microblaze 201
- sparc 69
Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/geteuid32