setuid32 on m32r
set user identity
sys_setuid(uid_t uid)
| number | 213 (0xd5) |
|---|---|
| abi | common |
| entry point | sys_setuid |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for m32r) |
| man page | setuid32(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 213, the syscall number |
r0 | uid_t uid |
r0 | the return value |
Then run trap #2 to enter the kernel.
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
- x86 213
- arm 213
- ia32 213
- blackfin 213, removed in 4.17
- cris 213, removed in 4.17
- frv 213, removed in 4.17
- m68k 213
- microblaze 213
- mn10300 213, removed in 4.17
- sh 213
- sparc 87
Get this as JSON: https://api.syscall.sh/v2/syscalls/m32r/setuid32?kernel=all