geteuid on metag
get user identity
sys_geteuid(void)
| number | 175 (0xaf) |
|---|---|
| abi | common |
| entry point | sys_geteuid |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | geteuid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 175, the syscall number |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
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 107
- x86 49
- arm64 175
- arm 49
- riscv64 175
- ia32 49
- x32 1073741931
- loongarch64 175
- ppc64 49
- ppc 49
- s390x 201
- mips64 5105
- mipsn32 6105
- mipso32 4049
- alpha 531
- arc 175
- blackfin 49, removed in 4.17
- cris 49, removed in 4.17
- csky 175
- frv 49, removed in 4.17
- hexagon 175
- ia64 1047, removed in 6.7
- m68k 49
- microblaze 49
- mn10300 49, removed in 4.17
- nds32 175, removed in 5.18
- nios2 175
- openrisc 175
- parisc 49
- score 175, removed in 4.17
- sh 49
- sparc 49
- sparc64 49
- tilegx 175, removed in 4.17
- tilepro 175, removed in 4.17
- xtensa 140
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/geteuid?kernel=all