syscall.sh / ppc / geteuid
geteuid
get user identity
sys_geteuid(void)
| number | 49 (0x31) |
|---|---|
| abi | common |
| entry point | sys_geteuid |
| since | Linux 5.0 |
| man page | geteuid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 49, the syscall number |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- x64 107
- x86 49
- arm64 175
- arm 49
- riscv64 175
- x32 1073741931
- loongarch64 175
- ppc64 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/ppc/geteuid