setregid32 on m32r
set real and/or effective user or group ID
sys_setregid(gid_t rgid, gid_t egid)
| number | 204 (0xcc) |
|---|---|
| abi | common |
| entry point | sys_setregid |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for m32r) |
| man page | setregid32(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 204, the syscall number |
r0 | gid_t rgid |
r1 | gid_t egid |
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 204
- arm 204
- ia32 204
- blackfin 204, removed in 4.17
- cris 204, removed in 4.17
- frv 204, removed in 4.17
- m68k 204
- microblaze 204
- mn10300 204, removed in 4.17
- sh 204
- sparc 112
Get this as JSON: https://api.syscall.sh/v2/syscalls/m32r/setregid32?kernel=all