syscall.sh / x86 / geteuid
geteuid
get user identity
sys_geteuid16(void)
| number | 49 (0x31) |
|---|---|
| abi | i386 |
| entry point | sys_geteuid16 |
| since | Linux 3.3 |
| man page | geteuid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 49, the syscall number |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 107
- arm64 175
- arm 49
- riscv64 175
- x32 1073741931
- loongarch64 175
- ppc64 49
- ppc 49
- s390x 201
- mips64 5105
- mipsn32 6105
- mipso32 4049
- alpha 531
- arc 175
- csky 175
- hexagon 175
- m68k 49
- microblaze 49
- nios2 175
- openrisc 175
- parisc 49
- sh 49
- sparc 49
- sparc64 49
- xtensa 140
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/geteuid