setregid on frv
set real and/or effective user or group ID
sys_setregid16(old_gid_t rgid, old_gid_t egid)
| number | 71 (0x47) |
|---|---|
| abi | common |
| entry point | sys_setregid16 |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for frv) |
| man page | setregid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
gr7 | 71, the syscall number |
gr8 | old_gid_t rgid |
gr9 | old_gid_t egid |
gr8 | the return value |
Then run tira gr0, 0 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
- x64 114
- x86 71
- arm64 143
- arm 71
- riscv64 143
- ia32 71
- x32 1073741938
- loongarch64 143
- ppc64 71
- ppc 71
- s390x 204
- mips64 5112
- mipsn32 6112
- mipso32 4071
- alpha 127
- arc 143
- blackfin 71, removed in 4.17
- cris 71, removed in 4.17
- csky 143
- hexagon 143
- ia64 1072, removed in 6.7
- m68k 71
- metag 143, removed in 4.17
- microblaze 71
- mn10300 71, removed in 4.17
- nds32 143, removed in 5.18
- nios2 143
- openrisc 143
- parisc 71
- score 143, removed in 4.17
- sh 71
- sparc 127
- sparc64 127
- tilegx 143, removed in 4.17
- tilepro 143, removed in 4.17
- xtensa 143
Get this as JSON: https://api.syscall.sh/v2/syscalls/frv/setregid?kernel=all