syscall.sh / parisc / socketpair

socketpair

create a pair of connected sockets

sys_socketpair(int family, int type, int protocol, int *usockvec)
number56 (0x38)
abicommon
entry pointsys_socketpair
sinceLinux 5.0
man pagesocketpair(2)
sourceelixir.bootlin.com

Registers

registervalue
r2056, the syscall number
r26int family
r25int type
r24int protocol
r23int *usockvec
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/socketpair