syscall.sh / s390x / linkat

linkat

make a new name for a file

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

Registers

registervalue
r1296, the syscall number
r2int olddfd
r3const char *oldname
r4int newdfd
r5const char *newname
r6int flags
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/s390x/linkat