syscall.sh / sh / ipc
ipc
System V IPC system calls
sys_ipc(unsigned int call, int first, unsigned long second, unsigned long third, void *ptr, long fifth)
| number | 117 (0x75) |
|---|---|
| abi | common |
| entry point | sys_ipc |
| since | Linux 5.0 |
| man page | ipc(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r3 | 117, the syscall number |
r4 | unsigned int call |
r5 | int first |
r6 | unsigned long second |
r7 | unsigned long third |
r0 | void *ptr |
r1 | long fifth |
r0 | the return value |
Then run trapa #31 to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/ipc