syscall.sh / openrisc / getsid
getsid
get session ID
sys_getsid(pid_t pid)
| number | 156 (0x9c) |
|---|---|
| abi | common |
| entry point | sys_getsid |
| since | Linux 3.7 |
| man page | getsid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r11 | 156, the syscall number |
r3 | pid_t pid |
r11 | the return value |
Then run l.sys 1 to enter the kernel.
Same syscall on other architectures
- x64 124
- x86 147
- arm64 156
- arm 147
- riscv64 156
- x32 1073741948
- loongarch64 156
- ppc64 147
- ppc 147
- s390x 147
- mips64 5122
- mipsn32 6122
- mipso32 4151
- alpha 234
- arc 156
- csky 156
- hexagon 156
- m68k 147
- microblaze 147
- nios2 156
- parisc 147
- sh 147
- sparc 252
- sparc64 252
- xtensa 129
Get this as JSON: https://api.syscall.sh/v2/syscalls/openrisc/getsid