recvfrom on blackfin

receive a message from a socket

sys_recvfrom(int fd, void *ubuf, size_t size, unsigned int flags, struct sockaddr *addr, int *addr_len)
number322 (0x142)
abicommon
entry pointsys_recvfrom
sinceLinux 3.3 or earlier (3.3 is the first release scanned for blackfin)
man pagerecvfrom(2)
sourceelixir.bootlin.com

Registers

registervalue
P0322, the syscall number
R0int fd
R1void *ubuf
R2size_t size
R3unsigned int flags
R4struct sockaddr *addr
R5int *addr_len
R0the return value

Then run excpt 0 to enter the kernel.

This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/blackfin/recvfrom?kernel=all