setgid on cris
set group identity
sys_setgid16(old_gid_t gid)
| number | 46 (0x2e) |
|---|---|
| abi | common |
| entry point | sys_setgid16 |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for cris) |
| man page | setgid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r9 | 46, the syscall number |
r10 | old_gid_t gid |
r10 | the return value |
Then run break 13 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 106
- x86 46
- arm64 144
- arm 46
- riscv64 144
- ia32 46
- x32 1073741930
- loongarch64 144
- ppc64 46
- ppc 46
- s390x 214
- mips64 5104
- mipsn32 6104
- mipso32 4046
- alpha 132
- arc 144
- blackfin 46, removed in 4.17
- csky 144
- frv 46, removed in 4.17
- hexagon 144
- ia64 1061, removed in 6.7
- m68k 46
- metag 144, removed in 4.17
- microblaze 46
- mn10300 46, removed in 4.17
- nds32 144, removed in 5.18
- nios2 144
- openrisc 144
- parisc 46
- score 144, removed in 4.17
- sh 46
- sparc 46
- sparc64 46
- tilegx 144, removed in 4.17
- tilepro 144, removed in 4.17
- xtensa 138
Get this as JSON: https://api.syscall.sh/v2/syscalls/cris/setgid?kernel=all