setgid32 on m32r
set group identity
sys_setgid(gid_t gid)
| number | 214 (0xd6) |
|---|---|
| abi | common |
| entry point | sys_setgid |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for m32r) |
| man page | setgid32(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 214, the syscall number |
r0 | gid_t gid |
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 214
- arm 214
- ia32 214
- blackfin 214, removed in 4.17
- cris 214, removed in 4.17
- frv 214, removed in 4.17
- m68k 214
- microblaze 214
- mn10300 214, removed in 4.17
- sh 214
- sparc 89
Get this as JSON: https://api.syscall.sh/v2/syscalls/m32r/setgid32?kernel=all