syscall.sh / x86 / getuid
getuid
get user identity
sys_getuid16(void)
| number | 24 (0x18) |
|---|---|
| abi | i386 |
| entry point | sys_getuid16 |
| since | Linux 3.3 |
| man page | getuid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 24, the syscall number |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 102
- arm64 174
- arm 24
- riscv64 174
- x32 1073741926
- loongarch64 174
- ppc64 24
- ppc 24
- s390x 199
- mips64 5100
- mipsn32 6100
- mipso32 4024
- arc 174
- csky 174
- hexagon 174
- m68k 24
- microblaze 24
- nios2 174
- openrisc 174
- parisc 24
- sh 24
- sparc 24
- sparc64 24
- xtensa 137
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/getuid