setresgid on blackfin
set real, effective, and saved user or group ID
sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid)
| number | 170 (0xaa) |
|---|---|
| abi | common |
| entry point | sys_setresgid |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for blackfin) |
| man page | setresgid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
P0 | 170, the syscall number |
R0 | gid_t rgid |
R1 | gid_t egid |
R2 | gid_t sgid |
R0 | the return value |
Then run excpt 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 119
- x86 170
- arm64 149
- arm 170
- riscv64 149
- ia32 170
- x32 1073741943
- loongarch64 149
- ppc64 169
- ppc 169
- s390x 210
- mips64 5117
- mipsn32 6117
- mipso32 4190
- alpha 371
- arc 149
- cris 170, removed in 4.17
- csky 149
- frv 170, removed in 4.17
- hexagon 149
- ia64 1076, removed in 6.7
- m68k 170
- metag 149, removed in 4.17
- microblaze 170
- mn10300 170, removed in 4.17
- nds32 149, removed in 5.18
- nios2 149
- openrisc 149
- parisc 170
- score 149, removed in 4.17
- sh 170
- sparc64 110
- tilegx 149, removed in 4.17
- tilepro 149, removed in 4.17
- xtensa 146
Get this as JSON: https://api.syscall.sh/v2/syscalls/blackfin/setresgid?kernel=all