syscall.sh / x32 / getuid
getuid
get user identity
sys_getuid(void)
| number | 1073741926 (0x40000066) |
|---|---|
| abi | common |
| entry point | sys_getuid |
| since | Linux 3.4 |
| man page | getuid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073741926, the syscall number |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 102
- x86 24
- arm64 174
- arm 24
- riscv64 174
- 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/x32/getuid