syscall.sh / m68k / 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 5.0
man pagelinkat(2)
sourceelixir.bootlin.com

Registers

registervalue
d0296, the syscall number
d1int olddfd
d2const char *oldname
d3int newdfd
d4const char *newname
d5int flags
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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