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