syscall.sh / sh / socketcall
socketcall
socket system calls
sys_socketcall(int call, unsigned long *args)
| number | 102 (0x66) |
|---|---|
| abi | common |
| entry point | sys_socketcall |
| since | Linux 5.0 |
| man page | socketcall(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r3 | 102, the syscall number |
r4 | int call |
r5 | unsigned long *args |
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/socketcall