syscall.sh / ppc64 / setsid
setsid
creates a session and sets the process group ID
sys_setsid(void)
| number | 66 (0x42) |
|---|---|
| abi | common |
| entry point | sys_setsid |
| since | Linux 5.0 |
| man page | setsid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 66, the syscall number |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- x64 112
- x86 66
- arm64 157
- arm 66
- riscv64 157
- x32 1073741936
- loongarch64 157
- ppc 66
- s390x 66
- mips64 5110
- mipsn32 6110
- mipso32 4066
- alpha 147
- arc 157
- csky 157
- hexagon 157
- m68k 66
- microblaze 66
- nios2 157
- openrisc 157
- parisc 66
- sh 66
- sparc 175
- sparc64 175
- xtensa 128
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/setsid