syscall.sh / parisc / linkat

linkat

make a new name for a file

sys_linkat(int olddfd, const char *oldname, int newdfd, const char *newname, int flags)
number283 (0x11b)
abicommon
entry pointsys_linkat
sinceLinux 5.0
man pagelinkat(2)
sourceelixir.bootlin.com

Registers

registervalue
r20283, the syscall number
r26int olddfd
r25const char *oldname
r24int newdfd
r23const char *newname
r22int flags
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/linkat