syscall.sh / x86 / getuid32
getuid32
get user identity
sys_getuid(void)
| number | 199 (0xc7) |
|---|---|
| abi | i386 |
| entry point | sys_getuid |
| since | Linux 3.3 |
| man page | getuid32(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 199, the syscall number |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- arm 199
- m68k 199
- microblaze 199
- sh 199
- sparc 44
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/getuid32