getuid on score
get user identity
sys_getuid(void)
| number | 174 (0xae) |
|---|---|
| abi | common |
| entry point | sys_getuid |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | getuid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 174, the syscall number |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 102
- x86 24
- arm64 174
- arm 24
- riscv64 174
- ia32 24
- x32 1073741926
- loongarch64 174
- ppc64 24
- ppc 24
- s390x 199
- mips64 5100
- mipsn32 6100
- mipso32 4024
- arc 174
- blackfin 24, removed in 4.17
- cris 24, removed in 4.17
- csky 174
- frv 24, removed in 4.17
- hexagon 174
- ia64 1046, removed in 6.7
- m68k 24
- metag 174, removed in 4.17
- microblaze 24
- mn10300 24, removed in 4.17
- nds32 174, removed in 5.18
- nios2 174
- openrisc 174
- parisc 24
- sh 24
- sparc 24
- sparc64 24
- tilegx 174, removed in 4.17
- tilepro 174, removed in 4.17
- xtensa 137
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/getuid?kernel=all