syscall.sh / sh / send
send
send a message on a socket
sys_send(int fd, void *buff, size_t len, unsigned int flags)
| number | 348 (0x15c) |
|---|---|
| abi | common |
| entry point | sys_send |
| since | Linux 5.0 |
| man page | send(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r3 | 348, the syscall number |
r4 | int fd |
r5 | void *buff |
r6 | size_t len |
r7 | unsigned int flags |
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/send