syscall.sh / x86 / socketcall
socketcall
socket system calls
sys_socketcall(int call, unsigned long *args)
| number | 102 (0x66) |
|---|---|
| abi | i386 |
| entry point | sys_socketcall |
| since | Linux 3.3 |
| man page | socketcall(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 102, the syscall number |
ebx | int call |
ecx | unsigned long *args |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/socketcall